fix(tests): use whitelisted smoke job in quantum integration test#464
Draft
cursor[bot] wants to merge 1 commit into
Draft
fix(tests): use whitelisted smoke job in quantum integration test#464cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
Update autorun status lookup test to use allowed job name 'smoke' instead of 'another', matching run_autorun_job validation. Co-authored-by: Bryan
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR updates a quantum integration test to use a whitelist-approved autorun job name ( 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 pre-commit validation because
test_run_autorun_job_reads_status_for_list_and_dict_shapescalledrun_autorun_job("another"), which is rejected by the autorun job whitelist. Updated the test to use the allowedsmokejob name so status lookup coverage matches production validation.Changes
anotherwithsmokein quantum integration autorun status lookup parametrized testjob_nameand statusnamefields accordinglyTesting
pytest tests/test_quantum_integration.py— 2 passedPYTHON_BIN=.venv/bin/python .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)Summary by Sourcery
Tests: