Skip to content

chore: disable scheduled CI; run on push/PR/manual dispatch - #29553

Merged
wmadden merged 1 commit into
mainfrom
will/disable-scheduled-ci
May 15, 2026
Merged

wmadden merged 1 commit into
mainfrom
will/disable-scheduled-ci

Conversation

@wmadden

@wmadden wmadden commented May 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Disables the schedule: triggers on the two scheduled test workflows in this repo so they stop spending CI minutes while ORM iteration is paused. They remain runnable on demand via workflow_dispatch. Also removes the cross-repo Ecosystem Tests Status badge from the README so it can't go stale-red after the corresponding schedule is disabled in prisma/ecosystem-tests.

Workflows affected:

  • .github/workflows/daily-test.yml (was 0 4 * * 1-5).
  • .github/workflows/daily-buildpulse.yml (was */30 3-4 * * *).

Not touched (intentionally):

  • test.yml — push/PR-driven; keeps running normally on main.
  • codeql-analysis.yml — security scans are cheap and stay.
  • auto-close-github-discussions.yml, label-stale-issues.yml — community housekeeping; negligible spend, stays.

The schedule: blocks are commented out rather than deleted so re-enabling is a one-PR uncomment when ORM iteration resumes.

Context

Part of a coordinated effort across the Prisma ORM repos. Other PRs in flight:

  • prisma/action-status-check#10 — pauses the daily Slack digest (deploys after merge).
  • prisma/ecosystem-tests#5996 — disables check-for-update, cleanup-clouds, failing-weekly; removes the CI status badge table.
  • prisma/language-tools (next) — disables 1_check_for_updates, e2e_check_for_new_published_vsix, update-api-types; removes the e2e-vsix badge.

prisma/prisma-engines and prisma/engines-wrapper have no scheduled workflows.

Full project spec: projects/disable-scheduled-ci/spec.md in this repo (transient — will be deleted at close-out).

Verification

  • No workflow files are deleted; both modified workflows retain workflow_dispatch:.
  • README diff is limited to the two badge lines.

To re-enable later

For each workflow, uncomment its schedule: block. To restore the README badge, revert the README hunk of this commit.

Acceptance criteria covered (from project spec)

  • AC1: no schedule: triggers remain on daily-test.yml or daily-buildpulse.yml.
  • AC4: each modified workflow still has workflow_dispatch:.
  • AC5: README no longer carries the Ecosystem Tests Status badge; Prisma Tests Status remains.
  • AC10: diff is limited to schedule: removal and the listed badge.
  • AC11: README sentence explains that scheduled CI is disabled and how it still runs.

ORM iteration has slowed enough that the nightly test matrix and the
half-hourly BuildPulse analytics upload are no longer worth the CI spend.
Both lose their `schedule:` triggers; `workflow_dispatch:` is preserved
so they remain manually runnable. The `schedule:` blocks are commented
out (not deleted) so re-enabling is a one-PR uncomment when ORM
iteration resumes. `test.yml` itself is untouched — push/PR-triggered
CI keeps running on `main`.

The README's `Ecosystem Tests Status` badge is also removed: it points
at a workflow on a different repo whose schedule is being disabled in
the same coordinated effort, and once that schedule is off, the badge
would freeze at whatever colour it had on disable day. Risks
broadcasting a stale-red signal indefinitely. The `Prisma Tests Status`
badge stays — it's driven by push, not cron, and won't rot.

Context: projects/disable-scheduled-ci/spec.md (transient).
@coderabbitai

coderabbitai Bot commented May 14, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 741e942e-ffab-421a-be22-f4ae5db6c04d

📥 Commits

Reviewing files that changed from the base of the PR and between d6d9fc9 and d2e65d4.

📒 Files selected for processing (3)
  • .github/workflows/daily-buildpulse.yml
  • .github/workflows/daily-test.yml
  • README.md

Summary by CodeRabbit

  • Chores
    • Disabled scheduled CI test workflows. Tests continue to run automatically on code pushes, pull requests, and manual triggers.
    • Updated project documentation to reflect CI scheduling changes.

Walkthrough

This PR disables scheduled cron triggers in two GitHub Actions workflows (daily-buildpulse.yml and daily-test.yml) by commenting out their schedule blocks, while leaving workflow_dispatch (manual) triggers intact. The README is updated to inform users that scheduled CI is disabled but tests still run on push, pull request, and manual dispatch.

Changes

Disable Scheduled CI Triggers

Layer / File(s) Summary
Disable scheduled workflow triggers
.github/workflows/daily-buildpulse.yml, .github/workflows/daily-test.yml
The schedule cron blocks are disabled in both workflows (replacing */30 3-4 * * * and 0 4 * * 1-5 configurations) and replaced with comments explaining how to restore them; workflow_dispatch remains active.
Document disabled scheduled CI
README.md
The "Tests Status" section is updated to note that scheduled CI is disabled across ORM repos while tests run on push, pull request, and manual dispatch; users are directed to the Actions tab for recent workflow runs.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: disabling scheduled CI while preserving push/PR/manual dispatch triggers.
Description check ✅ Passed The description thoroughly explains the changeset, covering affected workflows, rationale, acceptance criteria, and re-enablement instructions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch will/disable-scheduled-ci
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch will/disable-scheduled-ci

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
packages/client/runtime/index-browser.js 2.29 KB (0%)
packages/client/runtime/index-browser.d.ts 3.37 KB (0%)
packages/cli/build/index.js 2.54 MB (0%)
packages/client/prisma-client-0.0.0.tgz 26.83 MB (0%)
packages/cli/prisma-0.0.0.tgz 13.53 MB (0%)
packages/bundle-size/da-workers-libsql/output.tgz 1.33 MB (0%)
packages/bundle-size/da-workers-neon/output.tgz 1.39 MB (0%)
packages/bundle-size/da-workers-pg/output.tgz 1.39 MB (0%)
packages/bundle-size/da-workers-planetscale/output.tgz 1.33 MB (0%)
packages/bundle-size/da-workers-d1/output.tgz 1.31 MB (0%)

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 15, 2026
@wmadden
wmadden merged commit ab2b847 into main May 15, 2026
251 of 253 checks passed
@wmadden
wmadden deleted the will/disable-scheduled-ci branch May 15, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants