fix(ci): non-blocking cosmetic steps + flaky test guidance - #19
Conversation
… guidance Cosmetic CI steps (build comment message, post sticky comment) now use continue-on-error: true to prevent flaky npm ENOENT failures from blocking the build. The real quality gate (Fail on regression) remains strict with no continue-on-error. Also adds Flaky Test Prevention section to the wizard and skill based on SDET philosophy: investigate every failure, stress-test new tests, quarantine only if actively fixing. 3 new tests (42-44) verify the continue-on-error configuration.
|
Claude finished @BaseInfinity's task in 1m 42s —— View job PR Code ReviewSummaryThis PR adds Recommendation: APPROVEFindingsCritical (must fix)None - all changes are sound and well-tested. Suggestions (nice to have)1. Consider documenting the npm ENOENT root cause
For example: continue-on-error: true # Cosmetic step - npm ENOENT flakiness shouldn't block buildThis makes it clear it's not just "nice to have" but "working around known CI flakiness." 2. Test coverage could verify step ordering
Not critical since the quality gate uses 3. Flaky guidance is excellent but could mention retry strategies
This is mentioned implicitly ("retry-and-pray" is criticized in the skill), but explicit guidance on when retries are appropriate (cosmetic steps) vs when they hide problems (quality gates) could be valuable. Strengths
Files Reviewed
Overall: This is a high-quality fix that follows all SDLC principles. The change is minimal, well-tested, and clearly documented. The flaky test guidance is valuable and will help other projects. No blocking issues - ready to merge once CI passes. |
|
Review completed. Check the workflow logs for details. |
CI Auto-Fix: Attempt 1/3
Waiting for CI to re-run. If all checks pass and review approves, this loop is complete. Auto-fix powered by Claude Code. Max 3 attempts. |
Summary
continue-on-error: trueon "Build quick check comment message" and "Comment quick check results on PR" steps — these are cosmetic (PR comments), not quality gates. The intermittentnpm ENOENTerror from runner environment pollution no longer blocks the build.continue-on-error— it remains the actual gatekeeper based onsteps.compare.outputs.pass.Test plan
./tests/test-workflow-triggers.sh— 44/44 pass (including 3 new tests)./tests/test-analysis-schema.sh— 8/8 pass./tests/test-version-logic.sh— 6/6 pass