Repository navigation
Conversation
test_lifecycle.py calls pytest.importorskip for diskgraph and torch_geometric. If either import fails, pytest skips the whole file and the check still passes. --require-imports turns those skips into failures, as kumo-pytorch-diskgraph already does. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Change map
|
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
# Conflicts: # .github/workflows/kumo-pytorch-t2b.yml
Summary
--require-importsto pytest in the lifecycle check of T2a (kumo-pytorch-t2a.yml) and T2b (kumo-pytorch-t2b.yml).tests/e2e/test_lifecycle.pystarts withpytest.importorskip("diskgraph")andpytest.importorskip("torch_geometric"). If either import fails, pytest skips the whole file. Without the flag, pytest then exits with code 5 (no tests collected), so the check fails but does not say why. With the flag, pytest exits with code 1 and names the missing module. The flag also covers a later change: if only some tests skip, the other tests still pass, and without the flag the check stays green.kumo-pytorch-diskgraph.ymlalready passes the flag.Change map
File-by-file change map
Testing Done
22 passed, 22 deselected. The flag fails only skips caused by a missing import, so these runs also pass with it.torch_geometric(Linux aarch64, Python 3.12, pytest 9.0.3): without the flag, the T2a lifecycle command reported1 skippedand exited with code 5. With--require-imports, it printedtests were skipped because an optional dependency is missingand exited with code 1.Checklist
🤖 Generated with Claude Code