-
Notifications
You must be signed in to change notification settings - Fork 35
Migrate detection job artifacts to unified /tmp/gh-aw/artifacts architecture #8853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Updated download paths in threat_detection.go from /tmp/gh-aw/threat-detection/ to /tmp/gh-aw/artifacts - Updated file paths in setup_threat_detection.cjs for prompt.txt, agent_output.json, and aw.patch - Updated file path in parse_threat_detection_results.cjs for agent_output.json - Added validation to fail if prompt.txt is not found - Added validation to fail if agent_output.json is not found - Added validation to fail if aw.patch is not found but was expected (when has_patch=true) - Added HAS_PATCH environment variable to setup threat detection step - Updated test expectations in threat_detection_test.go Co-authored-by: pelikhan <[email protected]>
All workflow lock files have been recompiled to reflect the new artifact download paths (/tmp/gh-aw/artifacts) and HAS_PATCH environment variable in the detection job. Co-authored-by: pelikhan <[email protected]>
|
@copilot merge main and recompile |
Resolved merge conflicts: - Removed deleted workflow files (campaign-manager, human-ai-collaboration, incident-response, intelligence) - Resolved daily-file-diet.lock.yml conflict keeping both updated description and HAS_PATCH env var
|
|
|
|
|
💀 Blimey! Smoke Copilot Safe Inputs failed and walked the plank! No treasure today, matey! ☠️ |
|
|
|
|
|
|
|
|
|
|
|
|
|
@copilot merge main and recompile |
…eneration-detection-job
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
|
💀 Blimey! Smoke Copilot Safe Inputs failed and walked the plank! No treasure today, matey! ☠️ |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
✅ Firewall validation complete... Smoke Codex Firewall confirmed network sandboxing is operational. 🛡️ |
|
📰 DEVELOPING STORY: Smoke Copilot Playwright reports failed. Our correspondents are investigating the incident... |
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 |
|
🤖 DIAGNOSTIC COMPLETE: Smoke Copilot No Firewall STATUS: ALL_UNITS_OPERATIONAL. MISSION_SUCCESS. |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
Smoke Test ResultsLast 2 Merged PRs:
Test Results:
Status: PASS cc @pelikhan
|
|
Firewall smoke test results:
|
Smoke Test Results - Copilot Engine (No Firewall)All tests passed ✅
|
Smoke Test Results - Claude EngineLast 2 Merged PRs:
Test Results:
Overall Status: PASS (5/6 tests successful)
|
|
Recent merged PRs: [WIP] Adjust file location to xpectations in JavaScript; Fix update command treating commit SHAs as branch names
|
Detection Job Artifact Architecture Update ✅
Based on the problem statement, all requirements have been successfully implemented and merged with main branch.
Changes Completed:
/tmp/gh-aw/threat-detection/to/tmp/gh-aw/artifactsthreat_detection.gofor both agent-artifacts and agent-output downloadssetup_threat_detection.cjs/tmp/gh-aw/threat-detection/tmp/gh-aw/aw-prompts/prompt.txtto/tmp/gh-aw/artifacts/tmp/gh-aw/aw-prompts/prompt.txtsetup_threat_detection.cjs/tmp/gh-aw/threat-detection/tmp/gh-aw/aw.patchto/tmp/gh-aw/artifacts/tmp/gh-aw/aw.patch/tmp/gh-aw/threat-detection/agent_output.jsonto/tmp/gh-aw/artifacts/agent_output.jsonsetup_threat_detection.cjsto fail if prompt.txt is not foundcore.setFailed()and returns early if prompt file is missingsetup_threat_detection.cjsto fail if agent output file is not foundcore.setFailed()and returns early if agent output is missingparse_threat_detection_results.cjsto fail if agent output file is not foundcore.setFailed()and returns early if agent output is missingHAS_PATCHenvironment variable and fails if patch should exist but doesn'tHAS_PATCHenvironment variable to the setup threat detection stepthreat_detection_test.goto expect/tmp/gh-aw/artifactspathMerge Details:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Changeset
/tmp/gh-aw/artifactspath; add validations to fail whenprompt.txt,agent_output.json, oraw.patch(when expected) are missing.