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
registrar: agent and server parse the snapshot version's content hash with two copies of the parser — pin them together #1272
From the second-pass review of #1266/#1267. The agent's versionContentHash (registry/internal/registrar) duplicates the server's parser (registrar/internal/server/snapshot.go:99). #1266's emptyResend clear relies on the two agreeing: if a future version-format change updates only one, the agent could clear a correct cache on a renamed answer. Fix: one shared helper (a small package both can import without pulling the server into the agent), or a table test that runs both parsers over every format (<rev>.<h>, <rev>+<h>, hash:<h>, legacy counter).
Activity
refactor(registrar): shared snapshot-version parser; give the in-flig…