Skip to content

drop 5 more dead U1000 items: orphaned wrappers, an unused type, a debug helper - #378

Merged
gerardrecinto merged 1 commit into
masterfrom
kill-more-dead-u1000-helpers
Sep 19, 2026
Merged

gerardrecinto merged 1 commit into
masterfrom
kill-more-dead-u1000-helpers

Conversation

@gerardrecinto

Copy link
Copy Markdown
Collaborator

Five more from the pile, three different flavors of dead:

normalizeCompatibilityConditionMap and normalizeCompatibilityConditionMapWithQuery (atomic_engine_part3.go): both thin wrappers around normalizeCompatibilityConditionMapWithQueryAndAliases, which IS called directly elsewhere in the same file. The generalized function absorbed the wrappers' job when aliases/storeFields support got added, and nobody deleted the now-redundant simpler entry points.

progressSink (engine_native.go): a func(string) type alias with zero references anywhere, not even a variable declared with it.

isRoutedAskContext (engine_native.go): pulls RoutingGate out of the session payload's Variables map, zero callers. Checked for duplicate inline logic doing the same context-based lookup elsewhere - every other RoutingGate access already has the struct in hand directly, different access pattern, no real duplication to fix.

getMapKeys (copilottools.join_execution_extras.go): its own comment says it, 'Helper for debugging which keys exist,' zero callers.

Build+vet+gofmt+test clean.

@gerardrecinto
gerardrecinto merged commit 74199fb into master Sep 19, 2026
20 of 21 checks passed
@gerardrecinto
gerardrecinto deleted the kill-more-dead-u1000-helpers branch September 19, 2026 23:12
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