Skip to content

Deployment enhancement[draft] - #1203

Open
fxliang wants to merge 3 commits into
rime:masterfrom
fxliang:deploy
Open

Deployment enhancement[draft]#1203
fxliang wants to merge 3 commits into
rime:masterfrom
fxliang:deploy

Conversation

@fxliang

@fxliang fxliang commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Pull request

Issue tracker

Fixes will automatically close the related issue

Fixes #

Feature

Describe feature of pull request

Unit test

  • Done

Manual test

  • Done

Code Review

  1. Unit and manual test pass
  2. GitHub Action CI pass
  3. At least one contributor reviews and votes
  4. Can be merged clean without conflicts
  5. PR will be merged by rebase upstream base

Additional Info

WorkspaceUpdate now collects schema compile units serially (phase 1),
then compiles independent dictionaries concurrently (phase 2). Units whose
output files overlap (shared dictionaries, packs, prisms) fall back to
serial compilation. Batching is constrained by a memory budget (1/4 of
physical memory, estimated per dictionary from source size) and a
concurrency cap (min(hardware_concurrency, 8)); oversized dictionaries are
compiled alone. Compilation exceptions are caught and counted as failures.

ENABLE_THREADING=OFF keeps the original serial path via RIME_NO_THREADING.
@fxliang
fxliang requested a review from lotem August 1, 2026 10:02
@fxliang fxliang changed the title Deployment enhancement Deployment enhancement[draft] Aug 2, 2026
fxliang added 2 commits August 2, 2026 21:01
Move schema/dependencies processing out of process_schema and into the
top-level loop, so a schema's own dictionary is compiled before its
direct dependencies, matching upstream serial build order. Only one
level of dependencies is processed; nested dependencies are not compiled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant