Repository navigation
Conversation
…line of output curl -w prints no trailing newline, so read -r code ctype assigned both fields and still returned 1 at EOF — and under the step's bash -e that exited the whole script with exit 1 and zero output, which is exactly how the first dispatch of this workflow failed. The probe now captures curl's -w string by command substitution and splits it, with a protected fallback, so a failure anywhere in the loop reports per image instead of dying before the first report. Replayed locally end to end under bash -e: with an unprivileged token every stage before the PUT now runs and all sixteen images report the expected 403 with 'stable left at' evidence, where the pre-fix block produced exit 1 with an empty log.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The first dispatch of
image-channel.yml(run 39772282911) exited 1 in ~1 second with an empty log. Reproduced locally underbash -e:read -r code ctype < <(curl -w '%{http_code} %{content_type}' …)— curl's-woutput has no trailing newline, soreadassigns both fields and still returns 1 at EOF, and the step's-eexits the script before its first echo.The probe now captures the
-wstring by command substitution and splits it, with a protected fallback. Replayed locally end to end: with an unprivileged token every stage before the PUT runs and all sixteen images report the expected 403 with before/after evidence (stable left at 'v20.1.0'), where the pre-fix block produced exit 1 with an empty log. On the runner, the workflow'spackages: writetoken turns those PUTs into 201s.After merge this will be dispatched with
version=v19.0.0to complete the channel restore from #1478.Made with Cursor