| index 58bd3ce8a..1af136b05 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-self-serve-moves-2.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-self-serve-moves-2.tsv |
| @@ -126,9 +126,24 @@ internal/host/movespass.go armOffline legacy accepted-legacy accepted-legacy;rev |
| internal/host/probes.go stagePathActive legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=root-input (J4, as configPathActive): systemctl is-active carlos-stage.path for the precheck's and the ready report's stage-path fact; self-serve moves 2 Task 6 file:Command@42 f7cbe0e2ba971d201f8fc7111eb4cebac9c9bae14cc826366c06b9e8bd3eecb8 |
| @legacy 6febdffd5ed3a46ca7c8296e2bf12d8249561e26ab6479eb672f40a96b13f0f4 internal/status/snapshot.go CollectBox legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=root-route; self-serve moves 2 Task 6: carries Probes.BoxID, Lanes and Hosts into the private BoxMetrics only (never the public feed); read sites unchanged, offsets moved registry:Alias@4465,registry:CertExpiresAt@3160,registry:CertExpiresAt@3396,registry:CertExpiresAt@4580,registry:DBPath@2495,registry:DBPath@2553,registry:DNSCheckedAt@3365,registry:DNSCheckedAt@4549,registry:DNSStatus@3139,registry:DNSStatus@3334,registry:DNSStatus@4519,registry:Hibernate@3853,registry:Host@2295,registry:Host@2437,registry:Host@2666,registry:Host@3280,registry:Host@3315,registry:Host@4500,registry:Kind@2473,registry:Kind@3807,registry:Platform@2152,registry:ServingVersion@2324,registry:ServingVersion@2447,registry:Socket@3988,registry:Version@2186,registry:Version@2305,whole:Route@1581,whole:RouteAlias@4362 e874e3166d22d437b4d4daf2b1dc8b2d56bc853076cc132b9b2c1d30f9a2b1be |
| internal/status/snapshot.go CollectBox legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=root-route; self-serve moves 2 Task 6: carries Probes.BoxID, Lanes and Hosts into the private BoxMetrics only (never the public feed); read sites unchanged, offsets moved registry:Alias@4465,registry:CertExpiresAt@3160,registry:CertExpiresAt@3396,registry:CertExpiresAt@4580,registry:DBPath@2495,registry:DBPath@2553,registry:DNSCheckedAt@3365,registry:DNSCheckedAt@4549,registry:DNSStatus@3139,registry:DNSStatus@3334,registry:DNSStatus@4519,registry:Hibernate@3853,registry:Host@2295,registry:Host@2437,registry:Host@2666,registry:Host@3280,registry:Host@3315,registry:Host@4500,registry:Kind@2473,registry:Kind@3807,registry:Platform@2152,registry:ServingVersion@2324,registry:ServingVersion@2447,registry:Socket@3988,registry:Version@2186,registry:Version@2305,whole:Route@1581,whole:RouteAlias@4362 e874e3166d22d437b4d4daf2b1dc8b2d56bc853076cc132b9b2c1d30f9a2b1be |
| -@coverage internal/host 8f1c08e95ae6cb5f287d7acea0bb3e7311a94f69cdbf0afd0ff4bebb21075af4 |
| +@coverage internal/host 8d7475111d24213ca7ad4f897506f58a77d1ee25aa35a4ab6b8f4b6c9663c14f |
| @coverage internal/lease 7e2a4a3652f964aaf1ee32356d2538a292c66ee0aaf9e622cf087b644aeaaa61 |
| @coverage internal/status 6bf65bf3b04fdc150e2ec35d2d0d67046cf37b7c60a9dcde1c2204b75bcf8d2b |
| # Task 6 fix round 1 (the import cycle internal/park's tests saw), rev3=PROPOSED-self-serve-moves-2: PlacementMatches moves into internal/regionname (park.PlacementMatches delegates to it, unchanged in behaviour) so internal/moves no longer imports internal/park; no root read is added or moved. Envelopes: internal/moves in place, internal/park and internal/regionname added. |
| @coverage internal/park 778a86513bc64068b93e257c09972fbc307ebe401a125a61003f3ad26a28f611 |
| @coverage internal/regionname edcc0632066dc324b7df2d59a03bebcc0bf9e243bd0892fcddcfa633747977f4 |
| +# Task 10a (the exported end-to-end bridge), rev3=PROPOSED-self-serve-moves-2: the offline move tests' two-box world moves out of the _test.go files into internal/host/e2e_bridge.go, an untagged file of package host, with the exported bridge (E2E) after it. Seven units of that file read root inputs, every one in the test's own temporary directories, registries and loopback buckets; each is frozen accepted-legacy beside leasetest's, tests only. No production unit changes. The internal/host envelope is refreshed in place in its Task 6 row. |
| +@legacy ff95fd9e8ecfa4d112499e3d823a29b61c6fc93ec547fe75afdce55f08a205b7 internal/host/e2e_bridge.go E2E.status legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): lists the bridge box's own registry in the test's temporary directory (Registry.List) and hands the rows to selfServeStatusProbes and statusTick, as statusLoop does; self-serve moves 2 Task 10a whole:Route@308 e581513d08cf0b6634741aa86584ed120ef78968ad667ddf2edc49c3fef3c021 |
| +internal/host/e2e_bridge.go E2E.status legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): lists the bridge box's own registry in the test's temporary directory (Registry.List) and hands the rows to selfServeStatusProbes and statusTick, as statusLoop does; self-serve moves 2 Task 10a whole:Route@308 e581513d08cf0b6634741aa86584ed120ef78968ad667ddf2edc49c3fef3c021 |
| +@legacy bc7fc8c932d216174f2db676b1f566d94d181624cd13e4c776908ac6af1c300a internal/host/e2e_bridge.go offBox.row legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): reads one row of the test box's own registry (Registry.Get); moved unchanged from movesoffline_test.go but for testing.TB; self-serve moves 2 Task 10a whole:Route@145 95c7619a77fc2d84c66952e74a7f04a5de8b0275d11cafd05aaf924941230a80 |
| +internal/host/e2e_bridge.go offBox.row legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): reads one row of the test box's own registry (Registry.Get); moved unchanged from movesoffline_test.go but for testing.TB; self-serve moves 2 Task 10a whole:Route@145 95c7619a77fc2d84c66952e74a7f04a5de8b0275d11cafd05aaf924941230a80 |
| +@legacy cdaee7d732a5ba5c04a82a1c9e89c9fb1245b3f105d3a41b7172e2248210b215 internal/host/e2e_bridge.go offWorld.box legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): opens a fresh registry in the test's temporary directory (registry.Open) for one test box; moved unchanged from movesoffline_test.go but for testing.TB; self-serve moves 2 Task 10a file:Open@227 c07455d80534d8d75d233aea2f72ceffedb4b2ebdfb70138de981fbd203bac30 |
| +internal/host/e2e_bridge.go offWorld.box legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): opens a fresh registry in the test's temporary directory (registry.Open) for one test box; moved unchanged from movesoffline_test.go but for testing.TB; self-serve moves 2 Task 10a file:Open@227 c07455d80534d8d75d233aea2f72ceffedb4b2ebdfb70138de981fbd203bac30 |
| +@legacy 235f1683fefe83b34ddefde51edb81ebdc1265560ea85152e491269ecfd719cc internal/host/e2e_bridge.go sealWorld.dbPath legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): the database path on the test source's own registry row; moved unchanged from movesoffline_seal_test.go but for testing.TB; self-serve moves 2 Task 10a registry:DBPath@135,whole:Route@89 5fba968d543afb9c9b7671bfd37f17071a5254d747d17897af3e2e99f124b031 |
| +internal/host/e2e_bridge.go sealWorld.dbPath legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): the database path on the test source's own registry row; moved unchanged from movesoffline_seal_test.go but for testing.TB; self-serve moves 2 Task 10a registry:DBPath@135,whole:Route@89 5fba968d543afb9c9b7671bfd37f17071a5254d747d17897af3e2e99f124b031 |
| +@legacy a27bd5b1b34952659653d86c2fba3e4c4c0cb6399953c6758034e2259fd46344 internal/host/e2e_bridge.go sealWorld.instance legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): gives the test source a served instance: its own registry row, replication rung, next due and timers, files and env files under the test's data directory and a live link under its opt directory; moved unchanged from movesoffline_seal_test.go but for testing.TB; self-serve moves 2 Task 10a registry:DBPath@1162,registry:HoldOp@115,whole:Route@102,whole:Route@164,whole:Timer@752 65cf525b9457a9d65efec26a6ba13a06b7f9c7006e0ce85511c31fb919522e25 |
| +internal/host/e2e_bridge.go sealWorld.instance legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): gives the test source a served instance: its own registry row, replication rung, next due and timers, files and env files under the test's data directory and a live link under its opt directory; moved unchanged from movesoffline_seal_test.go but for testing.TB; self-serve moves 2 Task 10a registry:DBPath@1162,registry:HoldOp@115,whole:Route@102,whole:Route@164,whole:Timer@752 65cf525b9457a9d65efec26a6ba13a06b7f9c7006e0ce85511c31fb919522e25 |
| +@legacy f88ac88e429c086a6dafc20cca13f9d7935829d49b4a49f2fa006d6dc100b9ed internal/host/e2e_bridge.go sealWorld.writeRows legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): opens the test instance's SQLite database in the test's temporary directory, inserts rows and replicates them to the loopback fake data bucket (lease.ReplicateWithLease); moved unchanged from movesoffline_seal_test.go but for testing.TB; self-serve moves 2 Task 10a file:Exec@326,file:Exec@419,file:Open@124 6d3fc5f98e93d64254385a585d0999252d2ec35e36c965dd5d903b0e490a8a35 |
| +internal/host/e2e_bridge.go sealWorld.writeRows legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): opens the test instance's SQLite database in the test's temporary directory, inserts rows and replicates them to the loopback fake data bucket (lease.ReplicateWithLease); moved unchanged from movesoffline_seal_test.go but for testing.TB; self-serve moves 2 Task 10a file:Exec@326,file:Exec@419,file:Open@124 6d3fc5f98e93d64254385a585d0999252d2ec35e36c965dd5d903b0e490a8a35 |
| +@legacy fdefb1cda1e8d4e882e51ed7db32b601924ca8f7d01c775dabdb2e483208b0ba internal/host/e2e_bridge.go withAgentEnv legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): swaps one test box's agent variables into the process environment around the launch composer, which takes the route; moved unchanged from movesoffline_e2e_test.go; self-serve moves 2 Task 10a whole:Route@663 4ed1f418dbfe500319a3ea2f2c34b56f295c60c3f3599f2274902112decb1170 |
| +internal/host/e2e_bridge.go withAgentEnv legacy accepted-legacy accepted-legacy;rev3=PROPOSED-self-serve-moves-2;basis=tests only (internal/host/e2e_bridge.go: the offline move tests' two-box world and the exported end-to-end bridge, called by internal/host's tests and by internal/e2e/selfserve under the e2e build tag and by no production code path; linked into the agent as dead code, stated and accepted by the plan): swaps one test box's agent variables into the process environment around the launch composer, which takes the route; moved unchanged from movesoffline_e2e_test.go; self-serve moves 2 Task 10a whole:Route@663 4ed1f418dbfe500319a3ea2f2c34b56f295c60c3f3599f2274902112decb1170 |