Skip to content

Commit 5d03082

Browse files
Pigbibicodex
andcommitted
fix: admit generated drift workflow test in QPK pin gate
Co-Authored-By: Codex <noreply@openai.com>
1 parent 68ca51e commit 5d03082

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

scripts/merge_verified_strategy_qpk_pin_prs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"pyproject.toml",
3434
"qsl.toml",
3535
"tests/test_qsl_compat_metadata.py",
36+
"tests/test_drift_workflow_config.py",
3637
"uv.lock",
3738
".github/workflows/drift-check.yml",
3839
}

tests/test_merge_verified_strategy_qpk_pin_prs.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ def test_strategy_pin_pr_fails_closed_for_unexpected_changes_or_ci() -> None:
5757
pyproject_text=_pyproject(),
5858
qpk_sha=TARGET,
5959
) == "unexpected_changed_files"
60+
assert candidate_reason(
61+
pr=_pr(),
62+
changed_files=[*sorted(ALLOWED_CHANGED_FILES), "src/unrelated_runtime_change.py"],
63+
pyproject_text=_pyproject(),
64+
qpk_sha=TARGET,
65+
) == "unexpected_changed_files"
6066
assert candidate_reason(
6167
pr=_pr(checks=[{"status": "IN_PROGRESS", "conclusion": ""}]),
6268
changed_files=sorted(ALLOWED_CHANGED_FILES),

0 commit comments

Comments
 (0)