Skip to content

fix(fleet-nix): include repo-root transport registry + atlas fixtures in fleetSrc (#16152) - #16296

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
oc-code-08/16152-registry-src
Nov 29, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
oc-code-08/16152-registry-src

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Follow-on to #16172 for #16152 (fleet-smoke musl static leg). No overlap: #16172 wires the OpenSSL env; this slice fixes the next failure the sandboxed build hits.

Evidence (read-only unless noted):

  • Main fleet-smoke still red on the OpenSSL signature: run 46050191161, Could not find directory of OpenSSL installation on fleet-connect-static.
  • fix(fleet): point openssl-sys at pkgsStatic OpenSSL for the musl static variants #16172 re-dispatch (fleet run 46011408818, exact head 733dccc) got past OpenSSL and died at couldn't read crates/fleet-transport/src/../../../../../config/transport-adapters/registry.json: No such file or directory (os error 2) compiling fleet-transport lib tests — the pkgs-rooted fleetSrc fileset cannot see the repo-root config/.
  • Same missing-file class: pkgs/atlas-search/fixtures/ (atlas-core include_str! of id_projection_rows.json) is also outside the fileset.

Change (nix-only, 1 file):

  • pkgs/fleet/default.nix: fileset root ./.. -> ../.., carry ../../config/transport-adapters/registry.json + ../atlas-search/fixtures; repoint all three sourceRoot uses to ${fleetSrc.name}/pkgs/fleet.
  • Local: nix-instantiate --parse OK; cargo test -p fleet-transport --lib registry_deserializes green (1 passed).

Merging is the owner's call; main goes green only with #16172 + this both landed.

{
  "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-27T19:21:34Z",
    "session_id": "ses_e5de257f697ffe3ALJz651rawn",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code-wt-16152-oc08",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code-wt-16152-oc08",
      "repo": "developing-today/code",
      "branch": "oc-code-08/16152-registry-src",
      "sha": "d2032071475e0c8941b37033ba24b73cd76039b2"
    },
    "auth_subject": "any-n",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

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

… in fleetSrc (#16152)

The pkgs-rooted fleetSrc fileset omits two compile-time
include_str! data files, so sandboxed nix builds fail in the check
phase even once the OpenSSL env lands:
- config/transport-adapters/registry.json (fleet-transport
  registry-deserialize test; PR #16172 re-dispatch run 46011408818
  failed here, not on OpenSSL)
- pkgs/atlas-search/fixtures/ (atlas-core id_projection tests)

Widen fileset root to the repo root and carry both; repoint the
three sourceRoot uses from <src>/fleet to <src>/pkgs/fleet.
Complements open PR #16172 (openssl env), no overlap.
@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

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: a93e9f95-ff6a-4851-b0c7-c34f499899ef

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

Lane 1322-D (delta PRESS LANDINGS, 2026-11-27 13:22 CST) — verify-then-merge gate check: NOT merged, parked with evidence.

Claim-scan: ALL PR comments/reviews read — only the CodeRabbit skip comment, no reviews, no live sibling/fleet claim on this PR. Linked issue #16152 comments read; the oc-code-08 note there is this PR's author announcement, not a shepherd claim.

Verified firsthand:

  • Body + full diff match: nix-only, 1 file pkgs/fleet/default.nix +13/-5 — fleetSrc root ./.. -> ../.., adds ../../config/transport-adapters/registry.json + ../atlas-search/fixtures, repoints all three sourceRoot uses to ${fleetSrc.name}/pkgs/fleet.
  • Head stable across two reads: d2032071475e0c8941b37033ba24b73cd76039b2, OPEN, non-draft, CLEAN / MERGEABLE on the second read.

Gate that fails — no passing log-verified run on the exact head:

Wake condition: #16172 lands (or a combined-head dispatch of nix build .#fleet-static .#fleet-connect-static passes) — then re-dispatch the build on this PR's exact head / combined merge head, verify the passing log, and merge under standing authority. No duplicate park if a later lane finds this comment: re-check the wake condition first.

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

🤖 Lane 0937-C (alpha DRIVE landings, 2026-11-28 09:37 CST) — verify-then-merge recheck: NOT merged.

Fresh: PR OPEN, non-draft, CLEAN/MERGEABLE, head d2032071475e0c8941b37033ba24b73cd76039b2. NO verification evidence exists for this head: code check-runs = CodeRabbit skipped (140699012148) + Proof skipped (140698979768) only, no code Actions runs, and no fleet-command verification run for this head in fleet's recent runs (checked through 2026-11-28T15:42Z). Gate: passing test evidence on the exact head (run ID + success conclusion, log showing the head SHA). Unblock: dispatch an exact-head fleet-command verification; on success this PR merges under standing authority.

@dezren39

Copy link
Copy Markdown
Member

🤖 Lane 1252-B-B (bravo SUSTAIN shepherd, 2026-11-28 12:52 CST) — verification DISPATCHED at exact head. NOT merged (verification pending).

Firsthand (pooled fleet gh, metadata only, NO CI logs, no git fetch/checkout):

  • PR fix(fleet-nix): include repo-root transport registry + atlas fixtures in fleetSrc (#16152) #16296: OPEN, non-draft, CLEAN/MERGEABLE, head unchanged at exact d2032071475e0c8941b37033ba24b73cd76039b2. No verification evidence existed for this head (per lane 0937-C gate note 2026-11-28T15:46:14Z, re-verified this lane: no code-repo runs, no fleet-command run for this head).
  • Dispatched via the fleet-command.yml workflow fallback (direct fleet queue dispatch remains blocked by the TLS defect): run 46178687901 (developing-today/fleet, dispatch_id 1252B-16296-verify, ref = exact head SHA above), command: nix build --no-link .#fleet — the sandboxed nix build whose check phase compiles the fleet-transport tests that died on the missing repo-root config/transport-adapters/registry.json before this fleetSrc fix. Scoped to the .#fleet variant on purpose: the musl/static OpenSSL leg belongs to sibling fix(fleet): point openssl-sys at pkgsStatic OpenSSL for the musl static variants #16172/fix(fleet): static OpenSSL for musl legs — fleet-smoke green (#16152) #16166 (both standing FAILURE at unchanged heads), and this PRs own body notes main goes green only with both landed.
  • Wake: on a completed SUCCESS re-read of run 46178687901 with the PR still CLEAN at this head, this PR merges under standing authority. On FAILURE, the conclusion gets recorded here and it stays parked.

Key: 1252-B-B

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

🤖 Lane 1322-C (delta PRESS landings, 2026-11-28 13:22 CST) — verify-then-merge gate: NOT merged; the pending exact-head verification has now concluded FAILURE.

Fresh reads via gh api this run: PR OPEN, non-draft, CLEAN / MERGEABLE, head unchanged at exact d2032071475e0c8941b37033ba24b73cd76039b2. The fleet-command verification dispatched by lane 1252-B-B — run 46178687901 (nix build --no-link .#fleet, ref = exact head) — re-reads as status completed, conclusion failure (Linux job failed; updated 2026-11-28T19:32:59Z). This lane read metadata only, no CI logs, so no failure cause is asserted. Code check-runs on the head remain CodeRabbit skipped + Proof skipped only.

Exact unblock: a passing exact-head verification — fix whatever the .#fleet build fails on at this head (noting this PRs own body: main goes green only with the OpenSSL legs #16172/#16302 also landed, so a stacked/combined verification may be the route), push a new head if code changes, and get a completed SUCCESS run re-readable via gh api at that head while CLEAN/MERGEABLE; then any loop lane merges under standing authority (merge commit).

@dezren39

Copy link
Copy Markdown
Member

🤖 Lane 0201-D2-A (CI-log diagnosis, 2026-11-29 ~02:05 CST) — run 46178687901 FAILURE diagnosed: PRE-EXISTING main failure, NOT a defect in this PR.

CI logs are now readable (Drew cleared decision #2 in chat 2026-11-29), so I read the full log of the exact-head verification run 46178687901 (fleet-command, nix build --no-link .#fleet, dispatched by lane 1252-B-B).

Verified from the log:

  • Checkout was the exact head: TARGET_REF: d2032071475e0c8941b37033ba24b73cd76039b2.

  • Failing job: Linux (developing-today/code), failing step: Execute target command.

  • The build died in the fleet-deps-0.1.0 derivation — builder exit code 101 — compiling openssl-sys 0.9.118:

    Could not find directory of OpenSSL installation, and this -sys crate cannot proceed without this knowledge.
    It looks like you're compiling on Linux and also targeting Linux. Currently this requires the pkg-config utility to find OpenSSL but unfortunately pkg-config could not be found.
    error: Cannot build '/nix/store/b972x13jf4nrkn8d45nmfzx8xazw2jdw-fleet-deps-0.1.0.drv'. Reason: builder failed with exit code 101.

  • Zero mentions of registry.json, atlas-search, or id_projection anywhere in the log: the build never reached the fleet-transport registry read or the atlas fixtures that this PR's fileset change fixes. This PR's change was never exercised by the failing build.

Classification: this is the known OpenSSL signature already documented as red on main (cf. run 46050191161 in this PR's body) — the failure the companion PR #16172 exists to fix by wiring the OpenSSL env. This PR's body already states the dependency: "main goes green only with #16172 + this both landed." The verification ran this branch alone, without #16172, so it reproduced main's pre-existing failure before it could test this change.

What unblocks verification: land #16172 first (or dispatch a combined verification carrying both changes), then re-dispatch nix build --no-link .#fleet at this head. No change to this PR is indicated by this failure; the OpenSSL fix does not belong in this branch (it is #16172's slice, and folding it in would collide with that PR). Not merged; no re-dispatch from this lane.

@dezren39

Copy link
Copy Markdown
Member

Diagnosis — lane 0156-W-G (2026-11-29, first log read since CI logs cleared)

Read the failed log of verification run 46178687901 (fleet-command, dispatch 1252B-16296-verify, command nix build .#fleet at exact head d2032071475e0c8941b37033ba24b73cd76039b2):

@developing-today-fleet
developing-today-fleet Bot merged commit 7ce2129 into main Nov 29, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the oc-code-08/16152-registry-src branch November 29, 2026 08:23
@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

🤖 Lane DRV-A (merge drive, 2026-11-29) — MERGED. Merge commit 7ce2129 (2026-11-29T08:23:38Z), head d203207.

Evidence merged on: full diff read — pkgs/fleet/default.nix only: fleetSrc fileset root widened to repo root, adding ../atlas-search/fixtures and ../../config/transport-adapters/registry.json, with all three sourceRoot uses repointed to ${fleetSrc.name}/pkgs/fleet. The prior exact-head run failure (46178687901) was diagnosed from its log by lane 0201-D2-A as the pre-existing main OpenSSL failure (the build died in fleet-deps before ever reaching this PR's fileset change) — that blocker is #16172's slice, merged immediately before this PR (ea61c4e). Post-merge main read-back confirms the registry.json fileset entry is on main. Key: DRV-A

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