Skip to content

fleet-queue: add not-code-g, the nix event-hook worker's own lane (#8097) - #8561

Merged
dezren39 merged 1 commit into
mainfrom
fleet/not-code-g-lane
Nov 11, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fleet/not-code-g-lane

Conversation

@dezren39

@dezren39 dezren39 commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

What

Adds not-code-g to canonical_lanes() in pkgs/fleet/crates/fleet-queue/src/turso_queue.rs, bringing the canonical seed set to exactly the 36-lane live registry: code-a..j, not-code-a..g, any-a..s — 17 enabled.

not-code-g: worker repo-worker-nix, queue *, enabled.

Why

The nix event-hook queue worker (hook repo-queue-nix-worker) has no lane of its own. After the 2026-11-11 rename (#8097) it was pointed at not-code-a — the Muse not-code-a shift's registry row — which Drew's trims left disabled, so the nix worker is parked: one row was serving two different workers, and disabling the shift disabled the worker. Drew's ruling (2026-11-11): they should not share a row.

Companion changes already landed outside this PR:

  • Registry: not-code-g inserted into the Turso fleet-queue lanes table (mirroring not-code-a's shape, enabled=1). Read-back: 36 rows; not-code-a still enabled=0, exactly as Drew ordered.
  • The nix worker's runbook now mandates --lane not-code-g.

Without this PR, the next broker build's seed would not know not-code-g (the #8548 lesson: the seed set and the live registry must agree, or restarts resurrect/drop rows).

Tests

cargo test -p fleet-queue --features queue-broker --lib on the laptop: 228 passed, 0 failed. The #8097 oracle test is extended to the 36-lane set: exact id set, exact 17-lane enabled set, and worker ownership including not-code-g → repo-worker-nix; the seed-SQL test iterates the canonical set, so the new tuple is pinned there too.

Merge basis

Merging on the laptop test evidence above under Drew's standing merge authority (2026-10-24). The self-hosted CI queue is saturated (checks queued for hours); this follows the #8548 precedent of merging the seed fix on green laptop evidence rather than leaving a known registry/seed divergence open.


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

@dezren39
dezren39 requested a review from a team as a code owner November 11, 2026 06:33
@dezren39
dezren39 merged commit aba4442 into main Nov 11, 2026
0 of 9 checks passed
@coderabbitai

coderabbitai Bot commented Nov 11, 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 48 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: 6f68cd99-2644-496d-95af-344c4c9cb861
Commits

Reviewing files that changed from the base of the PR and between 19a119a and 5dbbe56.

Files selected for processing: 1

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

@dezren39
dezren39 deleted the fleet/not-code-g-lane branch November 11, 2026 06:33
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

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-11T06:34:06.332373Z 5dbbe56 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.

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.

1 participant