Repository navigation
uid2: add the refreshStaleUid2s stale-token loop - #333
Merged
Merged
Conversation
etiennelatendresse-optable
force-pushed
the
migrate-eid-cache-merge
branch
2 times, most recently
from
September 15, 2026 16:06
3820f7c to
8dde6d0
Compare
mosherBT
force-pushed
the
uid2-refresh-orchestrator
branch
from
September 16, 2026 16:17
38b18d0 to
9fae0f5
Compare
etiennelatendresse-optable
force-pushed
the
migrate-eid-cache-merge
branch
from
September 16, 2026 16:32
9628500 to
104b8ad
Compare
mosherBT
force-pushed
the
uid2-refresh-orchestrator
branch
from
September 16, 2026 19:23
9fae0f5 to
ee5906f
Compare
mosherBT
marked this pull request as ready for review
September 16, 2026 19:28
mosherBT
force-pushed
the
uid2-refresh-orchestrator
branch
from
September 16, 2026 19:47
306e47f to
ee5906f
Compare
2 of 4 tasks
mosherBT
force-pushed
the
uid2-refresh-orchestrator
branch
from
September 28, 2026 17:23
ee5906f to
07d14e0
Compare
etiennelatendresse-optable
approved these changes
Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
mergeCache(#330) returnsstaleUid2swith nowhere to send them. The protocol client (#328) and cache apply (#329) are merged, but nothing strings them together.ClickUp Task ID: PRODUCT-3938
What Changed
refreshStaleUid2s(config, staleUid2s)inlib/addons/uid2-refresh.ts: refreshes each stale source against the operator and applies the outcome to the cache. Sequential, since every apply is a read-modify-write of the same cache copies. Entries without valid refresh material are skipped, a failed entry does not stop the rest, and nothing throws into the host page.uid2-refresh.mdsection;eid-cache.mdpoints itsstaleUid2soutput here.How to Test
Unit tests cover end-to-end refresh, opt-out eviction, entries without usable ref data, network failure, undecryptable response, a failed entry not aborting the loop, and the empty-list no-op.
Notes
Takes
StaleUid2[]({ source, ref }) from eidCache: add merging targeting responses to core #330's source-keyedrefssidecar.Breaking change
Requires release