Skip to content

Use runtime authentication for Analytics requests - #60101

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/50e0d959b3abd81ebe7a6a584e272f14cf52e504
Nov 7, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Use runtime authentication for Analytics requests

What changed

  • Honor RuntimeAgentInstances and the configured runtime auth mode for Analytics plan discovery and report requests to OpenAI endpoints.
  • Share installation ID resolution and Codex runtime registration setup through codex-runtime-agent-instance.
  • Preserve typed runtime authentication errors so expired credentials retain the “Sign in again to load Analytics” guidance.

Testing

Add coverage for both runtime auth modes across regional and staging endpoints, fresh assertions for each request, sign-in guidance after bootstrap failure, redirect rejection, and invalid organization/project selectors.

## What changed

- Honor `RuntimeAgentInstances` and the configured runtime auth mode for Analytics plan discovery and report requests to OpenAI endpoints.
- Share installation ID resolution and Codex runtime registration setup through `codex-runtime-agent-instance`.
- Preserve typed runtime authentication errors so expired credentials retain the “Sign in again to load Analytics” guidance.

## Testing

Add coverage for both runtime auth modes across regional and staging endpoints, fresh assertions for each request, sign-in guidance after bootstrap failure, redirect rejection, and invalid organization/project selectors.

GitOrigin-RevId: 50e0d959b3abd81ebe7a6a584e272f14cf52e504
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/50e0d959b3abd81ebe7a6a584e272f14cf52e504 branch from 29399b3 to cce9d32 Compare November 7, 2026 10:41
@copyberry
copyberry Bot merged commit cce9d32 into main Nov 7, 2026
9 of 24 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/50e0d959b3abd81ebe7a6a584e272f14cf52e504 branch November 7, 2026 10:41
@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-07T10:41:52.027266Z 29399b3 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.

@github-actions github-actions Bot locked and limited conversation to collaborators Nov 7, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — cce9d322 Deployed Nov 7, 2026 by yxyyxy6 via Identify potential duplicates (all issues) #62060
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.