server: export ObserveWarmupRoutingEmbedding for enterprise - #5791
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe warmup embedding observer is exported as ChangesWarmup embedding observer
Estimated code review effort: 1 (Trivial) | ~5 minutes Mergeability Score: ⚪ Minimal · up to This localized visibility change is merge-ready after normal checks and review; no actionable merge-blocking risk remains. Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
33f5222 to
b061380
Compare
1868e93 to
73b407e
Compare
73b407e to
9979d93
Compare
b061380 to
2a885cb
Compare
9979d93 to
377cb6b
Compare
e0424c7 to
a7391d2
Compare
c412e5a to
4be3a06
Compare
3567e87 to
443aacc
Compare
4be3a06 to
6378bbc
Compare
443aacc to
719888b
Compare
719888b to
edd6be0
Compare
6378bbc to
784e4db
Compare
edd6be0 to
42bf619
Compare
784e4db to
2bdbf54
Compare
2bdbf54 to
a092bbd
Compare
093aecb to
e7feea6
Compare
a092bbd to
a748b1c
Compare
a748b1c to
dc3578b
Compare
3a56d9f to
da79e00
Compare
dc3578b to
094caf4
Compare
da79e00 to
e075344
Compare
094caf4 to
b847350
Compare
e075344 to
932e6c1
Compare
b847350 to
0fd9205
Compare
932e6c1 to
f5ea618
Compare
0fd9205 to
8e397a9
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |

Summary
observeWarmupRoutingEmbeddingwas unexported, making it unreachable from embedder packages that reimplementBootstraprather than delegating to it. Those embedders could not wire the warmup embedding usage observer, causing warmup embed token usage to be silently dropped with no recovery path.Changes
observeWarmupRoutingEmbedding→ObserveWarmupRoutingEmbeddingso embedders in external packages can reference it directly through the embedded server when setting up their ownBootstraplogic.BootstrapandReloadPlugin) to reference the exported name.Type of change
Affected areas
How to test
Verify that an embedder package that embeds
BifrostHTTPServerand callsSetWarmupEmbedUsageObserverwiths.ObserveWarmupRoutingEmbeddingcompiles successfully, and that warmup embedding token usage is recorded in Prometheus routing overhead counters after a governance plugin reload or server bootstrap.go test ./...Breaking changes
Related issues
Security considerations
None. This is a visibility change on an internal telemetry observer; no auth, secrets, or PII are involved.
Checklist
docs/contributing/README.mdand followed the guidelines