Skip to content

Expose bioPolicy errors in app-server v2 - #62176

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/77fa969a3d8cbd4c12fe6f7aa5d4833f6adaa99b
Nov 18, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/77fa969a3d8cbd4c12fe6f7aa5d4833f6adaa99b

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Expose bioPolicy errors in app-server v2

Why

App-server clients received the generic other error code for biology
policy errors, so they couldn't distinguish them by code.

What changed

Map the core BioPolicy error to bioPolicy in app-server v2 and include
the new value in the generated JSON schemas, TypeScript types, and Python
SDK enum.

Testing

Update the error conversion test to assert that BioPolicy serializes as
"bioPolicy".

## Why

App-server clients received the generic `other` error code for biology
policy errors, so they couldn't distinguish them by code.

## What changed

Map the core `BioPolicy` error to `bioPolicy` in app-server v2 and include
the new value in the generated JSON schemas, TypeScript types, and Python
SDK enum.

## Testing

Update the error conversion test to assert that `BioPolicy` serializes as
`"bioPolicy"`.

GitOrigin-RevId: 77fa969a3d8cbd4c12fe6f7aa5d4833f6adaa99b
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-18T03:37:46.480743Z 0e330e8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/77fa969a3d8cbd4c12fe6f7aa5d4833f6adaa99b branch from 0e330e8 to 9f80bb5 Compare November 18, 2026 03:37
@copyberry
copyberry Bot merged commit 9f80bb5 into main Nov 18, 2026
11 of 24 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/77fa969a3d8cbd4c12fe6f7aa5d4833f6adaa99b branch November 18, 2026 03:37
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 18, 2026

This branch had an error being deployed

1 failed and 1 active deployments
pypi — 9f80bb59 Deployed Nov 18, 2026 by rhan-oai via publish-python-sdk #445
issue-triage — 9f80bb59 Deployed Nov 18, 2026 by icy-forever via Translate non-English issue #26466
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants