Skip to content

feat: 馃幐 improve FS(A) error handling - #1297

Merged
streamich merged 2 commits into
masterfrom
fix-improve-fsa-error-handling
Sep 22, 2026
Merged

streamich merged 2 commits into
masterfrom
fix-improve-fsa-error-handling

Conversation

@streamich

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings September 22, 2026 11:51

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.

Copilot review overview

馃煛 Changes recommended

Stream cleanup, close-callback propagation, and autoClose: false behavior need correction.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 2 Medium severity

Open (2)
What changed in this PR

Improves error propagation and cleanup handling for FSA-backed read/write streams.

Changes:

  • Updates asynchronous open and close error handling.
  • Adjusts automatic descriptor cleanup.
  • Adds regression tests for stream failures and cleanup.
File Summary
packages/鈥媐s-fsa-to-node/鈥媠rc/鈥婩saNodeWriteStream.ts Updates deferred-open and close error handling.
packages/鈥媐s-fsa-to-node/鈥媠rc/鈥婩saNodeReadStream.ts Propagates deferred-open failures.
packages/鈥媐s-fsa-to-node/鈥媠rc/鈥婩saNodeFs.ts Updates automatic descriptor cleanup.
packages/鈥媐s-fsa-to-node/鈥媠rc/鈥媉_tests__/鈥婩saNodeFs.test.ts Adds regression coverage for stream failures.

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

Comment thread packages/fs-fsa-to-node/src/FsaNodeFs.ts Outdated
Comment thread packages/fs-fsa-to-node/src/FsaNodeWriteStream.ts Outdated
@streamich
streamich merged commit bfebfdd into master Sep 22, 2026
12 checks passed
@streamich
streamich deleted the fix-improve-fsa-error-handling branch September 22, 2026 13:19
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.

2 participants