fix(tests): use whitelisted smoke job in quantum integration test#461
Draft
cursor[bot] wants to merge 2 commits into
Draft
fix(tests): use whitelisted smoke job in quantum integration test#461cursor[bot] wants to merge 2 commits into
cursor[bot] wants to merge 2 commits into
Conversation
The run_autorun_job bridge validates job names against baseline, benchmark, nightly, and smoke. Update list/dict status lookup test to use smoke instead of another so pre-commit unit tests pass. Co-authored-by: Bryan
Update tracked data_out status files from successful hourly repo health automation run (2725 tests passed, integration gate and agents ok). Co-authored-by: Bryan
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdjusts the quantum integration test to use a whitelisted job name ('smoke') so the autorun job status lookup logic is exercised correctly for both list and dict job payload shapes. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
🟡 Coverage —
|
| Metric | Value |
|---|---|
| Total coverage | 65.2% |
→ vs main |
0.0% |
| Minimum threshold | 60% |
Updated on every push · 2026-06-20
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
Hourly repo health automation failed on
pre_commit_checkbecausetests/test_quantum_integration.pyused the non-whitelisted job nameanother. The quantum integration bridge only acceptsbaseline,benchmark,nightly, andsmoke, so the test never reached status lookup logic.Changes
test_run_autorun_job_reads_status_for_list_and_dict_shapesto use the whitelistedsmokejob name in fixtures and assertions.Verification
pytest tests/test_quantum_integration.py -v— 2 passedPYTHON_BIN=.venv/bin/python scripts/repo_health_automation.py --once --repair-status --refresh-stale-status --run-agents --continue-on-fail— all steps passed (2725 unit tests, integration contract gate, repo agents)Checklist
.github/copilot-instructions.md, instruction files)python scripts/test_runner.py --unit)Summary by Sourcery
Bug Fixes: