Skip to content

Add custom extension syncing to worker threads#488

Merged
amadeus merged 2 commits intomainfrom
amadeus/custom-language-bug
Apr 7, 2026
Merged

Add custom extension syncing to worker threads#488
amadeus merged 2 commits intomainfrom
amadeus/custom-language-bug

Conversation

@amadeus
Copy link
Copy Markdown
Member

@amadeus amadeus commented Apr 7, 2026

Built a system for worker threads to track custom extension mappings to ensure things like new languages will get properly matched inside of a worker context.

TL;DR: I built a versioning system for custom extensions that will then be used to sync to worker threads as they are used on demand. Which should only send through the payload if the worker is out of sync of the current version.

Fixes #474

Built a system for worker threads to track custom extension mappings to
ensure things like new languages will get properly matched inside of a
worker context.

TL;DR: I built a versioning system for custom extensions that will then
be used to sync to worker threads as they are used on demand. Which
should only send through the payload if the worker is out of sync of the
current version.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pierrejs-diff-demo Ready Ready Preview Apr 7, 2026 8:43pm
pierrejs-docs Ready Ready Preview Apr 7, 2026 8:43pm

Request Review

but it's important, bcuz. i doubt anyone was fuxing with it
@amadeus amadeus merged commit 98200e4 into main Apr 7, 2026
10 checks passed
@amadeus amadeus deleted the amadeus/custom-language-bug branch April 7, 2026 20:46
@amadeus
Copy link
Copy Markdown
Member Author

amadeus commented Apr 7, 2026

@codex sup girl

@chatgpt-codex-connector
Copy link
Copy Markdown

To use Codex here, create an environment for this repo.

@amadeus
Copy link
Copy Markdown
Member Author

amadeus commented Apr 7, 2026

@codex

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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.

Bug: custom shiki grammars don't work with workers

1 participant