Repository navigation
feat: register imported pipeline wrappers when creating an app - #292
Open
666666999999666 wants to merge 1 commit into
Open
666666999999666 wants to merge 1 commit into
666666999999666 wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
Closes #145.
An application that already ships its Haystack agents and pipelines in a Python package can give them service names when it creates the app:
The factory instantiates each wrapper in its original package and uses the existing setup, schema and routing paths. This also works with durable execution. Declarations belong to their app and cannot be overwritten or undeployed through the HTTP API. Other names can still be deployed from files when runtime deployment is enabled. Omitting
pipelinespreserves the existing registry behavior.For apps that pass a mapping, file deployments get a private import package per generation. Two apps can use the same name, and replacing a file deployment lets a response already in progress finish with its original code, including imports made by a streaming generator.
Verification
Codex implemented and tested this change. Separate Codex sessions reviewed the proposal and patch.