Repository navigation
perf(web): coalesce overlapping file tree refreshes - #18421
Approved
- Eligibility
- Correctness
Note
More information about how approvability works can be found in our Help Center.
Details
Eligibility
Overlapping file-tree refreshes now share a follow-up listing while retaining the existing four-query concurrency limit. The change is limited to read scheduling and transient UI state, with no material operational or data risk identified.
Additional Thinking
Your Custom Policy
Default approvability criteria apply. This scheduling optimization changes no product defaults and adds or broadens no static-analysis suppression; the existing lint directive is unchanged.
Code
Coalesces overlapping directory refreshes into one shared follow-up per directory and schedules refreshes through the existing four-query limiter. Effects are confined to file-tree listing reads and transient UI state; active checks prevent follow-up reads after unmount.
Review Context
Author is saphid; ownership context was not supplied. No unresolved review comments, correctness findings, blocking-severity configuration, or check results were supplied. One test file was omitted under the customer's ignore rules.
Verdict
The understood change reduces redundant read requests while retaining bounded query concurrency. It introduces no persistent-data mutations, access changes, or consequential product decision requiring human judgment.
Notes:
No code owners found in target merge base 45d29b4
Agent Credits: 30 credits
Approvability runs at a flat rate of 30 credits whenever the agent is asked for a verdict.