Skip to content

build(release): strip the manifest key from the store zip - #60

Merged
PAMulligan merged 1 commit into
mainfrom
store-zip-no-key
Aug 21, 2026
Merged

build(release): strip the manifest key from the store zip#60
PAMulligan merged 1 commit into
mainfrom
store-zip-no-key

Conversation

@PAMulligan

Copy link
Copy Markdown
Contributor

Summary

The CWS dashboard rejected optia-1.0.0.zip with "key field is not allowed in manifest." The key is a local-dev pin for the extension ID; the store won't accept it in uploads. Both zip-building workflows (the release-please attach job and the manual fallback) now delete key from dist/manifest.json before zipping. The repo manifest keeps it so unpacked dev installs keep the stable ID.

Follow-up required at publish time: the store assigns the real extension ID at first upload — once the dashboard shows it, add chrome-extension://<store-id> to ALLOWED_ORIGINS in optia-backend's production vars (keeping the dev ID too) and redeploy before the listing goes live, or the extension's backend calls will be CORS-blocked.

A hand-patched optia-1.0.0-store.zip (identical contents, key stripped) was produced for today's submission, so this PR only needs to land before the next release.

🤖 Generated with Claude Code

The Chrome Web Store upload rejects manifests containing "key" ("key field
is not allowed in manifest") — it is a local-dev mechanism for pinning the
extension ID. The repo manifest keeps it so unpacked dev installs stay on
the stable ID; the store artifact drops it (the store assigns the real ID
at first upload; update the backend ALLOWED_ORIGINS to that ID before
publishing).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@PAMulligan
PAMulligan merged commit 3a40053 into main Aug 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant