Skip to content

feat(internal/idmapper): add ID-mapper package#178

Open
justinwon777 wants to merge 1 commit into
mainfrom
idmap-extract
Open

feat(internal/idmapper): add ID-mapper package#178
justinwon777 wants to merge 1 commit into
mainfrom
idmap-extract

Conversation

@justinwon777

@justinwon777 justinwon777 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Adds internal/idmap with NameIDMapper that today live in core/common. A follow-up PR will switch controller and orchestrator over to it and remove the duplicated code from core/common.

Test Plan

unit test

Issue

@justinwon777 justinwon777 requested review from a team as code owners July 10, 2026 21:53
Comment thread internal/idmap/idmap.go Outdated
Adds internal/idmapper with NameIDMapper, the stable name->int32 ID
assigner used to build the tangopb wire format's ID-keyed maps. This
is purely additive: no existing callers are migrated and core/common
is untouched, so this package is currently unused. A follow-up PR will
switch controller and orchestrator over to it and remove the
duplicated code from core/common.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@justinwon777 justinwon777 changed the title feat(internal/idmap): add ID-mapping and metadata-chunking package feat(internal/idmapper): add ID-mapper package Jul 11, 2026

// Package idmapper provides the ID-mapping primitives used to build the tangopb
// wire format's int32-ID-keyed maps.
package idmapper

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This maybe should be under internal/mapper/idmapper, but wasn't sure if internal/mapper is supposed to be only for just proto mappers.

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