Repository navigation
fix: bump synckit to 0.12 to recover after worker timeouts - #418
Merged
schoero merged 2 commits intoOct 13, 2026
Merged
Conversation
synckit 0.11 shares one wake-up counter across workers. After two Atomics.wait timeouts (common with slow enforce-canonical-classes calls), later replies can leave the counter wrong so every following call waits until SYNCKIT_TIMEOUT and fails permanently. synckit 0.12.0+ gives each worker its own notification slot and surfaces worker failures instead of hanging. Bump to ^0.12.3 and add a focused regression that times out twice, then asserts short calls return promptly. Fixes #386 Fixes #415
Owner
|
Thank you 🙌 |
schoero
force-pushed
the
fix/synckit-0.12-timeout-recovery
branch
from
October 13, 2026 18:02
a38c78d to
95910c6
Compare
📊 Performance benchmarkComparison of benchmark means between
|
brandhaug
added a commit
to brandhaug/b2b-saas-starter
that referenced
this pull request
Oct 17, 2026
## pnpm-workspace.yaml (default) ## Dependency Updates | Package | From | To | Type | | --- | --- | --- | --- | | `@cloudflare/vitest-plugin` | 1.4.1 | 1.4.2 | patch | | `@inlang/plugin-message-format` | 4.5.2 | 4.5.3 | patch | | `ai` | 7.0.138 | 7.0.140 | patch | | `eslint-plugin-better-tailwindcss` | 4.9.0 | 4.9.1 | patch | | `ultracite` | 8.0.0 | 8.0.1 | patch | ## Release Notes <details> <summary><b>@<!---->cloudflare/vitest-plugin</b> (1.4.1 → 1.4.2)</summary> ### Patch Changes - Updated dependencies [[`f360829`](cloudflare/workers-sdk@f360829), [`d6b1c82`](cloudflare/workers-sdk@d6b1c82), [`97b2fb1`](cloudflare/workers-sdk@97b2fb1), [`97b2fb1`](cloudflare/workers-sdk@97b2fb1), [`acd2822`](cloudflare/workers-sdk@acd2822)]: - miniflare@5.20261012.0-beta - wrangler@4.151.0 </details> <details> <summary><b>eslint-plugin-better-tailwindcss</b> (4.9.0 → 4.9.1)</summary> [compare changes](schoero/eslint-plugin-better-tailwindcss@v4.9.0...v4.9.1) ### Fixes - **no-concatenated-classes:** False positives on nullish coalescing and logical or fallbacks ([#414](schoero/eslint-plugin-better-tailwindcss#414)) - Emit portable declaration imports ([#410](schoero/eslint-plugin-better-tailwindcss#410)) - Support type assertions and satisfies ([#421](schoero/eslint-plugin-better-tailwindcss#421)) - Bump synckit to 0.12 to recover after worker timeouts ([#418](schoero/eslint-plugin-better-tailwindcss#418)) ### ❤️ Contributors - Sahinur (@<!---->SahinurDEV) - Tinywaves (@<!---->tinywaves) </details> <details> <summary><b>ultracite</b> (8.0.0 → 8.0.1)</summary> ### Patch Changes - 40d646a: `ultracite fix --claude` and `--codex` hand agents better information and report results more accurately: - Rule names reach the agent as they're written in the config, such as `no-unused-vars` and `typescript/no-explicit-any`, instead of Oxlint's `eslint(no-unused-vars)`. - ESLint diagnostics now carry the rule's description and documentation URL, read with the `json-with-metadata` formatter. Biome diagnostics carry the rule's documentation URL and its description from `biome explain`, since Biome's JSON reporter includes no help text. - The prompt tells the agent that the run is non-interactive, so it explains a decision it can't make in its final message instead of asking a question and waiting for an answer that can't come. - Files are handed over in path order, so the same project gets its fix in the same file on every run. Before each file after the first, Ultracite lints it again: an earlier file's fix can clear its issues (breaking an import cycle fixes both files), and the agent was being handed diagnostics that no longer applied. A file with nothing left is skipped. - A file the agent deleted, or one that no longer parses, now counts as unfixed. Before, its issues could disappear from the report and show as fixed. - 2543859: Update the vendored `anti-slop` Oxlint plugin to upstream commit `13909c9` and enable its three new rules in the `ultracite/oxlint/anti-slop` preset. `require-readable-spacing` restores blank lines around structural boundaries — top-level declarations, multiline bindings, control flow, returns, and blocks — a pattern AI-generated code tends to pack together, while consecutive single-line bindings stay grouped at any scope ([dmmulroy/anti-slop#45](dmmulroy/anti-slop#45)). Its autofix only inserts whitespace and never removes existing blank lines, so `ultracite fix` restores the spacing without fighting the formatter. `no-array-filter-map` rejects adjacent eager `filter`/ …[full notes](https://github.com/haydenbleasel/ultracite/releases/tag/ultracite%408.0.1) </details> --- *This PR was auto-generated by [catalog-update-action](https://github.com/brandhaug/catalog-update-action).* Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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
Fixes #386 and #415.
enforce-canonical-classes(and other Tailwind worker rules) talk to the design system through synckit. On synckit 0.11, a shared wake-up counter means that after twoAtomics.wait()timeouts, late worker replies can leave that counter wrong. From then on every later call waits the fullSYNCKIT_TIMEOUTand fails withAtomics.wait() failed: timed-out, even when the worker is idle.That matches the permanent CI / editor hangs in #386. Slow canonical-class work (especially with
collapse: true) is enough to produce the first timeouts; after that the process does not recover.synckit 0.12.0 fixed this by giving each worker its own notification slot (and by reporting worker failures instead of hanging). This PR bumps the dependency to
^0.12.3and adds a small regression that times out twice, waits for late replies, then checks that short calls return in milliseconds again.Test plan
npm run typecheckNODE_OPTIONS='' npm run test -- --run tests/unit/synckit-timeout-recovery.test.tsNODE_OPTIONS='' npm run test -- --run src/rules/enforce-canonical-classes.test.tsNODE_OPTIONS='' npm run test -- --run src/rules/no-unknown-classes.test.ts