GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(fleet-queue): lane-share tally, rolling 7-day share, below-floor alert (#1657) by dezren39 · Pull Request #14584 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

Slice of #1657 (daily lane-share measurement, OpenCode-half step 4):

After this PR, cargo test -p fleet-queue lane_share shows a pure tally over assignment-ledger rows that reconciles 100% of terminal tasks (opencode + direct + excluded, exclusions and fallbacks broken out by reason), computes the rolling 7-day executed share = opencode/(opencode+direct) per queue and fleet-wide, and decides the below-floor alert (share < 50% on two consecutive days fires exactly once, on the day the streak reaches 2).

  • New self-contained pure module pkgs/fleet/crates/fleet-queue/src/lane_share.rs (no I/O), wired into lib.rs. Input row type LedgerRow is designed from what a ledger/terminal-result row plausibly carries: queue name, completion date (ISO YYYY-MM-DD), executed lane opencode|direct, exclusion reason Option, fallback reason Option.
  • tally_by_day produces per-day fleet + per-queue Tallys. Oracle/invariant: opencode + direct + excluded == total for every day, queue, and the fleet (Tally::reconciles). A terminal row with neither a lane nor an exclusion reason is counted as excluded under reason unrecorded, so the invariant holds for every input instead of silently dropping the row.
  • The share denominator excludes excluded rows, but exclusions are tallied and reported alongside, broken out by reason; fallbacks are likewise broken out by reason and still count toward the lane that ultimately executed the task.
  • rolling_shares computes the rolling 7-day share per queue and fleet-wide; alert_fire_dates returns the fire dates — exactly one per below-floor streak, on the day the streak reaches 2; a day at/above the floor, a day with no executed tasks, or a calendar gap resets the streak.

Later slices (not attempted here): daily lane-share.json production, morning-readout/stewardship surfacing, dashboard embedding.

Refs #1657 (criteria remain open).

Evidence

Evidence level: verified by remote dispatch only — nothing was compiled or tested on the laptop or in the sandbox.

  • Before: on origin/main there is no lane_share module; the filter matches no tests.
  • After: fleet-command workflow run (the fleet queue dispatch fallback; dispatch itself is blocked by TLS defect fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) #13185 — invalid peer certificate: UnknownIssuer): https://github.com/developing-today/fleet/actions/runs/45475467114 — conclusion success at branch head 8b0e76e8c.
    • Command run in the runner: cd pkgs/fleet && cargo test -p fleet-queue lane_share (the bare command from the repo root fails with "package ID specification fleet-queue did not match any packages" — first run https://github.com/developing-today/fleet/actions/runs/45474410265 — because the crate lives in the pkgs/fleet workspace).
    • Result: test result: ok. 7 passed; 0 failed; 117 filtered out — reconciliation, reason breakouts, denominator exclusion, 7-day window, and the three alert-rule tests all pass.

Merge Danger

Low. One new module plus a one-line pub mod lane_share; in fleet-queue's lib.rs; no existing behavior, wire format, or broker surface changes. The module is pure and ungated, so it compiles in every feature variant of the crate. Reverting is a clean two-file revert.

{
  "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-24T20:11:49Z",
    "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": "bbfc8aa3a3b4f3e3d399b7e76beb6962c0daa5b9"
    },
    "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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
feat(fleet-queue): pure lane-share tally, rolling 7-day share, below-…
8b0e76e
…floor alert (#1657)
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 56 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: 2a20d92f-035f-462a-b026-9e2a2b6d9446
Commits

Reviewing files that changed from the base of the PR and between 5112315 and 8b0e76e.

Files selected for processing: 2

  • pkgs/fleet/crates/fleet-queue/src/lane_share.rs
  • pkgs/fleet/crates/fleet-queue/src/lib.rs
  • 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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 24, 2026
feat(fleet): daily lane-share measurement, publishing + below-floor alert (OpenCode-half step 4) #1657
Open
rollout(fleet): OpenCode-half pilot on the code queue + extension to opencode/openchamber/nix (OpenCode-half step 5) #1658
Open
fleet: ready PRs are left unmerged (20 open; the merge sweep has filed nothing since 2026-11-17) #12280
Open
@dezren39
dezren39 merged commit dfee507 into main Nov 26, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the xaltha/1657-lane-share-tally branch November 26, 2026 15:45
@dezren39

dezren39 commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

Shepherded to merge (queue task 24048, xaltha lane, 2026-11-26 hourly loop):

  • Review findings: none outstanding — no human reviews; the only bot comment was a CodeRabbit rate-limit notice with no findings.
  • Mergeability re-checked against current main immediately before merging: MERGEABLE / CLEAN at head 8b0e76e.
  • Verification on record: remote dispatch via fleet-command workflow run 45475467114 — success, cargo test -p fleet-queue lane_share 7 passed, 0 failed at the merged head.
  • Merged: merge commit dfee507.
  • Closing-keyword disposition verified: this PR referenced feat(fleet): daily lane-share measurement, publishing + below-floor alert (OpenCode-half step 4) #1657 with Refs (criteria remain open), and feat(fleet): daily lane-share measurement, publishing + below-floor alert (OpenCode-half step 4) #1657 correctly remains OPEN for the later slices (daily lane-share.json production, readout/stewardship surfacing, dashboard embedding).
  • Duplicate note: sibling PR fleet-queue: pure lane-share tally and two-day streak rule (#1657) #14570 (oc-code-03) adds the same two files (lane_share.rs + lib.rs mod line) for the same slice of feat(fleet): daily lane-share measurement, publishing + below-floor alert (OpenCode-half step 4) #1657; it is now superseded by this merge — see the note there.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 26, 2026
fleet-queue: pure lane-share tally and two-day streak rule (#1657) #14570
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.