feat(test-impact): classify infrastructure failures separately#926
Open
Copilot wants to merge 6 commits into
Open
feat(test-impact): classify infrastructure failures separately#926Copilot wants to merge 6 commits into
Copilot wants to merge 6 commits into
Conversation
Agent-Logs-Url: https://github.com/zaxbysauce/opencode-swarm/sessions/cf3e0173-4baa-495b-b9e7-d317f65ec805 Co-authored-by: zaxbysauce <10211642+zaxbysauce@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add infrastructure failure category to failure classifier
Add May 19, 2026
infrastructure_failure classification to test impact failure classifier
infrastructure_failure classification to test impact failure classifier
Owner
|
@copilot review this PR |
Agent-Logs-Url: https://github.com/zaxbysauce/opencode-swarm/sessions/d5c3d32a-aa30-4131-922d-cd0ea0b513c2 Co-authored-by: zaxbysauce <10211642+zaxbysauce@users.noreply.github.com>
…feguards Agent-Logs-Url: https://github.com/zaxbysauce/opencode-swarm/sessions/d5c3d32a-aa30-4131-922d-cd0ea0b513c2 Co-authored-by: zaxbysauce <10211642+zaxbysauce@users.noreply.github.com>
Contributor
Author
Reviewed and addressed follow-up risks in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
infrastructure_failureclassification for OOM, process termination, network, timeout, and exit-code-137 failure text.Killedmatcher so domain assertion text such asexpected process to be killedstill follows normal regression classification.dist/artifacts.Invariant audit
node scripts/repro-704.mjsprinted OK for T1/T2/T3, then the process did not exit and the single identified node PID was stopped.bun run build,bun test tests/unit/build/bundle-portability.test.ts tests/unit/build/bundle-plugin-shape.test.ts tests/unit/build/bundle-node-load.test.ts,node --input-type=module -e "await import('./dist/index.js'); console.log('dist import OK')", and post-commitgit diff --exit-code -- distpassed..swarmpath or working-directory logic changed.test_runnertool..opencode/skills/writing-tests/SKILL.md; added abun:testregression in the existing classifier test file with no mocks.docs/releases/pending/failure-classifier-infrastructure-failure.md; no cache/version files changed.Test plan
bun test src/test-impact/__tests__/failure-classifier.test.ts src/test-impact/__tests__/failure-classifier.adversarial.test.ts src/tools/__tests__/barrel-exports.test.tskilledreturnsnew_regression; bareKilledreturnsinfrastructure_failurebun run typecheckbunx biome ci src/test-impact/failure-classifier.ts src/test-impact/__tests__/failure-classifier.test.ts src/tools/__tests__/barrel-exports.test.ts docs/releases/pending/failure-classifier-infrastructure-failure.mdbunx biome ci .exited 0 with 10 warning-only findings in unrelated filesbun run buildgit diff --exit-code -- distafter rebuildnode --input-type=module -e "await import('./dist/index.js'); console.log('dist import OK')"bun test tests/unit/build/bundle-portability.test.ts tests/unit/build/bundle-plugin-shape.test.ts tests/unit/build/bundle-node-load.test.tsgit diff --checkValidation notes
src/tools/__tests__/test-runner-history.test.tsstill has an unrelated existing assertion mismatch for thescope "all"error message.node scripts/repro-704.mjsprinted OK for all three documented scenarios but did not exit; the single identified node process was stopped. This PR does not change plugin init code.