Activate smoke-opencode workflow via copilot engine workaround#1991
Activate smoke-opencode workflow via copilot engine workaround#1991
Conversation
…ine workaround Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/0a83108c-36ca-449c-91ba-6380c09d582d Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/0a83108c-36ca-449c-91ba-6380c09d582d Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Activates the previously-inactive OpenCode smoke workflow by adding the compiled .lock.yml workflow (compiled via the Copilot engine as a temporary workaround) so the OpenCode smoke test can run in GitHub Actions.
Changes:
- Removes the “not yet compiled / not active” notice from
smoke-opencode.md. - Adds
smoke-opencode.lock.ymlto enable the workflow to run. - Prunes an unused
github/gh-aw-actions/setup@v0.68.2entry from.github/aw/actions-lock.json.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/smoke-opencode.md | Removes stale “pending compilation” notice now that a lock file is present. |
| .github/workflows/smoke-opencode.lock.yml | Adds the compiled workflow so the smoke test can actually execute. |
| .github/aw/actions-lock.json | Removes a stale setup-action entry. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comments suppressed due to low confidence (1)
.github/workflows/smoke-opencode.lock.yml:105
github/gh-aw-actions/setupis referenced by tag (@v0.68.3) here (and in other jobs below), while other compiled workflows in this repo pin this action to a specific commit SHA. To keep the workflow immutable and consistent with existing lock files, update alluses: github/gh-aw-actions/setup@...occurrences to the resolved commit SHA for v0.68.3 and recompile/regenerate the lock accordingly.
- name: Setup Scripts
id: setup
uses: github/gh-aw-actions/setup@v0.68.3
with:
- Files reviewed: 3/3 changed files
- Comments generated: 1
| # gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"5bc1472d26f30a57c4a3b49337cd81096a80eb344d9a47b86df246cfd480997c","compiler_version":"v0.68.3","strict":true,"agent_id":"copilot"} | ||
| # gh-aw-manifest: {"version":1,"secrets":["COPILOT_GITHUB_TOKEN","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN"],"actions":[{"repo":"actions/cache","sha":"27d5ce7f107fe9357f9df03efb73ab90386fccae","version":"v5.0.5"},{"repo":"actions/checkout","sha":"de0fac2e4500dabe0009e67214ff5f5447ce83dd","version":"v6.0.2"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"373c709c69115d41ff229c7e5df9f8788daa9553","version":"v9"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"},{"repo":"github/gh-aw-actions/setup","sha":"v0.68.3","version":"v0.68.3"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.25.20"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.25.20"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.25.20"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.2.19"},{"image":"ghcr.io/github/github-mcp-server:v0.32.0"},{"image":"node:lts-alpine"}]} |
Replace bare tag reference (v0.68.3) with the resolved commit SHA (abea67e0) in the lock file manifest and all uses: directives for supply-chain safety. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
The toolchain var recovery from $GITHUB_ENV only activates when runningUnderSudo is true (uid 0 + SUDO_UID set). The test was missing this context, causing the assertion to fail on both main and PR branches. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
Smoke Test Results✅ GitHub MCP: "fix: increase token optimizer timeout and tighten prompt" / "fix(api-proxy): address review comments on OpenCode port 10004 routing" Overall: PASS
|
🔥 Smoke Test: OpenCode — PASS
Overall: PASS
|
🔥 Smoke Test Results
Overall: PASS PR: "Activate smoke-opencode workflow via copilot engine workaround" by
|
Smoke Test ResultsPRs: "fix: increase token optimizer timeout and tighten prompt"; "fix(api-proxy): OpenCode port 10004 defaults to Copilot/OpenAI routing instead of Anthropic"
|
Smoke Test: GitHub Actions Services Connectivity ✅
All service connectivity checks passed.
|
Chroot Version Comparison Results
Overall: ❌ Not all tests passed — Python and Node.js versions differ between host and chroot environments.
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS
|
smoke-opencode.mdexisted but had no compiled.lock.yml, leaving the smoke test permanently inactive.gh-awv0.68.3 rejectsengine: opencode(not yet supported upstream), so the workflow could not be compiled directly.Changes
smoke-opencode.lock.yml— Generated viagh aw compile --engine copilot(OpenCode defaults to the same Copilot auth path through api-proxy port 10004) then post-processed withpostprocess-smoke-workflows.ts:--build-localreplaces--image-tag/--skip-pullnpm ci && npm run buildsteps replace the binary install step--session-state-dirinjected; sparse-checkout removed from agent job--enable-api-proxyretained — exercisesresolveOpenCodeRoute()(OPENAI → Anthropic → Copilot fallback, including WebSocket upgrade for streaming)smoke-opencode.md— Removed the stale "pending compilation" notice; frontmatterengine: opencodepreserved so recompilation with proper engine support is a one-liner once it lands ingh-aw.github/aw/actions-lock.json— Stalev0.68.2entry pruned by compilerNotes
registry.npmjs.organdapi.githubcopilot.comare already in thedefaultsallowlist — nonetwork: allowedchanges requiredgh-awshipsengine: opencode, recompile withgh aw compile smoke-opencodeand re-runpostprocess-smoke-workflows.tsto switch to the proper OpenCode CLI invocationWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v0.68.3/usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.68.3 --jq .object.sha(http block)If you need me to access, download, or install something from one of these locations, you can either: