Skip to content

Commit 90453f6

Browse files
committed
ci(test): run the pollution detector nightly, not per-PR
1 parent f4f3d18 commit 90453f6

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [main]
66
pull_request:
77
workflow_dispatch:
8+
# Nightly pollution-detector run (see test-one-process below).
9+
schedule:
10+
- cron: "17 7 * * *"
811

912
concurrency:
1013
group: ci-${{ github.workflow }}-${{ github.event_name == 'push' && github.sha || github.ref }}
@@ -152,10 +155,14 @@ jobs:
152155
# files fails in the one-process suite yet passes when the files land in
153156
# different shards (CL-6967). This job reruns the whole union in one
154157
# process with no filters, exactly like the local `bun run check` gate.
155-
# Non-blocking (continue-on-error) so a slow or flaky full run cannot hold
156-
# the gate; a real pollution failure still shows up red for triage.
158+
# Nightly (plus manual workflow_dispatch), not per-PR: the one-process
159+
# suite takes ~2 minutes on CI and would put that back on the PR wall
160+
# clock this sharding removes. Non-blocking (continue-on-error) so a slow
161+
# or flaky full run cannot hold the gate; a real pollution failure still
162+
# shows up red for triage.
157163
test-one-process:
158164
name: test (one-process pollution detector)
165+
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
159166
continue-on-error: true
160167
runs-on: ubuntu-latest
161168
steps:

0 commit comments

Comments
 (0)