Skip to content

Commit c5516a4

Browse files
Copilotpelikhan
andauthored
fix: propagate effective_tokens across job boundary via agent job output
Root cause: core.exportVariable() only persists env vars within the same job. The safe_outputs job (which generates footers) is a separate job and cannot see GH_AW_EFFECTIVE_TOKENS set in the agent job. Fix: - Add step ID 'parse-mcp-gateway' to the generateMCPGatewayLogParsing step - Add 'effective_tokens' to agent job outputs via the step output - Have parse_mcp_gateway_log.cjs call core.setOutput() in addition to exportVariable() - Pass GH_AW_EFFECTIVE_TOKENS: ${{ needs.agent.outputs.effective_tokens }} to safe_outputs job - Add ParseMCPGatewayStepID constant in pkg/constants/job_constants.go - Update golden fixture files to match new output Agent-Logs-Url: https://github.com/github/gh-aw/sessions/adf67452-a5a1-475a-b48f-d92bf0fcff60 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent dd20ba6 commit c5516a4

186 files changed

Lines changed: 556 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ace-editor.lock.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/agent-performance-analyzer.lock.yml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/agent-persona-explorer.lock.yml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/agentic-observability-kit.lock.yml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/ai-moderator.lock.yml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/archie.lock.yml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/artifacts-summary.lock.yml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/audit-workflows.lock.yml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/auto-triage-issues.lock.yml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/blog-auditor.lock.yml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)