Skip to content

chore: remove the @NpmPackage 24h gate - #10119

Merged
sissbruecker merged 1 commit into
25.3from
chore/remove-npm-package-gate-25.3
Sep 15, 2026
Merged

sissbruecker merged 1 commit into
25.3from
chore/remove-npm-package-gate-25.3

Conversation

@totally-not-ai

Copy link
Copy Markdown
Contributor

Removes the @NpmPackage 24h gate workflow (.github/workflows/npm-package-gate.yml) from 25.3. Same change as #10118 on main.

Why

The gate blocked every PR that added an @NpmPackage version for 24 hours, because vaadin.npm.minimumFrontendPackageAgeDays defaults to 1 and a freshly published @vaadin package would otherwise break the snapshot builds of downstream projects.

vaadin/flow#25620 ("exclude @vaadin packages from the minimum frontend package age") removes that reason: the minimum age no longer applies to @vaadin packages.

⚠️ Merge order

The cherry-pick of that fix to flow 25.3 — vaadin/flow#25702 — is still open at the time of writing. Please merge this PR only after vaadin/flow#25702 has landed, otherwise 25.3 loses the gate while flow 25.3 still enforces the minimum age for @vaadin packages.

Scope

The gate is intentionally kept on 25.2, which does not get the exclusion.

Risk

Low, CI-only. The webjar/@NpmPackage update PRs (e.g. chore: Update NpmPackages Webjars versions (25.3)) stop being blocked and auto-approved after 24h — they now follow the normal review and merge flow. Nothing in the build or in any component changes. Reverting is a single-file revert.

How to test

Open or push a PR against 25.3 that adds an @NpmPackage version and check that no CHANGES_REQUESTED review from the review bot appears and no "NpmPackage 24h gate" workflow run is started.

vaadin/flow#25620 excludes @vaadin packages from the minimum frontend
package age, so bumping an @NpmPackage version no longer produces a
failed snapshot for downstream projects and the 24h block is obsolete
on this branch.

The gate stays on 25.2, which does not have the exclusion.

Merge only after the flow cherry-pick vaadin/flow#25702 has landed in
25.3.
@sonarqubecloud

Copy link
Copy Markdown

@sissbruecker
sissbruecker merged commit f62560c into 25.3 Sep 15, 2026
24 checks passed
@sissbruecker
sissbruecker deleted the chore/remove-npm-package-gate-25.3 branch September 15, 2026 10:03
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