Repository navigation
Keep image resize notices attached during remote compaction - #36956
Merged
copyberry[bot] merged 1 commit intoAug 4, 2026
Conversation
## Why Image resize notices describe the history item immediately before them, so remote compaction must not preserve or discard them independently of that item. ## What changed - Group recognized `image_resize_notice` developer messages with their source history items when filtering compacted history. - Account for each group together when trimming or truncating history to a token budget, preserving the notice only when its source is retained. ## Testing - Extend the remote compaction v2 follow-up test to verify that a retained user image keeps its resize notice, while notices for discarded items and unrecognized developer notices are omitted. GitOrigin-RevId: 82bb70a46eb68b07b4601e7fb345921d0789f442
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/82bb70a46eb68b07b4601e7fb345921d0789f442
branch
from
August 4, 2026 19:34
d4279db to
4bd5b9f
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/82bb70a46eb68b07b4601e7fb345921d0789f442
branch
August 4, 2026 19:35
sickdude-inc
temporarily deployed
to
issue-triage
August 4, 2026 19:44 — with
GitHub Actions
Inactive
sickdude-inc
temporarily deployed
to
issue-triage
August 4, 2026 19:44 — with
GitHub Actions
Inactive
sickdude-inc
temporarily deployed
to
issue-triage
August 4, 2026 19:44 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Keep image resize notices attached during remote compaction
Why
Image resize notices describe the history item immediately before them, so
remote compaction must not preserve or discard them independently of that item.
What changed
image_resize_noticedeveloper messages with their sourcehistory items when filtering compacted history.
budget, preserving the notice only when its source is retained.
Testing
image keeps its resize notice, while notices for discarded items and
unrecognized developer notices are omitted.