On schedule, fresh-payload-smoke installed Payload `latest` on Node.js 22.
Once Payload 4 ships, `latest` moves to 4.x. Payload 4 needs Node.js 24.22.1
and is still experimental here, so the nightly would go red on release day
for reasons that say nothing about the fully supported line.
Scheduled runs now resolve the highest stable 3.x from `npm view payload
versions` (semver.maxSatisfying "^3.0.0", which skips prereleases). Today that
is 3.92.1, the same as `latest`, so nothing changes until Payload 4 ships. PR,
push and dispatch runs keep their 3.88.0 pin. The version comes from a step
output on the smoke step rather than the job env, and the smoke step now
echoes it. Payload 4 stays with payload-newest-smoke, which runs on Node.js 24.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
On schedule,
fresh-payload-smokeinstalls Payloadlateston Node.js 22. When Payload 4 ships,latestmoves to 4.x. Payload 4 needs Node.js 24.22.1 and is still experimental here, so the nightly would go red the day Payload 4 is released, for reasons that say nothing about the fully supported Payload 3 line.Scheduled runs now resolve the highest stable 3.x and install that:
3.92.1, the same aslatest, so the nightly doesn't change until Payload 4 ships.3.88.0pin.envagainstGITHUB_ENV. The smoke step now echoesPayload: <version>.^22.23.4 || >=24.22.1, and CI already gets 22.23.4.payload-newest-smoke(ci(fix): follow the newest Payload 4 build and raise its minimum versions #647), which runs on Node.js 24. I updated its comment, which still said the nightly followslatest.npm view payload versions3.92.13.92.1,3.93.0-internal-debug.abc,4.0.0,4.0.1,3.92.23.92.2(prereleases and 4.x skipped)4.0.0-beta.6,3.90.0,3.92.13.92.14.0.0onlyEvidence from the first nightly with #647
Run 41560481702 was the first scheduled run after #647 merged. All five
payload-newest-smokescenarios resolved and installed4.0.0-beta.6. Each smoke step passed: bare, and website shards 0 to 3. This is the first time the website scenarios have run against a Payload 4 beta.fresh-payload-smokepassed on 3.92.1.Validation
GITHUB_OUTPUTversion=3.92.1)yaml: the job env no longer setsSMOKE_PAYLOAD_VERSION, and the smoke step reads the step outputpnpm format:checkpnpm lintci-change-selection,release-gate,fresh-payload-smoke(41 tests)actionlint isn't installed locally.
Node.js for the Payload 4 job
In run 41560481702, the bare job of
payload-newest-smokegot a cached Node.js 24.22.0. That's one patch below beta.6's>=24.22.1, so pnpm printed engine warnings, though the smoke still passed.setup-nodewithnode-version: 24takes whatever 24.x the runner has cached. That job now setscheck-latest: true, so it always resolves the newest 24.x. No other job's Node setup changes.Trade-off
Once Payload 4 ships, the only job that tests it is
payload-newest-smoke, and that job never fails the run. That fits while Payload 4 support is experimental. When Payload 4 becomes fully supported, move the nightly to 4.x on Node.js 24.🤖 Generated with Claude Code
Summary by CodeRabbit