Afraid of crashing after installing the plug-in
chenw2759-wq/dsh-plugin-healthcheck · tools
Worried that the plug-in will crash after installation?
★ 16GitHub stars
0Forks
2026-08-15Last updated
JavaScriptLanguage
MITLicense
Key features
- C1 files integrityfiles whitelist vs actual lib product, missing chunk → error
- The child process completes boot() of the whole tree (webserver port offset is 0, zero conflict with the running backend), the base assertEntriesActivated asserts that each enabled plug-in is activated, and the timeout is 90s to catch hang.
- The iron rule of isolationonly readFile, never import / require / execute plug-in code.
- Root cause chainctx.plugin(SandboxedFileSystem) is asynchronous, and then localCtx.fs is fetched synchronously immediately and cannot get the service (the key of the isolation scope does not match) → cannot get property "fs" without inject.
- C2 dependency statementlink: with runtime dependencies / file: with harness peer
Install command
dsh plugin --profile web add github:chenw2759-wq/dsh-plugin-healthcheck