Skip to content

fix(snapshot): stage contribution-input JSON through files instead of --argjson - #20

Merged
jorguez96 merged 1 commit into
mainfrom
fm/fleet-snapshot-contrib-argjson
Sep 27, 2026
Merged

jorguez96 merged 1 commit into
mainfrom
fm/fleet-snapshot-contrib-argjson

Conversation

@jorguez96

Copy link
Copy Markdown
Owner

The backlog archive has grown past the 128KB per-argument limit, so the --contribution-input path failed with 'jq: Argument list too long' and emitted empty output while still exiting 0. That warning surfaced on every health check via the contributions step. This matches the file's own slurpfile pattern used by the main snapshot path, and the failing assembly now exits non-zero instead of silently emitting nothing.

Verified: --contribution-input emits valid JSON (278KB, empty stderr), fm-bootstrap.sh runs silent, shellcheck clean. No other callers of --argjson with large inputs remain in this file.

… --argjson

The backlog archive has grown past the 128KB per-argument limit, so the
--contribution-input path failed with 'jq: Argument list too long' and
emitted empty output while still exiting 0. Matches the file's own
slurpfile pattern used by the main snapshot path.

Verified: --contribution-input now emits 278KB valid JSON with empty
stderr; fm-bootstrap.sh runs silent; shellcheck clean.
@jorguez96
jorguez96 merged commit 36eafc8 into main Sep 27, 2026
18 checks passed
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.

2 participants