Skip to content

feat(api): add Australia, India, and Japan residency options - #1338

Merged
markstuart-oai merged 1 commit into
mainfrom
castiron/promotions/pr-417
Nov 5, 2026
Merged

markstuart-oai merged 1 commit into
mainfrom
castiron/promotions/pr-417

Conversation

@markstuart-oai

@markstuart-oai markstuart-oai commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Select the Australia, India, or Japan API endpoint with the dataResidency builder option.

Changes

  • Add DataResidency.AU, DataResidency.IN, and DataResidency.JP.
  • Clarify that regional storage and processing depend on project configuration and support for the selected region, model, and API feature.

Validation: The core and OkHttp test tasks with --tests '*DataResidency*' passed all 10 tests on JDK 21.0.13.

@markstuart-oai
markstuart-oai requested a review from a team as a code owner November 4, 2026 22:10
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T01:03:01.629232Z d254751 New commits
🔒 Security Review ✅ Completed 2026-11-05T01:03:43.727330Z d254751 New commits
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a26b57083f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@jbeckwith-oai jbeckwith-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting the documentation correction identified in #1338 (comment) . DataResidency.kt describes data and compute residency, but the newly supported AU/IN/JP regions provide regional storage without regional processing according to https://developers.openai.com/api/docs/guides/your-data . Describe endpoint selection and region-specific capabilities without promising local inference. The mappings themselves are correct; hosted CI is green. This also corrects my earlier approval of the identical internal implementation. Coordinator and independent static review; no local code/tests executed.

@markstuart-oai
markstuart-oai force-pushed the castiron/promotions/pr-417 branch from a26b570 to fdd2880 Compare November 5, 2026 00:10

@jbeckwith-oai jbeckwith-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewed fdd2880. The residency documentation finding is addressed in DataResidency and all three builder descriptions: these select a regional endpoint, while storage and processing depend on project configuration and region/model/feature support. Actual old/new tree comparison confirms only documentation and generation metadata changed, matching the already reviewed internal correction. No new actionable findings. Hosted build/OkTest checks remain pending. Static review only; no candidate code or local tests executed.

@markstuart-oai
markstuart-oai added this pull request to the merge queue Nov 5, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 5, 2026
Castiron-Internal-PR: openai/openai-java-internal#417
Castiron-Source-SHA: f40c056e38f161599a7541baecfd1c5b6841fbdc
Castiron-Public-Base-SHA: 45b63e2
@markstuart-oai
markstuart-oai force-pushed the castiron/promotions/pr-417 branch from fdd2880 to d254751 Compare November 5, 2026 01:02

@jbeckwith-oai jbeckwith-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved the rebase at d2547519fd0834fdd29485637003568b9fc25b66. The actual old/new tree comparison has 35 changed files: 33 match the current base, with generation metadata and the generated-file manifest accounting for the remaining changes. Residency implementation, corrected endpoint-selection documentation, and contract tests are unchanged from the approved version. Existing residency feedback remains resolved; no new actionable findings.

Coordinator and independent static review. Build and OkTest remain pending; completed preliminary checks passed. No candidate code, builds or local tests executed.

@markstuart-oai
markstuart-oai added this pull request to the merge queue Nov 5, 2026
Merged via the queue into main with commit 8e6aee0 Nov 5, 2026
14 checks passed
@openai-sdks openai-sdks Bot mentioned this pull request Nov 5, 2026
VitorEAFeliciano pushed a commit to Navegos/openai-java that referenced this pull request Nov 18, 2026
Automated Release PR
---


##
[4.101.0](openai/openai-java@v4.100.0...v4.101.0)
(2026-11-05)


### Features

* **api:** add a model option for Responses
([openai#1341](openai#1341))
([fc3938e](openai@fc3938e))
* **api:** add Australia, India, and Japan residency options
([openai#1338](openai#1338))
([8e6aee0](openai@8e6aee0))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: openai-sdks[bot] <284451331+openai-sdks[bot]@users.noreply.github.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.

3 participants