Skip to content

Create fresh extensions for Python instances#55

Merged
zklapow merged 3 commits into
mainfrom
add-instance-extension-factories
Jun 17, 2026
Merged

Create fresh extensions for Python instances#55
zklapow merged 3 commits into
mainfrom
add-instance-extension-factories

Conversation

@zklapow

@zklapow zklapow commented Jun 17, 2026

Copy link
Copy Markdown
Member

Summary

  • allow extension suppliers to create fresh handlers for each Python instance
  • validate each instance import schema against the shared runtime image schema
  • test concurrent instances with distinct handlers

Why

Extensions can carry instance-specific registries and handlers, but rebuilding a factory and runtime image for every instance is expensive. Suppliers keep one shared factory/image/executor while isolating extension state per instance.

Testing

  • build_java(modules=["core", "tests"])

@zklapow zklapow force-pushed the add-instance-extension-factories branch from 4887eaf to f4c81a4 Compare June 17, 2026 11:09
@zklapow zklapow marked this pull request as ready for review June 17, 2026 11:26
@zklapow zklapow merged commit 73dff0d into main Jun 17, 2026
4 checks passed
@zklapow zklapow deleted the add-instance-extension-factories branch June 17, 2026 11:53
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