carlos / platform Public

console remote instances: claim invariant fixture starts its console a day ago

CI at f764752d: TestClaimConsoleMutationInvariant's canary-retire door
case was refused by the retire guard's startup rule (a console that
started within channelSettle cannot vouch for deletions before it), so
its open run reached no effect. The claim world's console now starts a
day ago, as the console fixture's does. Passes locally (twice).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev d8f11e4fd621fbd680148749563d1d1c8e89a540 parent f764752
1 file changed, +3 −0
  • internal/console/claim_invariant_world_test.go +3 −0

CI passed — run details

diff --git a/internal/console/claim_invariant_world_test.go b/internal/console/claim_invariant_world_test.go
index 6b56214f3..4f1d799fa 100644
--- a/internal/console/claim_invariant_world_test.go
+++ b/internal/console/claim_invariant_world_test.go
@@ -563,6 +563,9 @@ func newClaimCaseWith(t *testing.T, opts ...func(*Config)) *claimCase {
if err != nil {
t.Fatalf("NewServer with HostClaim: %v", err)
}
+ // A console that has been up a while: the canary-retire guard does not
+ // vouch for the window before a console started (recentRecordDeletion).
+ srv.startedAt = time.Now().Add(-24 * time.Hour)
if err := srv.ConfigureClaimRuntime(ctx); err != nil {
t.Fatalf("ConfigureClaimRuntime: %v", err)
}