Repository navigation
Conversation
When build fails on feature branch, QA now verifies whether the failure is a regression (new) or pre-existing (already on main): - Add verify_build_against_main() function to quality-checks.sh - Add run_build_with_verification() wrapper function - Document build verification phase in SKILL.md (section 2a) - Add Build Verification section to QA output template - Add verdict impact rules to quality-gates.md The verification: - Runs build on main branch (via main repo directory, not checkout) - Compares exit codes and first error lines - Classifies failures as: regression, pre-existing, or unknown - Outputs a Build Verification table with classification Closes #177 Co-Authored-By: Claude Opus 4.5 <[email protected]>
4 tasks
The verify_build_against_main() and run_build_with_verification() functions were defined but never called, making them dead code. Add call to run_build_with_verification in the main script flow so build failures are actually verified against main branch. Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Support both main and master branch names in worktree detection - Add 120s timeout to prevent hanging on slow builds (with macOS fallback) - Capture return code to prevent set -e from exiting early - Always show "Quality checks complete" before exiting - Exit with proper code to signal regression/review status Co-Authored-By: Claude Opus 4.5 <[email protected]>
Return code 3 (skipped) when main repo can't be found, distinct from: - 0: success or pre-existing failure - 1: regression detected - 2: different errors (needs review) This prevents false "regression" reports when verification is skipped. Co-Authored-By: Claude Opus 4.5 <[email protected]>
admarble
deleted the
feature/177-feat-qa-verify-build-failures-against-main-branch-
branch
January 31, 2026 00:13
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
Changes
quality-checks.sh: Addverify_build_against_main()andrun_build_with_verification()functionsSKILL.md: Document build verification phase (section 2a) and add to output templatequality-gates.md: Add verdict impact rules for build verification resultsTest plan
bash -n quality-checks.shpassesnpm run buildsucceedsCloses #177
🤖 Generated with Claude Code