After an Upgrade: Check the Stored Models
Self-Hosted Only
An upgrade can bring a newer engine release. Each revision keeps the engine version and the verdict it was saved with, and its page is built by the engine that runs now. After an upgrade that brings a newer engine, check that every stored revision is still sound:
docker compose exec -T api dotnet NetBlueprint.Registry.Api.dll check-engineFor each revision, in the order they were saved, it checks that:
- the content still matches the SHA-256 fingerprint recorded when it was saved;
- the engine says what it said then: valid or not, the same errors and warnings, word for word;
- a valid model still gets its page.
| It Ends With | Meaning |
|---|---|
| 0 | Every stored revision is sound |
| 1 | Something differs; each revision is named by its id |
| 2 | It could not run: the worker or the database was out of reach, or an argument was wrong |
To compare two engine releases, run it with --report <file> before the upgrade and with --against <file> after it: it then also says whether any verdict or any page changed.
It is a command, not a route: it opens no port, applies no database script and changes nothing. It prints ids, counts and fingerprints only, never a model’s name or content.