Read the facts snapshot with mesh-sdk's go/facts, formats 1 and 2, and keep writing format 1 (issue 1390, 3 of 4)

The merge gate, the build seat's check and the facts writer import the snapshot's type from mesh-sdk (go/facts), whose reader takes formats 1 and 2 and refuses a newer one. The writer keeps writing format 1 (writtenFormat); moving it to 2 is a release of its own (novox/hq ADR 0456). A test shows the writer writes format 1, carries no grants or bindings, and the reader takes both formats and refuses a newer one.
This commit is contained in:
2026-10-20 09:41:16 +00:00
parent 0e2ab4a96a
commit b692a95280
15 changed files with 81 additions and 15 deletions
+1 -1
View File
@@ -20,8 +20,8 @@ import (
"sync"
"time"
"git.novox.be/novox/mesh-sdk/go/facts"
"github.com/novox/mesh-controller/internal/artifacts"
"github.com/novox/mesh-controller/internal/facts"
)
// A pull request's merge check, run on the build seat (novox/hq to-be 45 §9, ADR 0237).
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"testing"
"time"
"github.com/novox/mesh-controller/internal/facts"
"git.novox.be/novox/mesh-sdk/go/facts"
)
// **A check's container never sees the forge credential** (novox/hq issue 462): the toolchain container
+1 -1
View File
@@ -7,8 +7,8 @@ import (
"testing"
"time"
"git.novox.be/novox/mesh-sdk/go/facts"
"github.com/novox/mesh-controller/internal/artifacts"
"github.com/novox/mesh-controller/internal/facts"
)
// A merge check on the build seat (novox/hq to-be 45 §9), against a real container runtime and a real