Skip to content

fix: add safe JSON deserialization with plain text fallback in runner#316

Merged
privateip merged 1 commit intoitential:develfrom
privateip:fix-call-seralization
Feb 25, 2026
Merged

fix: add safe JSON deserialization with plain text fallback in runner#316
privateip merged 1 commit intoitential:develfrom
privateip:fix-call-seralization

Conversation

@privateip
Copy link
Member

  • Use json_utils.loads() for safer JSON parsing with error handling
  • Fall back to plain text output when JSON parsing fails
  • Add comprehensive test coverage for JSON parsing scenarios
  • Handle malformed JSON, empty strings, HTML responses gracefully

This change supercedes #311

- Use json_utils.loads() for safer JSON parsing with error handling
- Fall back to plain text output when JSON parsing fails
- Add comprehensive test coverage for JSON parsing scenarios
- Handle malformed JSON, empty strings, HTML responses gracefully

This change supercedes itential#311
@privateip privateip requested a review from a team as a code owner February 25, 2026 14:03
@privateip privateip merged commit 07df4ce into itential:devel Feb 25, 2026
4 checks passed
@privateip privateip deleted the fix-call-seralization branch February 25, 2026 14:10
@privateip privateip mentioned this pull request Feb 25, 2026
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