Skip to content

Conversation

@cristipufu
Copy link
Member

@cristipufu cristipufu commented Feb 12, 2026

Summary

  • Fix stale run status when switching between runs by fetching from REST API
  • Restyle debug controls to minimalistic ghost-button design aligned with chat header height
  • Move breakpoint dots inside node rounded corners
  • Make breakpoints per-run instead of shared per-entrypoint
  • Persist breakpoints via backend and restore on page refresh
  • Use UiPath orange for paused-at-breakpoint node highlight (less flashy)
  • Bump version to 0.0.35

Test plan

  • Start multiple debug runs of the same entrypoint, verify each has independent breakpoints
  • Set breakpoints, refresh the page, verify breakpoints are restored on the graph
  • Verify debug controls (Step/Continue/Stop) are visually aligned with chat header
  • Verify breakpoint red dots sit inside node rounded corners
  • Verify paused-at-breakpoint nodes use orange border with subtle glow

🤖 Generated with Claude Code

cristipufu and others added 9 commits February 12, 2026 16:04
When switching runs, run.updated WebSocket events for the previously
viewed run are missed (unsubscribed). The getRun API returns full
RunDetail (extends RunSummary with status, duration, etc.) but only
traces/logs/messages were extracted. Now upsertRun is called with the
API response so the run status is always fresh after switching.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add h-5 to tab buttons so their height matches the sidebar's theme
toggle button, eliminating the 1px border misalignment between headers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Breakpoints were synced via a React useEffect (async, fires after render)
gated on run status, causing a race condition where Continue/Step commands
could arrive at the server before the breakpoint update. Now breakpoints
are sent synchronously on node click and before any debug command.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Restyle debug controls to match app's ghost-button design with aligned
height to chat header. Move breakpoint dots inside node rounded corners.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Each agent run now owns its own breakpoint list so multiple runs
of the same entrypoint no longer share breakpoint state.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Serialize run.breakpoints from backend, hydrate store on setRuns/upsertRun,
and inject into graph nodes after ELK layout completes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace glowy warning highlight with subtle accent border/shadow on
paused nodes. Bump version to 0.0.35.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Only set breakpoints in state when there are actually new breakpoints
to hydrate. Use UiPath orange for paused node highlight.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Covers the race where a fast-completing run broadcasts its completed
status before the WS subscription is processed by the server. A 2s
delayed re-fetch catches the missed status update.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cristipufu cristipufu merged commit 5c38ed6 into main Feb 12, 2026
11 checks passed
@cristipufu cristipufu deleted the fix/stale-run-status-on-switch branch February 12, 2026 16:47
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