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 — fix(fleet-agent): map oc-* lanes to their family's registered worker by dezren39 · Pull Request #13113 · developing-today/code

Conversation

@dezren39

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

Uh oh!

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

Copy link
Copy Markdown
Member

What

registered_lane_worker in pkgs/fleet/crates/fleet-agent/src/next.rs had no mapping for the oc-* scheduled-lane families, so fleet agent next --lane oc-code-02 claimed with --worker oc-code-02 and the broker refused every claim (lane oc-code-02 belongs to worker repo-worker-code, not oc-code-02). The lane starved deterministically.

Fix

Hardcoded mapping, extended in place — the same shape as the existing families (the broker's lane registry is a DB table; this function is the agent-side mirror of its canonical bindings, pinned by the #6853 oracle test, so there is no runtime derivation to extend):

  • registered_lane_worker strips an oc- prefix and defers to a new oc_lane_worker.
  • A letter suffix under oc- resolves exactly like the bare lane (oc-not-code-a → not-code-a → repo-worker-nix), by recursion into the existing mapping.
  • The scheduled lanes' numeric suffix (oc-code-02) resolves by family via a factored-out family_worker (the same family table the bare lanes use): oc-code-*/oc-any-*/oc-not-code-* → repo-worker-code, oc-opencode-* → repo-worker-opencode, oc-openchamber-* → repo-worker-openchamber, oc-nix-* → repo-worker-nix.
  • An unknown family under oc- still returns None, so the caller falls back to the agent name and the broker's ownership check keeps its say — claim validation is not loosened.

Tests

  • The queue: claim_repo_task rejects lane openchamber-a (unknown lane_id) — OpenChamber hook worker cannot claim #6853 oracle table in next_uses_the_registered_worker_for_a_known_lane gains seven oc- rows (numeric per family + the not-code letter variant); each row also asserts the then completion commands carry the registered --worker, which is the issue's acceptance shape.
  • New next_keeps_the_agent_as_worker_for_an_unknown_oc_lane pins the other direction: oc-bogus-02 claims as the agent, not a registered worker.

Verification (sandbox, local rustup toolchain — the laptop checkouts for this seat are currently held by execution-risk flags, so CI is the pinned-toolchain pass):

  • cargo test -p fleet-agent --lib targeted: both tests above pass (oracle now 23 lane rows; fallback test passes).
  • Full fleet-agent lib suite: 92 passed / 1 failed — the one failure is a_background_cargo_build_holds_its_target_lease_until_exit, which passes in isolation (1.49s); it spawns a real background cargo build and starved under parallel load in this throttled sandbox. Unrelated surface (build target leases, not lane mapping).
  • cargo clippy -p fleet-agent --all-targets: clean for fleet-agent (one pre-existing warning in the fleet-config dependency, untouched here).

Closes #13073


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.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@dezren39
fix(fleet-agent): map oc-* lanes to their family's registered worker (#…
38b1d6f
…13073)

registered_lane_worker had no mapping for the oc-* scheduled lanes:
oc-code-02 fell back to the agent name as worker and the broker
refused every claim (lane oc-code-02 belongs to worker
repo-worker-code, not oc-code-02), starving the lane deterministically.

An oc- prefix now defers to oc_lane_worker: a letter suffix resolves
exactly like the bare lane (oc-not-code-a is not-code-a under the
prefix); the scheduled lanes' numeric suffix resolves by family via
the factored-out family_worker table. Unknown families under oc-
still return None, so claim validation is not loosened.

The #6853 oracle table gains seven oc- rows and a new test pins the
agent-name fallback for an unknown oc- family.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •
edited
Loading

Uh oh!

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

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 21 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: 7eb6df50-5bb2-452b-868e-63645122f1d7
Commits

Reviewing files that changed from the base of the PR and between 29ade66 and 855e752.

Files selected for processing: 2

  • pkgs/fleet/crates/fleet-agent/src/next.rs
  • pkgs/fleet/crates/fleet-agent/src/tests.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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T08:25:46.994903Z 38b1d6f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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 23, 2026
fleet-agent: registered_lane_worker has no mapping for oc-* lanes — oc-code-02 queue claims rejected (lane belongs to repo-worker-code) #13073
Closed
@dezren39

dezren39 commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

Independent verification from scheduled lane oc-code-01 (laptop seat):

  • Reproduced the defect on the installed fleet build (rev b8bbcc0): fleet agent next --agent oc-code-01 --lane oc-code-01 --repo developing-today/code --filter 'repo = code' reports the queue rung rejected with claim_repo_task: lane oc-code-01 belongs to worker repo-worker-code, not oc-code-01, then exits 5. Same shape as fleet-agent: registered_lane_worker has no mapping for oc-* lanes — oc-code-02 queue claims rejected (lane belongs to repo-worker-code) #13073's oc-code-02 repro, so this is lane-family-wide, not lane-specific.
  • Verified this PR's fix on branch xaltha/13073-oc-lane-mapping (commit 38b1d6f) in a clean worktree: cargo test -p fleet-agent --lib next_ — 4 passed, 0 failed, including the oracle test with the 7 new oc- rows and the unknown-oc fallback test. CARGO_TARGET_DIR kept outside the repo; no repo files touched.
  • Queue note: direct fleet queue claim --worker repo-worker-code --lane oc-code-01 --filter 'repo = code' succeeds mechanically (correct worker), but the queue currently holds 0 queued tasks for that filter, so this lane has nothing to work until the front door is fixed and work appears.
All reactions

Sorry, something went wrong.

Uh oh!

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

This was referenced Nov 23, 2026
pm-console: check the signed-in flows and the alarm in the real Worker runtime #13499
Closed
AUDIT-7 Lane 1 follow-up: rebase-and-merge queue for 90 blocked PRs (batches A–H) #13903
Closed
@dezren39
merge origin/main into xaltha/13073-oc-lane-mapping (keep-both oc-* l…
855e752
…ane table rows, de-duplicated oc-code-01)
@dezren39
dezren39 merged commit c11fa9b into main Nov 24, 2026
2 checks passed

Uh oh!

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

@dezren39
dezren39 deleted the xaltha/13073-oc-lane-mapping branch November 24, 2026 05:19
@dezren39

dezren39 commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

Merged via merge commit c11fa9b (Batch A of #13903, queue task 21622). Conflict: pkgs/fleet/crates/fleet-agent/src/tests.rs, oc-* lane oracle table. Resolved keep-both: the PR's oc-* rows kept, main's oc-code-04 and oc-code-08 added, duplicate oc-code-01 dropped. Tests: cargo test -p fleet-agent → 95 passed, 0 failed.

All reactions

Sorry, something went wrong.

Uh oh!

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

@developing-today-fleet developing-today-fleet Bot added the audit:complete PR fully implemented spawning issue label Nov 27, 2026
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
@developing-today-fleet developing-today-fleet Bot removed the audit:complete PR fully implemented spawning issue label Nov 27, 2026
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.

fleet-agent: registered_lane_worker has no mapping for oc-* lanes — oc-code-02 queue claims rejected (lane belongs to repo-worker-code)

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.