fix: update golden files and lock file for AWF v0.26.0 version bump#25400
Conversation
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/f16055db-4d7a-479e-acae-0713caf5344d Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates generated WASM golden fixtures and a compiled example workflow lock file to align with the AWF v0.26.0 version bump and restore golden-test consistency.
Changes:
- Regenerated WASM golden outputs for
TestWasmGolden_CompileFixturesto reflect AWFv0.26.0(including updated image tags). - Recompiled
example-blocked-domains.lock.ymlso its embedded AWF version and related generated command lines match the current toolchain output.
Show a summary per file
| File | Description |
|---|---|
| pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden | Updates embedded AWF version/image-tag strings in the expected compiled workflow output. |
| pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden | Updates embedded AWF version/image-tag strings in the expected compiled workflow output. |
| pkg/cli/workflows/example-blocked-domains.lock.yml | Recompiled lock file reflecting AWF v0.26.0 plus additional generated command/version adjustments. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 3/3 changed files
- Comments generated: 1
| GH_AW_INFO_VERSION: "1.0.21" | ||
| GH_AW_INFO_AGENT_VERSION: "1.0.21" | ||
| GH_AW_INFO_WORKFLOW_NAME: "Example: Blocked Domains" | ||
| GH_AW_INFO_EXPERIMENTAL: "false" | ||
| GH_AW_INFO_SUPPORTS_TOOLS_ALLOWLIST: "true" | ||
| GH_AW_INFO_STAGED: "false" | ||
| GH_AW_INFO_ALLOWED_DOMAINS: '["defaults","github","node"]' | ||
| GH_AW_INFO_FIREWALL_ENABLED: "true" | ||
| GH_AW_INFO_AWF_VERSION: "v0.25.16" | ||
| GH_AW_INFO_AWF_VERSION: "v0.26.0" |
There was a problem hiding this comment.
The PR description says the changes are only AWF version-string updates (v0.25.16 → v0.26.0), but this lock file also includes additional functional/behavioral changes: Copilot CLI version is bumped (1.0.20 → 1.0.21), multiple steps switch from executing scripts directly to bash ... with quoted paths, and the agent execution command now wraps Copilot via copilot_driver.cjs. Please update the PR description (or note why these extra changes are expected from gh aw compile) so reviewers/users aren’t surprised by non-AWF-only changes in this compiled workflow.
…25366) * Initial plan * Initial plan for CLI proxy: start difc-proxy on host, pass new AWF flags Agent-Logs-Url: https://github.com/github/gh-aw/sessions/cd08abe8-65f6-4cd4-aca7-a2cfa59d7e81 Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> * feat: replace --enable-cli-proxy with --difc-proxy-host, start difc-proxy on host When features.cli-proxy is enabled, the compiler now: 1. Starts a difc-proxy container on the host before AWF execution 2. Passes --difc-proxy-host host.docker.internal:18443 and --difc-proxy-ca-cert /tmp/gh-aw/difc-proxy-tls/ca.crt to AWF 3. Injects GH_TOKEN into the AWF step env with --exclude-env GH_TOKEN 4. Stops the CLI proxy container after AWF execution Removed deprecated flags: --enable-cli-proxy, --cli-proxy-policy. Minimum AWF version bumped to v0.26.0 for CLI proxy support. Agent-Logs-Url: https://github.com/github/gh-aw/sessions/cd08abe8-65f6-4cd4-aca7-a2cfa59d7e81 Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> * fix: address code review feedback for CLI proxy - Handle empty policy gracefully in start_cli_proxy.sh (proxy starts without guard filtering when no policy is configured) - Exit with error when proxy fails to start (prevents AWF from running with a non-functional proxy) - Rename hasCliProxyNeeded to isCliProxyNeeded for naming consistency Agent-Logs-Url: https://github.com/github/gh-aw/sessions/cd08abe8-65f6-4cd4-aca7-a2cfa59d7e81 Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> * fix: address review feedback and recompile agentic workflows - Bump DefaultFirewallVersion to v0.26.0 to align with AWFCliProxyMinVersion - Gate addCliProxyGHTokenToEnv on awfSupportsCliProxy and awfSupportsExcludeEnv to prevent leaking GH_TOKEN into the agent container on older AWF versions - Make start_cli_proxy.sh idempotent by removing any leftover container first - Update changeset to describe current behavior (difc-proxy-host flags) - Recompile all agentic workflows with updated DefaultFirewallVersion Agent-Logs-Url: https://github.com/github/gh-aw/sessions/e59645aa-2981-470c-bd44-1075fd88317a Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> * fix: update golden files and lock file for AWF v0.26.0 version bump (#25400) Agent-Logs-Url: https://github.com/github/gh-aw/sessions/f16055db-4d7a-479e-acae-0713caf5344d Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> * fix: update DefaultFirewallVersion to v0.25.17, fix shell quoting and docstring Agent-Logs-Url: https://github.com/github/gh-aw/sessions/35642b32-32d1-4a2d-bea7-8041bed78e77 Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> * fix: add parentheses to JSDoc type cast in copilot_driver.cjs for TypeScript compatibility (#25406) * feat: increase logging in copilot driver for silent startup failures (#issue) (#25390) * feat(logging): add debug logging to 5 CLI files for improved troubleshooting (#25393) * fix: add parentheses to JSDoc type cast in copilot_driver.cjs for TypeScript compatibility Agent-Logs-Url: https://github.com/github/gh-aw/sessions/34f7e8b3-df09-41bc-b786-8bb4b22ebb7e Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Landon Cox <landon.cox@microsoft.com>
Summary
Fixes the failing
TestWasmGolden_CompileFixturestests caused by the AWF version bump fromv0.25.16tov0.26.0.Root Cause
The
DefaultFirewallVersionconstant inpkg/constants/version_constants.gowas updated tov0.26.0, but the WASM golden test files and theexample-blocked-domains.lock.ymlfile were not regenerated to match.This caused the
TestWasmGolden_CompileFixtures/basic-copilotandTestWasmGolden_CompileFixtures/with-importstests to fail with diff mismatches (golden files hadv0.25.16, compiler producedv0.26.0).Changes
basic-copilot.golden,with-imports.golden) viamake update-wasm-goldenexample-blocked-domains.lock.yml) via./gh-aw compileAll changes are version string updates from
v0.25.16→v0.26.0in generated/compiled files. No logic changes.