chore(featureflags): remove dead EdgeProvidedSandboxMetricsFlag - #3158
Conversation
This flag was a temporary migration toggle from #1588 for the sandbox-metrics read path. The consuming code was removed in 9cc1504 ("Make edge api optional for OSS deployment", #1638), which collapsed onto a single cluster resource provider but left this declaration behind as dead code. No references remain. Link: #1638
PR SummaryLow Risk Overview That toggle was left over after the sandbox-metrics read path and edge-API migration code were removed; nothing in the repo references it anymore. Reviewed by Cursor Bugbot for commit a3955c8. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Code Review
This pull request removes the unused EdgeProvidedSandboxMetricsFlag feature flag from the shared feature flags package. There are no review comments, and we have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
❌ 1 Tests Failed:
View the top 1 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
There was a problem hiding this comment.
LGTM — dead flag removal, verified no references remain.
Extended reasoning...
Overview
Single-line deletion in packages/shared/pkg/featureflags/flags.go removing the EdgeProvidedSandboxMetricsFlag declaration. PR description explains it was a temporary migration toggle from #1588 whose consuming code was removed in #1638.
Security risks
None. Removing an unused feature flag declaration has no runtime security implications.
Level of scrutiny
Low. This is pure dead-code removal in the feature flag registry. Verified via grep that no references to either EdgeProvidedSandboxMetricsFlag (symbol) or edge-provided-sandbox-metrics (LD key string) exist anywhere in the repo.
Other factors
The change is one line, mechanical, and self-contained. No behavior change. Safe to approve without human review.
This flag was a temporary migration toggle from #1588 for the sandbox-metrics read path. The consuming code was removed in 9cc1504 ("Make edge api optional for OSS deployment", #1638), which collapsed onto a single cluster resource provider but left this declaration behind as dead code. No references remain.
Link: #1638