ci: fix nightly E2E pointing at a non-existent test file#17
Merged
Conversation
The nightly job ran 'pytest tests/integration/ tests/test_e2e_integration.py' but tests/test_e2e_integration.py never existed (typo from 35dedfc), so pytest exited with code 4 and the nightly failed every night since. - Point it at the real top-level e2e tests: tests/test_plasmid_e2e.py and tests/test_extension_reach_e2e_to_report.py (alongside tests/integration/). Verified locally: 34 passed, 3 scale-deselected. - Add tests/test_ci_workflow_paths.py: scans .github/workflows/*.yml for pytest path arguments and asserts each exists, so a missing-test-path typo fails at PR time instead of silently at 04:00 UTC. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Problem
Nightly E2E has failed every night (06-11, 06-12, 06-13). Root cause: the job runs
but
tests/test_e2e_integration.pynever existed (typo introduced in35dedfc, "ci: Phase 5 release operations"). pytest exits with code 4 (usage error: file not found), failing the step on all 4 matrix cells. Not a code regression — a workflow typo.Fix
tests/integration/:tests/test_plasmid_e2e.pyandtests/test_extension_reach_e2e_to_report.py. Verified locally with the exact command: 34 passed, 3 scale-deselected in ~2 min.tests/test_ci_workflow_paths.py: scans.github/workflows/*.ymlforpytestpath arguments and asserts each file/dir exists — so this typo class fails at PR time (in regular CI) instead of silently at 04:00 UTC.Verify
After merge I'll trigger the nightly via
workflow_dispatchto confirm it goes green end-to-end.🤖 Generated with Claude Code