Apply new strategy#617
Merged
Merged
Conversation
…workflow_dispatch
…font-face rm_global_css used the canonical bucket key, so extracting a collapsed member (e.g. Footer.tsx -> layout.tsx) deleted the bucket-root's globalCss (@font-face, global selectors). Order-dependent: CI hit the bad order and the landing buttons rendered in a fallback font (246 -> 234). - bindings: rm_global_css uses the RAW filename (globalCss is per-source-file). - sheet: rm_global_css derives the property bucket via canonical(file) so a collapsed file that DOES declare globalCss still clears its own atoms. - sheet: dedup identical @font-face across file keys (server+client extraction).
Contributor
Changepacks@devup-ui/wasm@1.0.74 → 1.0.75 - bindings/devup-ui-wasm/package.jsonPatch
@devup-ui/bun-plugin@1.0.9 → 1.0.10 - packages/bun-plugin/package.jsonPatch
@devup-ui/components@0.1.46 → 0.1.47 - packages/components/package.jsonPatch
@devup-ui/eslint-plugin@1.0.15 → 1.0.16 - packages/eslint-plugin/package.jsonPatch
@devup-ui/next-plugin@1.0.77 → 1.0.78 - packages/next-plugin/package.jsonPatch
@devup-ui/plugin-utils@1.0.7 → 1.0.8 - packages/plugin-utils/package.jsonPatch
@devup-ui/rsbuild-plugin@1.0.55 → 1.0.56 - packages/rsbuild-plugin/package.jsonPatch
@devup-ui/vite-plugin@1.0.60 → 1.0.61 - packages/vite-plugin/package.jsonPatch
@devup-ui/webpack-plugin@1.0.60 → 1.0.61 - packages/webpack-plugin/package.jsonPatch
|
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
…d CSS Turbopack single-importer collapse merges multiple source files into one shared CSS chunk. The coordinator used a 2500ms idle heuristic to decide a chunk was complete and served getCss() during extraction gaps on slow CI, dropping atoms from members extracted in a later wave (intermittent ~82px landing layout shift; main without collapse was unaffected and passed 108/108). Replace the global idle guess for fileNum-tagged /css requests with a deterministic per-bucket wait: given the canonicalMap, precompute bucketToMembers and block /css?fileNum=N until every member of its bucket has been POSTed to /extract (60s defensive fail-open). Base css and unknown buckets keep waitForIdle. - coordinator.ts: canonicalMap + idleThresholdMs options, bucketToMembers, extractedFiles tracking, fileNumToBucket, waitForBucket poller. - plugin.ts: forward the existing canonicalMap into startCoordinator. - tests: idleThresholdMs, per-bucket race, singleton bucket, plugin wiring.
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.
No description provided.