Go: apply typed evaluations at an explicit timestamp without resolving twice
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
- #654 di @williamhogman — chiusa senza merge
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
Direzione di ricerca
Start in the Go typed evaluation path that handles _confidence_skip_apply and discards the resolve token, then trace how ApplyFlags is called on the WASM protocol. Check the existing real-WASM test for exposure counts and the tutorial fixture benchmark. Done means an opt-in WithApplyTime that applies the original token once at the given timestamp, with suppression and zero-time behavior covered by tests. Confirm the API shape with maintainers before implementing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Typed Go evaluations can suppress exposure collection with _confidence_skip_apply, but they discard the response's resolve token. Recording an exposure at an explicit event timestamp therefore requires a second Resolve to obtain a token, followed by ApplyFlags, or duplicating the provider's typed decoding/error handling.
Would an opt-in WithApplyTime(ctx, timestamp) API fit the provider? The typed evaluation would resolve once with apply=false, preserve its existing validation and decoding, and apply the original token at the requested timestamp after a successful typed evaluation, including fallthrough exposures that request application without a variant. Exposure suppression and ShouldApply=false would still win; zero time would restore normal behavior; an apply failure would not discard a valid flag value.
I have a small prototype against 4e1a5f1f4f4c31a328361108c715a2d9dab6a444 using the existing ApplyFlags/WASM protocol. In five alternating real-WASM runs with the public tutorial fixture and dedup enabled, process CPU falls from 102.7 to 59.8 microseconds per evaluation (41.7%), with identical typed results. Allocation drops from 83,048 to 54,328 bytes and 251 to 150 allocations per evaluation. A real-WASM test confirms exactly one backdated exposure.
I will open a focused PR with the implementation, contract coverage and reproducible benchmark. No Rust, protobuf or embedded WASM changes are needed.
- Lingua principale
- Rust
- Stelle
- 17
- Fork
- 18
- Merge medio
- 1h 25m
- PR unite (30g)
- 3
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di spotify/confidence-resolver
-
python provider: ETag is committed before the state installs, so a failed install is never retriedForse già presa @nicklasl l’ha presa 2 giorni fa. Aperta
Difficoltà 3/5 Mezza giornata Idoneità per principianti 22/100
spotify/confidence-resolver#675 ·
I maintainer di solito rispondono entro 1 giorno
-
Go provider: in-place state updates pin ~2.3× the WASM memory of the current stateForse già presa @sergeyevstifeev l’ha presa 7 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 18/100
spotify/confidence-resolver#665 ·
I maintainer di solito rispondono entro 1 giorno
-
Ruby provider: HTTP timeouts are not configurable (Net::HTTP 60s defaults apply)Forse già presa @reginaldalfret l’ha presa 6 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
spotify/confidence-resolver#652 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
spotify/confidence-resolver#336 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
spotify/confidence-resolver#297 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di spotify/confidence-resolver
Issue simili
-
Perl - Readme DriftForse già presa @Omnideth l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
CommunityToolkit/Aspire#2375 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno