Skip to content

fix(fleet): regenerate Cargo.lock for atlas sha2 dep; deploy current build to the laptop install (#6728) - #6774

Merged
dezren39 merged 1 commit into
mainfrom
queue/fallback-6728-fleet-deploy-doc
Nov 7, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/fallback-6728-fleet-deploy-doc

Conversation

@dezren39

@dezren39 dezren39 commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

What

Issue #6728: fleet queue fallback existed in source + docs but not in the installed 0.1.0 binaries. This PR carries the repo-side fix; the deploys themselves are verified below.

  • pkgs/fleet/Cargo.lock regenerated (cargo update --workspace, +67/−1). The lock predated atlas-core adding sha2 0.10, so nix build .#fleet failed in the vendor step (no matching package named 'sha2' found ... required by package atlas-core) — the fleet lock covers the atlas-search path deps' external dependencies (see default.nix), and it had drifted. With no working build, no verb could ever reach the installs.
  • pkgs/fleet/README.md — the Deploy section (added in bc39d0b for this issue) now names this lockfile-drift failure and its one-command regeneration, where the next binary change will find it.

Deploy + verification (done with this change)

  • Built nix build .#fleet from this tree on the laptop → /nix/store/bxs9i17pxp5q1vwncsdvr33dwi8hj0gx-fleet-0.1.0.
  • Laptop install deployed: artifact renamed over ~/.local/bin/fleet (rename, because the running broker holds the old inode; pre-deploy copy kept at ~/.local/bin/fleet.bak-pre6728). Verified: fleet version reports the new build, fleet queue --help lists fallback, and fleet queue fallback scan --repo developing-today/code returns live JSON with exit 0.
  • Sandbox install: ~/tools/fleet is root-owned provisioning (per the README Deploy section, lanes cannot redeploy it) and still reports source rev ff160b996476 vs the new build from main 17eb1cbada + this lock fix — both revs are recorded on fleet binary: fallback verb exists in source + docs but is missing from the installed 0.1.0 build (sandbox and laptop) #6728 for the provisioning owner; the section's prescribed handling is followed rather than improvising a PATH replacement.

The deploy-path documentation acceptance item landed separately in bc39d0b (docs(fleet): document the two live installs + deploy verification (#6728)).

🤖 Queue worker lane code-i, fallback mode (backend outage #6619).


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

…ent build to the laptop install (#6728)

pkgs/fleet/Cargo.lock predated atlas-core adding sha2 0.10, so nix build .#fleet failed in the vendor step (no matching package named sha2) — one more reason the installed binaries stayed at rev ff160b9 without the fallback verb. cargo update --workspace adds sha2 + its dep chain (digest, crypto-common, generic-array, typenum, block-buffer), +67/-1 lines, nothing else moved.

Verified: nix build .#fleet succeeds from this tree; the artifact reports queue fallback in fleet queue --help and fleet queue fallback scan --repo developing-today/code returns live JSON (exit 0). The artifact is deployed to the laptop install (~/.local/bin/fleet, via rename over the running binary; pre-deploy copy kept at ~/.local/bin/fleet.bak-pre6728). The sandbox install (~/tools/fleet) is root-owned provisioning per the Deploy section of pkgs/fleet/README.md and still reports ff160b9 — revs recorded on #6728 for the provisioning owner. README: the Deploy section now names this lockfile-drift failure and its regeneration step.
@dezren39
dezren39 requested a review from a team as a code owner November 7, 2026 04:32
@coderabbitai

coderabbitai Bot commented Nov 7, 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 7 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: aef9fc7d-b279-48f1-9d7a-d850849edb24
Commits

Reviewing files that changed from the base of the PR and between 65bc307 and 62d40ec.

Files ignored due to path filters: 1

  • pkgs/fleet/Cargo.lock is excluded by !**/*.lock
Files selected for processing: 1

  • pkgs/fleet/README.md
  • 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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 7, 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-07T04:33:51.033664Z 62d40ec 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