Repository navigation
Fix published workers and Vite SDK integration - #46
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #46 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 48 49 +1
Lines 3712 3724 +12
Branches 723 724 +1
=========================================
+ Hits 3712 3724 +12
🚀 New features to boost your workflow:
|
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.
JSR's npm distribution of Convee 2.4.0 cannot start ordinary Node workers: the bootstrap points to
entry.ts, while its host modules are outside the exported runtime graph. Installed SDK pipelines can also fail in Vite development because dependency prebundling embeds a second Convee context registry.This 2.4.1 patch exports the dedicated
/workers/entrybootstrap, resolves sibling modules using their actual TypeScript/JavaScript extension, and keeps one Convee runtime when Vite prebundles consuming SDKs. The Vite integration recognizes JSR's npm package spelling directly. Existing worker definition and execution APIs are unchanged.The compiled consumer now preserves production resource URL literals. A new browser regression forces a consuming SDK to be prebundled; it fails against the previous plugin and passes with this fix. Installed Colibri channel workers also pass across Chromium, Firefox and WebKit in development and production, without application-side dependency exclusions or rewritten import aliases.
Validation: 1,020 test steps pass; authored production lines, branches and functions are exactly 100% covered. Types, lint, TSDoc and README examples pass. Compiled Node 24.1.0 and Bun 1.4.3 consumers pass. CI additionally verifies the supported runtime matrix, Rust ABI fixtures and mutation checks.
This release is required by Colibri #168. The local installed-package proof uses a temporary candidate distribution; actual JSR-generated npm execution must be rechecked after publication. Published 2.4.0 remains a failing negative control.