Skip to content

dsh-keepalive v0.2.12

Latest

Choose a tag to compare

@xiaohj233 xiaohj233 released this 15 Aug 12:17

fix: front-end plugin-failure detection now reports ONLY real plugin module-load failures.

Three rounds of false positives showed the earlier heuristics were too broad:

  • window error events caught arbitrary page script errors (e.g. a syntax error "Unexpected token ')'" in a plugin being edited) -> reported as plugin failures.
  • slots.onEntryError caught entry RENDER crashes (React error #130 on settings.section) -> also reported, but render crashes are UI-layer issues the repair agent cannot fix.

v0.2.12 reports only when the browser emits an explicit dynamic-import failure message ("Failed to fetch dynamically imported module" / "error loading dynamically imported module" / import-related). window error listeners and slots.onEntryError are removed. Watchdog-side guard remains: a degraded repair that changes nothing clears the report WITHOUT relaunching the web (no interruption).

Also surfaced in this session (unrelated to keepalive): D:\Code\dsh-cot-translate\client.js had a syntax error (missing closing brace) that was fixed manually (node --check passes, web boots).