feat: add build test workflows for external test repos#507
Conversation
Add 7 agentic workflows that clone and test external repositories to validate firewall network rules work correctly for different language ecosystems: - Node.js: clsx, execa, p-limit (npm install/test) - Go: color, env, uuid (go mod download/test) - Rust: fd, zoxide (cargo build/test) - Java: gson, caffeine (mvn compile/test) - C++: fmt, json (cmake/make) - Deno: oak, std (deno test) - Bun: elysia, hono (bun install/test) Each workflow: - Triggers on pull_request and workflow_dispatch - Uses appropriate network allowlists (defaults, github, language-specific) - Reports results via PR comments with pass/fail tables - Adds language-specific labels on success Also updates postprocess-smoke-workflows.ts to include the new workflows for local build patching in CI. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing... |
|
💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges... |
✅ Coverage Check PassedOverall Coverage
Coverage comparison generated by |
|
⏳ This PR is pending a new release of GitHub Agentic Workflows (gh-aw) before the workflows can be tested. |
There was a problem hiding this comment.
Pull request overview
This PR adds 7 agentic workflows to test firewall network rules for different language ecosystems (Node.js, Go, Rust, Java, C++, Deno, and Bun). Each workflow clones an external test repository under Mossaka/, runs build and test commands, and reports results via PR comments with pass/fail status.
Changes:
- Added 7 new build test workflow pairs (.md and .lock.yml files) for different language ecosystems
- Updated postprocess script to include new workflow lock files for build patching
- Each workflow configures appropriate network rules, runtime environments, and test commands for its language
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| scripts/ci/postprocess-smoke-workflows.ts | Added paths for 7 new build test lock.yml files to enable local build patching |
| .github/workflows/build-test-*.md | 7 new workflow definitions specifying test requirements, commands, and expected outputs for each language |
| .github/workflows/build-test-*.lock.yml | 7 auto-generated compiled workflow files from the .md sources |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Regenerate build-test lock files with gh-aw v0.42.0 after merging origin/main. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
Smoke Test ResultsLast 2 Merged PRs:
Test Results:
Overall Status: PASS cc @Mossaka
|
|
Smoke Test Results - Claude Engine ✅ GitHub MCP: Retrieved recent PRs Status: PASS
|
Build Test: C++ - Repository Not Accessible❌ Test Failed: Unable to clone test repository The repository
Action Required: Please verify the test repository exists and is publicly accessible, or provide the correct repository URL.
Overall: FAIL (Repository not accessible)
|
Build Test: Deno - FAILED ❌Status: Repository not accessible The test repository
Required Action:
|
Bun Build Test ResultsStatus: FAIL ❌ ErrorUnable to clone test repository
Summary
Overall: FAIL - Cannot proceed without repository access. Resolution RequiredThe test repository appears to be private or requires authentication. Please either:
|
Build Test: Go - ❌ FAILEDStatus: Cannot complete tests ErrorFailed to clone test repository: Reason: Repository requires authentication but no Required Actions
Test Results
Overall: FAILED (Authentication required)
|
Build Test: Node.js - FAILED ❌Error: Unable to access test repository Issue DetailsThe test repository appears to be private or requires authentication that is not available in this workflow context. Attempted access methods:
Required ActionTo run these tests, the workflow needs:
Test Status
Overall: BLOCKED - Cannot proceed without repository access
|
Build Test: Rust - FAILED ❌Repository Access Issue Unable to clone test repository: Error: Repository not found (404) or requires authentication
Overall: FAILED - Cannot proceed with tests without repository access. Details:
Next Steps:
|
Take main's version of build-test lock files since PR #507 was merged first. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Summary
Workflows Added
build-test-node.mdbuild-test-go.mdbuild-test-rust.mdbuild-test-java.mdbuild-test-cpp.mdbuild-test-deno.mdbuild-test-bun.mdTest Repositories
All test repos are under
Mossaka/:gh-aw-firewall-test-nodegh-aw-firewall-test-gogh-aw-firewall-test-rustgh-aw-firewall-test-javagh-aw-firewall-test-cppgh-aw-firewall-test-denogh-aw-firewall-test-bunTest plan
workflow_dispatch🤖 Generated with Claude Code