Skip to content

Measure rollout persistence size reductions - #50454

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/6487acf1c6f2c041ab9680ab398491d3c1541388
Oct 2, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/6487acf1c6f2c041ab9680ab398491d3c1541388

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Measure rollout persistence size reductions

What changed

  • Record original and persisted item sizes in codex.rollout.persistence.item_bytes_v2, distinguished by stage, and record positive size reductions in codex.rollout.persistence.bytes_removed. Count the full original size as removed for dropped items.
  • Use explicit histogram boundaries from 1 KiB to 64 MiB for item sizes, bytes removed, and codex.rollout.persistence.turn_bytes_v2. Larger values remain represented in the overflow bucket and histogram sum.
  • Align item and turn size stages and report a measurement error when a kept item's persisted size cannot be measured.

## What changed

- Record original and persisted item sizes in `codex.rollout.persistence.item_bytes_v2`, distinguished by stage, and record positive size reductions in `codex.rollout.persistence.bytes_removed`. Count the full original size as removed for dropped items.
- Use explicit histogram boundaries from 1 KiB to 64 MiB for item sizes, bytes removed, and `codex.rollout.persistence.turn_bytes_v2`. Larger values remain represented in the overflow bucket and histogram sum.
- Align item and turn size stages and report a measurement error when a kept item's persisted size cannot be measured.

GitOrigin-RevId: 6487acf1c6f2c041ab9680ab398491d3c1541388
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/6487acf1c6f2c041ab9680ab398491d3c1541388 branch from db682bb to 3c3a990 Compare October 2, 2026 23:07
@copyberry
copyberry Bot merged commit 3c3a990 into main Oct 2, 2026
16 of 23 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/6487acf1c6f2c041ab9680ab398491d3c1541388 branch October 2, 2026 23:07
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 2, 2026
@Grozoff
Grozoff deployed to issue-triage October 2, 2026 23:09 — with GitHub Actions Active
@Grozoff
Grozoff deployed to issue-triage October 2, 2026 23:09 — with GitHub Actions Active
@Grozoff
Grozoff deployed to issue-triage October 2, 2026 23:09 — with GitHub Actions Active
@tonym
tonym deployed to issue-triage October 2, 2026 23:09 — with GitHub Actions Active
@tonym
tonym deployed to issue-triage October 2, 2026 23:09 — with GitHub Actions Active
@tonym
tonym deployed to issue-triage October 2, 2026 23:09 — with GitHub Actions Active
@monkeywisdom
monkeywisdom deployed to issue-triage October 2, 2026 23:11 — with GitHub Actions Active
@monkeywisdom
monkeywisdom deployed to issue-triage October 2, 2026 23:11 — with GitHub Actions Active
@monkeywisdom
monkeywisdom deployed to issue-triage October 2, 2026 23:11 — with GitHub Actions Active
@monkeywisdom
monkeywisdom deployed to issue-triage October 2, 2026 23:12 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
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.

4 participants