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 Patch to stream runs #4697

Closed
wants to merge 1 commit into from
Closed

Add Patch to stream runs #4697

wants to merge 1 commit into from

Conversation

vowelparrot
Copy link
Contributor

@vowelparrot vowelparrot commented May 15, 2023

Enable Create -> Patch flow for real-time tracing

@@ -45,19 +50,23 @@ def _start_trace(self, run: Run) -> None:
f"Parent run with UUID {run.parent_run_id} not found."
)
self.run_map[str(run.id)] = run
self._persist_partial_run(run)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's discuss this a bit more tomorrow. I wonder if logging to the backend on every start this way might add extra unwanted latency. I would hold off on this until we have a better solution, might be use to use a combination of asyncio.create_task and asyncio.Queue for this cc @nfcampos

@agola11 agola11 self-requested a review May 15, 2023 05:33
Copy link
Collaborator

@agola11 agola11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Originally meant to comment, not approve

@vowelparrot vowelparrot marked this pull request as draft May 16, 2023 00:30
@vowelparrot
Copy link
Contributor Author

Will Close in lieu of #5377

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