Skip to content

chore: fix Exit Gate manifest schema in nightly and publish workflows - #6100

Merged
copybara-service[bot] merged 1 commit into
material-components:mainfrom
alonsopf89:fix/exit-gate-nightly-manifest
Oct 29, 2026
Merged

copybara-service[bot] merged 1 commit into
material-components:mainfrom
alonsopf89:fix/exit-gate-nightly-manifest

Conversation

@alonsopf89

Copy link
Copy Markdown
Contributor

Fixes the OSS Exit Gate manifest.json schema in .github/workflows/nightly.yml (and .github/workflows/publish.yml):

  1. Top-level registry_config: In OSS Exit Gate's PublishingManifest protobuf schema, registry_config ({ "npm": { "tags": ["nightly"] } }) is a top-level field on the root manifest object rather than inside publishing_groups[]. Nesting registry_config inside publishing_groups[0] caused protojson.Unmarshal to reject the manifest with "The manifest file uploaded to the GCS bucket is not a valid textproto or json file."
  2. Scoped package namespace: Sets "namespace": "@material" and "name": "web" inside publishing_groups[0] to match pkg_namespace: "@material" and pkg: "web" in the Exit Gate project configuration.
  3. Retry idempotency: Deletes any unpromoted staging version in Artifact Registry (gcloud artifacts versions delete ... || true) prior to npm publish so re-running the workflow on the same commit does not fail on Artifact Registry version immutability.

Follow-up to #6096.

@asyncliz asyncliz changed the title fix(ci): move registry_config to top level and set namespace in Exit Gate manifests chore: move registry_config to top level and set namespace in Exit Gate manifests Oct 29, 2026
@asyncliz

Copy link
Copy Markdown
Collaborator

Lgtm! Btw you can use "chore:" for these commits, since we don't need to track infra changes in our generated change log :)

@alonsopf89
alonsopf89 force-pushed the fix/exit-gate-nightly-manifest branch from ab5a724 to 71c1f33 Compare October 29, 2026 16:21
@alonsopf89 alonsopf89 changed the title chore: move registry_config to top level and set namespace in Exit Gate manifests chore: fix Exit Gate manifest schema in nightly and publish workflows Oct 29, 2026
@copybara-service
copybara-service Bot merged commit c10a379 into material-components:main Oct 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants