Skip to content

[codex] Fix live turn spinner animation#11

Merged
Anmolnoor merged 3 commits into
mainfrom
codex/fix-loading-spinner
Jun 1, 2026
Merged

[codex] Fix live turn spinner animation#11
Anmolnoor merged 3 commits into
mainfrom
codex/fix-loading-spinner

Conversation

@Anmolnoor
Copy link
Copy Markdown
Owner

Summary

Fixes the live turn collapsed-status spinner so refreshes reuse the same spinner instance instead of reconstructing it every render.

Why

The live status renderer should preserve spinner animation state across collapsed refreshes. Recreating the spinner on each render can make the animation appear stuck or reset repeatedly while the agent is working.

Impact

  • Keeps live turn status rendering smoother during ongoing agent work.
  • Adds regression coverage for spinner reuse.
  • Leaves the accidental later simplification canceled by a revert, so the net PR diff is focused on the spinner behavior.

Validation

  • ./scripts/uv run pytest tests/test_live_turn.py -v — 18 passed

@Anmolnoor Anmolnoor marked this pull request as ready for review June 1, 2026 12:54
@Anmolnoor Anmolnoor merged commit 51645f5 into main Jun 1, 2026
2 checks passed
@Anmolnoor Anmolnoor deleted the codex/fix-loading-spinner branch June 1, 2026 12:55
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