Skip to content

test: excluded-root count is 19 after .hypothesis joined EXCLUDED_ROOTS - #4431

Merged
Daniel Meppiel (danielmeppiel) merged 1 commit into
mainfrom
danielmeppiel-t1-excluded-roots-19
Nov 20, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 1 commit into
mainfrom
danielmeppiel-t1-excluded-roots-19

Conversation

@danielmeppiel

Copy link
Copy Markdown
Collaborator

Description

Main-red fix. #4388 added .hypothesis to scripts/architecture_linter/inventory.py EXCLUDED_ROOTS, so tests/integration/test_architecture_linter_entrypoint.py:261 (excluded_root_count == len(EXCLUDED_ROOTS) == 18) fails on main. The pinned literal becomes 19; it stays a literal so a future root addition is still a deliberate test change.

Issue and approved scope

Issue: Refs #4388

Human scope-approval comment: main-red fix routed by the Stream T lead.

Does this PR complete the issue, or what remains? Restores main; no product change.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally
  • All existing tests pass
  • Added tests for new functionality (if applicable)

Not run locally (host rule: CI verifies). len(EXCLUDED_ROOTS) on main evaluates to 19. Node-set diff: none (one literal).

Changelog

  • One line in one section under ## [Unreleased] in CHANGELOG.md
  • N/A -- internal-only change (CI, tests, refactor).

Spec conformance (OpenAPM v0.1)

  • N/A -- this PR does not change OpenAPM-observable behaviour.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the test update aligning the excluded-root count with the .hypothesis cache exclusion.

No open issues 🎉

What changed in this PR

Updates the architecture-linter integration test to match the .hypothesis cache exclusion added in #4388. This corrects the stale expected count without changing production behavior.

Changes:

  • Changes the expected excluded-root count from 18 to 19.
  • Retains the literal assertion so future exclusion changes require an explicit test update.
File Description
tests/​integration/​test_architecture_linter_entrypoint.py Updates the pinned excluded-root count to 19.

Review effort: Balanced

@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit c6892bd into main Nov 20, 2026
30 checks passed
@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the danielmeppiel-t1-excluded-roots-19 branch November 20, 2026 17:45
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 20, 2026
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants