Update workerd to 1.20260809.1 and align runtime contracts - #12
Open
cnluzhang wants to merge 2 commits into
Open
Update workerd to 1.20260809.1 and align runtime contracts#12cnluzhang wants to merge 2 commits into
cnluzhang wants to merge 2 commits into
Conversation
Adopt the 2026-08-09 runtime and compatibility surface, including Node defaults, module clocks, execution context APIs, and SQLite R*Tree. Keep Workflow identity out of Node-compatible process.env and reserve generated wrapper budgets across immutable version bumps. Preserve bounded workerd Error metadata in structured logs and live tail, harden runtime restart and ownership tests, and align compatibility and rollout documentation. Signed-off-by: Lu Zhang <lu@wdl.dev>
Pin CI and operator guidance to the published @wdl-dev/cli@1.7.1 release. Add an end-to-end deploy check that carries [wdl] session_policy = "restart" through promotion and verifies the authoritative projection. Signed-off-by: Lu Zhang <lu@wdl.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1.20260809.1, raise the maximum tenant compatibility date to2026-08-16, and align WDL with the new runtime behavior for module clocks, execution-context APIs, Node compatibility defaults, and SQLite R*Tree support.process.envby materializing it in generated host wrappers, with code-budget estimates reserving the longest legal immutable version tag.Errormetadata in structured logs and live tail without adding serialization work when no tail subscriber is active.@cloudflare/workers-typesat5.20260804.1because the 0808 declarations weaken Node global types in the combined checker, and add an executable type regression gate.Compatibility And Rollout
At compatibility date
2026-08-04or later, bothnodejs_compatandnodejs_compat_v2are enabled by default. Workers that require the previous surface must disable both flags.For this upgrade:
user-runtimeanddo-runtimerollout.system-runtime/Control rolls.Validation
npm test: 2298 passednpm run lint:unusedgit diff --cached --check