Repository navigation
feat(fleet-queue): expose complete terminal lane-share rows - #16689
Merged
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
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.
Summary
Adds the
/lane-share-rowsbroker read surface with inclusive, validated UTC date bounds. It enumerates done/cancelled/failed tasks fromtasksfirst, so missing lane-ledger rows are returned asunrecordedinstead of omitted. Cancelled and failed tasks are explicit exclusions.Refs #1657
Evidence
cargo test -p fleet-queue --features queue-broker lane_share_rows -- --nocaptureis dispatched as Fleet rundezren39/fleet#46247644166; result pending while the PR is opened. The added SQLite-backed broker tests assert all terminal tasks in range are returned, missing ledger entries remain visible, non-terminal rows are excluded, and invalid/reversed date windows fail closed.Merge Danger
Door: two-way
The endpoint is read-only and parameterized; it does not mutate task or ledger state.
Blast Radius: narrow
{ "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-29T09:34:34Z", "session_id": "ses_e5dd9672312ffeBSOqwJ2ACYHj", "lane": null, "host": "amd", "worktree": "/home/user/git/fleet/oc-code-05-1657-20261129T092022Z-aa04bcae", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/git/fleet/oc-code-05-1657-20261129T092022Z-aa04bcae", "repo": "developing-today/code", "branch": "oc-code-05/1657-20261129", "sha": "ba56d74a49914c09d5f5601a6120f72c9578e420" }, "auth_subject": "oc-code-01", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.