carlos / platform Public

census: re-pin the root envelope for the ECS module

The `.` envelope pins go.mod and go.sum, which gained the ECS SDK for
internal/mediaaws. No census unit changed and no root read was added:
the root binary links none of the media packages or the ECS module.

Also drops a dead slice from a mediaimage test that staticcheck flags.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 25614fb1467feb22528af088cd9bca7b42447e04 parent a2b9729
3 files changed, +8 −3
  • cmd/mediaimage/mediaimage_test.go +0 −2
  • docs/superpowers/notes/census-claims-media-conversion.tsv +7 −0
  • internal/provision/testdata/plan14-root-reads-media-conversion.tsv +1 −1

CI failed — run details

diff --git a/cmd/mediaimage/mediaimage_test.go b/cmd/mediaimage/mediaimage_test.go
index 0a4377f28..f8d7ea045 100644
--- a/cmd/mediaimage/mediaimage_test.go
+++ b/cmd/mediaimage/mediaimage_test.go
@@ -1298,9 +1298,7 @@ func TestImageConfig(t *testing.T) {
if !bytes.Equal(binary.body, want) {
t.Fatal("the layer's binary is not the given binary")
}
- var names []string
for name, e := range debs {
- names = append(names, name)
if e.hdr.Uid != 0 || e.hdr.Gid != 0 || e.hdr.Uname != "" || e.hdr.Gname != "" {
t.Fatalf("%s is owned %d:%d %q:%q", name, e.hdr.Uid, e.hdr.Gid, e.hdr.Uname, e.hdr.Gname)
}
diff --git a/docs/superpowers/notes/census-claims-media-conversion.tsv b/docs/superpowers/notes/census-claims-media-conversion.tsv
index 32e26da7a..fdd514663 100644
--- a/docs/superpowers/notes/census-claims-media-conversion.tsv
+++ b/docs/superpowers/notes/census-claims-media-conversion.tsv
@@ -54,3 +54,10 @@
# is added, so it takes no claim line (one would be "not a change the census sees"). For the reviewer: it is an
# operator drill script run from docs-t1 with the operator's own AWS profiles; root never runs, installs or reads it.
# Its fixture root scripts/media-endpoint-drill/*.tf is outside infra/ for the same reason (fix round 2).
+#
+# Plan 3 Task 9: no census unit changes and no new root read. make census-card lists no unit; only the `.` envelope is
+# re-pinned, because the envelope pins go.mod and go.sum. go.mod gains one requirement,
+# github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0, and go.sum its two hashes. The module is linked only by
+# internal/mediaaws, which is new and outside the root binary: go list -deps . for linux amd64 and arm64 names none of
+# internal/media, internal/mediajobs, internal/mediaaws, internal/mediahandler, internal/storecfg or service/ecs.
+# internal/mediahandler/transfers.go (new) is outside the root binary for the same reason.
diff --git a/internal/provision/testdata/plan14-root-reads-media-conversion.tsv b/internal/provision/testdata/plan14-root-reads-media-conversion.tsv
index 425064099..4358e77d7 100644
--- a/internal/provision/testdata/plan14-root-reads-media-conversion.tsv
+++ b/internal/provision/testdata/plan14-root-reads-media-conversion.tsv
@@ -1,6 +1,6 @@
# Census overlay media-conversion, written by census-propose (#369). census-ruling-media-conversion, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-media-conversion.md.
# 0 body, 0 sites, 4 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
-@coverage . d1a773221c299e4930ba05635ca94e81e343d4f3971d5f2a58e8069864528c86
+@coverage . 5998f3b0162045d2c96f3e62bed509ff0e29649ae25dcc6e62567cbd1cb7404c
@coverage internal/clireg 0dc017b7b3c547ef67b328decf65e613a8dc25f43e7d09f5e7144a73e5d325ba
@coverage internal/objstore c82dfa6f554b542bd88a8abd689eebf9c4a898035b3e5172c39f3ab4de09b359
@coverage internal/plans 9d8eda538aaee256421b22df37e64c434680c35df8414abbc1393aae870fe23f