Repository navigation
feat(fleet-queue): lane-share verb publishing the lane-share.json document (#1657) - #16816
Merged
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
3 tasks
3 tasks
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.
Refs #1657 — the next independent slice after the pure tally (PR #14584) and the broker join (PR #16689), both merged.
What this adds:
fleet queue lane-share [--from <date>] [--through <date>] [--days <n>] [--out <path>]: calls the broker's /lane-share-rows for an inclusive range (default --days 8 ending today UTC), maps the rows into the pure tally, and prints the lane-share.json document. --out also writes it to a file — the daily producer's publish step.lane_share::ledger_row_from_broker+lane_share::report_jsonin fleet-queue: the document carries per-day tallies fleet-wide and per queue (assignments by lane, fallbacks by reason, exclusions by reason — every tally reconciles), the rolling 7-day executed share, the below-floor alert fire dates, and the latest day's rolling share as the headline.Tests (oracle-named, in lane_share.rs):
Verification (fleet-command, developing-today/fleet):
cargo test -p fleet-queue lane_share— 9 passed / 0 failed (LIB_EXIT=0);cargo test -p fleet-registry— green (REGISTRY_EXIT=0).Remaining on #1657 after this: the daily producer wiring that calls this verb (the goal-workspace lane-share.py lineage / monitor step) and the readout + stewardship surfacing — separate slices.
{ "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-29T14:06:52Z", "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": "ac3f377b7f752f50918f491d7443b79e95b5dc34" }, "auth_subject": "felix", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.