Enable retained-image budgeting by default (#40994)

## What changed

- Promote `compaction_image_budget` to stable and enable it by default.
- Charge retained images against the remote compaction context budget unless the feature is explicitly disabled, trimming older images as needed.

## Testing

- Update remote compaction coverage for the default, explicitly enabled, and explicitly disabled behavior.

GitOrigin-RevId: 0f715347cefc33b814bdcfd9b430ef453d3bd6df
This commit is contained in:
pakrym-oai
2026-08-26 23:05:08 +00:00
committed by copyberry
parent 0340e12f5d
commit 528fd7ace5
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1616,8 +1616,8 @@ pub const FEATURES: &[FeatureSpec] = &[
FeatureSpec {
id: Feature::CompactionImageBudget,
key: "compaction_image_budget",
stage: Stage::UnderDevelopment,
default_enabled: false,
stage: Stage::Stable,
default_enabled: true,
},
FeatureSpec {
id: Feature::RetainClientDeveloperMessages,