Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/request-coderabbit-test-instructions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,17 @@ jobs:
Do NOT limit impact to tests that import the modified symbol only.
7. **Smoke test impact:** Intersect the affected set from step 6 with smoke-marked tests.
Run: `rg -l '@pytest.mark.smoke' tests/`
VERIFY the above command returned actual file paths before concluding False.
Comment thread
rnetser marked this conversation as resolved.
Set True ONLY if a smoke-marked file also appears in the affected set from 6b-6e.
For each smoke-marked file, ALSO check its conftest.py hierarchy (parent directory
conftest.py files up to the repo root) for imports of modified utilities/libs symbols.
A smoke test is affected if ANY conftest.py in its hierarchy imports a transitively
modified symbol — even when the test file itself has no direct import.
This includes autouse fixtures: if a conftest.py defines an autouse fixture that
calls or imports a modified function, ALL tests in that directory (and below) are affected.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
Example check: for each smoke_file, scan dirname(smoke_file)/conftest.py,
dirname(dirname(smoke_file))/conftest.py, etc. for modified symbol imports
and autouse fixtures that depend on modified symbols.
8. **Gating test impact:** Intersect the affected set from step 6 with gating-marked tests.
Run: `rg -l '@pytest.mark.gating' tests/`
Set True if a gating-marked file also appears in the affected set from 6b-6e.
Expand Down