v2.1.0 rc1 #48
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.48) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 523 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.375
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #48"
general
weight: 0.35
igooch
Summary
Prepares Open Match Core (
om-core)v2.1.0-rc1, improving replicated ticket cache throughput and replication latency, hardening Redis Streams and in-memory state replicators, tightening gRPC/HTTP RPC error and streaming contracts, and aligning Cloud Run / GKE deployment defaults and observability for production workloads.Key Changes
internal/statestore/)- Adds a
ActiveTicketsindex for lock-free pool snapshots and replaces full-map TTL scans with min-heap expiration.- Adds a cold-start replication catch-up barrier (
WaitForCatchUp) and event-driven watermark notifications (WaitForDeactivation). Replaced 100ms polling sleeps.- Supports opt-in request coalescing and Redis Stream packing (
OM_CACHE_PACK_TICKET_STATE_UPDATES), faster expiration by moving toXTRIM ... MINID ~, improved Redis socket timeouts, and cleanerClose().main.go,internal/mmfauth/)- Improves
ChunkedMmfRunRequestmessage chunking size estimation and correctly closes the client send direction (CloseSend()).- All
StreamedMmfResponseare now forwarded (including ticketless responses), addsMatch.Extensionsfor error reporting (invalid_ticket_ids,deactivation_failed_ticket_ids,deactivation_timeout, reading all of these is optional so existing matchmakers do not have to adopt them), and surfaces per-MMF failures usinggoogle.rpc.ErrorInfo(MMF_FAILURE).- Returns per-ticket
google.rpc.BadRequestviolations on partialActivateTickets/DeactivateTicketsfailures so callers can retry only failed ticket updates.- Fixes concurrency-safe, per-audience OIDC ID token caching with single-flight refresh on
Unauthenticated/PermissionDeniedforhttps://MMFs. These now work as intended.server.go,internal/config/,internal/filter/)- Adds gRPC panic recovery interceptors, HTTP
ReadHeaderTimeout, and bounded graceful shutdown across gRPC, HTTP, OTel, and state replicators. These are largely just code hygiene, as 'clean shutdown' of a matchmaking service is largely an academic exercise.- Added a few
v2.1.0Viper config vars. Now enforces positive integer bounds on channel capacities, batch limits, and ticker intervals.- Fixes
CreationTimeFilterhandling fornilfilters, half-open (Start-only /End-only) bounds, and tickets missingcreation_time. These should all work as intended now.metrics.go,deploy/)- Moved some Core and Cache OpenTelemetry metrics to sub-millisecond histogram buckets to more accurately reflect the metrics being recorded. Fixed a potential unbounded attribute cardinality in one of the metrics.
- Changes some default Cloud Run configs to better reflect the reality of matchmaking: use Gen2 Cloud Run,
--no-cpu-throttling,--min-instances=2,--ingress=internal- Added another config path for the OTel Collector sidecar image, used by the latest Google Cloud OTel image.
- Upgrades Go to
1.26.9and updates module dependencies.- Updates English and Japanese documentation (
README, architecture, metrics, FAQ, development, and migration guides), and expands unit, concurrency/race, and benchmark test suites to cover some of the fixes above.Compatibility & Rollout Notes
proto/api.protocontains documentation comment updates only; existingv2.0.xgRPC and HTTP clients remain wire-compatible. You don't need to re-compile your protocol buffers.OM_CACHE_PACK_TICKET_STATE_UPDATESfeature flag defaults tofalse, which is backwards compatible with the state storage format forv2.0.xom-core. SettingOM_CACHE_PACK_TICKET_STATE_UPDATES=truecompacts the state storage format and should speed up state replication under load. Make sure to move allom-corereplicas in your environment are using a version greater thanv2.1.0when enablingOM_CACHE_PACK_TICKET_STATE_UPDATES=true.