feat(core): cache, background refresh and stale-result protection #28
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/7-core-cache"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The core cache and refresh layer for #7. Screens can show what's already loaded at once and refresh in the background. Forge calls are capped at four at a time, and host-wide scans such as ★ Renovate can report "scanned X of Y".
Changes
r, and dropping stale results.internal/core:Servicewraps the session's one forge.Invalidatedrops an entry.Coveragetracks per-repo scan outcomes as a set: duplicates count once and repos outside the set are ignored, so "scanned X" never exceeds Y. It also tracks failures and completeness.docs/architecture.md"Caching and refresh" now points to ADR 0007..gitignore:coverage.*is now/coverage.*. The old pattern silently ignoredinternal/core/coverage.go, which the mutation check caught before this MR was opened.Test plan
make checkexit 0 after rebasing onto develop.Rulings
Closes #7
🤖 Generated with Claude Code