Read a file's object from the node's own bucket, declaration-files-<node>, never a shared one (issue 1695, ADR 0486 §2)

mesh-sdk is pinned to fix/1694-bucket-per-node 36d9eba51db9 until it merges.
This commit is contained in:
2026-10-21 15:41:09 +02:00
parent fd3259a3f5
commit d5eeb860e3
8 changed files with 68 additions and 17 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ func TestAMissingObjectFailsTheApply(t *testing.T) {
d := &declaration.Declaration{Resources: []declaration.Resource{referenceTo(t, "/nowhere/big", body)}}
var asked []string
if err := ResolveFileReferences(context.Background(), d, objects(nil, &asked)); err == nil ||
!strings.Contains(err.Error(), "m.big") || !strings.Contains(err.Error(), "declaration-files") {
!strings.Contains(err.Error(), "m.big") || !strings.Contains(err.Error(), "object bucket") {
t.Errorf("1695/AC3: missing object: %v", err)
}
if err := ResolveFileReferences(context.Background(), d, nil); err == nil || !strings.Contains(err.Error(), "no link to the bus") {