Skip to content

Record metrics for incremental tool updates - #51893

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/0fadb40a3aa7abf5ef1757811ebfb5749505b3d9
Oct 8, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Record metrics for incremental tool updates

What changed

Record codex.tools.incremental_updates through session telemetry with an action tag for added, removed, and schema_changed. Definition changes include description edits.

Exclude initial catalogs, unchanged tools, and namespace headers from the counts. Count each removed namespace member even when the removal notice lists only the namespace.

Testing

Extend the namespace transition snapshot test with in-memory metric assertions covering additions, removals, definition changes, and excluded initial or unchanged catalogs.

## What changed

Record `codex.tools.incremental_updates` through session telemetry with an `action` tag for `added`, `removed`, and `schema_changed`. Definition changes include description edits.

Exclude initial catalogs, unchanged tools, and namespace headers from the counts. Count each removed namespace member even when the removal notice lists only the namespace.

## Testing

Extend the namespace transition snapshot test with in-memory metric assertions covering additions, removals, definition changes, and excluded initial or unchanged catalogs.

GitOrigin-RevId: 0fadb40a3aa7abf5ef1757811ebfb5749505b3d9
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/0fadb40a3aa7abf5ef1757811ebfb5749505b3d9 branch from 0a43218 to 70efa82 Compare October 8, 2026 00:56
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-08T00:56:22.726365Z 0a43218 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 70efa82 into main Oct 8, 2026
1 check failed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/0fadb40a3aa7abf5ef1757811ebfb5749505b3d9 branch October 8, 2026 00:56
@github-actions

github-actions Bot commented Oct 8, 2026

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 Oct 8, 2026
@giodl73-repo
giodl73-repo deployed to issue-triage October 8, 2026 01:01 — with Image GitHub Actions Active
@giodl73-repo
giodl73-repo deployed to issue-triage October 8, 2026 01:01 — with Image GitHub Actions Active
@giodl73-repo
giodl73-repo deployed to issue-triage October 8, 2026 01:01 — with Image GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — 70efa82b Deployed Oct 8, 2026 by giodl73-repo via Identify potential duplicates (all issues) #52854
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.

2 participants