Skip to content

Preserve SDK usage reporting and interrupted Codex usage - #2900

Open
miguelg719 wants to merge 11 commits into
evals/consolidation-09-event-retentionfrom
evals/consolidation-10-usage-provenance
Open

Preserve SDK usage reporting and interrupted Codex usage#2900
miguelg719 wants to merge 11 commits into
evals/consolidation-09-event-retentionfrom
evals/consolidation-10-usage-provenance

Conversation

@miguelg719

@miguelg719 miguelg719 commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Distinguishes unreported usage from observed zero across SDK boundaries and recovers interrupted Codex usage without replacing authoritative completed-turn counts. Eval accounting consumes this metadata in the later adoption PR.

Validation: 167 SDK tests, 38 Python tests, 12 build tasks, and SDK/core/eval typechecks passed. Authoritative completed Codex usage takes precedence over interrupted-rollout recovery.

Stack position: 10/17. Base: evals/consolidation-09-event-retention. Each PR contains the change relative to its immediate predecessor.

Reviewer entry points:

Readiness: local validation is described above; GitHub CI and automated review feedback are pending. This PR is open as non-draft so automated reviewers can run.

@changeset-bot

changeset-bot Bot commented Sep 8, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: feffa57

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread packages/integrations/codex-sdk/src/session.ts Outdated
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.

2 participants