testing-conventions 0.0.75__tar.gz → 0.0.78__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/PKG-INFO +1 -1
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/CHANGELOG.md +47 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/Cargo.lock +1 -1
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/Cargo.toml +1 -1
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/MIGRATIONS.md +105 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/co_change.rs +13 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/colocated_test.rs +11 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/config.rs +5 -0
- testing_conventions-0.0.78/rust/src/e2e.rs +431 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/lib.rs +100 -62
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/lint.rs +45 -0
- testing_conventions-0.0.78/rust/src/tiers.rs +124 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/ts.rs +45 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/colocated_test.rs +18 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/colocated_test_e2e.rs +15 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/e2e_attest.rs +58 -21
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/e2e_attest_e2e.rs +13 -13
- testing_conventions-0.0.78/rust/tests/e2e_receipts.rs +449 -0
- testing_conventions-0.0.78/rust/tests/e2e_receipts_e2e.rs +186 -0
- testing_conventions-0.0.78/rust/tests/e2e_verify.rs +579 -0
- testing_conventions-0.0.78/rust/tests/e2e_verify_e2e.rs +287 -0
- testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/python_tiers/pyproject.toml +4 -0
- testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/python_tiers/src/widget.py +2 -0
- testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/python_tiers/tests/e2e/support.py +3 -0
- testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/python_tiers/tests/integration/helper.py +4 -0
- testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/typescript_tiers/package.json +4 -0
- testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/typescript_tiers/src/widget.test.ts +9 -0
- testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/typescript_tiers/src/widget.ts +3 -0
- testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/typescript_tiers/tests/integration/helper.ts +5 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/no_first_party_patch/waived/testing-conventions.toml +1 -1
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/clean/pyproject.toml +5 -0
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/clean/src/widget.py +2 -0
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/red_e2e/pyproject.toml +5 -0
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/red_e2e/src/widget.py +2 -0
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/red_integration/pyproject.toml +5 -0
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/red_integration/src/widget.py +2 -0
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/unknown_tier/pyproject.toml +5 -0
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/unknown_tier/src/widget.py +2 -0
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/typescript/tier_layout/red/package.json +4 -0
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/typescript/tier_layout/red/src/widget.ts +3 -0
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/typescript/tier_layout/red/tests/integration/flow.test.ts +16 -0
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/typescript/tier_layout/unknown_tier/package.json +4 -0
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/typescript/tier_layout/unknown_tier/src/widget.ts +3 -0
- testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/typescript/tier_layout/unknown_tier/tests/loose.test.ts +8 -0
- testing_conventions-0.0.78/rust/tests/fixtures/unit_isolation/python/tier_layout/pyproject.toml +5 -0
- testing_conventions-0.0.78/rust/tests/fixtures/unit_isolation/python/tier_layout/src/widget.py +2 -0
- testing_conventions-0.0.78/rust/tests/fixtures/unit_isolation/typescript/tier_layout/package.json +4 -0
- testing_conventions-0.0.78/rust/tests/fixtures/unit_isolation/typescript/tier_layout/src/widget.ts +3 -0
- testing_conventions-0.0.78/rust/tests/fixtures/unit_isolation/typescript/tier_layout/tests/integration/flow.test.ts +11 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/integration_lint.rs +26 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/integration_lint_e2e.rs +23 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/py_unit_isolation.rs +8 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/py_unit_isolation_e2e.rs +7 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/rust_integration_lint.rs +8 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/rust_integration_lint_e2e.rs +7 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/ts_integration_lint.rs +16 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/ts_integration_lint_e2e.rs +13 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/unit_isolation.rs +8 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/unit_isolation_e2e.rs +7 -0
- testing_conventions-0.0.75/rust/src/e2e.rs +0 -322
- testing_conventions-0.0.75/rust/tests/e2e_verify.rs +0 -800
- testing_conventions-0.0.75/rust/tests/e2e_verify_e2e.rs +0 -490
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/README.md +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/__init__.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/config/__init__.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/config/detect.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/config/tomlcompat.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/__init__.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/baseline.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/cli.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/config.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/conftest.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/main.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/normalize.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/parse_args.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/session.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/pytest_plugin/__init__.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/pytest_plugin/hooks.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/pytest_plugin/plan.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/agents.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/coverage.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/isolation.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/main.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/mutation.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/packaging.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/patch_coverage.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/violation.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/workflow.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/co_change.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/co_change_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/common/mod.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/config_lines.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/config_loader.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_base.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_base_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_base_rust.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_base_rust_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_base_ts.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_base_ts_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_features.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_features_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_line_exempt_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_metrics.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_metrics_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_rust.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_rust_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_ts.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_ts_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/diff_scoping.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/bad_exempt/cli.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/bad_exempt/testing-conventions.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/clean/pkg/helper.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/clean/widget.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_conftest/conftest.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_conftest/widget.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_exempt/__init__.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_exempt/cli.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_exempt/core.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_exempt/pkg/__init__.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_exempt/testing-conventions.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/red/lonely.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/red/pkg/orphan.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/red/pkg/paired.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/red/widget.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/stale_exempt/core.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/stale_exempt/testing-conventions.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/ambient.d.mts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/button.test.tsx +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/button.tsx +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/legacy.cts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/legacy.test.cts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/pkg/helper.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/pkg/helper.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/service.mts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/service.test.mts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/types.d.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/widget.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/widget.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/exempt/index.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/exempt/testing-conventions.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/exempt/widget.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/exempt/widget.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/bridge.cts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/lonely.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/pkg/orphan.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/shapes.d.cts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/shapes.d.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/solo.mts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/widget.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/widget.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/e2e_extra_scope.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/e2e_extra_scope_only.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/e2e_unknown_key.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/exempt.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/exempt_empty_reason.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/exempt_lines.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/exempt_lines_bad_rule.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/exempt_no_reason.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/constant_patch/waived/testing-conventions.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/environ/waived/testing-conventions.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/inline_patch/waived/testing-conventions.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/legacy_prefix/test_widget.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/monkeypatch/waived/testing-conventions.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/no_first_party_patch/clean/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/no_first_party_patch/red/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/no_first_party_patch/waived/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/typescript/no_first_party_mock/clean/charge.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/typescript/no_first_party_mock/clean/views/report.test.tsx +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/typescript/no_first_party_mock/red/charge.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/typescript/no_first_party_mock/red/notify.test.mts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/isolation/unit/stale_exempt.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/malformed.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_clean/widget.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_red/widget.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_sdist/clean-0.1.0.tar.gz +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_sdist/make_sdist.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_sdist/widget-0.1.0.tar.gz +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_wheel/clean.whl +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_wheel/make_wheels.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_wheel/red.whl +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/rust_crate/clean-0.1.0.crate +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/rust_crate/make_crates.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/rust_crate/widget-0.1.0.crate +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/typescript_clean/button.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/typescript_npm/clean.tgz +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/typescript_npm/make_tarballs.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/typescript_npm/red.tgz +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/typescript_red/button.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/typescript_red/button.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/partial_coverage.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/python_build_command.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/python_build_command_blank_reason.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/python_build_command_no_reason.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/rust_build_command.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/typescript_build_command.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/typescript_build_command_blank_reason.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/floor100.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/floor100_exempt_shim.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/floor85.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_py_shim_ok.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_py_shim_over.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_py_shim_under.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_rust_over.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_rust_shim_ok.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_ts_over.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_ts_shim_ok.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/above_85/router.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/below_85/grade.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/conftest_omit/conftest.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/conftest_omit/widget.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/exempt_cov/core.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/exempt_cov/shim.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/full/widget.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_branch_full.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_branch_mid.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_features_full.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_full.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_full_exempt_shim.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_functions_full.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_functions_mid.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_mid.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/above/router.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/above/router.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/below/grade.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/below/grade.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/exempt_cov/core.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/exempt_cov/core.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/exempt_cov/shim.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/exempt_cov/shim.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/full/widget.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/full/widget.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/full_with_config/vitest.config.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/full_with_config/widget.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/full_with_config/widget.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/package-lock.json +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/package.json +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/ts_full.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/ts_full_exempt_shim.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/ts_mid.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/barrel/clean/myproject/__init__.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/barrel/clean/myproject/core.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/barrel/clean/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/barrel/red/myproject/__init__.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/barrel/red/myproject/core.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/barrel/red/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/clean/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/external/clean/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/external/red/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/external/waived/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/external/waived/testing-conventions.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/legacy_prefix/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/legacy_prefix/test_widget.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/overmatch/clean/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/overmatch/red/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/red/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/waived/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/waived/testing-conventions.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/wrong_module/red/pyproject.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/typescript/clean/widget.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/typescript/ext_normalize/clean/widget.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/typescript/red/widget.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/typescript/untyped_mock/clean/widget.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/typescript/untyped_mock/red/widget.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/typescript/untyped_mock/spy_clean/widget.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_py_ok.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_py_over.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_rust_ok.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_rust_over.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_ts_ok.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_ts_over.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_ts_under.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/mutation_exempt.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/mutation_exempt_py.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/mutation_exempt_ts.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/python/killed/calc.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/python/survivors/calc.py +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/rust_features.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/killed/index.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/killed/index.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/killed/stryker.conf.json +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/package-lock.json +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/package.json +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/survivors/index.test.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/survivors/index.ts +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/survivors/stryker.conf.json +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unknown_coverage_field.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unknown_key.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/valid.toml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/workflow/clean/conventions.yml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/workflow/install_line/conventions.yml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/workflow/red/conventions.yml +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/install.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/install_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/isolation.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/isolation_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_base_py.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_base_rust.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_base_ts.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_features_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_line_exempt_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_provision_rust.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_python.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_python_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_rust.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_rust_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_typescript.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_typescript_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_crate.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_crate_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_npm.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_npm_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_sdist.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_sdist_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_wheel.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_wheel_e2e.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/workflow.rs +0 -0
- {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/workflow_e2e.rs +0 -0
|
@@ -5,8 +5,55 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
5
5
|
|
|
6
6
|
## Unreleased
|
|
7
7
|
|
|
8
|
+
### Changed
|
|
9
|
+
|
|
10
|
+
- **E2E attestation is one branch-keyed decision per branch, not a SHA-fresh stamp per push.**
|
|
11
|
+
`e2e attest '<cmd>'` now writes `e2e-attestations/<branch-slug>.json` — keyed by the
|
|
12
|
+
branch so parallel pull requests write distinct files and never merge-conflict — recording the
|
|
13
|
+
command, timestamp, exit code, commit, and branch; it prunes the receipts other branches left
|
|
14
|
+
behind. The command is unrestricted and *is* the judgment being recorded: the full suite, a
|
|
15
|
+
subset, or a no-op are all valid receipts. `e2e verify --base <ref>` asks two content questions
|
|
16
|
+
of `<base>...HEAD`: a branch that left the scoped source untouched passes with no receipt owed,
|
|
17
|
+
and a branch that changed it passes when its diff adds or updates a receipt. It no longer
|
|
18
|
+
compares commit SHAs, so one receipt covers the branch — later pushes stay green, and rebases
|
|
19
|
+
and squash merges never disturb it. Without `--base`, `verify` checks receipt presence.
|
|
20
|
+
The filename derivation is public: **`e2e slug [branch]`** prints the standardized slug
|
|
21
|
+
(default: the checked-out branch), and `e2e::branch_slug` exposes it in the crate API;
|
|
22
|
+
`Attestation` gains a `branch` field recording the raw name. `attest` requires a checked-out
|
|
23
|
+
branch (a detached `HEAD` is an error naming the fix) and collects a committed legacy
|
|
24
|
+
`e2e-attestation.json` in the same receipt commit.
|
|
25
|
+
**Breaking:** the single `e2e-attestation.json` is replaced by the `e2e-attestations/`
|
|
26
|
+
directory (`e2e::ATTESTATION_PATH` by `e2e::RECEIPTS_DIR`), `Verification::Stale` is gone,
|
|
27
|
+
and the exact-match freshness contract is retired. See `MIGRATIONS.md`.
|
|
28
|
+
|
|
29
|
+
- **The suite tiers derive from the package root** (#418). `integration lint` takes its subjects
|
|
30
|
+
from the standard suite directories — `<package root>/tests/integration/` and
|
|
31
|
+
`<package root>/tests/e2e/`, both run first-party code for real and so both are held to the
|
|
32
|
+
integration rules — where the package root is the nearest directory at or above the scanned
|
|
33
|
+
`path` holding the language's manifest (`pyproject.toml`, `package.json`, `Cargo.toml`; the walk
|
|
34
|
+
stops at the repository boundary). Rust scans the crate root's `tests/`, cargo's own layout. A
|
|
35
|
+
test file under `<package root>/tests/` outside a standard tier is flagged by the new
|
|
36
|
+
**`unknown-tier`** violation (waivable like any rule), so a suite the scan would silently miss
|
|
37
|
+
is an error instead. The unit-tier scans (`unit colocated-test`, its co-change variant,
|
|
38
|
+
`unit lint`) leave `<package root>/tests/` to the suites. A tree with no manifest — loose
|
|
39
|
+
scripts — is scanned at `path` directly, unchanged. One workflow call per package now runs every
|
|
40
|
+
tier from a single `path`. **Breaking:** integration suites are found via the package root
|
|
41
|
+
rather than the scanned `path`, integration-lint exemption paths resolve relative to the package
|
|
42
|
+
root, `config::Rule` gains a variant, and the unit-tier gates release their claim on
|
|
43
|
+
`<package root>/tests/`. See `MIGRATIONS.md`.
|
|
44
|
+
|
|
8
45
|
### Fixed
|
|
9
46
|
|
|
47
|
+
- **The Rust-build cache in the suite-executing and packaging jobs now keys on the
|
|
48
|
+
workspace-aware `target/` location** (#410). Cargo resolves the target directory at the
|
|
49
|
+
*workspace* root regardless of the invoking working directory, but the cache path was always
|
|
50
|
+
`<package_root>/target` — so a crate that's a member of an ancestor Cargo workspace cached a
|
|
51
|
+
directory `cargo` never wrote to, and every job recompiled the same wheel from scratch. The
|
|
52
|
+
cache path now redirects to the workspace root's `target/` for a workspace member, and is
|
|
53
|
+
unchanged for a standalone crate (or one that's itself the workspace root). Every
|
|
54
|
+
`astral-sh/setup-uv@v7` step in these jobs also gains an explicit `enable-cache: true`. No
|
|
55
|
+
config or API change; the `uses:` call is unchanged. See `MIGRATIONS.md`.
|
|
56
|
+
|
|
10
57
|
- **`e2e verify`: a `--scope` (or `--extra-scope`) that resolves to no tracked path is now an error
|
|
11
58
|
instead of a silent false `Fresh`** (#391). The documented "`--scope` must be `path` or a
|
|
12
59
|
descendant of it" constraint was never enforced: a typo'd or outside `--scope` fell through as a
|
|
@@ -15,6 +15,31 @@ Each entry has five sections, in order:
|
|
|
15
15
|
|
|
16
16
|
### Summary
|
|
17
17
|
|
|
18
|
+
Retires the exact-match e2e freshness contract in favor of **one branch-keyed decision per
|
|
19
|
+
branch**. `e2e attest '<cmd>'` writes `e2e-attestations/<branch-slug>.json` — parallel
|
|
20
|
+
pull requests write distinct files, so attestation merge conflicts are structurally gone — and
|
|
21
|
+
prunes the receipts other branches left behind. The command is unrestricted and is itself the
|
|
22
|
+
judgment being recorded: the full suite, a targeted subset, or a no-op are all valid receipts.
|
|
23
|
+
`e2e verify --base <ref>` asks two content questions of `<base>...HEAD`: did the branch change
|
|
24
|
+
the scoped source (no → pass, nothing owed), and does its diff add or update a receipt (yes →
|
|
25
|
+
pass; no → fail, naming `attest` as the fix). Commit SHAs are no longer compared, so one receipt
|
|
26
|
+
covers the branch — later pushes stay green, and rebases and squash merges never disturb it.
|
|
27
|
+
Without `--base`, `verify` checks that a committed receipt is present.
|
|
28
|
+
|
|
29
|
+
Derives the suite tiers from the package root (#418). `integration lint` takes its subjects from
|
|
30
|
+
the standard suite directories — `<package root>/tests/integration/` and
|
|
31
|
+
`<package root>/tests/e2e/`, both of which run first-party code for real and so are held to the
|
|
32
|
+
integration rules — where the package root is the nearest directory at or above the scanned
|
|
33
|
+
`path` holding the language's manifest (`pyproject.toml`, `package.json`, `Cargo.toml`), the walk
|
|
34
|
+
stopping at the repository boundary. Rust scans the crate root's `tests/`, cargo's own layout. A
|
|
35
|
+
test file under `<package root>/tests/` outside a standard tier is flagged by the new
|
|
36
|
+
`unknown-tier` violation (waivable like any rule). The unit-tier scans (`unit colocated-test`,
|
|
37
|
+
its co-change variant, `unit lint`) leave `<package root>/tests/` to the suites. A tree with no
|
|
38
|
+
manifest — loose scripts — is scanned at `path` directly, unchanged. One workflow call per
|
|
39
|
+
package now runs every tier from a single `path`; the split unit-job/integration-job pattern (a
|
|
40
|
+
second `uses:` call with `path` pointed at the integration directory and a `gates` allowlist)
|
|
41
|
+
collapses into the package's one call.
|
|
42
|
+
|
|
18
43
|
Consolidates the reusable workflow's Python provisioning to uv (#399). The suite-executing jobs
|
|
19
44
|
(`unit-coverage`, `coverage-changed`, `mutation`) provisioned Python two ways, selected by
|
|
20
45
|
detect's `python_env`: `actions/setup-python` + `python -m pip install` for a plain package, or
|
|
@@ -700,6 +725,34 @@ and `--base` semantics are unchanged; only the consumer-visible **check names**
|
|
|
700
725
|
|
|
701
726
|
### Required changes
|
|
702
727
|
|
|
728
|
+
**Re-attest once per open branch; delete the legacy `e2e-attestation.json`.** The single-file
|
|
729
|
+
attestation is replaced by the `e2e-attestations/` directory. A branch open across the upgrade
|
|
730
|
+
that changed scoped source runs `e2e attest '<cmd>'` once (writing its branch-keyed receipt); the
|
|
731
|
+
legacy file at the package root is deleted whenever convenient — `verify` no longer reads it.
|
|
732
|
+
`attest` must run on a checked-out branch: a detached `HEAD` is an error naming the fix.
|
|
733
|
+
|
|
734
|
+
`e2e::Verification` loses its `Stale { attested, latest }` variant — freshness is no longer a
|
|
735
|
+
SHA comparison — and `e2e::ATTESTATION_PATH` (the single-file location) is replaced by the
|
|
736
|
+
receipts-directory constant. Exhaustive `match`es on `Verification` drop the `Stale` arm.
|
|
737
|
+
|
|
738
|
+
**Move each suite to its standard tier, or exempt it** (#418). `integration lint` finds the
|
|
739
|
+
integration and e2e suites at `<package root>/tests/integration/` and `<package root>/tests/e2e/`
|
|
740
|
+
(Rust: the crate root's `tests/`). A Python/TypeScript package whose suites live elsewhere moves
|
|
741
|
+
them into the standard directories; a test file left under `<package root>/tests/` outside a tier
|
|
742
|
+
fails with `unknown-tier` (waivable per file with a reasoned `exempt` entry). A repo carrying a
|
|
743
|
+
separate integration-lint `uses:` call (`path` pointed at the integration directory, narrowed with
|
|
744
|
+
`gates`) drops it — the package's own call now lints the suites.
|
|
745
|
+
|
|
746
|
+
**Re-root integration-lint exemption paths at the package root** (#418). With a derived package
|
|
747
|
+
root, `integration lint` resolves `exempt` paths relative to the package root instead of the
|
|
748
|
+
scanned `path`. An exemption for a suite file updates its `path` accordingly (e.g.
|
|
749
|
+
`billing_test.py` scanned at `tests/integration` becomes `tests/integration/billing_test.py` on
|
|
750
|
+
the package's single call). A loose-script tree (no manifest) keeps scan-root-relative resolution.
|
|
751
|
+
|
|
752
|
+
`config::Rule` gains the `UnknownTier` variant (id `unknown-tier`) (#418). Exhaustive `match`es on
|
|
753
|
+
`Rule` add an arm; `testing-conventions.toml` files parse unchanged, and `rules =
|
|
754
|
+
["unknown-tier"]` is now accepted in an `exempt` entry.
|
|
755
|
+
|
|
703
756
|
**Branch protection: swap the static-gate check names** (#410). The four static gates are now steps
|
|
704
757
|
of one `Static checks (<language>)` job per language, so the four old per-language check names no
|
|
705
758
|
longer appear. Any branch-protection required-check list (or merge-queue / status-check
|
|
@@ -952,6 +1005,35 @@ a deprecation cycle (pre-1.0, so no prior warning was shipped).
|
|
|
952
1005
|
|
|
953
1006
|
### Behavior changes without code changes
|
|
954
1007
|
|
|
1008
|
+
The `e2e verify` gate re-demands a receipt only when scoped **content** changes, once per branch.
|
|
1009
|
+
A branch that attests and then pushes further scoped commits stays green (previously each scoped
|
|
1010
|
+
push re-demanded a fresh attestation naming its newest commit); a rebase or squash merge leaves a
|
|
1011
|
+
receipt standing (previously either could strand the recorded SHA and red the gate with nothing
|
|
1012
|
+
to re-run). The reusable workflow's e2e-verify job discovers receipts at `e2e-attestations/`
|
|
1013
|
+
instead of the single `e2e-attestation.json`, so a repo that has not yet re-attested with the new
|
|
1014
|
+
CLI has its gate skip (verify-if-present) rather than fail until its next scoped branch attests.
|
|
1015
|
+
|
|
1016
|
+
`integration lint` scans the derived suite tiers instead of the scanned `path` (#418). Three
|
|
1017
|
+
verdicts can move at the same invocation: a suite beside the scanned source directory is now
|
|
1018
|
+
linted (violations it always carried now fail the gate — previously the scan never reached it); a
|
|
1019
|
+
colocated unit test under the scanned `path` is no longer an integration-lint subject (unit tests
|
|
1020
|
+
patch first-party collaborators by design, so a false red there disappears); and a test file
|
|
1021
|
+
under `<package root>/tests/` outside a standard tier fails with `unknown-tier` where it was
|
|
1022
|
+
previously invisible. The unit-tier gates release `<package root>/tests/`: `unit lint` stops
|
|
1023
|
+
flagging integration/e2e tests as un-isolated units, and `unit colocated-test` (and co-change)
|
|
1024
|
+
stop demanding colocated twins for suite helpers.
|
|
1025
|
+
|
|
1026
|
+
The suite-executing jobs' (`unit-coverage`, `coverage-changed`, `mutation`) and `packaging`'s
|
|
1027
|
+
Rust-build cache now keys on the workspace-aware `target/` location, not the derived package root
|
|
1028
|
+
unconditionally (#410). Cargo resolves the target directory at the *workspace* root regardless of
|
|
1029
|
+
the invoking working directory, so a crate that's a member of an ancestor Cargo workspace now
|
|
1030
|
+
caches at that workspace root's `target/`; a standalone crate (or one that's itself the workspace
|
|
1031
|
+
root) is unaffected — its cache location is unchanged. A monorepo package whose crate is a
|
|
1032
|
+
workspace member (dirsql PR #410's own case) sees its `uv sync` maturin build's cache actually hit
|
|
1033
|
+
on the second run instead of archiving (and restoring) an empty directory every time. Every
|
|
1034
|
+
`astral-sh/setup-uv@v7` step in the suite/packaging jobs also gains an explicit `enable-cache:
|
|
1035
|
+
true`. The `uses:` call is unchanged; no config or API change.
|
|
1036
|
+
|
|
955
1037
|
The reusable workflow provisions Python with uv in every suite-executing job (#399); the
|
|
956
1038
|
`actions/setup-python` + `python -m pip install` arm is gone. A plain (`python_env == 'pip'`)
|
|
957
1039
|
package's suite now runs from a `uv venv` at the derived package root instead of the runner's
|
|
@@ -1183,6 +1265,29 @@ Exemptions (#32) change runtime behavior:
|
|
|
1183
1265
|
|
|
1184
1266
|
### Verification
|
|
1185
1267
|
|
|
1268
|
+
```
|
|
1269
|
+
git checkout -b tc-migration-check
|
|
1270
|
+
testing-conventions e2e attest 'true'
|
|
1271
|
+
ls e2e-attestations/
|
|
1272
|
+
testing-conventions e2e verify --base origin/main
|
|
1273
|
+
```
|
|
1274
|
+
|
|
1275
|
+
Expected: `attest` commits one `e2e-attestations/<branch-slug>.json` naming the branch;
|
|
1276
|
+
`verify` passes. Push a scoped source change on a second branch without attesting and `verify
|
|
1277
|
+
--base origin/main` fails there, naming `e2e attest` as the fix; rebasing the attested branch
|
|
1278
|
+
onto a moved `main` leaves its `verify` green.
|
|
1279
|
+
|
|
1280
|
+
```
|
|
1281
|
+
testing-conventions integration lint --language python <package>/src
|
|
1282
|
+
testing-conventions unit lint --language python <package>
|
|
1283
|
+
```
|
|
1284
|
+
|
|
1285
|
+
Expected: the first call reports violations from `<package>/tests/integration` and
|
|
1286
|
+
`<package>/tests/e2e` (and `unknown-tier` for any stray `*_test.py` under `<package>/tests/`)
|
|
1287
|
+
even though `path` is the source directory; the second reports nothing for files under
|
|
1288
|
+
`<package>/tests/` (#418). In-repo, the dogfood `checks` job (`internals/checks/src`) now lints
|
|
1289
|
+
`internals/checks/tests/integration` + `tests/e2e` on the same single call, green.
|
|
1290
|
+
|
|
1186
1291
|
```
|
|
1187
1292
|
uv run --project internals/checks tc-checks uv-provisioning-wired
|
|
1188
1293
|
grep -c 'python -m pip install' .github/workflows/testing-conventions.yml || true
|
|
@@ -50,6 +50,13 @@ pub fn stale_sources(
|
|
|
50
50
|
// Every changed path, so a subject's expected test is a set lookup rather
|
|
51
51
|
// than a second walk of the diff.
|
|
52
52
|
let changed: BTreeSet<&str> = entries.iter().map(|(_, path)| path.as_str()).collect();
|
|
53
|
+
// `<package root>/tests/` belongs to the suite tiers (integration / e2e),
|
|
54
|
+
// so nothing under it is a co-change subject.
|
|
55
|
+
let suite_tests = match language {
|
|
56
|
+
Language::Python => crate::tiers::suite_tests_dir(repo, "pyproject.toml"),
|
|
57
|
+
Language::TypeScript => crate::tiers::suite_tests_dir(repo, "package.json"),
|
|
58
|
+
Language::Rust => None,
|
|
59
|
+
};
|
|
53
60
|
|
|
54
61
|
let mut stale = Vec::new();
|
|
55
62
|
for (status, rel) in &entries {
|
|
@@ -59,6 +66,12 @@ pub fn stale_sources(
|
|
|
59
66
|
if !language.tracks(path) || language.is_test(path) || language.is_support(path) {
|
|
60
67
|
continue;
|
|
61
68
|
}
|
|
69
|
+
if suite_tests
|
|
70
|
+
.as_ref()
|
|
71
|
+
.is_some_and(|tests| repo.join(path).starts_with(tests))
|
|
72
|
+
{
|
|
73
|
+
continue;
|
|
74
|
+
}
|
|
62
75
|
let expected = language
|
|
63
76
|
.expected_test_path(path)
|
|
64
77
|
.to_string_lossy()
|
|
@@ -120,6 +120,17 @@ pub fn missing_unit_tests(
|
|
|
120
120
|
let root = root.as_ref();
|
|
121
121
|
let mut files = Vec::new();
|
|
122
122
|
collect_files(root, language, &mut files)?;
|
|
123
|
+
// `<package root>/tests/` belongs to the suite tiers (integration / e2e),
|
|
124
|
+
// so nothing under it is a colocated-unit subject. Rust's walk already
|
|
125
|
+
// skips `tests/` (an integration-crate directory in cargo's own layout).
|
|
126
|
+
let manifest = match language {
|
|
127
|
+
Language::Python => Some("pyproject.toml"),
|
|
128
|
+
Language::TypeScript => Some("package.json"),
|
|
129
|
+
Language::Rust => None,
|
|
130
|
+
};
|
|
131
|
+
if let Some(tests) = manifest.and_then(|m| crate::tiers::suite_tests_dir(root, m)) {
|
|
132
|
+
files.retain(|file| !file.starts_with(&tests));
|
|
133
|
+
}
|
|
123
134
|
|
|
124
135
|
// Every tracked path we found, so a subject's expected twin is a lookup
|
|
125
136
|
// rather than a second pass over the filesystem.
|
|
@@ -241,6 +241,9 @@ pub enum Rule {
|
|
|
241
241
|
UntypedMock,
|
|
242
242
|
/// `integration lint` — a `vi.mock` of a first-party module in a TS integration test.
|
|
243
243
|
NoFirstPartyMock,
|
|
244
|
+
/// `integration lint` — a test file under `<package root>/tests/` outside a
|
|
245
|
+
/// standard suite tier (`tests/integration/`, `tests/e2e/`).
|
|
246
|
+
UnknownTier,
|
|
244
247
|
/// `unit mutation` — a surviving mutant the unit suite didn't catch ([`crate::mutation`]).
|
|
245
248
|
Mutation,
|
|
246
249
|
}
|
|
@@ -272,6 +275,7 @@ impl Rule {
|
|
|
272
275
|
Rule::UnmockedCollaborator => "unmocked-collaborator",
|
|
273
276
|
Rule::UntypedMock => "untyped-mock",
|
|
274
277
|
Rule::NoFirstPartyMock => "no-first-party-mock",
|
|
278
|
+
Rule::UnknownTier => "unknown-tier",
|
|
275
279
|
Rule::Mutation => "mutation",
|
|
276
280
|
}
|
|
277
281
|
}
|
|
@@ -293,6 +297,7 @@ impl Rule {
|
|
|
293
297
|
Rule::UnmockedCollaborator,
|
|
294
298
|
Rule::UntypedMock,
|
|
295
299
|
Rule::NoFirstPartyMock,
|
|
300
|
+
Rule::UnknownTier,
|
|
296
301
|
Rule::Mutation,
|
|
297
302
|
]
|
|
298
303
|
.into_iter()
|