MGS7003: symbol index not current
The conformance checks in magus diff read the symbol index. Before they run,
magus brings the index of every project the change touched up to date, by
running that project's scip target through the run scheduler and the cache:
an index that is already current replays, and a stale one rebuilds only itself.
This code fires when that could not happen for one or more projects. The review
still lists every file, its role, reach and ownership, but the conformance
checks do not run, and each surface says so in their place: the magus diff
report, --prompt, the console, and the conformance section of the pull
request comment, which fails its step rather than reading as a change with
nothing to report.
Why
A stale index answers questions about a tree that no longer exists. A new function missing from it has no family to be compared against, so every check would stay quiet, and quiet is exactly what a clean change looks like. The review refuses to read one rather than report that absence as a result.
Resolution
The message names each project and its cause.
- The indexer is not installed (
scip-go,scip-typescript, and so on). Install the one the message names, then runmagus graph build. - The indexer failed. Run
magus run <project>::scipto see its output, fix what it reports, then rerun the review. - Cache writes are off (
cache.write.enabled: false, orMAGUS_CACHE_WRITE_ENABLED=false). The indexer ran, but the cache recorded nothing to vouch for what it wrote, so the index cannot be told apart from a stale one. Enable cache writes for the run that reviews. WithoutMAGUS_CACHE_SIGNING_KEYit still publishes nothing to a shared cache. - The cache could not be opened. Check that the cache directory is writable, then rerun.