Skip to content

Use the Responses API for issue label suggestions - #60897

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/2bfe301468808b4d15aa8b5fe8ddd98c1ed844c6
Nov 11, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Use the Responses API for issue label suggestions

What changed

Replace the issue labeler's Codex action with a Python script that calls the Responses API with tools disabled and a strict JSON schema. Preserve the label catalog while validating one issue type, an optional product, and known area labels before applying them.

Retry transient API failures and timeouts, honor Retry-After, and reject redirects. Pass validated labels directly to gh issue edit, surface label application failures, and allow trigger-label cleanup after suggestion failures.

## What changed

Replace the issue labeler's Codex action with a Python script that calls the Responses API with tools disabled and a strict JSON schema. Preserve the label catalog while validating one issue type, an optional product, and known area labels before applying them.

Retry transient API failures and timeouts, honor `Retry-After`, and reject redirects. Pass validated labels directly to `gh issue edit`, surface label application failures, and allow trigger-label cleanup after suggestion failures.

GitOrigin-RevId: 2bfe301468808b4d15aa8b5fe8ddd98c1ed844c6
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/2bfe301468808b4d15aa8b5fe8ddd98c1ed844c6 branch from d94dda3 to 14e0399 Compare November 11, 2026 23:22
@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-11T23:22:22.671163Z d94dda3 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 merged commit 14e0399 into main Nov 11, 2026
9 of 24 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/2bfe301468808b4d15aa8b5fe8ddd98c1ed844c6 branch November 11, 2026 23:22
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 11, 2026
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.

1 participant