Skip to content

[WIP] Fix code based on review comments from pull request 26357#26365

Closed
Copilot wants to merge 11 commits intomainfrom
copilot/fix-code-comments-review-26357
Closed

[WIP] Fix code based on review comments from pull request 26357#26365
Copilot wants to merge 11 commits intomainfrom
copilot/fix-code-comments-review-26357

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 15, 2026

Copilot AI and others added 8 commits April 14, 2026 23:09
- Remove GH_HOST, GITHUB_API_URL, GITHUB_GRAPHQL_URL, NODE_EXTRA_CA_CERTS,
  GH_AW_ORIGINAL_* writes from start_difc_proxy.sh
- Remove all GITHUB_ENV restore/clear logic from stop_difc_proxy.sh
- Add injectProxyEnvIntoCustomSteps() in compiler_difc_proxy.go that uses
  YAML parse+reserialize to add proxy env vars as step-level env on each
  custom step (preserving existing env vars like GH_TOKEN)
- Remove generateSetGHRepoAfterDIFCProxyStep() standalone step; GH_REPO
  is now included in the per-step env block
- Inject proxy env into custom steps in compiler_yaml_main_job.go when
  hasDIFCProxyNeeded returns true
- Update tests: replace TestBuildSetGHRepoStepYAML/TestGenerateSetGHRepo
  with TestProxyEnvVars/TestInjectProxyEnvIntoCustomSteps; update
  TestDIFCProxyStepOrderInCompiledWorkflow for new behavior
- Recompile 4 affected workflow lock files

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/c3114091-8d7b-4283-8647-91185fd5eb60

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
… proxy

Generated by the Design Decision Gate workflow (run #24431428234).
The PR makes >100 new lines of changes to pkg/workflow/ without a linked ADR.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…for-review-comments

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
…omments and use ordered fields

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/4e545256-bb6a-4606-be79-362d0f6dcd96

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
…ProxyEnvIntoCustomSteps

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/4e545256-bb6a-4606-be79-362d0f6dcd96

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
github-actions bot and others added 3 commits April 15, 2026 04:10
…env injection

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…comments-review-26357

# Conflicts:
#	.github/workflows/contribution-check.lock.yml
#	.github/workflows/daily-issues-report.lock.yml
#	.github/workflows/issue-arborist.lock.yml
#	.github/workflows/stale-repo-identifier.lock.yml
#	actions/setup/sh/start_difc_proxy.sh
#	actions/setup/sh/stop_difc_proxy.sh
#	cmd/gh-aw/main.go
#	docs/src/content/docs/reference/playwright.md
#	pkg/cli/compile_compiler_setup.go
#	pkg/cli/compile_safe_update_integration_test.go
#	pkg/cli/upgrade_command.go
#	pkg/workflow/compiler.go
#	pkg/workflow/compiler_difc_proxy.go
#	pkg/workflow/compiler_difc_proxy_test.go
#	pkg/workflow/compiler_types.go
#	pkg/workflow/compiler_yaml.go
#	pkg/workflow/compiler_yaml_main_job.go
#	pkg/workflow/safe_update_enforcement.go
#	pkg/workflow/safe_update_enforcement_test.go

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
@lpcox lpcox closed this Apr 15, 2026
Copilot AI requested a review from lpcox April 15, 2026 04:30
Copilot stopped work on behalf of lpcox due to an error April 15, 2026 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants