Skip to content

Share dependency traversal state - #20289

Merged
zanieb merged 0 commit into
zb/remove-orphaned-dependenciesfrom
zb/dependency-traversal-poc
Aug 31, 2026
Merged

zanieb merged 0 commit into
zb/remove-orphaned-dependenciesfrom
zb/dependency-traversal-poc

Conversation

@zanieb

@zanieb zanieb commented Jul 9, 2026

Copy link
Copy Markdown
Member

Introduces a shared breadth-first dependency traversal that owns (package, extra) deduplication, cycle handling, and base-plus-extra activation. Lockfile reachability, installed-metadata reachability, and audit traversal retain their domain-specific root, marker, and metadata behavior while using the same state machine.

This is a proof of concept stacked on #20192 to evaluate the abstraction before applying it to additional dependency-graph consumers.

@zanieb
zanieb force-pushed the zb/dependency-traversal-poc branch from 664be07 to ace0f39 Compare July 9, 2026 15:46
@astral-sh-bot

This comment has been minimized.

@zanieb
zanieb force-pushed the zb/dependency-traversal-poc branch from ace0f39 to ee66ca8 Compare July 16, 2026 12:34
@zanieb
zanieb force-pushed the zb/remove-orphaned-dependencies branch from 221e529 to a404861 Compare July 16, 2026 12:47
@zanieb
zanieb force-pushed the zb/dependency-traversal-poc branch 2 times, most recently from 56413c5 to 69ee65d Compare July 16, 2026 13:27
@zanieb
zanieb force-pushed the zb/dependency-traversal-poc branch from 69ee65d to c46af91 Compare July 16, 2026 13:35
@zanieb
zanieb force-pushed the zb/remove-orphaned-dependencies branch 4 times, most recently from c352d06 to 68daee0 Compare July 16, 2026 14:39
@zanieb
zanieb force-pushed the zb/remove-orphaned-dependencies branch from 68daee0 to ac76f18 Compare August 29, 2026 14:16
@zanieb
zanieb force-pushed the zb/dependency-traversal-poc branch from c46af91 to 5072fd7 Compare August 29, 2026 14:25
@zanieb
zanieb force-pushed the zb/dependency-traversal-poc branch from 5072fd7 to a5a2642 Compare August 31, 2026 18:30
@zanieb
zanieb merged commit a5a2642 into zb/remove-orphaned-dependencies Aug 31, 2026
4 checks passed
@zanieb
zanieb force-pushed the zb/remove-orphaned-dependencies branch from 5ff5ea4 to 55ca934 Compare August 31, 2026 18:30
@zanieb
zanieb deleted the zb/dependency-traversal-poc branch August 31, 2026 18:30
@zanieb
zanieb restored the zb/dependency-traversal-poc branch August 31, 2026 18:31

This branch was previously deployed

1 inactive deployment
automations — a5a2642b Deployed Aug 31, 2026 by zanieb via review / security review #45561
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.

1 participant