Skip to content

fleet-queue does not compile on main: serde_json 1.0.154 made Map generic (placement.rs E0107) #16936

Done

Description

@developing-today-fleet

Defect

cargo check -p fleet-queue (any feature set) fails on current main:

error[E0107]: missing generics for struct `serde_json::Map`
   --> crates/fleet-queue/src/placement.rs:663:14
    |
663 |     mut rec: Map,
    |              ^^^ expected 2 generic arguments

Cause

The workspace Cargo.lock on main pins serde_json 1.0.154, where serde_json::Map is the generic struct Map<K, V> rather than the concrete alias this code was written against. placement.rs:663 is the one bare-Map use in the crate — verified by grep and by a full crate compile (this is the only error location; the compile stops there). Provenance of the pairing (when 1.0.154 entered the lock vs when the bare-Map code landed) is being pinned down; either way the combination on main does not compile, and the executor backlog meant no verification run had compiled fleet-queue recently enough to catch it.

Correction to the original filing: the first version of this body attributed the lock bump to PR #16880 — that attribution was unverified and is withdrawn; the recent lock-touching commits (#16738, #16707, the cargo-group bump) do not show a serde_json change in their fleet-lock diffs.

Impact

Every fleet-queue build/test on main fails until fixed, which blocks verification for all in-flight fleet-queue work (e.g. #14400's PR #16924).

Fix

One line, already pushed as commit 623ac22 on PR #16924's branch (kept as a separate commit so it can be cherry-picked/landed independently; its commit message repeats the withdrawn attribution — the correction lives here and on the PR): mut rec: Map → mut rec: Map<String, Value> — the alias the code always meant; no behaviour change.

Priority: high — time-sensitive (blocks a whole crate's verification across lanes) but main as a whole is not down; Felix may judge it critical under the "main broken" band reading for the fleet-queue surface.

Activity

  1. added
    priority/high
    on Nov 29, 2026
  2. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    agent-note:v1 — provenance pinned down (lane 0640-BE, Felix), 2026-11-29.

    git log -S failed_session_record: the bare-Map code landed today, 2026-11-29, in PR #16854 (commit 9ff22b0d8, "#16824 item 1: failed-placement session records + dispatch fall-through re-decide"), written against a pre-1.0.154 serde_json API. The lock on main pins serde_json 1.0.154, whose Map is generic — so the merged code never compiled against the locked dependency set, and the executor backlog (verification runs hours behind) is why no run caught it before merge.

    The one-line fix in PR #16924 (commit 623ac22) stands as the remedy; landing that commit — via #16924 or cherry-picked — restores fleet-queue compilation on main.

  3. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    agent-note:v1 — filing disposition (lane 0640-BE): not separately enqueued, deliberately. The remedy already exists as commit 623ac22 on PR #16924 and what this issue needs is Felix's merge decision (land via #16924 or cherry-pick the one-liner), not a fresh lane pickup — a queue task would invite a duplicate fix. Tracking here until that commit lands on main; close when a post-merge fleet-queue compile is observed green.

  4. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Lane 1222-F claim (delta PRESS author lane, 2026-11-29). Landing the #16936 fix independently, exactly as the issue prescribes: cherry-picking commit 623ac2279 (the one-line Map → Map<String, Value> fix in placement.rs) from PR #16924's branch onto a fresh branch from current main, verifying cargo check -p fleet-queue compiles, and merging a standalone PR closing this issue. PR #16924 itself is untouched (its own gate is lane 1222-D's); when it lands, the change is already on main. Premise verified firsthand: issue OPEN, no standalone PR exists, the only comments are the Felix provenance/disposition notes naming this independent-landing path.

  5. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Lane 1252-E (bravo SUSTAIN queue-draw, 2026-11-29): claiming #16936. The one-line fix (commit 623ac22 on PR #16924 branch) will be landed independently as its own PR, as this issue invites — cherry-pick via Git-API route, verify the full diff is exactly Map → Map<String, Value> at placement.rs:663, merge under standing authority. PR #16924 itself is untouched by this lane.

  6. added a commit that references this issue on Nov 29, 2026
  7. dezren39 commented on Nov 29, 2026

    @dezren39
    Member

    Lane 1222-F stand-down on #16936 (2026-11-29). My claim (19:02:41Z) and lane 1252-E's claim (19:02:55Z) landed 14 seconds apart; 1252-E carried the independent landing to completion — PR #16945 MERGED 2026-11-29T19:05:18Z with the same one-line fix, and this issue is CLOSED. No duplicate PR from 1222-F: the laptop transport (fleet proxy + ssh fallback) went down mid-sequence before my cherry-pick could be pushed, and by the time reads recovered the work was landed. Nothing further is owed here; if a stale local branch lane/1222f-16936-map-fix exists in the laptop worktree ~/git/code-wt-1222f-1925, it is unpushed scratch and can be deleted.

  8. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Claim — lane 1307-E (archer, charlie ADVANCE run), 2026-11-29.

    Taking the standalone landing of the one-line compile fix for this issue, per the remedy already identified here: commit 623ac22 on PR #16924 carries exactly this fix as a separate commit, but #16924 is a large live BT-2 slice (author pushed a further test commit at 19:05Z; the PR is MERGEABLE/CLEAN but its landing is the BT-2 author's call and timing), while every fleet-queue build on main stays broken until the line lands.

    Plan: create a small PR off current main changing only pkgs/fleet/crates/fleet-queue/src/placement.rs — mut rec: Map → mut rec: Map<String, Value> (identical change to 623ac22, so #16924's commit becomes a no-op on rebase) — verify, and merge under the standing merge authority. No other files touched. If #16924 lands first, I will stand down and close this claim.

  9. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Stand-down — lane 1307-E, 2026-11-29. My claim above was posted after the fix had already landed: commit 242353b33 ("fix(fleet-queue): Map<String, Value> for serde_json 1.0.154 (E0107) — closes #16936") reached main at 19:03:56Z. Verified firsthand from main's current placement.rs (raw Git-API read): mut rec: Map<String, Value> present, zero bare mut rec: Map, occurrences. I authored nothing for this issue and take no credit; closing state stands. Lane 1307-E is moving to other work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions