Skip to content

Upgrade workflows to latest gh-aw prerelease - #17026

Merged
lpcox merged 1 commit into
mainfrom
lpcox-prerelease-orbit-9c4a
Nov 21, 2026
Merged

lpcox merged 1 commit into
mainfrom
lpcox-prerelease-orbit-9c4a

Conversation

@lpcox

@lpcox lpcox commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Ran gh aw upgrade --pre-releases using the latest prerelease, v1.3.1.
  • Recompiled all 34 agentic workflows successfully.
  • Confirmed the upgrade generated no workflow or action-lock changes because main was already current.
  • Fixed the Podman environment-validation test shim so full parallel verification does not exceed the runtime probe timeout.

Validation

  • go test ./internal/config -run TestValidateContainerizedEnvironmentForRuntime_PodmanSkipsDockerInspection -count=20
  • make agent-finished

All agent-finished checks passed.

Use a native runtime shim so the Podman validation test remains reliable under the full parallel verification suite.

Co-authored-by: Copilot App <[email protected]>
Copilot AI adaptive review requested due to automatic review settings November 21, 2026 17:18

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.

🟡 Changes recommended

A critical test portability issue remains because the symlink-dependent test can fail on non-elevated Windows runners before exercising the intended behavior.

1 open issue
What changed in this PR

This PR updates the Podman environment-validation test shim to use a symlink to the native true executable, avoiding PATH modification and runtime probe timeouts during parallel verification. The workflow upgrade produced no workflow or lock-file changes because the repository was already current.

Changes:

  • Locates the native true executable with os/exec.
  • Replaces the shell-based Podman shim with a symlink and passes its absolute path directly to validation.
  • The symlink-based test setup may fail on non-elevated Windows runners.
File Description
internal/​config/​validation_env_test.go Updates the Podman runtime-validation test shim to use a symlink to the native true executable and adds executable discovery support.

Review effort: Lite (adaptive)

Comment on lines +580 to +584
truePath, err := exec.LookPath("true")
if err != nil {
t.Skip("native true executable is unavailable")
}
require.NoError(t, os.Symlink(truePath, podmanPath))
@github-actions

Copy link
Copy Markdown
Contributor

🔒 mcpg Read-Only Stress — default

Surface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Isolation runtime: default AWF (normal container isolation)

Part Surface Op Result Expected Status
A MCP reads (list_issues/list_pull_requests/get_file_contents/list_commits) data returned ALLOWED ✅
B MCP writes (reaction/star/issue/comment/branch/file/PR) all 7 targets absent from the 23-tool catalog (read-only backend) BLOCKED ⚠️
C CLI reads (list_issues, get_file_contents) data returned ALLOWED ✅
D CLI REST writes (reaction/star/issue/comment) gh unauthenticated — not attempted BLOCKED ⚠️
E CLI GraphQL mutations (addReaction/addStar/createIssue) gh unauthenticated — not attempted BLOCKED ⚠️

Overall: INCONCLUSIVE

No write leaked through mcpg in this run. Part B is INCONCLUSIVE because the GitHub MCP backend is launched with GITHUB_READ_ONLY=1 under gh-aw's tools.github: block, so write tools never register — this confirms backend read-only config but cannot independently confirm mcpg's own DIFC/guard write-blocking layer (see internal/guard/internal/difc unit tests for that evidence). Parts D/E are INCONCLUSIVE because gh was not authenticated in this environment (gh auth status → not logged in), so the token-scope boundary could not be exercised.

🔒 mcpg read-only stress (default AWF runtime) by Read-Only Stress: default runtime

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