experiments: sibling polyengine modules from JSR - #86
Merged
Conversation
The last .deps references go: the experiments' webrtc and websocket host-module imports move to the published @PolyMorph JSR packages, exact-pinned at 0.3.0 per the experiments' pin convention. The manual npm mappings (node-datachannel, werift) leave the shared config — the webrtc module's npm dependencies arrive through @polymorph/webrtc-datachannels' own manifest at the same versions, and browser builds externalize them as before. @PolyMorph joins @PolyEngine in the minimumDependencyAge exclude so same-day publishes resolve. Gates: deno checks clean across all three experiments' graphs; ping-demo build.sh bundles with the externals; exam-polyengine 7/7 with one resolved @PolyEngine 0.3.0 across both locks; the iroh-relay-ws spike passes end to end (relay echo, migration, data-channel echo). rg '\.deps' is zero repo-wide. Fixes #83
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.
Completes the
.depsretirement (#84): the experiments' three sibling-module imports — the last.depsreferences in the tree — move to the published JSR packages, now that the 0.3.0@polymorphline is out.bridge.ts→@polymorph/websocket@0.3.0;webrtc-bridge.tsand ping-demo'soverlay.ts→@polymorph/webrtc-datachannels@0.3.0. Both packages' root exports are exactly the modules the deep imports named.@polyengineconvention (host-polyengine keeps carets as a published package).node-datachannel,werift) leave the import map: nothing first-party imports those bare specifiers anymore, and@polymorph/webrtc-datachannels' own manifest carries them at the same versions (0.32.3 / 0.22.2 — no graph motion).deno bundle --externalmatches the raw specifiers without map entries, verified by the ping-demo build.jsr:@polymorph/*joins theminimumDependencyAgeexclude so same-day publishes resolve, mirroring host-polyengine.@polyengine/runtime@0.3.0across the graph (the module-identity constraint the config's contract comment states), npm deps now transitive via the JSR packages.Gates (all green locally):
deno task checkin the spike host plus explicit checks of the ping-demo and iroh-blobs entries against the shared config;./experiments/ping-demo/build.sh(translate + browser bundle with externals);just exam-polyengine(identity gate, one resolved 0.3.0 across both locks, 7/7 scenarios);just iroh-relay-wsend to end (relay echo → WebRTC migration → data-channel echo, clean teardown);rg '\.deps'zero hits repo-wide.Fixes #83