Skip to content

ci: Add engine compatibility check for PRs (external package)#1360

Open
d3xter666 wants to merge 10 commits intomainfrom
engine-compatibility-checks-script
Open

ci: Add engine compatibility check for PRs (external package)#1360
d3xter666 wants to merge 10 commits intomainfrom
engine-compatibility-checks-script

Conversation

@d3xter666
Copy link
Copy Markdown
Member

@d3xter666 d3xter666 commented Apr 14, 2026

Initial idea: #1356

JIRA: CPOUI5FOUNDATION-1225

Why not just use check-engine-light directly?

We could simplify this workflow by running check-engine-light as a regular CI step — if all dependencies are compatible it exits silently, and if any are incompatible it exits with code 1, failing the build. This would behave almost identically to npm ci --engine-strict.

However, that approach is binary: the PR either passes or fails, with no visibility into which packages are incompatible or what their engine ranges are.

This extended setup runs check-engine-light and parses its output into a PR comment table showing each incompatible package and its declared Node range. The check is intentionally non-blocking — it reports incompatibilities without preventing the PR from being merged.

@github-actions github-actions bot added blocked Pull requests that are blocked and removed blocked Pull requests that are blocked labels Apr 14, 2026
@d3xter666 d3xter666 force-pushed the engine-compatibility-checks-script branch from 6733230 to 59527d0 Compare April 14, 2026 11:36
@d3xter666 d3xter666 force-pushed the engine-compatibility-checks-script branch from d322d6c to b304509 Compare April 14, 2026 11:42
@d3xter666 d3xter666 changed the title feat: Add engine compatibility check for PRs (script version) feat: Add engine compatibility check for PRs (external package) Apr 14, 2026
@d3xter666 d3xter666 changed the title feat: Add engine compatibility check for PRs (external package) ci: Add engine compatibility check for PRs (external package) Apr 14, 2026
@UI5 UI5 deleted a comment from github-actions bot Apr 14, 2026
@UI5 UI5 deleted a comment from github-actions bot Apr 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

✅ Engine Compatibility

Project engines.node: ^22.20.0 || >=24.0.0

All dependencies are compatible with the project's engine range.

@d3xter666 d3xter666 requested a review from a team April 14, 2026 11:57
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