Repository navigation
fix: 4.1.0 release-candidate review findings - #129
Merged
Merged
Conversation
Clear the graceful-close timer on primary transitions, restore debug and verbose overrides from host config, and redact credential-named properties on class instances including nested and cyclic values. Add regression tests, refresh coverage evidence, and document AI-assisted workflows and the release fixes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to the 4.1.0 release PR #128. Applies the external release-candidate review findings and the follow-up review fixes:
debug/verboseoverrides when an ancestor context is restored and clear them back to the host's configured value.behavior-hardening.test.js) and refresh coverage evidence.docs/AI-ASSISTED-WORKFLOWS.mdwith reusable prompts and approval boundaries, plus a pointer fromCONTRIBUTING.md.### Fixedin the 4.1.0 changelog.Verification
npm test— current suite passes; baseline: 174 pass / 55 skipped.npm run test:live:all— 30 passed, 0 failed.npm run check:changelog—changelog OK for 4.1.0.git diff --check— clean.Coverage (local, informational)
Node
v26.13.0, measured 2026-11-23. Unit tests targetlib/, live tests targetsrc/using the fulltest/live/set (npm run test:live:all, same as CI). Coverage is diagnostic only; no coverage dependency or CI gate.lib/ssh2shell.jslib/ssh2shell/defaults.jslib/ssh2shell/util.jssrc/ssh2shell.jssrc/ssh2shell/defaults.jssrc/ssh2shell/util.jsCombined line coverage is 2912/2967 executable lines. Residual risk headline: 55 lines missed by both suites.
Full miss-overlap table:
ssh2shell.jsdefaults.jsutil.jsReproduction commands (from
test/coverage.md):Raw LCOV files are local only. See
test/coverage.mdfor the full analysis and the overlap parser appendix.