Skip to content

ci: release-fetch hands curl its API headers through a here-string, not a pipe - #537

Merged
SSFSKIM merged 1 commit into
masterfrom
release-fetch-epipe
Nov 8, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
release-fetch-epipe

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Under set -o pipefail, printf … | curl -H @- fails the call when curl exits without reading stdin: printf dies of SIGPIPE. scripts/mawsd-pack.test.mjs:279's fake curl does exactly that. It was red in static on O8's M4b run 42475844068 at 309cf86, a wave touching only src/main/org/*, and green on rerun 42477359635 (architect 1331).

api_fetch now passes the headers as a here-string (<<<). The shell writes it before curl starts, so an early exit can't fail the call. The token still never reaches argv: the token tests in release-fetch.test.mjs still check argv against stdin.

  • Locally: release-fetch.test.mjs plus mawsd-pack.test.mjs, 23/23, five runs in a row; bash -n OK.
  • Gate 42477848701 (static): GREEN.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)

…ot a pipe

Under pipefail, a curl that exits without reading stdin made printf die of SIGPIPE and failed the call: mawsd-pack.test.mjs:279's fake curl, red in static on run 42475844068 and green on its rerun. The shell writes a here-string before curl starts. The token still never reaches argv.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T12:02:01.817021Z 1017c51 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM merged commit de59012 into master Nov 8, 2026
@SSFSKIM
SSFSKIM deleted the release-fetch-epipe branch November 8, 2026 12:02
SSFSKIM added a commit that referenced this pull request Nov 8, 2026
…notification a row carries and the engine's queued notices; #535, #536 and #537 noted, #533 closed; the fake machine's queue-record row

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 8, 2026
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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