Skip to content

running-process broker: fbuild adoption tracker #510

@zackees

Description

@zackees

?## Scope

Track fbuild adoption of the upstream running-process v1 broker work.

Source tracker: zackees/running-process#242
Upstream phase gates:

Related local context:

Adoption checklist

  • Adopt running_process::broker::BackendHandle once Phase 2.5 ships, replacing bespoke daemon probe / recovery / version-match wrappers where applicable.
  • Ship a fbuild-daemon.servicedef file in installers/packages at the platform paths defined by running-process, with the intended isolation mode declared.
  • Wire broker-client integration through running_process::broker::client::connect_to_backend once Phase 4 ships, including Hello-skip and broker fallback behavior.
  • Honor RUNNING_PROCESS_DISABLE=1 as the broker escape hatch while Phase 7 rollout is active.
  • Test both broker-mode and direct-daemon-mode paths.
  • Document the broker default mode and escape hatch in the fbuild README/docs.
  • Phase 7: stage default-off to default-on per the upstream rollout gate.
  • Phase 8: remove the escape hatch only as part of the coordinated release wave tracked by Cross-cutting: Per-consumer broker adoption tracking (clud / zccache / fbuild / soldr-daemon) zackees/running-process#242.

Notes

zackees/fbuild is not visible to the GitHub connector; the accessible fbuild repository is FastLED/fbuild. Keep running-process#242 updated if the canonical repo mapping changes.

Minimal working path status

  • PR feat: stub running-process broker adoption #529 added the fbuild running-process service metadata seam, platform service-definition path helper, direct fallback mode, and RUNNING_PROCESS_DISABLE=1 diagnostic surface.
  • PR feat: stub running-process broker adoption #529 added crates/fbuild-daemon/running-process/fbuild-daemon.servicedef.textproto.in as the packager template stub.
  • PR feat: add running-process daemon diagnostics #530 added diagnostics-only fbuild daemon running-process --json and fbuild daemon servicedef --json previews for service metadata, service-definition path, daemon binary candidate/existence, current direct-fallback mode, and deferred broker items.
  • Stubbed: encode and install the binary fbuild.servicedef in installers/packages at the platform running-process service directory.
  • Stubbed: active BackendHandle endpoint-response probing; fbuild still uses the direct loopback HTTP daemon endpoint for this slice.
  • Stubbed: running_process::broker::client::connect_to_backend / Hello-skip broker path.
  • Deferred: broker-mode vs direct-daemon-mode integration tests and three-OS acceptance.
  • Deferred: Phase 7 default-on rollout and Phase 8 escape-hatch removal.

Current minimal policy

Current-regime fbuild work is satisfied by #529 and #530: fbuild exposes the running-process service metadata seam, direct fallback mode, service-definition template path, and diagnostics-only fbuild daemon running-process --json / fbuild daemon servicedef --json previews.

Everything else stays stubbed for now: binary .servicedef encoding/install, active BackendHandle, running_process::broker::client::connect_to_backend, the broker/direct integration matrix, full lint/dylint, and broad three-OS acceptance. Reopen or split follow-up issues only when stable broker APIs are worth pinning for fbuild.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions