magus v0.3.0 is out. See what's new
¶ View markdown source · ✎ Suggest an edit

MGS4006: stale generated output

A generated output changed when you regenerated it, and one of its declared inputs is also dirty. The output is stale: a source input moved on from the version the committed output was built from, so the committed output no longer reflects its inputs.

[MGS4006] generated output drifted and a declared input changed; re-run
`magus run generate:rw` and commit

Why

This is real content drift, not toolchain noise (contrast MGS4005, where the inputs are unchanged). A declared input - a source file the generator reads - changed without the generated output being regenerated to match. Left uncommitted, the repository ships a generated file that disagrees with its own source.

Resolution

Regenerate and commit: magus run generate:rw, then commit the updated outputs alongside the input change that caused them. This is the expected, healthy path - the output simply needs to catch up with its inputs.

MGS4006driftgeneratedstaleinputsregenerate
Last updated (b022d75e)
Glossary

Health

The at-a-glance daemon state derived from the pool: healthy when the pool is reporting, degraded when it reports an error, down when there is no pool. The dashboard color-codes each state. See daemon.

Conventions

This page uses none of the site's convention markers. The full set is on the conventions page.