Skip to content
Snippets Groups Projects

diskcache: ignore files that go missing during filepath.Walk

Merged Administrator requested to merge k/best-effort-diskcache-evict into main

Created by: keegancsmith

For example this can happen when diskcache renames a temporary file. We shouldn't bail out early, but rather lets work on best effort information.

Test Plan: this is tough to reproduce, so instead I am relying on tests to catch any possible regressions.

Part of https://github.com/sourcegraph/sourcegraph/issues/34828

Merge request reports

Merged by avatar (Jul 5, 2025 7:10pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading