Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to pass context into the flow run engine #16816

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

desertaxle
Copy link
Member

This PR adds a context attribute to the BaseFlowRunEngine so that context can be transported between different engine instances to may not be running in the same process or on the same machine. The engine is updated to use hydrated_context to create a full context from the provided object. This matches the same pattern used in the task run engine.

Copy link

codspeed-hq bot commented Jan 22, 2025

CodSpeed Performance Report

Merging #16816 will not alter performance

Comparing pass-context-into-flow-engine (8db10ba) with main (8b7cd10)

Summary

✅ 2 untouched benchmarks

@desertaxle desertaxle marked this pull request as ready for review January 22, 2025 19:43
@desertaxle desertaxle merged commit ff0f3db into main Jan 23, 2025
49 checks passed
@desertaxle desertaxle deleted the pass-context-into-flow-engine branch January 23, 2025 20: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.

None yet

2 participants