Commit c5516a4
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
- .github/workflows
- actions/setup/js
- pkg
- constants
- workflow
- testdata/TestWasmGolden_CompileFixtures
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments