Repository navigation
test(taxonomy): classify the lifecycle-lock guard and prune stale taxonomy entries (#4552 item 4) - #4618
Merged
Daniel Meppiel (danielmeppiel) merged 2 commits intoNov 21, 2026
Conversation
…une stale entries (#4552) test_architecture_lifecycle_lock.py was the only unit-marked module under tests/integration. Its 47 sibling test_architecture_* guards run the same in-process linter check and are marked component, so it now is too, and it leaves misplaced_modules. The taxonomy baseline also drops entries whose module is gone or already compliant: 26 misplaced and 744 unclassified. No new allowance is added. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 21, 2026 12:46
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the test-classification correction and taxonomy exception cleanup.
No open issues 🎉
What changed in this PR
This PR addresses the bounded portion of #4552 item 4 by correcting a test classification and pruning stale taxonomy exceptions, without changing test bodies or CI scheduling. The 38 process-spawning modules remain deferred to #4608.
Changes:
- Reclassifies the lifecycle-lock architecture guard from
unittocomponent. - Reduces misplaced-module exceptions from 65 to 38 and unclassified-module exceptions from 1,304 to 558.
| File | Description |
|---|---|
tests/quality/test_taxonomy_baseline.json |
Removes stale classification and placement exceptions. |
tests/integration/test_architecture_lifecycle_lock.py |
Marks the in-process architecture guard as component. |
Review effort: Balanced
…f re-marking it (#4552) Re-marking it component made AQ003 apply: a component test must assert a user-visible outcome, and its sibling architecture guards only pass that rule as grandfathered baseline debt. The guard is a static, in-process check, so it keeps its unit marker and moves to tests/unit/scripts next to the other architecture-rule contracts. The promise exemption, duplicate baseline, CI durations and replay disposition follow the new path. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-4552-taxonomy-item4
branch
November 21, 2026 15:23
Merged
3 of 10 tasks
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.
Description
#4552 item 4, as the PM ruled: land the one unit-marked module under
tests/integrationand prune stale taxonomy baseline entries. The 38 process-spawningtests/unitmodules move to #4608, because moving them totests/integrationwould take them out of required PR-time checks.tests/integration/test_architecture_lifecycle_lock.pywas the onlyunit-marked module undertests/integration. It is a static, in-process architecture-rule check, so it keepsunitand moves totests/unit/scripts/test_architecture_lifecycle_lock.py, next to the other architecture-rule contracts. (Re-marking itcomponentwould make AQ003 apply; itscomponentsiblings pass AQ003 only as grandfathered baseline debt.) Thepromise_exempt_modulesentry,exact_test_duplicates.jsonkey,.github/ci-durations/linux-x86_64.jsonnode ids and the replay disposition row follow the new path, as the taxonomy and duplicate ratchets require for a moved module.tests/quality/test_taxonomy_baseline.jsondrops every entry whose module is gone or already compliant:misplaced_modules65 -> 38 (26 stale, plus the module above),unclassified_modules1304 -> 558. Entries are only removed; nothing is added.Issue and approved scope
Issue: Refs #4552 (item 4)
Human scope-approval comment: #4552 (comment) (item 4, "move the 15 misplaced modules by behaviour"; the live count was 39, and the PM ruled the split on 2026-11-21, see #4552 (comment))
Does this PR complete the issue, or what remains? It completes item 4 for 0.38. The 38 process-spawning modules are tracked in #4608. Items 1, 2, 3, 5, 6 and 7 remain on #4552.
Type of change
Testing
Validation evidence:
pytest -p no:randomly -p no:xdist tests/unit/scripts/test_architecture_lifecycle_lock.py tests/quality/test_test_taxonomy.py tests/quality/test_quality_baselines.py: 50 passed.python scripts/check_exact_test_duplicates.py: clean.python -m tests.quality.taxonomy --changed: tm006 clean.uvx [email protected] checkandformat --checkontests/: passed.Changelog
Spec conformance (OpenAPM v0.1)