Skip to content

[BUG](ci) Always run vnext-compat check with a noop + rollup path - #705

Merged
Victor Schappert (vcschapp) merged 2 commits into
mainfrom
lowlydba-vnext-check-noop-rollup
Aug 27, 2026
Merged

Victor Schappert (vcschapp) merged 2 commits into
mainfrom
lowlydba-vnext-check-noop-rollup

Conversation

@lowlydba

@lowlydba John McCall (lowlydba) commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

vnext-compat.yaml triggers on pull_request: branches: [main] only. A PR based on any other branch (e.g. #434, based on vnext) never gets a run. Marking this check required (which it is) would hang those PRs pending forever.

Drops the branches: [main] restriction so the workflow always fires. compat-check is now gated to only do real work for PRs targeting main (excluding the vnext release PR itself, head_ref == 'vnext'); a new noop job covers everything else. Both feed a vnext-status rollup job via lowlydba/are-we-good, so there's one consistently-named check to eventually add to branch protection.

Fixes #704

Testing

Validated the YAML parses and reasoned through the three cases by hand (no CI run yet since this only matters once a PR is opened against this branch):

Trigger fired only on PRs targeting main, so a PR based on any other
branch (e.g. #434, based on vnext) never got a run. Marking this check
required would hang those PRs forever.

Drop the branches:[main] restriction so the workflow always fires.
Guard compat-check to only do real work for PRs targeting main
(excluding the vnext release PR itself); add a noop job for everything
else. Both feed a vnext-status rollup via lowlydba/are-we-good, so
there's one consistently-named check to eventually require.

Fixes #704

Signed-off-by: John McCall <john@overturemaps.org>
@lowlydba
John McCall (lowlydba) marked this pull request as ready for review August 27, 2026 15:33
@lowlydba
John McCall (lowlydba) requested a review from a team as a code owner August 27, 2026 15:33
Copilot AI lite review requested due to automatic review settings August 27, 2026 15:33
@github-actions

github-actions Bot commented Aug 27, 2026 •

Copy link
Copy Markdown

🗺️ Schema reference docs preview is live!

🌍 Preview https://staging.overturemaps.org/schema/pr/705/schema/index.html
🕐 Updated Aug 27, 2026 15:43 UTC
📝 Commit cabb68f
🔧 env SCHEMA_PREVIEW true

Note

♻️ This preview updates automatically with each push to this PR.

@lowlydba John McCall (lowlydba) changed the title [CHORE](ci) Always run vnext-compat check with a noop + rollup path [BUG](ci) Always run vnext-compat check with a noop + rollup path Aug 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the vnext-compat GitHub Actions workflow so it triggers for PRs targeting any base branch, while still only performing the actual vnext compatibility work for PRs targeting main. This enables a single consistently-named rollup check to be required later without leaving non-main PRs permanently pending.

Changes:

  • Remove the pull_request.branches: [main] restriction so the workflow always fires on PR events.
  • Gate the real compat-check job to only run for PRs targeting main (and not for the vnext release PR).
  • Add a noop path plus a vnext-status rollup job to ensure there is always one stable check name to require.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/vnext-compat.yaml Outdated
Comment thread .github/workflows/vnext-compat.yaml

@connieksun Connie Sun (connieksun) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

…ions

Match the pin already used by check-python-code.yaml and
require-changelog-fragment.yaml, and give the rollup job an explicit
empty permissions block since it only reads the needs context.

Signed-off-by: John McCall <john@overturemaps.org>
@vcschapp
Victor Schappert (vcschapp) merged commit 5c2304e into main Aug 27, 2026
27 checks passed
@vcschapp
Victor Schappert (vcschapp) deleted the lowlydba-vnext-check-noop-rollup branch August 27, 2026 17:55

This branch was successfully deployed

1 active deployment
staging — cabb68f5 Deployed Aug 27, 2026 by lowlydba via Deploy #461
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vnext compatibility check can never run for PRs not based on main

4 participants