Skip to content

Share cached reference analysis - #23

Merged
Perdolique merged 1 commit into
masterfrom
codex/shared-reference-analysis
Sep 2, 2026
Merged

Perdolique merged 1 commit into
masterfrom
codex/shared-reference-analysis

Conversation

@Perdolique

Copy link
Copy Markdown
Owner

Summary

Give reference analysis one shared home and keep CodeLens findings fresh as the workspace changes 😎👍

  • ♻️ Extract the shared analyzer from the CodeLens provider and cache completed results by document version and graph/configuration epochs.
  • ⚡ Keep the global four-lookup limit, remove cancelled waiters, and skip stale queued work before granting a slot.
  • 🔄 Invalidate findings after supported cross-document edits and filesystem changes, and add the zeroReference.refresh command.
  • ✅ Cover cache reuse and isolated eviction, provider-error recovery, queued cancellation, filesystem events, cross-document edits, and refresh behavior.
  • 🔧 Add formatter scripts, apply consistent formatting, enforce it in CI, and document the local verification order.

Dependency updates

  • worsier: not installed -> 3.2.0

- ✨ Extract shared analysis with document and epoch-based caching
- 🐛 Invalidate findings on cross-document edits and filesystem changes
- ⚡ Remove cancelled waiters and skip stale queued reference lookups
- ✨ Add the manual refresh command and keep CodeLens as an adapter
- ✅ Cover cache eviction, provider recovery, cancellation, and lifecycle changes
- 🔧 Add repository verification guidance and CI formatting checks
- 📦 worsier: not installed -> 3.2.0
@Perdolique Perdolique self-assigned this Sep 2, 2026
@Perdolique
Perdolique marked this pull request as ready for review September 2, 2026 10:29
@Perdolique
Perdolique merged commit 2d981d8 into master Sep 2, 2026
3 checks passed
@Perdolique
Perdolique deleted the codex/shared-reference-analysis branch September 2, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant