Repository navigation
feat(broker): register fbuild consumer payload-protocol 0x7EB1 - #440
Merged
Merged
Conversation
Reserve 0x7EB1 in the registered-consumer range (0x7000..=0x7EFF) for FastLED/fbuild's opaque Frame v1 request/response lane, alongside the existing zccache (0x7A63) and clud (0x7C4C) registrations. Re-export FBUILD_PAYLOAD_PROTOCOL from broker::protocol and extend the frozen consumer-registry test. Refs: #437 Co-Authored-By: Claude Opus 4.7 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
4 of 5 tasks
zackees
added a commit
to FastLED/fbuild
that referenced
this pull request
Jun 13, 2026
…g-process#437) (#559) Add the `fbuild-broker` crate implementing v1 broker daemon discovery and version negotiation for the fbuild daemon, behind a `RUNNING_PROCESS_DISABLE=1` rollback to the legacy direct loopback-HTTP path. Inventory (docs/running-process/inventory.md) determined the JSON encoding lane: a single internal request/response model (`BrokerRequest`/`BrokerResponse`) serializes to JSON on the direct path and to a prost envelope (carrying the verbatim JSON payload) on the broker `Frame` lane, so the daemon keeps one body parser. Golden-message parity tests assert the two encodings stay in lock-step. - Bump running-process 4.2.0 -> 4.3.0, enable `client-async` (fbuild-daemon is a tokio runtime; uses `AsyncBrokerSession::adopt`); `core` stays on for containment. - Pin consumer payload-protocol id 0x7EB1 via `register_payload_protocol!` (const-asserts registered-consumer range + first-party non-collision). Upstream documentary constant tracked in zackees/running-process#440. - Register ServiceDefinition (SHARED_BROKER local + EXPLICIT_INSTANCE "ci-trusted" for CI) and publish a CacheManifest covering all seven cache roots (artifact/index/temp/log/lock/runtime/config). - Typed broker refusals via `RefusalKind`. - Surface live broker adoption facts through `fbuild daemon running-process`. 14 fbuild-broker tests pass (protocol round-trip, JSON/prost parity, ServiceDefinition validation for both isolations, CacheManifest round-trip, disable-env rollback, unreachable-broker Connect classification). Refs: #510, zackees/running-process#437, zackees/running-process#440 Co-authored-by: Claude Opus 4.7 <[email protected]>
This was referenced Jun 13, 2026
Closed
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.
Summary
0x7EB1in the registered-consumer payload-protocol range (0x7000..=0x7EFF) for FastLED/fbuild's opaque Frame v1 request/response lane.0x7A63) and clud (0x7C4C) consumer registrations;FBUILD_PAYLOAD_PROTOCOLis re-exported frombroker::protocol.This is the one-line registry PR required by the fbuild v1 broker adoption (#437 / FastLED/fbuild). fbuild pins the same value on its side with
register_payload_protocol!.Test plan
soldr cargo test -p running-process --lib broker::protocol::registry(4 passed)Refs: #437
🤖 Generated with Claude Code