Repository navigation
chore(config): bump compatibility date to 2026-06-17 - #274
Merged
Merged
Conversation
Picks up unhandled_rejection_after_microtask_checkpoint (cloudflare/workerd#6049), so workerd no longer fires unhandledrejection for a promise that is handled later in the same microtask checkpoint.
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.
Bumps the Worker's
compatibility_datefrom2026-01-12to2026-06-17, the newest date the pinned workerd (1.20260617.1) supports, and regeneratesworker-configuration.d.ts.The flag we need is
unhandled_rejection_after_microtask_checkpoint(cloudflare/workerd#6049, default from2026-03-03):unhandledrejectionfor a promise that gets its handler later in the same microtask checkpoint, then takes it back withrejectionhandledawaithits thisrejectionHandledstill fail the Vitest run vitest-dev/vitest#10960)Other flags this date turns on:
strip_bom_in_read_all_textrpc_params_dup_stubsrequire_returns_default_exportfetch_iterable_type_supporttext_decoder_replace_surrogatestext_decoder_cjk_decoderenhanced_error_serializationwritable_stream_spec_compliant_writerencoder_stream_spec_compliant_backpressurediagnostics_channel_has_subscribers_getterThe rest are WebSocket, Durable Object alarm, Queues, Workflows, Containers and Python flags, which this Worker doesn't use. The Worker Loader isolates in
search.tsandexecute.tsstay on2026-01-12.npm run checkran. I deployed a minimal repro: on2026-01-12it fires the earlyunhandledrejection, and on2026-03-03it fires nothing.