feat: add stability index for CI/CD gating (QA-04)#5
Open
philmcneely wants to merge 3 commits into
Open
Conversation
Track pass/fail per test over last N runs. Tests below threshold are quarantined (xfail) so they don't block CI pipelines. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Owner
Author
|
Shouldnt there be an update to the documentation? |
|
✅ All smoke tests passed! View report |
Document the flaky test quarantine feature: how it works, environment variables, programmatic API, and data storage. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Owner
Author
|
Added Section 16: Stability Index (Flaky Test Quarantine) to the README covering:
Commit: c120861 |
_load_history() crashed with JSONDecodeError when the history file existed
but was empty — happens when pytest-xdist workers create the file
concurrently. Fixed with:
- Graceful handling of empty/malformed JSON (return {} instead of crash)
- Atomic writes via tmp file + rename (prevents partial reads)
- fcntl file locking in record_result() to serialize concurrent workers
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Owner
Author
|
Fixed the CI failure — Root cause: Fix (988f5f4):
Smoke tests should pass now. |
|
✅ All smoke tests passed! View report |
|
✅ All chromium login tests passed! View report |
|
✅ All firefox login tests passed! View report |
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.
Track pass/fail per test over last N runs. Tests below threshold are quarantined (xfail) so they don't block CI pipelines.