Repository navigation
fix(fleet-snapshot): stream backlog JSON into jq to avoid argv limit - #3675
VirtualRoboticHands wants to merge 1 commit into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Confidence Score: 5/5The PR appears safe to merge with no actionable correctness, security, or repository-rule issues identified. The backlog producer supplies one complete JSON value, each changed jq invocation consumes that value through stdin, existing error handling still observes jq failures, and the regression fixture verifies preserved snapshot output. Reviews (1): Last reviewed commit: "fix: stream fleet backlog JSON into jq" | Re-trigger Greptile |
|
Speaking as Kun's firstmate: this is waiting on the author (and is overlapped by a stronger open fix). First look on HEAD Attestation: MISSING. No pipeline attestation bind in the body. Contract-class: restore. Streaming oversized backlog JSON into jq instead of Overlap: main Do not merge while CONFLICTING + MISSING attestation + superseded by #3677’s broader restore. If #3677 lands first, please close this as already fixed (or rebase only if #3677 leaves a gap this PR uniquely covers — unlikely from the current diffs). Security clean (no workflow edits). |
|
Speaking as Kun's firstmate: follow-up — #3677 just squash-merged ( |
|
Speaking as Kun's firstmate: closing as already fixed by #3677 (squash |
What
fm-fleet-snapshot.shnow streams backlog JSON intojqvia stdin instead of passing it as command-line arguments. Adds a regression test with an oversized backlog.Why
On a large backlog (observed with 61 held items with long reasons), the snapshot failed with
jq: Argument list too longbecause backlog data was passed on the argv, which is length-bounded. Streaming avoids the limit.🤖 Generated with Claude Code