You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The nightly Windows run on 2026-07-26 (run #30190743916) had two failures:
Failure 1 — Background jobs E2E: "Expected 1 cron job report, but found 2"
File:tasks/e2e-background-jobs/run.mts (around line 520) and tasks/e2e-background-jobs/fixtures.mts (line 79)
Root cause: The cron job is scheduled with cron: '* * * * * *' (every second). By the time confirmJobsRan checks the project directory, the cron job has already fired more than once, leaving multiple report-*.txt files.
Fix options:
Option A (preferred): In confirmJobsRan, record which report files exist before calling jobsWorkoff, then assert that exactly 1 new file appeared after:
// before jobsWorkoff:constexistingReports=newSet(fs.readdirSync(projectPath).filter(f=>/^report-.*\.txt$/.test(f)))// run jobsWorkoff...// in confirmJobsRan:constallReports=fs.readdirSync(projectPath).filter(f=>/^report-.*\.txt$/.test(f))constnewReports=allReports.filter(f=>!existingReports.has(f))if(newReports.length!==1){ ... }
Option B (simpler): Change the assertion from !== 1 to < 1 — i.e., require at least one report file rather than exactly one. Less precise but eliminates the race condition entirely.
Option C (also viable): Delete all report-*.txt files at the start of confirmJobsRan before running the assertion. But this could hide bugs where no report is written.
Option A is the most correct: it measures what the test actually cares about (the cron job ran at least once during the workoff).
Log:This usually means multiple copies of the Nx Cloud client bundle are being loaded by Nx
This is an intermittent Nx infrastructure issue (see nrwl/nx#35209). The job failed at the Set up job step before even checking out the code, so it's not caused by any Cedar commit.
Fix: No Cedar code change needed. Options:
Add a retry on the smoke-tests job in .github/workflows/nightly-windows.yml using continue-on-error: true + a retry workflow, or use the nick-fields/retry action for the nx run call
Or bump the Nx version to one that has fixed #35209
Summary of changes needed
File
Change
tasks/e2e-background-jobs/run.mts
Pass pre-existing report files into confirmJobsRan and diff against them
The E2E fix is clear — the cron schedule (* * * * * *) is inherently racy. Fixing the assertion logic (Option A) is mechanical once you understand the test flow. The score isn't higher because:
The Nx Cloud failure is infrastructure-level and has no Cedar fix
The smoke tests failure log doesn't show which suite actually failed — the job aborted at setup, so there may be an underlying issue that only manifests on Windows and only when the Nx cache warms up in a particular order
Activity
github-actions commentedon Jul 23, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/29984270832
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
Tobbe commentedon Jul 23, 2026
They both passed on a re-run
github-actions commentedon Jul 26, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/30190743916
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
lisa-assistant commentedon Jul 26, 2026
Implementation Plan
The nightly Windows run on 2026-07-26 (run #30190743916) had two failures:
Failure 1 — Background jobs E2E: "Expected 1 cron job report, but found 2"
File:
tasks/e2e-background-jobs/run.mts(around line 520) andtasks/e2e-background-jobs/fixtures.mts(line 79)Root cause: The cron job is scheduled with
cron: '* * * * * *'(every second). By the timeconfirmJobsRanchecks the project directory, the cron job has already fired more than once, leaving multiplereport-*.txtfiles.Fix options:
Option A (preferred): In
confirmJobsRan, record which report files exist before callingjobsWorkoff, then assert that exactly 1 new file appeared after:Option B (simpler): Change the assertion from
!== 1to< 1— i.e., require at least one report file rather than exactly one. Less precise but eliminates the race condition entirely.Option C (also viable): Delete all
report-*.txtfiles at the start ofconfirmJobsRanbefore running the assertion. But this could hide bugs where no report is written.Option A is the most correct: it measures what the test actually cares about (the cron job ran at least once during the workoff).
Failure 2 — Smoke tests: Nx Cloud client bundle not initialized
Log:
This usually means multiple copies of the Nx Cloud client bundle are being loaded by NxThis is an intermittent Nx infrastructure issue (see nrwl/nx#35209). The job failed at the
Set up jobstep before even checking out the code, so it's not caused by any Cedar commit.Fix: No Cedar code change needed. Options:
.github/workflows/nightly-windows.ymlusingcontinue-on-error: true+ a retry workflow, or use the nick-fields/retry action for thenx runcallSummary of changes needed
tasks/e2e-background-jobs/run.mtsconfirmJobsRanand diff against themtasks/e2e-background-jobs/run.mtsline ~112jobsWorkoff().github/workflows/nightly-windows.yml(optional)lisa-assistant commentedon Jul 26, 2026
Confidence: 7/10
The E2E fix is clear — the cron schedule (
* * * * * *) is inherently racy. Fixing the assertion logic (Option A) is mechanical once you understand the test flow. The score isn't higher because:github-actions commentedon Jul 28, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/30333589337
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
Tobbe commentedon Jul 28, 2026
Once again passed on a re-run
Tobbe commentedon Jul 28, 2026
The proposed Background Jobs E2E test fix was implemented in #2245
github-actions commentedon Jul 29, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/30427201144
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
github-actions commentedon Jul 31, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/30609564488
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
github-actions commentedon Aug 3, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/30790726804
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
github-actions commentedon Aug 4, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/30882766089
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
github-actions commentedon Aug 6, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/31076119277
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
github-actions commentedon Aug 7, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/31149346860
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
github-actions commentedon Aug 8, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/31239552284
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
17 remaining items
github-actions commentedon Sep 22, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/35705553139
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
github-actions commentedon Sep 23, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/35838116913
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
chore(ci): drop Windows-specific Node pin, track 24 on all platforms (#…
github-actions commentedon Sep 25, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/36115186377
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
fix(ci): force check-latest on Windows Node setup to avoid stale cach…
chore(ci): drop Windows-specific Node pin, track 24 on all platforms (#…
fix(ci): force check-latest on Windows Node setup to avoid stale cach…
github-actions commentedon Sep 28, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/36405970479
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
github-actions commentedon Sep 29, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/36551935555
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
github-actions commentedon Oct 4, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/37193450037
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
github-actions commentedon Nov 5, 2026
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
github-actions commentedon Nov 6, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/42206438672
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
github-actions commentedon Nov 7, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/42363149212
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.
github-actions commentedon Nov 10, 2026
The nightly Windows run failed: https://github.com/cedarjs/cedar/actions/runs/42806018139
A change that the Windows PR filter didn't flag may have broken Windows support. See the run for which suites failed.