CAT-BI1: a copy keeps its wait for the mirror's outcome in the state mirror-waits

The image seat's published and refused reach one instance of the module, not
necessarily the one whose copy waits, so an outcome held only in memory was
dropped. The instance that hears it now writes it into the copy's key, and the
copy reads it there, woken by its watch of the state; build_image_mirror_waits
reads the state.

Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
This commit is contained in:
2026-11-04 15:58:37 +01:00
parent 6da45bc090
commit 1c4739698a
10 changed files with 333 additions and 51 deletions
+3 -1
View File
@@ -9,7 +9,8 @@
],
"state": [
"keys",
{"name": "steps", "ttl-seconds": 172800}, "pauses"
{"name": "steps", "ttl-seconds": 172800}, "pauses",
{"name": "mirror-waits", "ttl-seconds": 172800}
],
"claims": [
{
@@ -42,6 +43,7 @@
"build_image_fetch",
"build_image_build",
"build_image_copy",
"build_image_mirror_waits",
"build_image_release",
"build_image_step",
"build_image_steps",