Skip to content

fix(config): support Hermes runtimes without PyYAML - #32

Merged
xraysight merged 1 commit into
mainfrom
fix/issue-29-yaml-fallback
Oct 7, 2026
Merged

xraysight merged 1 commit into
mainfrom
fix/issue-29-yaml-fallback

Conversation

@xraysight

Copy link
Copy Markdown
Owner

Summary

  • Fall back to the host-provided hermes_yaml module when importing PyYAML raises ImportError.
  • Preserve PyYAML compatibility for older Hermes installations.
  • Add regression coverage for configured memory limits and holographic provider detection with either parser available.

Verification

  • Observed the regression fail before the fix because configuration was silently replaced with an empty mapping.
  • Full standalone test suite: 103 passed.
  • JavaScript syntax check and Desktop VM smoke harness passed.
  • Isolated FastAPI/HTTPX integration probe using the actual Hermes YAML parser with PyYAML blocked: /builtin and /holographic returned HTTP 200, configured limits of 9000/3000, and provider_configured=true.
  • Integration used a synthetic home and bypassed profile routing; the running Dashboard and installed plugin were not changed.
  • git diff --check passed.

Fixes #29

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T15:34:33.075973Z e3efb85 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@xraysight xraysight mentioned this pull request Oct 7, 2026
@xraysight
xraysight merged commit eba9865 into main Oct 7, 2026
2 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.

can not find pyyaml

1 participant