Skip to content

[C3] Gate frameworks E2E tests to merge queue, release branch, or label#13371

Open
petebacondarwin wants to merge 3 commits intomainfrom
gate-c3-frameworks-e2e
Open

[C3] Gate frameworks E2E tests to merge queue, release branch, or label#13371
petebacondarwin wants to merge 3 commits intomainfrom
gate-c3-frameworks-e2e

Conversation

@petebacondarwin
Copy link
Copy Markdown
Contributor

@petebacondarwin petebacondarwin commented Apr 9, 2026

Gate C3 frameworks E2E tests so they only run during CI in the following cases:

  • merge_group trigger (merge queue)
  • changeset-release/main branch (release PR)
  • PR has the run-c3-frameworks-tests label attached

This reduces CI time on regular PRs where frameworks E2E tests are not needed. The cli and workers E2E tests continue to run unconditionally on every PR.

Changes

.github/workflows/c3-e2e.yml:

  • Removed "frameworks" from the e2e job's matrix filter list (["cli", "workers", "frameworks"] -> ["cli", "workers"])
  • Split the Windows include entry into explicit cli and workers entries (frameworks tests are already skipped internally on Windows)
  • Added a new frameworks-e2e job with a conditional gate that only runs when the three conditions above are met

.github/workflows/rerun-remote-tests.yml:

  • Added a rerun-c3-frameworks job that re-triggers the C3 E2E workflow when the run-c3-frameworks-tests label is added to a PR

  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because: CI-only workflow change, can be verified by observing GitHub Actions behavior on this PR
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: Internal CI configuration change

Open with Devin

Only run C3 frameworks E2E tests when:
- The trigger is merge_group (merge queue)
- The branch is changeset-release/main (release PR)
- The PR has the run-c3-frameworks-tests label

This reduces CI time on regular PRs where frameworks tests are not
needed. The cli and workers E2E tests continue to run unconditionally.

Also splits the Windows include into explicit cli/workers entries since
frameworks tests are already skipped internally on Windows.
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 9, 2026

⚠️ No Changeset found

Latest commit: 3b0f09b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Apr 9, 2026
@workers-devprod workers-devprod requested review from a team and edmundhung and removed request for a team April 9, 2026 15:09
@workers-devprod
Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • @cloudflare/wrangler
Show detailed file reviewers
  • .github/workflows/c3-e2e.yml: [@cloudflare/wrangler]
  • .github/workflows/rerun-remote-tests.yml: [@cloudflare/wrangler]

devin-ai-integration[bot]

This comment was marked as resolved.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 9, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@13371

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@13371

miniflare

npm i https://pkg.pr.new/miniflare@13371

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@13371

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@13371

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@13371

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@13371

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@13371

wrangler

npm i https://pkg.pr.new/wrangler@13371

commit: 3b0f09b

@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk bot commented Apr 9, 2026

UnknownError: ProviderInitError

github run

@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk bot commented Apr 9, 2026

@petebacondarwin Bonk workflow failed. Check the logs for details.

View workflow run · To retry, trigger Bonk again.

The job-level if: condition read labels from the event payload, which
is stale on workflow re-runs triggered by rerun-remote-tests.yml.

Replace with a runtime step that uses 'gh pr view' to check for the
run-c3-frameworks-tests label, matching the pattern used by
check-remote-tests/action.yml in the Wrangler and Vite E2E workflows.

All expensive steps (install, build, test, upload) are gated on the
runtime check output so the job exits cheaply when skipped.
devin-ai-integration[bot]

This comment was marked as resolved.

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@petebacondarwin petebacondarwin added the run-c3-frameworks-tests Run all the C3 frameworks tests on this PR label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changeset-required run-c3-frameworks-tests Run all the C3 frameworks tests on this PR

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

2 participants