Skip to content

feat: promote context window usage breakdown to stable - #14534

Merged
captainsafia merged 1 commit into
masterfrom
oz-agent/promote-context-window-breakdown-stable
Aug 1, 2026
Merged

feat: promote context window usage breakdown to stable#14534
captainsafia merged 1 commit into
masterfrom
oz-agent/promote-context-window-breakdown-stable

Conversation

@captainsafia

Copy link
Copy Markdown
Contributor

Description

Promotes the detailed context-window usage breakdown to Stable in the Warp client.

  • Enables the context_window_usage_breakdown Cargo feature by default.
  • Removes ContextWindowUsageBreakdown from DOGFOOD_FLAGS because Stable builds now compile and enable it through the existing feature bridge.
  • Keeps the feature flag and compile-time bridge in place for a one-line rollback during stabilization.
  • Updates the feature comment to remove the stale dev-only designation.

This complements the server-side production rollout and addresses REMOTE-2390.

Validation

  • ./script/format
  • cargo check -p warp_features
  • cargo clippy -p warp_features --all-targets -- -D warnings
  • Confirmed via cargo metadata that context_window_usage_breakdown is present in the default feature set.

No new integration test is included because this PR only promotes the existing, already-tested implementation through configuration; it does not change rendering behavior.

Co-Authored-By: Oz oz-agent@warp.dev

Conversation: https://staging.warp.dev/conversation/058394b3-c0e4-4edd-a6af-3f2ee8405276
Run: https://oz.staging.warp.dev/runs/019fb027-7a76-7053-834f-5ba35407e63b
This PR was generated with Oz.

Enable the context_window_usage_breakdown Cargo feature by default and
remove the redundant DOGFOOD_FLAGS entry while keeping the runtime flag
and compile-time bridge for rollback.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Jul 30, 2026
@captainsafia
captainsafia marked this pull request as ready for review July 31, 2026 23:57
@oz-for-oss

oz-for-oss Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

@captainsafia

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@advait-m advait-m left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@oz-for-oss oz-for-oss 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.

Overview

This PR promotes the context window usage breakdown by enabling the Cargo feature in the app default feature set and removing the runtime dogfood flag entry while keeping the existing compile-time bridge.

Concerns

  • The change enables a user-facing Stable UI path, but the PR description does not include screenshots or a screen recording demonstrating the breakdown end to end.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread app/Cargo.toml
"mcp_grouped_server_context",
"fork_from_command",
"context_window_usage_v2",
"context_window_usage_breakdown",

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.

⚠️ [IMPORTANT] This promotes a user-facing UI path to Stable; please attach screenshots or a short screen recording showing the context-window breakdown working end to end.

@captainsafia
captainsafia enabled auto-merge (squash) August 1, 2026 00:02
@captainsafia
captainsafia merged commit fa70ad0 into master Aug 1, 2026
45 checks passed
@captainsafia
captainsafia deleted the oz-agent/promote-context-window-breakdown-stable branch August 1, 2026 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants