Skip to content

test(claude): compare execution controls at one deadline - #601

Merged
SaladDay merged 1 commit into
aos/cutoverfrom
aos/fix-claude-execution-control-comparison-deadline
Oct 8, 2026
Merged

SaladDay merged 1 commit into
aos/cutoverfrom
aos/fix-claude-execution-control-comparison-deadline

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

The execution-control equivalence test built two requests from separate clock samples. Since the preparation deadline is now part of the native request, crossing a millisecond made the full comparison fail even when execution controls preserved every default.

Give both compared requests the same preparation deadline and retain the complete equality and input-immutability assertions. Production behavior is unchanged.

Validation: the original failure was reproduced with a deterministic 2 ms separation between clock samples; the corrected test passes under the same condition with race detection for 100 repetitions. The complete Claude SDK adapter package also passes.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@SaladDay
SaladDay merged commit e3d0d9e into aos/cutover Oct 8, 2026
20 checks passed
@SaladDay
SaladDay deleted the aos/fix-claude-execution-control-comparison-deadline branch October 8, 2026 23:27
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