Skip to content

test: align Codex strict schema expectation - #72

Merged
kevincodex1 merged 1 commit into
Twigpine:mainfrom
Vasanthdev2004:fix-pr-checks
Apr 2, 2026
Merged

kevincodex1 merged 1 commit into
Twigpine:mainfrom
Vasanthdev2004:fix-pr-checks

Conversation

@Vasanthdev2004

Copy link
Copy Markdown
Collaborator

Summary

  • update the Codex shim test to match the current strict-schema normalization behavior
  • keep the new PR checks green on the latest main

Why

The new PR Checks workflow exposed an existing stale expectation in codexShim.test.ts after #71 merged. The Codex tool-schema normalizer now promotes all properties into required and marks the resulting tool schema as strict, but the test was still expecting the older non-strict shape.

Validation

  • bun test src/services/api/codexShim.test.ts
  • bun run smoke
  • bun run test:provider
  • npm run test:provider-recommendation

@Vasanthdev2004

Copy link
Copy Markdown
Collaborator Author

@kevincodex1 check this

@Vasanthdev2004

Copy link
Copy Markdown
Collaborator Author

@kevincodex1 push this to main first because of this all test cases are failing

@kevincodex1
kevincodex1 merged commit 7ce7dc1 into Twigpine:main Apr 2, 2026
1 check passed
gnanam1990 added a commit to gnanam1990/openclaude that referenced this pull request Apr 2, 2026
Update the stale test expectation to match current behavior where
normalizeSchemaForOpenAI() promotes all properties into required[]
and marks the schema as strict: true.

Same fix as PR Twigpine#72 — included here so PR Twigpine#80 passes CI independently.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Vasanthdev2004
Vasanthdev2004 deleted the fix-pr-checks branch April 2, 2026 03:35
euxaristia pushed a commit to euxaristia/openclaude that referenced this pull request Apr 13, 2026
test: align Codex strict schema expectation
euxaristia pushed a commit to euxaristia/openclaude that referenced this pull request Apr 13, 2026
Update the stale test expectation to match current behavior where
normalizeSchemaForOpenAI() promotes all properties into required[]
and marks the schema as strict: true.

Same fix as PR Twigpine#72 — included here so PR Twigpine#80 passes CI independently.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
reymaster pushed a commit to reymaster/openclaude that referenced this pull request May 5, 2026
test: align Codex strict schema expectation
reymaster pushed a commit to reymaster/openclaude that referenced this pull request May 5, 2026
Update the stale test expectation to match current behavior where
normalizeSchemaForOpenAI() promotes all properties into required[]
and marks the schema as strict: true.

Same fix as PR Twigpine#72 — included here so PR Twigpine#80 passes CI independently.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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