GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix integration test: user-agent option failing due to orchestration ID in user-agent string by Copilot · Pull Request #709 · actions/github-script

Conversation

Copilot AI commented Mar 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

The getUserAgentWithOrchestrationId function inserts actions_orchestration_id/... between the user-provided agent string and the octokit suffix, but the integration test was never updated to accommodate this format change.

Actual user-agent in CI:

actions/github-script actions_orchestration_id/37404db4-... octokit-core.js/7.0.6 Node.js/24

Test expected it to start with:

actions/github-script octokit-core.js/

Changes

  • .github/workflows/integration.yml — Replace glob-style != "$expected"* checks with =~ bash regex matching to allow the optional actions_orchestration_id/... segment between the user-provided agent and octokit-core.js/:
if [[ ! "$actual" =~ ^actions/github-script([[:space:]]actions_orchestration_id/[^[:space:]]+)?[[:space:]]octokit-core\.js/ ]]; then

This matches both environments where ACTIONS_ORCHESTRATION_ID is set (CI) and where it is not (local).

Original prompt

Fix the failing GitHub Actions workflow Integration test: user-agent option
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 68254844909
Job URL: https://github.com/actions/github-script/actions/runs/23458456807/job/68254844909


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Initial plan
3841a7f
Copilot AI assigned Copilot and angel-jiakou Mar 23, 2026
Copilot started work on behalf of angel-jiakou March 23, 2026 20:36
View session
@angel-jiakou
Fix integration test: update user-agent validation to allow optional …
831f1a1
…orchestration ID

Co-authored-by: angel-jiakou <[email protected]>
Agent-Logs-Url: https://github.com/actions/github-script/sessions/d3f337be-6e6b-4278-a1da-9baf8f3c0263
Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow integration test Fix integration test: user-agent option failing due to orchestration ID in user-agent string Mar 23, 2026
Copilot AI requested a review from angel-jiakou March 23, 2026 20:40
Copilot finished work on behalf of angel-jiakou March 23, 2026 20:40

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@angel-jiakou angel-jiakou Awaiting requested review from angel-jiakou

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@angel-jiakou angel-jiakou

Copilot code review Copilot

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@angel-jiakou
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.