Skip to content

fix: normalize Azure resource roots to Responses URL - #9

Merged
alexbit-codemod merged 1 commit into
mainfrom
cursor/normalize-azure-endpoint-0824
Oct 31, 2026
Merged

alexbit-codemod merged 1 commit into
mainfrom
cursor/normalize-azure-endpoint-0824

Conversation

@alexbit-codemod

@alexbit-codemod alexbit-codemod commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

openai/codex-action needs a full Responses URL (.../openai/v1/responses), but shared AZURE_OPENAI_ENDPOINT secrets are often the Azure resource root used by other app callers.

This normalizes resource-root / /openai/v1 endpoints to the Responses path inside the action and reusable workflows, so callers can keep one shared endpoint value.

Test plan

  • node --test tests/*.cjs tests/*.test.cjs
  • After merge, bump the action pin in consumers and re-run /codex-review

Made with Cursor

openai/codex-action needs .../openai/v1/responses, but shared AZURE_OPENAI_ENDPOINT secrets are often the resource root. Append the Responses path when missing so callers can keep one endpoint value.

Co-authored-by: Cursor <cursoragent@cursor.com>
@alexbit-codemod
alexbit-codemod merged commit d49c8fe into main Oct 31, 2026
1 check passed
alexbit-codemod added a commit to codemod/codemod that referenced this pull request Oct 31, 2026
Point Codex PR review and /codex-review workflows at the merge SHA of
codemod/codex-review-action#9 (AZURE_OPENAI_ENDPOINT cleanup).

Co-authored-by: Cursor Agent <cursoragent@cursor.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.

1 participant