You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove stored context from readahead cache struct (#4690)
## Summary
- Remove the `ctx context.Context` field from the readahead cache
struct, per the guidance in https://go.dev/blog/context-and-structs
- Introduce `enqueueReadahead` for background work tied to the cache's
lifetime, separate from `enqueue` which respects individual caller
cancellation
Follow-up to
#4657 (comment).
## Test plan
- [x] Existing `TestWorkspaceFilesCache_*` tests pass
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments