Skip to content

Provision compiler resources for the A/B testing advisor - #76546

Merged
pelikhan merged 2 commits into
mainfrom
copilot/fix-agentic-workflow
Nov 10, 2026
Merged

pelikhan merged 2 commits into
mainfrom
copilot/fix-agentic-workflow

Conversation

Copilot AI commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

The A/B testing advisor stopped before implementation because no compiler was available and its security policy prohibited using unprovisioned Go caches.

  • Build resources: Provision disposable GOCACHE and GOMODCACHE directories under /tmp/gh-aw/agent/, pass them to Codex, and allow Go dependency downloads through the firewall.
  • Compiler bootstrap: Require make build before discovery and use the checked-out ./gh-aw binary for compilation. Retain incomplete reporting when build or validation fails; prohibit validation bypass.
  • Regression coverage: Assert cache provisioning, network access, and bootstrap instructions; regenerate the workflow lock.

Engine, model, triggers, credentials, and safe-output limits remain unchanged.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Fix A/B testing advisor compiler bootstrap and isolated Go caches Provision compiler resources for the A/B testing advisor Nov 10, 2026
Copilot AI requested a review from pelikhan November 10, 2026 15:03
@pelikhan
pelikhan marked this pull request as ready for review November 10, 2026 15:35
Copilot AI adaptive review requested due to automatic review settings November 10, 2026 15:35
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot resolve the merge conflicts in this pull request

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Expanded Go-ecosystem egress for an unrestricted-bash agent needs human security sign-off and live-run evidence that a cold build and both validation gates fit within 30 minutes.

No open issues 🎉

What changed in this PR

Equips the A/B testing advisor to build and validate workflows with the checked-out gh-aw compiler, addressing the missing compiler and restricted Go cache access.

Changes:

  • Provisions disposable Go caches, passes their paths to Codex, and allows Go dependency downloads through the firewall.
  • Requires make build before discovery and local ./gh-aw validation, with incomplete reporting rather than validation bypass on failure.
  • Adds regression assertions and regenerates the workflow lock while preserving engine, model, triggers, credentials, and safe-output limits.
File Description
pkg/​workflow/​prompts_test.go Adds assertions for cache provisioning, Go network access, and compiler bootstrap guidance.
.github/​workflows/​ab-testing-advisor.md Configures compiler resources and documents required build, validation, and failure handling.
.github/​workflows/​ab-testing-advisor.lock.yml Reflects cache setup, environment forwarding, network access, and updated workflow hashes.

Review effort: Max (auto)

…orkflow

# Conflicts:
#	.github/workflows/ab-testing-advisor.lock.yml

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

Resolved the conflict by regenerating the advisor lock with the local compiler, then merged main. Merge commit: 9aaeec8488.

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.3

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.

3 participants