Problem
The getGateStatus() function in QualityGatesPanel currently shows ALL gates as "passed" when overall status is "passed", even if only some gates have actually run. This can create false positives that mask incomplete quality checks.
Current Behavior:
- If only
tests gate has run and passed, ALL 5 gates (tests, coverage, type-check, lint, review) show as "passed"
- Users may incorrectly assume all quality checks have been completed
Root Cause
Backend doesn't support gates_evaluated field to track which gates actually ran (see TODO comment in QualityGatesPanel.tsx:67-74).
Proposed Solutions
Short-term (UI Enhancement)
Add a warning banner when:
- Overall status is
passed
- No failures exist (empty failures array)
- To alert users this is a summary view and not all gates may have been evaluated
Example Banner:
⚠️ Note: Showing summary status. Some individual gates may not have been evaluated yet.
Long-term (Backend Enhancement)
Implement gates_evaluated: string[] field in QualityGateStatus API response to track which gates actually ran.
Acceptance Criteria
Short-term:
Long-term:
Related
Problem
The
getGateStatus()function inQualityGatesPanelcurrently shows ALL gates as "passed" when overall status is "passed", even if only some gates have actually run. This can create false positives that mask incomplete quality checks.Current Behavior:
testsgate has run and passed, ALL 5 gates (tests, coverage, type-check, lint, review) show as "passed"Root Cause
Backend doesn't support
gates_evaluatedfield to track which gates actually ran (see TODO comment inQualityGatesPanel.tsx:67-74).Proposed Solutions
Short-term (UI Enhancement)
Add a warning banner when:
passedExample Banner:
Long-term (Backend Enhancement)
Implement
gates_evaluated: string[]field inQualityGateStatusAPI response to track which gates actually ran.Acceptance Criteria
Short-term:
Long-term:
gates_evaluatedarray in QualityGateStatus responsegates_evaluatedto accurately determine gate statusRelated