test(sandbox): fix batch scripts for live verification - #60
Merged
Conversation
- Bump the retired Anthropic model id (claude-sonnet-4-20250514 -> claude-sonnet-4-5-20250929) in test-batch.php and test-batch-modes.php so Anthropic batch lines stop erroring model-not-found. - test-batch-google.php: clear the Atlas config/manager singletons and facade root after toggling persistence off, so stateless submit() returns a BatchResponse instead of a tracked BatchJob (was TypeError on a null batchId). Verified live: google full round-trip (ALPHA/BETA), batch-modes both providers both modes, test-batch OpenAI complete + Anthropic submits cleanly (verify-later on slow turnaround).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two sandbox-harness fixes surfaced by a full live audit (no package code changed):
claude-sonnet-4-20250514→claude-sonnet-4-5-20250929) intest-batch.phpandtest-batch-modes.phpso Anthropic batch lines stop erroring model-not-found.test-batch-google.php: clear the Atlas config/manager singletons + facade root after toggling persistence off, so statelesssubmit()returns aBatchResponseinstead of a trackedBatchJob(was a TypeError on a null batchId).Verified live: Google full round-trip (ALPHA/BETA), batch-modes both providers both modes, test-batch OpenAI complete + Anthropic submits cleanly.