Stream workspace startup logs in TaskDetailView#797
Merged
Conversation
f8948b6 to
77e2ed9
Compare
7ca195b to
1b3f642
Compare
1a28298 to
e20a7bd
Compare
e20a7bd to
aeccdf8
Compare
When a task's workspace is building or its agent is initializing, stream build/agent logs via WebSocket and display them in the detail view instead of "Logs not available." - Add LazyStream class and generalize stream functions to accept onOutput callbacks; refactor WorkspaceStateMachine to use it - Add streamWorkspaceLogs to TasksPanel with ANSI stripping and phase-aware stream selection (build vs agent logs) - Extract LogViewer/LogViewerPlaceholder shared components from AgentChatHistory; add WorkspaceLogs with dynamic headers - Add useWorkspaceLogs hook for log accumulation and socket cleanup - Add isBuildingWorkspace, isAgentStarting, isWorkspaceStarting helpers - Add workspace test factory with full type coverage
aeccdf8 to
f93eb37
Compare
601747d to
48d8f1b
Compare
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.
When a task's workspace is building or its agent is initializing, stream build/agent logs via WebSocket and display them in the detail view instead of "Logs not available."
Closes #793