Skip to content

fix: preserve macOS short-command output and release v0.18.2 - #337

Merged
guan4tou2 merged 1 commit into
mainfrom
fix/macos-pty-drain
Oct 16, 2026
Merged

guan4tou2 merged 1 commit into
mainfrom
fix/macos-pty-drain

Conversation

@guan4tou2

Copy link
Copy Markdown
Owner

macOS can flush unread master data when the final PTY slave closes. A fast Zsh command could write and close both streams before the relay observed handover; closing the recorder’s copies then silently lost stdout/stderr. This blocked v0.18.1 Release run 38777593503; no installers were published, and that annotated tag is retained.

Keep the recorder’s slave copies through command completion, drain queued bytes, then close them and continue to real EOF. Retired intervals still avoid recreating evidence, suspended/background writers keep their forwarding path, and EOF/EIO guards remain. Add a deterministic native-PTY regression (RED: empty stdout; GREEN: exact stdout/stderr and byte counts), and include macOS unit/build in PR CI so this platform behavior is checked before tagging.

Prepare v0.18.2 package metadata, download links and release notes with the same installed-only NSIS/DEB/DMG policy from #336. No tag is rewritten.

Validation: all five ordered local gates and production build PASS; 3,612 tests PASS / 24 explicit SKIP. Focused native regression/capture/degradation/transparency: 52 PASS. Final 100-command run retained every expected body/status (48,698ms total, mean 483ms including the driver settle). These local results do not stand in for the pending exact-head macOS/Windows/Linux CI and installer checks. Original release failure logs are preserved. Native WSL, full manual Kali/first-install stopwatch, and Mac quarantine/Dock/Developer ID/notarization remain explicit limitations; no spec is promoted to Verified.

The user has explicitly authorized merge and release; merge only after required checks for this head pass, then publish a new v0.18.2 tag and verify actual downloaded assets.

@coderabbitai

coderabbitai Bot commented Oct 15, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 68b0ce67-1466-4e2b-80f1-0e1dbdb22d77
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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