Skip to content

fix: nightly hardening - HTTP empty-content response guard#18

Open
mouse-value-add wants to merge 1 commit intobrainsparker:mainfrom
mouse-value-add:chore/nightly-hardening-20260503-http-empty-content-guard
Open

fix: nightly hardening - HTTP empty-content response guard#18
mouse-value-add wants to merge 1 commit intobrainsparker:mainfrom
mouse-value-add:chore/nightly-hardening-20260503-http-empty-content-guard

Conversation

@mouse-value-add
Copy link
Copy Markdown
Contributor

Summary

  • fail fast when HTTP provider returns a successful HTTP response but no parseable text content
  • include top-level response keys in the error for faster debugging
  • add async test coverage for unparseable payload handling
  • document the hardening behavior in README feature list

Why

Previously, unknown response shapes could look like successful runs with empty output. This change makes malformed/nonstandard payloads explicit and observable.

Validation

  • python3 -m pytest -q (10 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