Skip to content

fix(nsh): preserve error boundary handling after reset - #6869

Merged
M4n5ter merged 1 commit into
rust-previewfrom
codex/nsh-boundary-reset
Nov 13, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
codex/nsh-boundary-reset

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 13, 2026

Copy link
Copy Markdown
Member

Summary

Restore error reporting after a component error boundary is reset. If a child fails again, the nearest active boundary shows its fallback. Backports the fix from longbridge/nsh#1955, following #6865.

Verification

  • cargo test --locked --manifest-path third-party/nsh/Cargo.toml -p nsh-core --lib: 1491 passed, 12 ignored. The existing error boundary test covers a second failure after reset.
  • git diff --check passed. Desktop UI and product type checks were not run.

AI use

  • No generative tool made a substantive contribution
  • Generative tooling made a substantive contribution

OpenAI Codex implemented and verified the backport.

Checklist

  • Tests cover the change and fail without it
  • Format, typecheck and the affected suites pass locally

Does this PR entail a change in behavior?

  • Yes — described under Summary above
  • No

Backport the boundary fix from longbridge/nsh#1955.

Generated-by: OpenAI Codex
@M4n5ter
M4n5ter merged commit fefed7e into rust-preview Nov 13, 2026
1 check passed
@M4n5ter
M4n5ter deleted the codex/nsh-boundary-reset branch November 13, 2026 10:33
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