Align compiler with gh-aw-firewall v0.28.6 (Cloud Hypervisor filesystem.allowWrite support)#55172
Conversation
…m.allowWrite Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
|
❌ Test Quality Sentinel failed during test quality analysis. Warning Threat Detection Engine Failure — The analysis engine could not complete. This is a tooling failure, not a security finding. What happenedThe threat detection engine failed to produce results. Review the workflow run logs for details.
|
|
❌ Design Decision Gate 🏗️ failed during design decision gate check. Warning Threat Detection Engine Failure — The analysis engine could not complete. This is a tooling failure, not a security finding. What happenedThe threat detection engine failed to produce results. Review the workflow run logs for details.
|
|
Warning Threat Detection Engine Failure — The analysis engine could not complete. This is a tooling failure, not a security finding. What happenedThe threat detection engine failed to produce results. Review the workflow run logs for details.
|
|
🧠 Matt Pocock Skills Reviewer failed during the skills-based review. Warning Threat Detection Engine Failure — The analysis engine could not complete. This is a tooling failure, not a security finding. What happenedThe threat detection engine failed to produce results. Review the workflow run logs for details.
|
|
❌ Ponytail Reviewer failed. Please review the logs for details. Warning Threat Detection Engine Failure — The analysis engine could not complete. This is a tooling failure, not a security finding. What happenedThe threat detection engine failed to produce results. Review the workflow run logs for details.
|
There was a problem hiding this comment.
Pull request overview
Aligns the compiler and generated workflows with gh-aw-firewall v0.28.6, enabling Cloud Hypervisor filesystem.allowWrite safely.
Changes:
- Adds runtime-specific version gating and writable defaults.
- Creates required host directories and expands tests/schema documentation.
- Refreshes firewall digests and generated workflow artifacts.
Show a summary per file
| File | Description |
|---|---|
pkg/constants/version_constants.go |
Bumps AWF and adds the CH gate. |
pkg/workflow/awf_feature_flags.go |
Implements CH-specific feature detection. |
pkg/workflow/awf_feature_flags_test.go |
Tests version boundaries. |
pkg/workflow/sandbox.go |
Adds CH writable defaults. |
pkg/workflow/sandbox_test.go |
Tests CH defaults. |
pkg/workflow/awf_config.go |
Applies runtime-aware gating. |
pkg/workflow/awf_config_test.go |
Tests emitted CH configuration. |
pkg/workflow/awf_command_builder.go |
Adds host-directory preparation. |
pkg/workflow/cloud_hypervisor_test.go |
Tests generated preparation commands. |
pkg/workflow/schemas/awf-config.schema.json |
Documents CH support. |
pkg/actionpins/data/action_pins.json |
Adds v0.28.6 image pins. |
pkg/workflow/data/action_pins.json |
Updates embedded image pins. |
.github/aw/actions-lock.json |
Refreshes cached image pins. |
.github/workflows/smoke-ci.lock.yml |
Regenerates with v0.28.6. |
.github/workflows/notion-issue-summary.lock.yml |
Regenerates with CH write support. |
.github/workflows/hippo-embed.lock.yml |
Regenerates firewall pins. |
.github/workflows/firewall.lock.yml |
Regenerates CH configuration. |
.github/workflows/example-permissions-warning.lock.yml |
Regenerates CH configuration. |
.github/workflows/daily-arxiv-researcher.lock.yml |
Regenerates firewall pins. |
.github/workflows/codex-github-remote-mcp-test.lock.yml |
Regenerates CH configuration. |
.changeset/bump-firewall-v0-28-6-cloud-hypervisor-allow-write.md |
Records the shipped behavior change. |
Review details
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 20/304 changed files
- Comments generated: 0
- Review effort level: Balanced
|
@copilot This PR is blocked by failing agent workflow runs and may need a follow-up pass. Please review the current failures and move the PR forward. Failed checks: Please also refresh the branch if needed and run the pr-finisher skill after addressing the failures.
|
Root cause of the 6 failing
|
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
…r-gh-aw-firewall-v0-28-6 # Conflicts: # .github/workflows/archivx-agentic-workflows-analyzer.lock.yml Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Investigated the failing Root cause: bumping Fix (9fdb35c): Also refreshed the branch against |
gh-aw-firewallv0.28.6 ships workingfilesystem.allowWritesupport for the Cloud Hypervisor (CH) runtime, but the compiler's version gate was pinned below it, and activating it naively would have broken every CH workflow (workspace/HOME going read-only, planning failing closed on a missing host directory, and a mount-propagation bug present in v0.28.5).Version gating
DefaultFirewallVersionv0.28.4→v0.28.6.AWFCloudHypervisorFilesystemAllowWriteMinVersion = v0.28.6, distinct from the existingAWFFilesystemAllowWriteMinVersion = v0.28.5used by Docker/gVisor — v0.28.5 has a mount-propagation defect that fails CHallowWriteon real hosts.Runtime-aware default write paths
ensureDefaultAgentWritePathnow seeds/workspaceand/workspace/.awf-homefor Cloud Hypervisor in addition to the existing/tmp/gh-aw/agent, so the workspace export isn't narrowed to nothing andHOME(/workspace/.awf-homeunder CH) stays writable.Host directory prerequisite
allowWritepath to already exist on the host or it fails closed. The compiler now emits amkdir -pfor the affected host directories before the AWF invocation, e.g.:Quoting uses the existing shell-escaping helper that preserves
${GITHUB_WORKSPACE}expansion while safely escaping everything else.Schema/docs
allowWritedescription in the embeddedawf-config.schema.jsonto match the released v0.28.6 wording (now documents CH support).Other
.lock.ymlworkflow artifacts to reflect the version bump.