Skip to content

pin the output consumer teardown fix - #103

Merged
sirfergy merged 2 commits into
mainfrom
sirfergy/fix-terminal-close
Sep 2, 2026
Merged

pin the output consumer teardown fix#103
sirfergy merged 2 commits into
mainfrom
sirfergy/fix-terminal-close

Conversation

@sirfergy

@sirfergy sirfergy commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Closing a busy terminal after sustained output could overflow SwiftTerm's reader-thread stack. Pin the merged correction that stops output-consumer callbacks accumulating invocation wrappers without changing the delivery API or FIFO policy.

Coordination

Pins canonical fork-main merge 18de4c63fb5637d1a3d2ada17951f872682b329d from the merged SwiftTerm correction. Its source tree is identical to the fully reviewed and tested head; the upstream API proposal carries the same callback correction.

Validation

Normal remote checkout: debug and optimized release target builds and 187 combined terminal, remote-contract, and notification tests passed. The fork's actual-adapter and small-stack teardown regressions cover sustained output and terminal close.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Adopt the reviewed SwiftTerm callback-box fix for mature-output terminal teardown without changing the Mac integration or other dependencies.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The dependency revisions are consistent, the fix is targeted, and project validation passes.

Pull request overview

Pins SwiftTerm’s output-consumer teardown fix to prevent stack growth when closing busy terminals.

Changes:

  • Updates the SwiftTerm dependency revision.
  • Synchronizes the resolved dependency lockfile.
File summaries
File Description
Package.swift Pins the corrected SwiftTerm commit.
Package.resolved Records the same resolved revision.
Review details
  • Files reviewed: 1/2 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Preserve current main while adopting the canonical merged output-consumer correction.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The dependency references are consistent and target the verified merged correction.

Review details
  • Files reviewed: 1/2 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@sirfergy
sirfergy marked this pull request as ready for review September 2, 2026 02:27
@sirfergy
sirfergy merged commit 486bb0c into main Sep 2, 2026
2 checks passed
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.

3 participants