GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(providers): add China Coding Plan baseUrl choice for Alibaba by Wibias · Pull Request #776 · lidge-jun/opencodex

Conversation

@Wibias

@Wibias Wibias commented Jul 30, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

  • Add Alibaba provider base URL choice for China Coding Plan endpoints.
  • Update provider registry parity tests.

Fixes #756

Test plan

  • �un run test (provider-registry-parity)

Security

  • none

Summary by CodeRabbit

  • New Features

    • Added Alibaba Coding Plan endpoint options for international and China mainland regions.
    • Added support for selecting a custom Alibaba endpoint URL.
  • Tests

    • Added coverage to verify Alibaba endpoint choices and custom URL overrides are available.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Wibias
fix: address issue #756
eef4064
Fixes #756
@Wibias
Wibias requested review from Ingwannu and lidge-jun as code owners July 30, 2026 22:21
@Wibias Wibias mentioned this pull request Jul 30, 2026
why can't use alibaba coding plan ? #756
Closed
4 tasks done
@coderabbitai

coderabbitai Bot commented Jul 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 6f84ae2c-bbcd-429f-a323-698b3d44225b

📥 Commits

Reviewing files that changed from the base of the PR and between f2b61ee and 956d3b5.

📒 Files selected for processing (3)
  • src/providers/base-url-choices.ts
  • src/providers/registry.ts
  • tests/provider-registry-parity.test.ts

📝 Walkthrough

Walkthrough

Alibaba Coding Plan now provides international, China mainland, and custom base URL choices. The registry uses the international endpoint by default, and parity tests validate the available choices and override support.

Changes

Alibaba endpoint configuration

Layer / File(s) Summary
Define Alibaba endpoint presets
src/providers/base-url-choices.ts
Lines 42–51 add international and China mainland endpoint constants and export the corresponding choices with a custom URL option.
Wire endpoint choices into the provider registry
src/providers/registry.ts
Lines 8 and 973 import the presets, use the international endpoint as the default, and enable base URL overrides for Alibaba.
Validate Alibaba endpoint parity
tests/provider-registry-parity.test.ts
Lines 255–259 verify the three choices and their endpoints. Line 487 adds Alibaba to the permitted base URL override providers.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • lidge-jun/opencodex#407: Adds Alibaba regional base URL presets for endpoint selection.
  • lidge-jun/opencodex#611: Updates provider registry endpoint presets and parity tests.
  • lidge-jun/opencodex#615: Modifies provider registry and parity tests for provider configuration presets.

Suggested reviewers: lidge-jun, ingwannu

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the main change: adding an Alibaba China Coding Plan base URL choice.
Linked Issues check ✅ Passed The changes add China and custom Alibaba base URL choices and registry parity coverage, meeting issue #756's objective.
Out of Scope Changes check ✅ Passed The registry, base URL presets, custom override, and parity tests are directly related to issue #756.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Jul 30, 2026
View reviewed changes

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

Copy link
Copy Markdown

There was a problem hiding this comment.

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: eef4064a03

ℹ️ 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".

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

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/providers/base-url-choices.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/providers/registry.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/providers/registry.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the bug Something isn't working label Jul 30, 2026
@Wibias

Wibias commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

[shipping-github] Merge-ready

  • \mergeStateStatus: CLEAN, base \dev, no \CHANGES_REQUESTED\
  • Cross-platform CI: all matrix jobs + enforce-target + label + react-doctor green
  • CodeRabbit: SUCCESS (rate-limited summary only; no blocking review state)
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Wibias added 2 commits July 31, 2026 02:20
@Wibias
fix(providers): preserve custom Alibaba Coding base URLs
6729491
Add a custom baseUrl choice so dashboard saves do not rewrite non-preset Coding Plan endpoints to the international default.
@Wibias
test(providers): expect Alibaba Coding Plan custom baseUrl choice
c712e78
Registry now includes the custom endpoint option alongside intl and china presets.
@Wibias

Wibias commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

Verdict: approve-comment

  • Usefulness: Fixes why can't use alibaba coding plan ? #756 dashboard China Coding Plan baseUrl rewrite.
  • Bugs: none for GUI scope. Known follow-up: ocx login alibaba still defaults international.
  • Security: preset URLs only.
  • Owner/maintainer reviews: none.
  • Bots: addressed / deferred.
  • Base / CI: green / pending noise only.
  • Gate: none for stated fix.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Wibias added 2 commits July 31, 2026 08:30
@Wibias
Merge branch 'dev' into fix/756-alibaba-coding-china
956d3b5
@Wibias
Merge branch 'dev' into fix/756-alibaba-coding-china
2152f7a
@Wibias

Wibias commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

Merging this.

Why it helps: China Coding Plan users can pick the mainland DashScope endpoint (or keep a custom URL) instead of being stuck on the international default.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Wibias
Wibias merged commit e03bf35 into lidge-jun:dev Jul 31, 2026
9 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@Wibias
Wibias deleted the fix/756-alibaba-coding-china branch July 31, 2026 07:03
agentHits pushed a commit to agentHits/opencodex that referenced this pull request Sep 17, 2026
@Wibias
Merge pull request lidge-jun#776 from Wibias/fix/756-alibaba-coding-c…
c6c70b8
…hina

fix(providers): add China Coding Plan baseUrl choice for Alibaba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments
@lidge-jun lidge-jun Awaiting requested review from lidge-jun lidge-jun is a code owner
@Ingwannu Ingwannu Awaiting requested review from Ingwannu Ingwannu is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

bug Something isn't working

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Wibias
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.