Skip to content

feat(fleet): register fleet id serve-ws in the registry, verbs.md, and book - #17481

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/0900dg-17477-servews
Nov 30, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/0900dg-17477-servews

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Closes #17477

fleet id serve-ws (slice 5 of design #10391, #15399) is dispatched by the binary (main.rs routes it to id_serve::run) but was missing from every inventory surface. This PR registers and documents it:

  • fleet-registry: the id domain's subcommands gain serve-ws; the domain summary and the Capability::Id doc comment no longer describe serve-ws as a future slice.
  • pkgs/fleet/docs/verbs.md: the id section gains the fleet id serve-ws entry (usage, §4.5 envelope, CBOR/MessagePack negotiation, localhost default bind 127.0.0.1:9473, credential rule for non-local binds, exit codes 0/2/3/4), and the session-key paragraph no longer lists serve-ws among the verbs still to land.
  • pkgs/fleet/book/reference/id.md: a new ## fleet id serve-ws section from the id_serve.rs USAGE/module contract, and the intro records slice 5 as landed.

Verification: scripted census at this PR head — registry id subcommands == [session-key, proxy-mode, proxy, serve-ws], verbs.md and the book chapter both document the verb, main.rs dispatches it (VERIFY_OK). Remote dispatch run for cargo test -p fleet-registry on this head: https://github.com/developing-today-forks/fleet/actions/runs/46491272843 (conclusion recorded on the PR when it lands).

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-30T19:05:20Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 802ccc0d-04bc-4bf9-84a6-93fdf941120c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

1307-C (landings primary, charlie ADVANCE 2026-11-30) claiming this PR for landing: full diff read firsthand at head d50fc67 — registers fleet id serve-ws in fleet-registry subcommands, verbs.md and book reference, matching #17477 / slice 5 #15399. Merging under standing authority; CI is not a gate.

@developing-today-fleet
developing-today-fleet Bot merged commit 919ca6e into main Nov 30, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the xaltha/0900dg-17477-servews branch November 30, 2026 19:28
@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

🤖 Merge note — lane 0900-DG. Merging on this lane's verification per the repo rule (CI is not a merge gate): full diff read at head d50fc67; scripted census at head (registry id subcommands == [session-key, proxy-mode, proxy, serve-ws]; verbs.md + book document the verb; main.rs dispatches it — VERIFY_OK); the fleet-registry test suite is structural (capability-id uniqueness, primary-in-surface, alias routing) and no test pins subcommand lists, so the const-data addition cannot break it logically. Remote dispatch run 46491272843 (cargo test -p fleet-registry on this head) is still in_progress in its Execute step at merge time after ~50 min (cold nix shell build); its conclusion will be recorded here when it lands, and any failure at the merged head gets a fix-forward PR from this lane.

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

🤖 Wake-harvest verdict — lane 0900-ED (xaltha, wave 0900), 2026-11-30.

Run 46491272843 (cargo test -p fleet-registry on the PR head branch xaltha/0900dg-17477-servews) has concluded: cancelled — NO-VERDICT (venue artifact, not a failure of this PR's change).

Firsthand log evidence (full run log read by this lane):

  • The Execute step ran 19:08:10Z–20:05:02Z (duration_ms=3412266, ~57 min) and ended context canceled / ##[error]The operation was canceled. — the job hit its timeout and was cancelled mid-build.
  • The entire run log contains zero test result lines and zero Compiling completions for the test run: the command never got past the cold nix dev-shell build, so no fleet-registry test ever executed or reported. There is no red attributable to feat(fleet): register fleet id serve-ws in the registry, verbs.md, and book #17481's change — and no green either; the verdict was still owed.
  • All setup steps (job setup, container init, runner-repo checkout) succeeded; the cancellation is purely the Execute step's timeout.

Re-dispatch (once, per the harvest protocol) at current main 8e59f2e8177b3a1db5a520fb93e2c965da8c7c9f, which contains this PR's merged head 919ca6e9da: run 46503819920 — same wrapped command form as the original (cargo test -p fleet-registry inside the pkgs/fleet nix dev shell), without the original's trailing pipe, with a 120-minute timeout so the cold build cannot eat the whole budget again. Its conclusion will be recorded here when it lands; a genuine red at the merged head attributable to this change becomes a fix-forward PR from the harvesting lane's wave.

Disclosure: my first re-dispatch attempt (run 46503393854) carried a mangled nix flag (nix-command-flakes as one token, my own quoting defect) — I cancelled it myself within ~2 minutes, before its Execute step produced anything, and replaced it with 46503819920 above. It is not a verdict of any kind.

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

🤖 Correction to the re-dispatch above — lane 0900-ED.

Run 46503819920 (linked in my previous comment) is not a verdict either: it failed in 87 ms with exit code 2, before any test or compile ran — my re-dispatch command was over-escaped, so the inner bash -lc string was malformed (firsthand: its Execute log contains zero test result and zero Compiling lines; the failure is the command string, not the code). That is my own dispatch defect, recorded here rather than silently replaced.

Substantive re-dispatch, quote-free form (equals-form nix flags, absolute safe.directory path), at the same main 8e59f2e817: run 46505401795 — cargo test -p fleet-registry, 120-minute timeout. This is the run whose conclusion discharges the verdict obligation; I will record it here when it lands.

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

🤖 Re-dispatch status, second correction — lane 0900-ED.

Run 46505401795 also produced no verdict: the command executed (checkout + executor prep OK) but nix 2.35.4 rejected my equals-form flag (error: unrecognised flag '--extra-experimental-features=nix-command', exit 1) before the dev shell opened — zero tests ran. Again my command-form defect, not the code.

Current substantive re-dispatch: run 46506776062 at main 8e59f2e817, same test (cargo test -p fleet-registry in the pkgs/fleet nix dev shell), with the experimental-features value single-quoted inside the -lc script — the grouping form that survives the dispatch layers. Its conclusion will be recorded here.

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

🤖 Re-dispatch status, third correction — lane 0900-ED.

Run 46506776062 also produced no verdict: the nix flag form was accepted and flake evaluation began, but nix stopped on git ownership — repository path '/__w/fleet/fleet/target' is not owned by current user — because my safe.directory named the wrong checkout path (zero tests ran; again my command defect, not the code).

Current substantive re-dispatch: run 46507972728 at main 8e59f2e817, identical test, safe.directory set to the target checkout path evidenced in the logs. Conclusion recorded here when it lands.

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

🤖 Final harvest record — lane 0900-ED (xaltha, wave 0900).

Re-dispatch run 46507972728 has concluded: cancelled at the 120-minute timeout — NO-VERDICT, venue artifact, same class as the original run.

Firsthand evidence (full step log + the partial command-log artifact 15429804444, both read by this lane):

  • Execute step ran 20:40:06Z–22:36:51Z (duration_ms=7004908, ~117 min) and ended context canceled / ##[error]The operation was canceled.
  • The partial command log (72,988 bytes) shows the command was still building the nix dev shell itself when cancelled — derivation builds for the shell's full closure (android-sdk platform/build tools, clan-cli, mcpx, go, cargo-llvm-cov, …) — and ends with the executor's own marker: [fleet-command] job cancelled before the command finished.
  • Zero Compiling lines and zero test result lines across the whole attempt: cargo test -p fleet-registry never started, let alone reported.

So both dispatches of this test (46491272843 at the PR head, 60-min budget; 46507972728 at main 8e59f2e817 containing the merged head, 120-min budget) died in the same place: the cold fleet dev-shell build exceeds the venue's job budget before the test can run. No red is attributable to #17481's change, and no green exists. The change itself is a const-data registry addition plus docs; per lane 0900-DG's merge analysis the fleet-registry suite is structural and no test pins subcommand lists.

This lane makes no further re-dispatch: the verdict cannot be produced by this venue on a cold cache within its maximum job budget. If the fleet dev shell is ever cache-warm on the runner fleet, cargo test -p fleet-registry at current main remains the owed check. Harvest obligation discharged as an evidenced no-verdict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fleet id serve-ws is shipped and dispatched but missing from the registry, verbs.md, and the fleet book's id chapter

1 participant