4 files changed,
+26
−1
docs/superpowers/notes/census-proposal-ci-opentofu-tests.md
+19 −0
infra/modules/region-host/tests/mailer_group.tftest.hcl
+1 −1
internal/provision/testdata/plan14-root-reads-chain.tsv
+1 −0
internal/provision/testdata/plan14-root-reads-ci-opentofu-tests.tsv
+5 −0
| new file mode 100644 |
| index 000000000..9964be6ba |
| --- /dev/null |
| +++ b/docs/superpowers/notes/census-proposal-ci-opentofu-tests.md |
| @@ -0,0 +1,19 @@ |
| +# Census approval: ci-opentofu-tests |
| + |
| +Ruling `census-ruling-ci-opentofu-tests`. The independent reviewer approves or rejects every change below, 0 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26). |
| + |
| +| unit | change | read sites | what changed | |
| +|---|---|---|---| |
| +| `infra/modules/region-host/tests/mailer_group.tftest.hcl` `external` | body | unchanged (1) | Test-only: the data.aws_ami.group override no longer sets most_recent, a configuration argument (group.tf sets it false) that OpenTofu 1.13 refuses to override in a test ("Non-computed field most_recent is not allowed to be overridden"). The override keeps root_device_type, root_device_name and architecture; the module, its AMI lookup and every assertion are unchanged. No read added. | |
| + |
| +Envelopes re-pinned: `infra/modules/region-host/tests`. |
| + |
| +Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Reject if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. A rejected unit goes back to the author to correct; nothing escalates to the census owner. |
| + |
| +Recorded dispositions, which each change must still satisfy: |
| + |
| +- `infra/modules/region-host/tests/mailer_group.tftest.hcl` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-platform-mail-submission;basis=Task 8, new: plan-only runs under mock_provider with group.tftest.hcl's fixtures (plus an AMI override): the two region parameters' names and values with mailer set, none without. Test-only. |
| + |
| +Seal: `8daea28ba9b419e8680e8eb0d44a577c68ec01e02663a878288441dc579cc9f7` → `713d553fb51638f0c3e1496743b39671ea957fd78231dc027beb35213106f441`. |
| + |
| +Overlay: `internal/provision/testdata/plan14-root-reads-ci-opentofu-tests.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`. |
| index 23ebd2a4e..c84abc561 100644 |
| --- a/infra/modules/region-host/tests/mailer_group.tftest.hcl |
| +++ b/infra/modules/region-host/tests/mailer_group.tftest.hcl |
| @@ -11,7 +11,7 @@ override_data { |
| } |
| override_data { |
| target = data.aws_ami.group |
| - values = { root_device_type = "ebs", root_device_name = "/dev/xvda", most_recent = false, architecture = "arm64" } |
| + values = { root_device_type = "ebs", root_device_name = "/dev/xvda", architecture = "arm64" } |
| } |
| override_data { |
| target = data.aws_partition.current |
| index 1c99128cb..7b0324029 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-chain.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-chain.tsv |
| @@ -255,3 +255,4 @@ plan14-root-reads-edge-ppv2-idle.tsv 5d4a5eea79394145fdd59aa5eb87115cc1ee396e02e |
| plan14-root-reads-flake-lease-teardown.tsv 5d4a5eea79394145fdd59aa5eb87115cc1ee396e02e0ab4b21decd2b3a10e3b4 |
| plan14-root-reads-ha-generations.tsv 5bf2d00767807be812b004a474352ec184788be3ce65607a45c37b04956714a2 |
| plan14-root-reads-named-units-param-114.tsv 8daea28ba9b419e8680e8eb0d44a577c68ec01e02663a878288441dc579cc9f7 |
| +plan14-root-reads-ci-opentofu-tests.tsv 713d553fb51638f0c3e1496743b39671ea957fd78231dc027beb35213106f441 |
| new file mode 100644 |
| index 000000000..56d716964 |
| --- /dev/null |
| +++ b/internal/provision/testdata/plan14-root-reads-ci-opentofu-tests.tsv |
| @@ -0,0 +1,5 @@ |
| +# Census overlay ci-opentofu-tests, written by census-propose (#369). census-ruling-ci-opentofu-tests, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-ci-opentofu-tests.md. |
| +# 1 body, 0 sites, 1 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +@legacy bf5c085b8da30deaaa230d6e4659acffcf73478d608d4db6b5941f63d36f5452 infra/modules/region-host/tests/mailer_group.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-platform-mail-submission;basis=Task 8, new: plan-only runs under mock_provider with group.tftest.hcl's fixtures (plus an AMI override): the two region parameters' names and values with mailer set, none without. Test-only.;rev3=census-ruling-ci-opentofu-tests;basis=Test-only: the data.aws_ami.group override no longer sets most_recent, a configuration argument (group.tf sets it false) that OpenTofu 1.13 refuses to override in a test ("Non-computed field most_recent is not allowed to be overridden"). The override keeps root_device_type, root_device_name and architecture; the module, its AMI lookup and every assertion are unchanged. No read added. file:external@0 c9fcb12ac796978a056e06c0ec703e5c0ff365b56a28e42a87ac640bd2390dfe |
| +infra/modules/region-host/tests/mailer_group.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-platform-mail-submission;basis=Task 8, new: plan-only runs under mock_provider with group.tftest.hcl's fixtures (plus an AMI override): the two region parameters' names and values with mailer set, none without. Test-only.;rev3=census-ruling-ci-opentofu-tests;basis=Test-only: the data.aws_ami.group override no longer sets most_recent, a configuration argument (group.tf sets it false) that OpenTofu 1.13 refuses to override in a test ("Non-computed field most_recent is not allowed to be overridden"). The override keeps root_device_type, root_device_name and architecture; the module, its AMI lookup and every assertion are unchanged. No read added. file:external@0 c9fcb12ac796978a056e06c0ec703e5c0ff365b56a28e42a87ac640bd2390dfe |
| +@coverage infra/modules/region-host/tests 691b707e8b8ec46452ba4d2a9d5ff829673f02ddb258b4add7ff006d877ea4cc |