Skip to content

MAINT: Improving JSON parsing logic to raise JSONException on empty required strings - #2567

Merged
varunj-msft merged 1 commit into
microsoft:mainfrom
richlundeen:rlundeen2-integration-test-failure
Sep 3, 2026
Merged

MAINT: Improving JSON parsing logic to raise JSONException on empty required strings#2567
varunj-msft merged 1 commit into
microsoft:mainfrom
richlundeen:rlundeen2-integration-test-failure

Conversation

@richlundeen

Copy link
Copy Markdown
Contributor

Description

Reject blank next_message values while parsing adversarial-chat responses. This causes the existing JSON retry path to run before an empty user message reaches the objective target.

Tests and Documentation

Added unit coverage for empty and whitespace-only values and for retrying after an empty value. Documentation changes are not applicable.

Full pre-commit was run. Code-quality hooks passed. The memory migration and type-check hooks could not run successfully because the local environment could not resolve the locked project dependencies from the configured package index.

…equired strings

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 8533014c-f354-4b22-b283-a374843aa006
@varunj-msft
varunj-msft added this pull request to the merge queue Sep 3, 2026
Merged via the queue into microsoft:main with commit 16bcd33 Sep 3, 2026
54 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.

2 participants