Skip to content

List what --changed-since misses, and why it stays narrow - #2853

Merged
max-sixty merged 2 commits into
mainfrom
lit-survey
Oct 14, 2026
Merged

max-sixty merged 2 commits into
mainfrom
lit-survey

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

The landing gates' --changed-since selection adds a later-tier test only when its own function changed. This names, in pytest_collection_modifyitems's docstring beside the existing reasoning, everything that selection misses: the product code a test reaches, fixtures and helpers it calls, module constants and parametrize sources, pages under fixtures/pages/, regtest recordings and pinned images. It records the maintainer's judgment (2026-10-14) that selecting through those isn't worth the complication, since each miss still runs once the change lands. tests/AGENTS.md points at the list.

Follow-up #87 of the Lit-survey fix round (a fixture edit let a browser test's failure reach main). Docs only; no behaviour changes.

This was written by Claude Code on behalf of max-sixty

The collection hook's docstring now names every dependency the landing gates'
--changed-since selection ignores: the product code a test reaches, fixtures and
helpers, module constants and parametrize sources, fixture pages, regtest
recordings and pinned images. It records the user's judgment (2026-10-14) that
selecting through those is not worth the complication, since each miss still runs
once the change lands. tests/AGENTS.md points at the list. No behaviour changes.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The rationale overstates what the narrow selection avoids.

Comment thread tests/conftest.py Resolved
@max-sixty
max-sixty merged commit 018ce4b into main Oct 14, 2026
4 checks passed
@max-sixty
max-sixty deleted the lit-survey branch October 14, 2026 16:01
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