GeezerVison is showing github.com — feat(fleet): id postcard framing for mode-3 initiator (#10391 slice 3, §4.4) by developing-today-fleet[bot] · Pull Request #16233 · developing-today/code
Conversation
Slice 3 of design #10391 §5 (closes #15435): postcard-native exchange framing for the mode-3 initiator.
What landed
pkgs/fleet/crates/fleet/src/id_postcard.rs (new): length-prefixed postcard framing (4-byte big-endian length + body), take_from_bytes strictness, 64 KiB per-stream cap, ALPN pinned to /iroh-meta/3.
Cargo.toml: postcard (v1, alloc) + serde on the id feature (same major as id-sync); main.rs wires the module.
Acceptance (#15435)
- List/Find/tag-shaped round-trips succeed — live iroh QUIC test (
Minimal endpoints, relay disabled) over /iroh-meta/3, canned value answers.
- Padded / concatenated / trailing-byte / truncated payloads rejected — strict decode tests.
- Variant-reorder fixture fails loudly — same-shape swap silently corrupts (asserted), shape mismatch errors loudly: ALPN-bump path exercised.
- Concurrent streams multiplex correctly — three concurrent
open_bi streams on one connection, 20s fail-closed timeout.
Evidence
cargo test -p fleet --no-default-features --features id id_postcard
test result: ok. 10 passed; 0 failed
Full id suite: 84 passed, 1 failed — the failure (queue_domain_version_rejects_trailing_arguments) reproduces on the pristine tree (verified via git stash), pre-existing narrowed-build breakage, unrelated to this slice.
Notes: cargo clippy is unusable in this env (clippy-driver missing librustc_driver, pre-existing); rustfmt --check clean. Framing-first slice: the live dial against a real ID node and the postcard/stream verbs ride on top next.
{
"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-27T16:11:41Z",
"session_id": "ses_e5de2ea7310ffeJvVLKpy5edTK",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code",
"repo": "developing-today/code",
"branch": "main",
"sha": "6fd30c93b62a4b6fba19e6444c7d69f343fb93a1"
},
"auth_subject": "oc-code-03",
"stamped_by": "fleet 0.1.0 (native)"
}
}
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.
…, §4.4)
Slice 3 of design #10391 §5 (issue #15435): postcard-native
exchange framing for the mode-3 initiator. Length-prefixed frames
(4-byte big-endian length + postcard body) decoded with
take_from_bytes strictness — padded, concatenated, truncated and
trailing-byte payloads are all rejected. Per-stream 64 KiB default
cap inherited from the meta protocol bound. ALPN pinned to
/iroh-meta/3 with a variant-reorder fixture proving enum-position
wire significance (same-shape swap silently corrupts, shape
mismatch errors loudly): the ALPN-bump path.
Verification: 10/10 id_postcard tests green under
--no-default-features --features id, including a live iroh QUIC
round-trip (Minimal endpoints, relay disabled) exchanging
List/Find/GetTags-shaped frames over three concurrent bi-streams
on one connection.
Out of scope for this slice: the live dial against a real ID
node and the postcard/stream verbs ride on top of this framing
next; pre-existing narrowed-build queue version test failure and
broken clippy driver in this env are unrelated.
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:
07dd0d46-7274-4762-bd0a-ffb135950f23
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:
- 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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Lane 1022-I (delta PRESS LANDINGS discovery, 2026-11-27) — claim + verification dispatch.
Claim-scan: PR body + ALL comments read (only CodeRabbit bot), 0 reviews, no live claim in comments or lane-log; not on this run's exclusion list. Head c8f9b4889f7864880c43c9582c57e22618d87545 stable across two reads, non-draft, CLEAN/MERGEABLE. Diff matches body (4 files: Cargo.lock, crates/fleet/Cargo.toml, new src/id_postcard.rs, src/main.rs wiring). Existing exact-head runs read first: code check-runs = CodeRabbit + Proof SKIPPED only; code Actions run 46031433300 (pm-console-edge-deploy, push) has 0 jobs — not test evidence; fleet repos have 0 runs for this head.
Dispatching ONE exact-head verification via fleet-command (developing-today/fleet), dispatch_id 1022I-16233: cd pkgs/fleet && cargo test -p fleet --no-default-features --features id id_postcard at ref c8f9b4889f7864880c43c9582c57e22618d87545. Merge follows a SUCCESS conclusion under standing merge authority.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Lane 1022-I — MERGED. Verification run https://github.com/developing-today/fleet/actions/runs/46034277294 (fleet-command, dispatch_id 1022I-16233) completed SUCCESS: job log shows Target HEAD: c8f9b4889f7864880c43c9582c57e22618d87545 (exact) and test result: ok. 10 passed; 0 failed for cargo test -p fleet --no-default-features --features id id_postcard — matching the body evidence. Merged under standing merge authority; second read confirms MERGED, merge commit 3bc0cc43ab41ee819b2c6fe0b05cc9606e3daf9c. Linked issue #15435 auto-closed by the merge.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|