Skip to content

Begin consolidating duplicated legacy module registry init code#5088

Merged
jasnell merged 1 commit intomainfrom
jasnell/start-consolidation-of-module-code
Sep 17, 2025
Merged

Begin consolidating duplicated legacy module registry init code#5088
jasnell merged 1 commit intomainfrom
jasnell/start-consolidation-of-module-code

Conversation

@jasnell
Copy link
Copy Markdown
Collaborator

@jasnell jasnell commented Sep 15, 2025

There is a fair amount of duplicated code for module initialization between workerd and the internal repo. This starts the process of consolidating by moving a handful of utility methods over to worker-modules.h. A follow-up next step will be to update the internal code to use these from the shared location.

this builds on #5070 which must land first.

@jasnell jasnell requested a review from guybedford September 15, 2025 17:26
@jasnell jasnell requested review from a team as code owners September 15, 2025 17:26
@jasnell jasnell changed the title Move capnp module from internal to workerd Begin consolidating duplicated legacy module registry init code Sep 15, 2025
@jasnell jasnell force-pushed the jasnell/start-consolidation-of-module-code branch 5 times, most recently from 8acfad6 to 82bcda3 Compare September 16, 2025 00:14
@jasnell jasnell force-pushed the jasnell/move-capnp-module-to-workerd branch from f6ac855 to f558392 Compare September 16, 2025 19:55
Base automatically changed from jasnell/move-capnp-module-to-workerd to main September 16, 2025 20:42
Preparing to share more implementation code between workerd and
the internal repo

Signed-off-by: James M Snell <jsnell@cloudflare.com>
@jasnell jasnell force-pushed the jasnell/start-consolidation-of-module-code branch from 82bcda3 to 0186e1f Compare September 16, 2025 21:06
@jasnell jasnell merged commit 7db8fc7 into main Sep 17, 2025
32 of 34 checks passed
@jasnell jasnell deleted the jasnell/start-consolidation-of-module-code branch September 17, 2025 00:10
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.

2 participants