You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stale doc references to retired mark_entrypoint_targets / clearEntrypointAttributionForRemovedFiles #2437
Found while resolving merge conflicts on #2434 (not introduced by that merge — present on the branch as authored, so it lands with the PR).
#2434 retires markEntrypointTargets / mark_entrypoint_targets and clearEntrypointAttributionForRemovedFiles / clear_entrypoint_attribution_for_removed_files in favour of persistEntrypointCalls + projectEntrypointAttribution (apply_entrypoint_attribution on the Rust side). Three comments still point readers at the removed names:
crates/codegraph-core/src/graph/classifiers/roles.rs:444 — // 2b. Program-entrypoint IDs (#2392) — set by mark_entrypoint_targets`` . Entrypoint IDs are now set by apply_entrypoint_attribution, so this sends a future reader to a symbol that no longer exists. This is the one worth fixing — it is production code documenting where the column comes from.
tests/integration/issue-2392-python-entrypoints.test.ts:248-250 — comment describes the retired pre-purge capture step as the mechanism under test.
Not a correctness bug (comments only, no live references — verified by grep across src/, crates/, tests/), and deliberately left out of #2434 to keep that PR to one concern.
Note: the header comment in tests/integration/issue-2428-watch-python-entrypoints.test.ts:9-10 also names both retired functions, but there it is intentional historical context describing the bug being fixed, and should stay.
Activity
docs: fix stale references to retired entrypoint-attribution functions (