Skip to content

fix: replace CWS upload action with direct API calls#32

Merged
ryanbas21 merged 1 commit into
mainfrom
fix/cws-publish-debug
May 12, 2026
Merged

fix: replace CWS upload action with direct API calls#32
ryanbas21 merged 1 commit into
mainfrom
fix/cws-publish-debug

Conversation

@ryanbas21
Copy link
Copy Markdown
Owner

Summary

  • The mnao305/chrome-extension-upload action swallows the CWS publish API response body — all we see is 400 Bad Request with no explanation
  • Replaced with direct curl calls to the CWS API that log both upload and publish responses
  • Applied to both release.yml (snapshot/testers) and publish-extension.yml (production)
  • Secrets are passed via env: variables, never inline in run: blocks

Once this runs, the publish response will show the actual statusDetail from CWS explaining why publish is rejected (e.g., pending review, policy violation, missing fields).

Test plan

  • Trigger snapshot workflow via workflow_dispatch — the publish step will now show the full CWS error response
  • Use the error response to diagnose and fix the root cause of the 400

🤖 Generated with Claude Code

The mnao305/chrome-extension-upload action swallows the Chrome Web
Store publish API response body, making it impossible to diagnose why
publish returns 400. Replace with direct curl calls that log both the
upload and publish responses so the actual error reason is visible in
CI logs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ryanbas21 ryanbas21 merged commit 2ab3df3 into main May 12, 2026
1 of 2 checks passed
@ryanbas21 ryanbas21 deleted the fix/cws-publish-debug branch May 12, 2026 16:46
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