feat(regression): E2E canary regression suite (tests/regression/) #5
Reference in New Issue
Block a user
No description provided.
Delete Branch "regression-canaries"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds a standing, codified regression test suite (
tests/regression/) so we can modify the cc-ci server without silently breaking it. Not a prompt — a deterministic pytest artifact runnable on-demand.What is in this PR
tests/regression/conftest.py—run_recipe_ci()wrapper + stage assertion helpers (stage_has_passing_test,stage_has_failing_test)test_canaries.py— 7 parametrized canaries with@pytest.mark.canary/@pytest.mark.canary_fastREADME.md— cadence policy, how to run, how to add a canarytests/custom-html-bkp-bad/— cc-ci recipe for the backup-tier RED canary (custom-html without backupbot labels → backup yields no artifact → backup=RED)tests/custom-html-rst-bad/— cc-ci recipe for the restore-tier RED canary (no pre_backup hook → snapshot has no marker → restore=RED)Canaries (7 total)
How to run
Cadence policy
Do NOT run on every commit. These are slow + resource-heavy (lasuite-docs full lifecycle = 10-20 min). Run deliberately: before server releases, polishing passes, on-demand pre-merge. See
tests/regression/README.md.Do not merge
This PR is for operator review only — loops never merge.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.