Files
craft-anything/docs/schemas/build-progress.schema.json
T
Afloat 48759fb5fc Stop unchanged rebuilds after two turns across runs (#557)
Refs #44, #110 and #481. A build stops after two builder turns in a row change no app files, counted across runs in a versioned inbox/build-progress.json; a new request or a real edit starts another attempt. File digests are cached by size and modification time, so unchanged files aren't read again.
2026-11-03 19:31:22 +07:00

31 lines
709 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "BuildProgress",
"description": "The app as the builder last left it, and turns since it last changed. Only the rebuild run\nwrites this record. An older project without one has no counted turns.",
"type": "object",
"properties": {
"fingerprint": {
"type": [
"string",
"null"
],
"default": null
},
"unchanged_turns": {
"type": "integer",
"format": "uint32",
"default": 0,
"minimum": 0
},
"version": {
"type": "integer",
"format": "uint32",
"minimum": 0
}
},
"additionalProperties": false,
"required": [
"version"
]
}