Skip to content

release: v3.11.1 — dream progress spinner fix - #74

Closed
jagoff wants to merge 2 commits into
masterfrom
release/v3.11.1
Closed

release: v3.11.1 — dream progress spinner fix#74
jagoff wants to merge 2 commits into
masterfrom
release/v3.11.1

Conversation

@jagoff

@jagoff jagoff commented Jul 22, 2026

Copy link
Copy Markdown
Owner

What

Patch release v3.11.1. Restores the memo dream run progress spinner/bar in real terminals.

Why

The shared Rich Console was built with force_terminal=False. Rich 15 short-circuits is_terminal to the forced value before the isatty() check, so memo emitted zero ANSI and the dream pipeline's spinner/progress bar never rendered — the run looked frozen after the pre-dream inventory panel with no feedback.

Fix (commit 6287ce5)

  • cli_common.py: Console() auto-detects the terminal (TTY → colour + spinner; pipes/tests/launchd → plain, unchanged).
  • dream_utils._make_progress: gate disable on console.is_terminal (the stream it renders to) instead of sys.stderr.isatty(). MEMO_NONINTERACTIVE override preserved.
  • tests/test_dream_progress_tty.py: 4 regression tests locking the TTY gating.

Verified end-to-end under a pty: ANSI + spinner + bar emit; non-TTY stays plain.

Release commit 3ad783e

Version bump 3.11.0 → 3.11.1 across all manifests + docs + CHANGELOG via memo release bump patch. Tag v3.11.1 already pushed.

Test plan

  • ruff + mypy clean on changed files
  • targeted dream/console suites green (64 + 4)
  • CI 10/10 checks

jagoff added 2 commits July 22, 2026 10:25
Console(force_terminal=False) short-circuits Rich 15's is_terminal to
False before isatty(), so memo emitted no ANSI and the dream pipeline's
spinner/progress bar never rendered — the run looked frozen after the
pre-dream inventory panel with zero feedback. Let the shared console
auto-detect (Console()), and gate _make_progress on console.is_terminal
(the stream it renders to) instead of sys.stderr.isatty().
@jagoff

jagoff commented Jul 22, 2026

Copy link
Copy Markdown
Owner Author

Superseded by the v3.11.2 release PR, which bundles this release's commit plus the follow-up status-line fix onto master.

@jagoff jagoff closed this Jul 22, 2026
@jagoff
jagoff deleted the release/v3.11.1 branch July 22, 2026 13:42
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