Skip to content

AST-171789 Fail marketplace release step on HTTP error - #359

Merged
cx-lior-poterman merged 1 commit into
mainfrom
ast-171789-fail-marketplace-upload-on-http-error
Sep 1, 2026
Merged

cx-lior-poterman merged 1 commit into
mainfrom
ast-171789-fail-marketplace-upload-on-http-error

Conversation

@cx-lior-poterman

Copy link
Copy Markdown
Contributor

The marketplace upload step used plain curl -i, which exits 0 even when JetBrains returns an HTTP error. A recent release was rejected with a 403 but the workflow reported success, so the plugin never actually published and it went unnoticed until someone checked the marketplace directly.

This adds --fail-with-body to both curl calls so the step fails on HTTP >= 400 while still logging the response body for diagnosis. Releases that were silently failing before will now fail loudly, which is the point.

The JetBrains marketplace upload used plain curl -i, which exits 0
even when the marketplace responds with an HTTP error. A prior
release was rejected with a 403 but the workflow reported success,
so the plugin silently failed to publish and nobody noticed until a
developer checked the marketplace manually.

Add --fail-with-body to both curl calls so the step exits non-zero
on HTTP >= 400 while still printing the response body for diagnosis.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cx-lior-poterman
cx-lior-poterman requested a review from a team September 1, 2026 06:26

@cx-sumit-morchhale cx-sumit-morchhale left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@cx-atish-jadhav
cx-atish-jadhav self-requested a review September 1, 2026 07:04
@cx-lior-poterman
cx-lior-poterman merged commit d147d0f into main Sep 1, 2026
6 of 7 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.

3 participants