Skip to content

fix: harden qmd error diagnostics - #24

Merged
jayzeng merged 3 commits into
mainfrom
fix/qmd-diagnostics
Aug 9, 2026
Merged

fix: harden qmd error diagnostics#24
jayzeng merged 3 commits into
mainfrom
fix/qmd-diagnostics

Conversation

@jayzeng

@jayzeng jayzeng commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • prevent qmd child processes from inheriting FORCE_COLOR and set NO_COLOR
  • strip CSI and OSC control sequences from qmd output and fallback error messages
  • make explicit qmd search timeouts configurable with PI_MEMORY_QMD_SEARCH_TIMEOUT_MS (default 60000)
  • derive timeout diagnostics from the configured value and report it in memory_status
  • update the README link to the current Earendil Pi repository

Testing

  • npm test (168 passed)
  • npm run build
  • npm run lint
  • git diff --check

Compatibility

  • no changes to on-disk memory formats
  • qmd retrieval semantics are unchanged; this only adjusts child-process color configuration, timeout configuration, and error diagnostics

jayzeng added 2 commits August 8, 2026 17:19
Signed-off-by: Jay Zeng <jayzeng@users.noreply.github.com>
Signed-off-by: Jay Zeng <jayzeng@users.noreply.github.com>
Signed-off-by: Jay Zeng <jayzeng@users.noreply.github.com>
@jayzeng
jayzeng merged commit d852648 into main Aug 9, 2026
16 checks passed
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