Skip to content

Simplify cloud task base URL normalization - #49147

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/db71e80c4dcaac33b308a45684b14e7edbd71528
Sep 29, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Simplify cloud task base URL normalization

Replace the trailing-slash removal loop in normalize_base_url with
trim_end_matches('/'), preserving existing behavior.

Add regression coverage for unchanged URLs, single and repeated trailing
slashes, empty and slash-only inputs, and ChatGPT URLs with and without
/backend-api.

Replace the trailing-slash removal loop in `normalize_base_url` with
`trim_end_matches('/')`, preserving existing behavior.

Add regression coverage for unchanged URLs, single and repeated trailing
slashes, empty and slash-only inputs, and ChatGPT URLs with and without
`/backend-api`.

GitOrigin-RevId: db71e80c4dcaac33b308a45684b14e7edbd71528
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/db71e80c4dcaac33b308a45684b14e7edbd71528 branch from 643d0cf to 3a16c0b Compare September 29, 2026 03:32
@copyberry
copyberry Bot merged commit 3a16c0b into main Sep 29, 2026
1 check failed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/db71e80c4dcaac33b308a45684b14e7edbd71528 branch September 29, 2026 03:32
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@github-actions github-actions Bot locked and limited conversation to collaborators Sep 29, 2026
@Vvindo
Vvindo deployed to issue-triage September 29, 2026 03:35 — with GitHub Actions Active
@Vvindo
Vvindo deployed to issue-triage September 29, 2026 03:35 — with GitHub Actions Active
@Vvindo
Vvindo deployed to issue-triage September 29, 2026 03:35 — with GitHub Actions Active
@cmg1987
cmg1987 deployed to issue-triage September 29, 2026 03:35 — with GitHub Actions Active
@cmg1987
cmg1987 deployed to issue-triage September 29, 2026 03:35 — with GitHub Actions Active
@cmg1987
cmg1987 deployed to issue-triage September 29, 2026 03:35 — with GitHub Actions Active
@Vvindo
Vvindo deployed to issue-triage September 29, 2026 03:36 — with GitHub Actions Active
@cmg1987
cmg1987 deployed to issue-triage September 29, 2026 03:36 — with GitHub Actions Active
@lvzixun
lvzixun deployed to issue-triage September 29, 2026 03:41 — with GitHub Actions Active
@lvzixun
lvzixun deployed to issue-triage September 29, 2026 03:41 — with GitHub Actions Active
@lvzixun
lvzixun deployed to issue-triage September 29, 2026 03:41 — with GitHub Actions Active
@lvzixun
lvzixun deployed to issue-triage September 29, 2026 03:42 — with GitHub Actions Active
@kelvincht
kelvincht deployed to issue-triage September 29, 2026 03:49 — with GitHub Actions Active
@kelvincht
kelvincht deployed to issue-triage September 29, 2026 03:49 — with GitHub Actions Active
@kelvincht
kelvincht deployed to issue-triage September 29, 2026 03:49 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — 3a16c0b7 Deployed Sep 29, 2026 by kelvincht via Identify potential duplicates (all issues) #49622
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