forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug
A tool line shows gray diamond ◇ (running) but never transitions to green ✓ (done):
◇ bash ls -la /Users/janni/git/ratcher/*.md 2>/dev/null | head -20
All surrounding tools show ✓ (completed). This specific bash call appears stuck in running state.
Probable Cause
The dedup logic may be interfering with callID matching. When a deduped tool_start reuses lastToolId, the actual callID from the backend differs. When tool_end arrives with the real callID, it can't find the tool in the Live Block's map because it was stored under a different (deduped) ID.
Scenario:
tool_start: bash (callID: abc) → key matches lastToolKey → reuses lastToolId (deduped)tool_start: bash (callID: def) → different args → new entry with id=deftool_end: bash (callID: def) → finds id=def → ✓ updatedtool_end: bash (callID: abc) → looks for abc but it was stored under lastToolId → NOT FOUND → stuck as ◇
Screenshot
QA round 2 of commit ab9fad5 on feature/oclite-ui-components.
Related
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working