carlos / platform Public

transfers: owed notices survive the end; alerts flow while capture retries

Notices a transition makes due (unpaid page, done/unpaid/failed owner
emails, a failed-refund alert) are owed in Facts in the transition's own
CAS move, and a delivery step sends them after every pass, and from a new
pass over ended transfers that still owe one (notices_owed column),
recording each delivery in Facts.Alerts. Settlement never waits on it.

Due alerts are computed every pass whatever the action: the lapse alert
for any authorised hold, a capture-failing alert after three failed sends
(counted apart from the payment outcome), then daily. Unknown alerts
count from when the outcome became unknown; one failed read after
pending is not yet unknown. Short refunds and mismatched payments alert;
a refund refused three times can be resolved refunded_outside. The
simulation checks every owed notice is delivered once, with crashes at
the new boundaries, and the clock seam reaches purchaseCheckout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev b9fc09d1467030c80c9d10ad8cf57b9786b81ffc parent 140f063
12 files changed, +1,238 −262
  • internal/console/domainbuy.go +20 −4
  • internal/console/domainpurchase_shared.go +14 −5
  • internal/console/domainstore.go +23 −4
  • internal/console/domaintransfer.go +134 −72
  • internal/console/domaintransfer_copy.go +6 −2
  • internal/console/domaintransfer_decide.go +153 −64
  • internal/console/domaintransfer_decide_test.go +376 −91
  • internal/console/domaintransfer_facts.go +23 −5
  • internal/console/domaintransfer_notices.go +118 −0
  • internal/console/domaintransfer_resolve.go +33 −14
  • internal/console/domaintransfer_test.go +336 −0
  • internal/console/jobs_test.go +2 −1

CI failed — run details

CI log
=== gate ===
go: downloading go1.26.10 (linux/arm64)
go version go1.26.10 linux/arm64
opentofu: arm64, tofu 1.13.9, aws 6.73.0, archive 2.8.1
  tofu: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/tofu_1.13.9_linux_arm64.tar.gz
  tofu: downloaded, digest verified
  aws: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-aws_6.73.0_linux_arm64.zip
  aws: downloaded, digest verified
  archive: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-archive_2.8.1_linux_arm64.zip
  archive: downloaded, digest verified
  installed in /tmp/carlos-opentofu-DjopiI
.amadan/test-gate.sh
go: downloading github.com/aws/aws-sdk-go-v2 v1.44.0
go: downloading github.com/benbjohnson/litestream v0.5.14
go: downloading github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.68.0
go: downloading github.com/aws/aws-sdk-go-v2/service/costexplorer v1.67.5
go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.105.0
go: downloading github.com/aws/aws-sdk-go-v2/service/sns v1.43.0
go: downloading github.com/aws/aws-sdk-go-v2/service/acm v1.45.0
go: downloading github.com/aws/aws-sdk-go-v2/service/ec2 v1.324.0
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.37.0
go: downloading github.com/aws/aws-sdk-go-v2/service/route53 v1.64.1
go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.45.6
go: downloading golang.org/x/sys v0.49.0
go: downloading github.com/superfly/ltx v0.5.1
go: downloading github.com/aws/aws-sdk-go-v2/service/iam v1.58.2
go: downloading golang.org/x/net v0.62.0
go: downloading golang.org/x/crypto v0.58.0
go: downloading golang.org/x/mod v0.41.0
go: downloading github.com/pion/logging v0.2.4
go: downloading github.com/aws/aws-sdk-go-v2/service/sesv2 v1.66.6
go: downloading github.com/pion/turn/v4 v4.1.4
go: downloading github.com/pion/stun/v3 v3.1.5
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.40
go: downloading golang.org/x/text v0.43.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.40
go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.38
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.40
go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.14
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.23
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.31
go: downloading github.com/pion/transport/v4 v4.0.2
go: downloading github.com/pion/dtls/v3 v3.1.4
go: downloading golang.org/x/sync v0.24.0
go: downloading github.com/prometheus/client_golang v1.17.0
go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.20.18
go: downloading github.com/lmittmann/tint v1.1.3
go: downloading google.golang.org/protobuf v1.36.10
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading github.com/prometheus/common v0.45.0
go: downloading github.com/pion/randutil v0.1.0
go: downloading github.com/wlynxg/anet v0.0.5
go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
go: downloading github.com/klauspost/compress v1.20.2
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/libc v1.74.1
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/google/uuid v1.6.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
=== launchctx (4 s, from +0 s)
ok  	amadan.net/carlos/platform.git/launchctx	0.016s
?   	amadan.net/carlos/platform.git/launchctx/controlname	[no test files]
?   	amadan.net/carlos/platform.git/launchctx/wireid	[no test files]
=== vet (176 s, from +0 s)
go: downloading modernc.org/sqlite v1.55.0
go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/mathutil v1.7.1
=== vet-tags (186 s, from +0 s)
go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/memory v1.11.0
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
=== gofmt (1 s, from +0 s)
gofmt -l .: clean
=== rest (378 s, from +15 s)
ok  	github.com/carlosframework/platform/cmd/carlos-media	123.504s
?   	github.com/carlosframework/platform/cmd/changelog	[no test files]
ok  	github.com/carlosframework/platform/cmd/console	204.720s
ok  	github.com/carlosframework/platform/cmd/mediaimage	43.598s
ok  	github.com/carlosframework/platform/cmd/moveprobe	14.899s
ok  	github.com/carlosframework/platform/cmd/pricebook-export	0.040s
ok  	github.com/carlosframework/platform/cmd/rootfswitness	0.214s
ok  	github.com/carlosframework/platform/cmd/runsc-assets	0.135s
ok  	github.com/carlosframework/platform/cmd/zddprobe	1.046s
ok  	github.com/carlosframework/platform/internal/agentsock	0.085s
ok  	github.com/carlosframework/platform/internal/alerting	0.033s
ok  	github.com/carlosframework/platform/internal/analytics	0.439s
ok  	github.com/carlosframework/platform/internal/appconfig	43.560s
ok  	github.com/carlosframework/platform/internal/apperr	0.640s
ok  	github.com/carlosframework/platform/internal/applog	0.765s
ok  	github.com/carlosframework/platform/internal/apppolicy	2.943s
ok  	github.com/carlosframework/platform/internal/assetcache	0.555s
ok  	github.com/carlosframework/platform/internal/awsinv	0.029s
ok  	github.com/carlosframework/platform/internal/awsmanaged	0.547s
ok  	github.com/carlosframework/platform/internal/awsregiongroup	0.551s
ok  	github.com/carlosframework/platform/internal/awsterminations	0.055s
ok  	github.com/carlosframework/platform/internal/backupswords	0.028s
ok  	github.com/carlosframework/platform/internal/billing	0.177s
ok  	github.com/carlosframework/platform/internal/billing/billingtest	0.170s
ok  	github.com/carlosframework/platform/internal/billingstripe	2.000s
ok  	github.com/carlosframework/platform/internal/boxchoice	0.062s
ok  	github.com/carlosframework/platform/internal/boxid	3.949s
?   	github.com/carlosframework/platform/internal/boxid/boxidtest	[no test files]
?   	github.com/carlosframework/platform/internal/boxid/internal/signtest	[no test files]
ok  	github.com/carlosframework/platform/internal/boxroles	0.014s
ok  	github.com/carlosframework/platform/internal/boxself	0.365s
ok  	github.com/carlosframework/platform/internal/boxvolumes	0.050s
ok  	github.com/carlosframework/platform/internal/caps	0.123s
ok  	github.com/carlosframework/platform/internal/certwarm	0.024s
ok  	github.com/carlosframework/platform/internal/cgroup	1.450s
ok  	github.com/carlosframework/platform/internal/changelog	4.078s
ok  	github.com/carlosframework/platform/internal/clamd	0.098s
?   	github.com/carlosframework/platform/internal/cliflag	[no test files]
ok  	github.com/carlosframework/platform/internal/clireg	0.024s
ok  	github.com/carlosframework/platform/internal/codehealth	17.964s
ok  	github.com/carlosframework/platform/internal/compute	0.005s
?   	github.com/carlosframework/platform/internal/controlname	[no test files]
?   	github.com/carlosframework/platform/internal/controlsock	[no test files]
ok  	github.com/carlosframework/platform/internal/dbdoor	11.557s
ok  	github.com/carlosframework/platform/internal/dbdoor/dbdoortest	0.052s
ok  	github.com/carlosframework/platform/internal/dbquery	0.016s
ok  	github.com/carlosframework/platform/internal/dbreads	3.342s
?   	github.com/carlosframework/platform/internal/dbreads/dbreadstest	[no test files]
ok  	github.com/carlosframework/platform/internal/dbverify	0.073s
ok  	github.com/carlosframework/platform/internal/demo	0.008s
ok  	github.com/carlosframework/platform/internal/demobuild	3.418s
ok  	github.com/carlosframework/platform/internal/democlaim	0.513s
ok  	github.com/carlosframework/platform/internal/devbox	18.361s
ok  	github.com/carlosframework/platform/internal/dnsrec	0.011s
ok  	github.com/carlosframework/platform/internal/docsite	0.165s
ok  	github.com/carlosframework/platform/internal/domainreg	0.043s
ok  	github.com/carlosframework/platform/internal/domains	70.850s
ok  	github.com/carlosframework/platform/internal/doorkey	0.068s
ok  	github.com/carlosframework/platform/internal/economics	0.016s
ok  	github.com/carlosframework/platform/internal/edgefence	0.197s
ok  	github.com/carlosframework/platform/internal/edgeguard	0.282s
?   	github.com/carlosframework/platform/internal/edgeproof	[no test files]
ok  	github.com/carlosframework/platform/internal/edgesfile	0.151s
ok  	github.com/carlosframework/platform/internal/egressaddr	0.025s
ok  	github.com/carlosframework/platform/internal/execsandbox	97.896s
ok  	github.com/carlosframework/platform/internal/fileacl	0.020s
ok  	github.com/carlosframework/platform/internal/fleetapi	2.770s
ok  	github.com/carlosframework/platform/internal/fleetstore	0.027s
ok  	github.com/carlosframework/platform/internal/fxrate	0.030s
ok  	github.com/carlosframework/platform/internal/gate	5.453s
ok  	github.com/carlosframework/platform/internal/genselect	0.154s
ok  	github.com/carlosframework/platform/internal/geo	0.037s
ok  	github.com/carlosframework/platform/internal/geoip	0.153s
ok  	github.com/carlosframework/platform/internal/groupadmission	0.006s
ok  	github.com/carlosframework/platform/internal/grouprollaws	18.138s
ok  	github.com/carlosframework/platform/internal/hadeparture	0.021s
ok  	github.com/carlosframework/platform/internal/hafresh	0.006s
ok  	github.com/carlosframework/platform/internal/hairpin	0.226s
ok  	github.com/carlosframework/platform/internal/historyreadback	1.442s
ok  	github.com/carlosframework/platform/internal/hostactors	26.341s
ok  	github.com/carlosframework/platform/internal/hostbox	24.445s
ok  	github.com/carlosframework/platform/internal/hostclaim	2.615s
ok  	github.com/carlosframework/platform/internal/hostenv	0.060s
ok  	github.com/carlosframework/platform/internal/hostevidence	0.011s
ok  	github.com/carlosframework/platform/internal/hostexec	26.013s
ok  	github.com/carlosframework/platform/internal/hostfence	0.323s
ok  	github.com/carlosframework/platform/internal/hostfiles	28.794s
ok  	github.com/carlosframework/platform/internal/hostfloor	0.074s
ok  	github.com/carlosframework/platform/internal/hostguard	1.723s
ok  	github.com/carlosframework/platform/internal/hostops	8.807s
?   	github.com/carlosframework/platform/internal/hostops/fencerelease	[no test files]
ok  	github.com/carlosframework/platform/internal/hostops/internal/fencerelease	0.020s
ok  	github.com/carlosframework/platform/internal/hostquarantine	0.008s
ok  	github.com/carlosframework/platform/internal/hostrelocate	1.950s
ok  	github.com/carlosframework/platform/internal/hostresolve	0.771s
ok  	github.com/carlosframework/platform/internal/hostwrite	0.018s
ok  	github.com/carlosframework/platform/internal/infraview	0.012s
ok  	github.com/carlosframework/platform/internal/ingresshealth	0.015s
ok  	github.com/carlosframework/platform/internal/ingresshealth/awstg	0.019s
ok  	github.com/carlosframework/platform/internal/instancectl	55.852s
ok  	github.com/carlosframework/platform/internal/instanceexec	9.034s
ok  	github.com/carlosframework/platform/internal/instancefs	0.034s
ok  	github.com/carlosframework/platform/internal/instancekey	0.011s
ok  	github.com/carlosframework/platform/internal/instanceupdates	0.030s
ok  	github.com/carlosframework/platform/internal/interactive	0.816s
ok  	github.com/carlosframework/platform/internal/launchd	0.011s
ok  	github.com/carlosframework/platform/internal/layout	24.037s
ok  	github.com/carlosframework/platform/internal/layout/pubclass	100.620s
ok  	github.com/carlosframework/platform/internal/lbhealth	0.009s
ok  	github.com/carlosframework/platform/internal/lease	149.319s
ok  	github.com/carlosframework/platform/internal/lease/leasetest	1.610s
ok  	github.com/carlosframework/platform/internal/lease/locktest	0.021s
ok  	github.com/carlosframework/platform/internal/ledger	0.063s
ok  	github.com/carlosframework/platform/internal/mail	1.484s
ok  	github.com/carlosframework/platform/internal/mailer	0.876s
ok  	github.com/carlosframework/platform/internal/mailsubmit	1.259s
ok  	github.com/carlosframework/platform/internal/mailwire	0.013s
ok  	github.com/carlosframework/platform/internal/maintenance	0.211s
ok  	github.com/carlosframework/platform/internal/maintenanceexec	8.515s
ok  	github.com/carlosframework/platform/internal/maintenanceguard	0.278s
ok  	github.com/carlosframework/platform/internal/media	1.953s
ok  	github.com/carlosframework/platform/internal/media/mediatest	0.012s
ok  	github.com/carlosframework/platform/internal/mediaaws	64.276s
ok  	github.com/carlosframework/platform/internal/mediahandler	45.183s
ok  	github.com/carlosframework/platform/internal/mediajobs	0.792s
ok  	github.com/carlosframework/platform/internal/medialocal	10.717s
ok  	github.com/carlosframework/platform/internal/metrics	0.180s
ok  	github.com/carlosframework/platform/internal/minorunits	0.014s
ok  	github.com/carlosframework/platform/internal/moves	52.499s
ok  	github.com/carlosframework/platform/internal/moves/archive	2.343s
ok  	github.com/carlosframework/platform/internal/moves/offlinerun	0.065s
ok  	github.com/carlosframework/platform/internal/namedunits	0.018s
ok  	github.com/carlosframework/platform/internal/objstore	0.877s
ok  	github.com/carlosframework/platform/internal/ops	16.534s
ok  	github.com/carlosframework/platform/internal/pageindex	3.903s
ok  	github.com/carlosframework/platform/internal/parity	0.140s
?   	github.com/carlosframework/platform/internal/parity/cmd/parity-doc	[no test files]
ok  	github.com/carlosframework/platform/internal/park	0.713s
ok  	github.com/carlosframework/platform/internal/perf	0.177s
ok  	github.com/carlosframework/platform/internal/plans	0.132s
ok  	github.com/carlosframework/platform/internal/privatefile	0.014s
2026/11/22 10:48:52 provision: listing apps/bab/blog/instances/: list refused — its records are unseen this pass
2026/11/22 10:48:52 provision: listing apps/bab/: listdirs refused — its records are unseen this pass
2026/11/22 10:48:52 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:48:52 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:48:53 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:48:53 provision: listing apps/bac/tito/instances/: list refused — its records are unseen this pass
2026/11/22 10:48:53 provision: listing apps/bac/tito/instances/: list refused — its records are unseen this pass
2026/11/22 10:48:53 provision: skipping record apps/bac/tito/instances/one.example.com.json: unreadable: read refused
2026/11/22 10:48:53 provision: listing apps/bac/tito/instances/: list refused — its records are unseen this pass
2026/11/22 10:48:53 provision: an app's records could not be listed: they are skipped
2026/11/22 10:48:53 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["sidecar","run"])
2026/11/22 10:48:53 provision: minted instance route a.cart.example.com (app "cart" acct "bac")
2026/11/22 10:48:53 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:48:53 provision: minted instance route a.blog.example.com (app "blog" acct "bac")
2026/11/22 10:48:58 provision: converged a.shop.example.com policy egress "10.0.5.20" -> "10.0.5.20", size "large" -> "xlarge"
2026/11/22 10:48:58 provision: minted instance route a.docs.example.com (app "docs" acct "bac")
2026/11/22 10:48:58 provision: minted instance route a.mail.example.com (app "mail" acct "bac")
2026/11/22 10:48:58 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:48:59 provision: minted instance route a.mail.example.com (app "mail" acct "bac")
2026/11/22 10:48:59 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:48:59 provision: minted instance route a.mail.example.com (app "mail" acct "bac")
2026/11/22 10:48:59 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:00 provision: converged a.shop.example.com policy egress "" -> "10.0.5.20", size "" -> "large"
2026/11/22 10:49:00 provision: minted instance route a.blog.example.com (app "blog" acct "bac")
2026/11/22 10:49:00 provision: minted instance route a.cart.example.com (app "cart" acct "bac")
2026/11/22 10:49:00 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:01 provision: minted instance route a.cart.example.com (app "cart" acct "bac")
2026/11/22 10:49:01 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:01 provision: bac/shop: policy unreadable: apppolicy: list etags: x: store: refused
2026/11/22 10:49:01 provision: bac/cart: policy unreadable: apppolicy: list etags: x: store: refused
2026/11/22 10:49:01 provision: converged a.shop.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:01 provision: bac/shop: policy unreadable: apppolicy: list etags: x: store: refused
2026/11/22 10:49:01 provision: bac/cart: policy unreadable: apppolicy: list etags: x: store: refused
2026/11/22 10:49:01 provision: bac/cart: policy unreadable: apppolicy: list etags: x: store: refused
2026/11/22 10:49:01 provision: bac/shop: policy unreadable: apppolicy: list etags: x: store: refused
2026/11/22 10:49:01 provision: bac/shop: policy unreadable: apppolicy: list etags: x: store: refused
2026/11/22 10:49:01 provision: bac/cart: policy unreadable: apppolicy: list etags: x: store: refused
2026/11/22 10:49:01 provision: bac/cart: policy unreadable: apppolicy: list etags: x: store: refused
2026/11/22 10:49:01 provision: bac/shop: policy unreadable: apppolicy: list etags: x: store: refused
2026/11/22 10:49:01 provision: bac/cart: policy unreadable: apppolicy: list etags: x: store: refused
2026/11/22 10:49:01 provision: bac/shop: policy unreadable: apppolicy: list etags: x: store: refused
2026/11/22 10:49:02 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:02 provision: bac/shop: policy expired: apppolicy: policy expired: signed 2026-10-22T09:10:00Z
2026/11/22 10:49:02 provision: converged a.shop.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:02 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:02 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:49:03 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:03 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:03 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:49:03 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:04 provision: minted instance route a.blog.example.com (app "blog" acct "bac")
2026/11/22 10:49:04 provision: minted instance route a.cart.example.com (app "cart" acct "bac")
2026/11/22 10:49:04 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:04 provision: converged a.shop.example.com policy egress "10.0.5.20" -> "10.0.5.20", size "large" -> "xlarge"
2026/11/22 10:49:04 provision: converged a.cart.example.com policy egress "10.0.5.20" -> "10.0.5.20", size "large" -> "xlarge"
2026/11/22 10:49:04 provision: minted instance route a.blog.example.com (app "blog" acct "bac")
2026/11/22 10:49:04 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:04 provision: minted instance route shop-a.example.com (app "shop" acct "bac")
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "10.0.5.20 fd00:5::20" -> "10.0.5.20 fd00:5::20", size "large" -> "xlarge"
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "10.0.5.20 fd00:5::20" -> "", size "xlarge" -> ""
2026/11/22 10:49:05 provision: minted instance route shop-a.example.com (app "shop" acct "bac")
2026/11/22 10:49:05 provision: bac/shop: policy unverifiable: apppolicy: policy unverifiable: bad signature
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "" -> "10.0.5.20", size "" -> "large"
2026/11/22 10:49:05 provision: bac/shop: policy unverifiable: apppolicy: policy unverifiable: bad signature
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "" -> "10.0.5.20", size "" -> "large"
2026/11/22 10:49:05 provision: bac/shop: policy unverifiable: apppolicy: policy unverifiable: the record names bac/other
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "" -> "10.0.5.20", size "" -> "large"
2026/11/22 10:49:05 provision: bac/shop: policy expired: apppolicy: policy expired: signed 2026-10-22T08:59:00Z
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "" -> "10.0.5.20", size "" -> "large"
2026/11/22 10:49:05 provision: bac/shop: policy unverifiable: apppolicy: policy unverifiable: no public key
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "" -> "10.0.5.20", size "" -> "large"
2026/11/22 10:49:05 provision: bac/shop: policy unverifiable: apppolicy: policy unverifiable: no public key
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:05 provision: bac/shop: policy unverifiable: apppolicy: policy unverifiable: no public key
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "" -> "10.0.5.20", size "" -> "large"
2026/11/22 10:49:05 provision: bac/shop: policy unverifiable: apppolicy: policy unverifiable: bad signature
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:05 provision: bac/shop: policy unverifiable: apppolicy: policy unverifiable: bad signature
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "" -> "10.0.5.20", size "" -> "large"
2026/11/22 10:49:05 provision: minted instance route shop-a.example.com (app "shop" acct "bac")
2026/11/22 10:49:05 provision: minted sidecar route bot.shop.bac.sidecar.internal (app "shop" acct "bac" args ["sidecar","run"])
2026/11/22 10:49:05 provision: minted instance route shop-a.example.com (app "shop" acct "bac")
2026/11/22 10:49:05 provision: minted instance route shop-a.example.com (app "shop" acct "bac")
2026/11/22 10:49:05 provision: bac/shop: policy read failed: apppolicy: get bac/shop: connection reset by peer
2026/11/22 10:49:05 provision: bac/shop: policy read failed: apppolicy: get bac/shop: connection reset by peer
2026/11/22 10:49:05 provision: bac/shop: policy read failed: apppolicy: get bac/shop: connection reset by peer
2026/11/22 10:49:05 provision: bac/shop: policy expired: apppolicy: policy expired: the row's policy expired at 2026-10-28T09:00:00Z and the store could not be read
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:05 provision: converged shop-a.example.com policy egress "" -> "10.0.5.20", size "" -> "large"
2026/11/22 10:49:05 provision: app policies: listing failed, retried next pass: apppolicy: list etags: connection reset by peer
2026/11/22 10:49:05 provision: bac/shop: policy read failed: apppolicy: get bac/shop: connection reset by peer
2026/11/22 10:49:05 provision: minted instance route shop-b.example.com (app "shop" acct "bac")
2026/11/22 10:49:05 provision: converged shop-b.example.com policy egress "" -> "10.0.5.20", size "" -> "large"
2026/11/22 10:49:05 provision: bac/shop: policy unreadable: apppolicy: get bac/shop: x: store: refused
2026/11/22 10:49:06 provision: converged shop-a.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:06 provision: converged shop-b.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:06 provision: converged shop-a.example.com policy egress "" -> "10.0.5.20", size "" -> "large"
2026/11/22 10:49:06 provision: converged shop-b.example.com policy egress "" -> "10.0.5.20", size "" -> "large"
2026/11/22 10:49:06 provision: bac/shop: policy unverifiable: apppolicy: policy unverifiable: unexpected end of JSON input
2026/11/22 10:49:06 provision: converged shop-a.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:06 provision: converged shop-b.example.com policy egress "10.0.5.20" -> "", size "large" -> ""
2026/11/22 10:49:06 provision: minted instance route shop-a.example.com (app "shop" acct "bac")
2026/11/22 10:49:06 provision: dry-run: would converge shop-a.example.com policy egress "10.0.5.20" -> "10.0.5.21", size "large" -> "xlarge"
2026/11/22 10:49:06 provision: dry-run: would mint instance route shop-b.example.com (app "shop" acct "bac" channel "stable")
2026/11/22 10:49:06 provision: minted instance route shop-a.example.com held landing by op-1 (app "shop" acct "bac")
2026/11/22 10:49:06 provision: minted instance route blog-a.example.com (app "blog" acct "bac")
2026/11/22 10:49:06 provision: minted instance route shop-a.example.com (app "shop" acct "bac")
2026/11/22 10:49:06 provision: minted instance route shop-b.example.com (app "shop" acct "bac")
2026/11/22 10:49:06 provision: CARLOS_POOLS names "@Shared", which is not a pool name (want [a-z0-9-]{0,16}, or @shared for the shared pool); it serves no pool a door creates
2026/11/22 10:49:06 provision: CARLOS_POOLS names "@other", which is not a pool name (want [a-z0-9-]{0,16}, or @shared for the shared pool); it serves no pool a door creates
2026/11/22 10:49:06 provision: minted static route static.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:06 provision: minted instance route ie.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:06 provision: minted instance route stale.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:06 provision: minted instance route us.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:06 provision: minted static route static.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:06 provision: minted instance route pool.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:07 provision: minted instance route ie.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:07 provision: minted instance route pool.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:07 provision: minted instance route stale.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:07 provision: minted static route static.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:07 provision: minted static route static.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:07 provision: minted instance route fb.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:07 provision: minted instance route fa.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:07 provision: minted instance route fa.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:07 provision: minted instance route fc.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:07 provision: minted instance route fa.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:07 provision: minted instance route ie.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:07 provision: minted instance route stale.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:07 provision: minted static route static.shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:49 provision: remove retired instance route shop.example: provision: claim admission unavailable
2026/11/22 10:49:49 provision: remove retired instance route shop.example: provision: claim admission unavailable
2026/11/22 10:49:49 provision: remove retired sidecar route worker.sidecar.internal: provision: claim admission unavailable
2026/11/22 10:49:49 provision: remove retired sidecar route worker.sidecar.internal: provision: claim admission unavailable
2026/11/22 10:49:49 provision: claim install acme.go.tito.io: provision: claim admission unavailable
2026/11/22 10:49:49 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:49 provision: claim install acme.go.tito.io: registry: claim row ownership changed or unknown
2026/11/22 10:49:49 provision: claim install bot.eleven.bac.sidecar.internal: provision: claim admission unavailable
2026/11/22 10:49:49 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["run"])
2026/11/22 10:49:49 provision: claim install bot.eleven.bac.sidecar.internal: registry: claim row ownership changed or unknown
2026/11/22 10:49:49 provision: refusing to mint route acme.go.tito.io (app "tito" acct "bac"): this box declares CARLOS_INBOUND=none (no-inbound) and cannot serve routed instance traffic
2026/11/22 10:49:49 provision: acme.go.tito.io: not minting this pass: the box's layout intent could not be read: no sealed config
2026/11/22 10:49:49 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:49 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:49 provision: REFUSING to mint sidecar bot.eleven.bac.sidecar.internal: bot.eleven.bac.sidecar.internal-sidecar.env is staged on this box — the legacy file co-spawn and a native sidecar row are two mechanisms for one host; remove the file to migrate this host onto sidecar records
2026/11/22 10:49:50 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["run"])
2026/11/22 10:49:50 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["run"])
2026/11/22 10:49:50 provision: refusing to mint route acme.go.tito.io (app "tito" acct "bac"): this box declares CARLOS_INBOUND=none (no-inbound) and cannot serve routed instance traffic
2026/11/22 10:49:50 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:50 provision: REFUSING to mint sidecar bot.eleven.bac.sidecar.internal: bot.eleven.bac.sidecar.internal-sidecar.env is staged on this box — the legacy file co-spawn and a native sidecar row are two mechanisms for one host; remove the file to migrate this host onto sidecar records
2026/11/22 10:49:50 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["run"])
2026/11/22 10:49:50 provision: acme.go.tito.io exists but is not the route this record describes (app "other"/"tito") — leaving it alone
2026/11/22 10:49:50 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:50 provision: claim install acme.go.tito.io: registry: claim row ownership changed or unknown
2026/11/22 10:49:50 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:50 provision: claim install acme.go.tito.io: registry: claim row ownership changed or unknown
2026/11/22 10:49:50 provision: bot.eleven.bac.sidecar.internal exists but is not a sidecar row this pass owns (kind "sidecar" provisioned false app "eleven" acct "bac") — leaving it alone
2026/11/22 10:49:50 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["run"])
2026/11/22 10:49:50 provision: claim install bot.eleven.bac.sidecar.internal: registry: claim row ownership changed or unknown
2026/11/22 10:49:51 provision: acme.go.tito.io exists but is not the route this record describes (app "other"/"tito") — leaving it alone
2026/11/22 10:49:51 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:51 provision: adopted existing route acme.go.tito.io (app "tito" acct "bac") — this record now owns its channel and environment
2026/11/22 10:49:51 provision: bot.eleven.bac.sidecar.internal exists but is not a sidecar row this pass owns (kind "sidecar" provisioned false app "eleven" acct "bac") — leaving it alone
2026/11/22 10:49:51 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:51 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:51 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:51 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["sidecar","run"])
2026/11/22 10:49:51 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:49:51 provision: shop.example.com: row is on the nested layout (db "/data/instances/shop.example.com/shop.example.com.db" socket "/run/carlos/instances/shop.example.com/app.sock"); the record's shared paths are not drift
2026/11/22 10:49:51 provision: shop.example.com: row is on the nested layout (db "/data/instances/shop.example.com/shop.example.com.db" socket "/run/carlos/instances/shop.example.com/app.sock"); the record's shared paths are not drift
2026/11/22 10:49:51 provision: claim seed sd_dhh65oftne5nynlbbarecemcrm abort deferred: local removal interrupted
2026/11/22 10:49:52 provision: held bright-otter-42.example.com moving by demo-claim/PtqxJmZgszjMWGxie-ar0Fgn35l98FTIavVAamjb6Go (was ready)
2026/11/22 10:49:52 provision: bright-otter-42.example.com: held releasing by other, not by demo-claim/PtqxJmZgszjMWGxie-ar0Fgn35l98FTIavVAamjb6Go; leaving it
2026/11/22 10:49:52 provision: forward frosty-blossom-76.example.com: minted (app "tmp-demo-frosty-blossom-76" acct "bah" region "fleet/demo")
2026/11/22 10:49:52 provision: minted instance route frosty-blossom-76.example.com (app "tmp-demo-frosty-blossom-76" acct "bah")
2026/11/22 10:49:52 provision: minted instance route lucky-jasmine-50.example.com (app "tmp-demo-lucky-jasmine-50" acct "bah")
2026/11/22 10:49:52 provision: bah/tmp-demo-lucky-jasmine-50 is in the trash — not minting instance routes for it
2026/11/22 10:49:52 provision: bac/shop has sidecar records but no sidecars manifest — not minting
2026/11/22 10:49:53 provision: minted instance route clash.example.com (app "blog" acct "baj")
2026/11/22 10:49:53 provision: forward blog.example.com: minted (app "blog" acct "bah" region "fleet/home")
2026/11/22 10:49:53 provision: forward shop.example.com: minted (app "shop" acct "bah" region "fleet/home")
2026/11/22 10:49:53 provision: skipping record apps/baj/shop/instances/shop.example.com.json: read failed: injected read failure
2026/11/22 10:49:53 provision: skipping record apps/baj/x/instances/new.example.com.json: read failed: injected read failure
2026/11/22 10:49:53 provision: forward blog.example.com: rewritten (app "blog" acct "bah" region "fleet/away")
2026/11/22 10:49:53 provision: forward new.example.com: kept as it is, nothing minted: another record names this host
2026/11/22 10:49:53 provision: forward shop.example.com: kept as it is, nothing minted: another record names this host
2026/11/22 10:49:53 provision: skipping record apps/bah/shop/instances/shop.example.com.json: read failed: injected read failure
2026/11/22 10:49:53 provision: retired forward row gone.example.com (this box is not the hub)
2026/11/22 10:49:53 provision: forward blog.example.com: minted (app "blog" acct "bah" region "fleet/home")
2026/11/22 10:49:53 provision: forward prod.example.com: minted (app "prod" acct "bah" region "fleet/home")
2026/11/22 10:49:53 provision: forward shop.example.com: minted (app "shop" acct "bah" region "fleet/home")
2026/11/22 10:49:53 provision: trash marker for bah/blog unreadable: release: read trash marker for bah/blog: injected read failure — not minting for this app
2026/11/22 10:49:53 provision: forward blog.example.com: kept as it is, nothing minted: the app's trash marker would not read, or the app is in the trash and flagged production
2026/11/22 10:49:53 provision: trash marker for bah/new unreadable: release: read trash marker for bah/new: injected read failure — not minting for this app
2026/11/22 10:49:53 provision: forward new.example.com: kept as it is, nothing minted: the app's trash marker would not read, or the app is in the trash and flagged production
2026/11/22 10:49:53 provision: bah/prod is in the trash — not minting instance routes for it
2026/11/22 10:49:53 provision: trash marker on production app bah/prod — refusing to act on it; turn production off first
2026/11/22 10:49:53 provision: forward prod.example.com: kept as it is, nothing minted: the app's trash marker would not read, or the app is in the trash and flagged production
2026/11/22 10:49:53 provision: bah/shop is in the trash — not minting instance routes for it
2026/11/22 10:49:53 provision: retired forward row shop.example.com (app in the trash)
2026/11/22 10:49:53 provision: trash marker for bah/blog unreadable: release: read trash marker for bah/blog: injected read failure — not minting for this app
2026/11/22 10:49:53 provision: forward blog.example.com: kept as it is, nothing minted: the app's trash marker would not read, or the app is in the trash and flagged production
2026/11/22 10:49:53 provision: trash marker for bah/new unreadable: release: read trash marker for bah/new: injected read failure — not minting for this app
2026/11/22 10:49:53 provision: forward new.example.com: kept as it is, nothing minted: the app's trash marker would not read, or the app is in the trash and flagged production
2026/11/22 10:49:53 provision: bah/prod is in the trash — not minting instance routes for it
2026/11/22 10:49:53 provision: trash marker on production app bah/prod — refusing to act on it; turn production off first
2026/11/22 10:49:53 provision: forward prod.example.com: kept as it is, nothing minted: the app's trash marker would not read, or the app is in the trash and flagged production
2026/11/22 10:49:53 provision: bah/shop is in the trash — not minting instance routes for it
2026/11/22 10:49:53 provision: forward blog.example.com: minted (app "blog" acct "bah" region "fleet/home")
2026/11/22 10:49:53 provision: forward shop.example.com: minted (app "shop" acct "bah" region "fleet/home")
2026/11/22 10:49:53 provision: skipping record apps/bah/blog/instances/blog.example.com.json: read failed: injected read failure
2026/11/22 10:49:53 provision: retired forward row shop.example.com (record gone, or no longer placed on a fleet)
2026/11/22 10:49:53 provision: minted instance route shop.example.com (app "shop" acct "bah")
2026/11/22 10:49:53 provision: forward shop.example.com: minted (app "shop" acct "bah" region "fleet/home")
2026/11/22 10:49:53 provision: forward shop.example.com: rewritten (app "shop" acct "bah" region "fleet/away")
2026/11/22 10:49:53 provision: retired forward row shop.example.com (record gone, or no longer placed on a fleet)
2026/11/22 10:49:53 provision: minted instance route shop.example.com (app "shop" acct "bah")
2026/11/22 10:49:53 provision: forward shop.example.com: minted (app "shop" acct "bah" region "fleet/home")
2026/11/22 10:49:53 provision: forward shop.example.com: refused: account "bah" does not own fleet "home"
2026/11/22 10:49:53 provision: retired forward row shop.example.com (account "bah" does not own fleet "home")
2026/11/22 10:49:53 provision: forward shop.example.com: minted (app "shop" acct "bah" region "fleet/home")
2026/11/22 10:49:53 provision: forward shop.example.com: refused: fleet "home" is not in this hub's fleets table
2026/11/22 10:49:53 provision: retired forward row shop.example.com (fleet "home" is not in this hub's fleets table)
2026/11/22 10:49:54 provision: forward blog.example.com: minted (app "blog" acct "bah" region "fleet/home")
2026/11/22 10:49:54 provision: forward shop.example.com: minted (app "shop" acct "bah" region "fleet/home")
2026/11/22 10:49:54 provision: shop.example.com: aborted seed seed-1 has a row this pass may not remove; leaving the seed aborted
2026/11/22 10:49:54 provision: forward shop.example.com: minted (app "shop" acct "bah" region "fleet/home")
2026/11/22 10:49:54 provision: retired forward row gone.example.com (record gone, or no longer placed on a fleet)
2026/11/22 10:49:54 provision: minted instance route blog.example.com (app "blog" acct "bah")
2026/11/22 10:49:54 provision: retired forward row gone.example.com (this box is not the hub)
2026/11/22 10:49:54 provision: minted instance route blog.example.com (app "blog" acct "bah")
2026/11/22 10:49:54 provision: forward shop.example.com: minted (app "shop" acct "bah" region "fleet/home")
2026/11/22 10:49:54 provision: minted instance route blog.example.com (app "blog" acct "bah")
2026/11/22 10:49:54 provision: minted instance route clash.example.com (app "blog" acct "baj")
2026/11/22 10:49:54 provision: clash.example.com: a fleet record names this host too; neither an instance row nor a forward row is minted on this hub
2026/11/22 10:49:54 provision: baj/blog is in the trash — not minting instance routes for it
2026/11/22 10:49:54 provision: not removing clash.example.com (app in the trash): a fleet record names this host too
2026/11/22 10:49:54 provision: minted instance route clash.example.com (app "blog" acct "baj")
2026/11/22 10:49:54 provision: baj/blog is in the trash — not minting instance routes for it
2026/11/22 10:49:54 provision: removed retired instance route clash.example.com (app in the trash)
2026/11/22 10:49:54 provision: forward shop.example.com: minted (app "shop" acct "bah" region "fleet/pi")
2026/11/22 10:49:54 provision: forward shop.example.com: rewritten (app "shop" acct "bah" region "fleet/pi")
2026/11/22 10:49:54 provision: forward shop.example.com: minted (app "shop" acct "bah" region "fleet/pi")
2026/11/22 10:49:54 provision: forward shop2.example.com: minted (app "shop2" acct "bah" region "fleet/pi")
2026/11/22 10:49:54 provision: minted instance route run.example.com (app "shop" acct "bac")
2026/11/22 10:49:54 provision: minted instance route acme.example.com (app "shop" acct "bac")
2026/11/22 10:49:54 provision: minted instance route plain.example.com (app "shop" acct "bac")
2026/11/22 10:49:54 provision: skipping record apps/bab/shop/instances/shop.example.com.json: unreadable: dirstore: apps/bab/shop/instances/shop.example.com.json: file does not exist
2026/11/22 10:49:54 provision: skipping record apps/bab/shop/instances/shop.example.com.json: unreadable: dirstore: apps/bab/shop/instances/shop.example.com.json: file does not exist
2026/11/22 10:49:54 provision: skipping record apps/bab/shop/instances/shop.example.com.json: unreadable: file does not exist
2026/11/22 10:49:54 provision: skipping record apps/bab/shop/instances/shop.example.com.json: unreadable: file does not exist
2026/11/22 10:49:54 provision: skipping record apps/bab/shop/instances/broken.example.com.json: unreadable: permission denied
2026/11/22 10:49:54 provision: skipping record apps/bab/shop/instances/broken.example.com.json: malformed: provision: record bab/shop/broken.example.com: provision: record is corrupt: provision: invalid maintenance projection or protected fields
2026/11/22 10:49:54 provision: skipping record apps/bab/shop/instances/broken.example.com.json: malformed: provision: record bab/shop/broken.example.com: provision: record is corrupt: provision: invalid maintenance projection or protected fields
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: disagrees with its own path (host="shop.example.com" account="bab" app="other")
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: disagrees with its own path (host="shop.example.com" account="bab" app="other")
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: disagrees with its own path (host="shop.example.com" account="bab" app="other")
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: disagrees with its own path (host="shop.example.com" account="bab" app="other")
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: unreadable: permission denied
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: unreadable: permission denied
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: malformed: provision: record bab/shop/shop.example.com: provision: record is corrupt: provision: invalid maintenance projection or protected fields
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: malformed: provision: record bab/shop/shop.example.com: provision: record is corrupt: provision: invalid maintenance projection or protected fields
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: unreadable: permission denied
2026/11/22 10:49:55 provision: skipping record apps/bab/shop/instances/shop.example.com.json: unreadable: permission denied
2026/11/22 10:49:55 provision: minted instance route other.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:55 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:55 provision: marked acme.go.tito.io high availability
2026/11/22 10:49:55 provision: minted instance route other.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:55 provision: skipping accounts/bad/account.json: malformed account manifest: invalid character 'n' looking for beginning of object key string
2026/11/22 10:49:55 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:55 provision: skipping record apps/bac/tito/instances/acme.go.tito.io.json: malformed: provision: record bac/tito/acme.go.tito.io: provision: record is corrupt: provision: invalid maintenance projection or protected fields
2026/11/22 10:49:55 provision: skipping record apps/bac/tito/instances/new.go.tito.io.json: malformed: provision: record bac/tito/new.go.tito.io: provision: record is corrupt: provision: invalid maintenance projection or protected fields
2026/11/22 10:49:55 provision: not removing acme.go.tito.io: its record exists but could not be read cleanly this pass
2026/11/22 10:49:55 provision: skipping record apps/bac/tito/instances/acme.go.tito.io.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:49:55 provision: skipping record apps/bac/tito/instances/new.go.tito.io.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:49:56 provision: minted instance route rg.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route rl.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route ra.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route rd.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route re.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route rf.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route rh.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route ri.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route rj.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route rk.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route rb.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route rc.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route ra.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route rb.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route rc.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: minted instance route rd.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:56 provision: skipping record apps/bac/tito/instances/rb.go.tito.io.json: read failed: read refused
2026/11/22 10:49:56 provision: skipping record apps/bac/tito/instances/rb.go.tito.io.json: read failed: read refused
2026/11/22 10:49:56 provision: minted instance route re.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route x.appb.example (app "appb" acct "bac")
2026/11/22 10:49:57 provision: minted instance route x.appe.example (app "appe" acct "bac")
2026/11/22 10:49:57 provision: minted instance route x.appi.example (app "appi" acct "bac")
2026/11/22 10:49:57 provision: minted instance route x.appa.example (app "appa" acct "bac")
2026/11/22 10:49:57 provision: minted instance route x.appc.example (app "appc" acct "bac")
2026/11/22 10:49:57 provision: minted instance route x.appd.example (app "appd" acct "bac")
2026/11/22 10:49:57 provision: minted instance route x.appf.example (app "appf" acct "bac")
2026/11/22 10:49:57 provision: minted instance route x.appg.example (app "appg" acct "bac")
2026/11/22 10:49:57 provision: minted instance route x.apph.example (app "apph" acct "bac")
2026/11/22 10:49:57 provision: minted instance route x.appj.example (app "appj" acct "bac")
2026/11/22 10:49:57 provision: bac/tito is in the trash — not minting instance routes for it
2026/11/22 10:49:57 provision: minted instance route r0018.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0042.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0062.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0125.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0107.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0028.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0089.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0026.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0069.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0079.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0088.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0105.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0011.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0048.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0091.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0092.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0120.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0127.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0099.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0014.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0044.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0113.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0031.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0054.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0093.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0111.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0019.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0045.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0095.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0098.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0057.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0059.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0110.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0087.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0109.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0035.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0076.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0102.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0005.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0052.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0063.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0114.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0075.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0123.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0129.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0056.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0060.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0081.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0084.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0096.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0119.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0020.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0070.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0122.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0036.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0037.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0100.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0112.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0015.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0065.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0085.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0030.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0041.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0066.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0074.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0078.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0103.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0117.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0003.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0021.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0058.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0097.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0001.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0050.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0073.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0082.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0083.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0106.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0006.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0009.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0013.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0022.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0034.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0061.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0004.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0016.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0033.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0038.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0046.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0055.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0002.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0108.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0121.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0012.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0024.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0067.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0080.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0118.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0128.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0007.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0008.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0104.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0124.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0000.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0029.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0051.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0077.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0115.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0017.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0032.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0039.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0047.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0053.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0072.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0090.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0094.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0023.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0027.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0043.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0068.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0071.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0126.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0010.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0049.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0101.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0040.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0116.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0025.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0064.go.tito.io (app "tito" acct "bac")
2026/11/22 10:49:57 provision: minted instance route r0086.go.tito.io (app "tito" acct "bac")
--- FAIL: TestPlan9B8RecordWriteCensus (2.73s)
    plan9_b8_census_test.go:372: record-write census rejected 1 site(s); update the explicit inventory only after reviewing the source:
          changed site internal/console/routedecls.go:var routeDecls: source differs from the reviewed digest
2026/11/22 10:50:05 provision: CARLOS_POOLS names "INVALID", which is not a pool name (want [a-z0-9-]{0,16}, or @shared for the shared pool); it serves no pool a door creates
2026/11/22 10:50:05 provision: CARLOS_POOLS names "@wrong", which is not a pool name (want [a-z0-9-]{0,16}, or @shared for the shared pool); it serves no pool a door creates
2026/11/22 10:50:05 ha_pool_withdrawn host=shop.example.com
2026/11/22 10:50:05 ha_pool_withdrawal_pending code=hook host=shop.example.com error=ha_pool_withdrawal_pending code=hook
2026/11/22 10:50:05 ha_pool_withdrawal_pending code=proof host=shop.example.com error=pending
2026/11/22 10:50:05 ha_pool_withdrawal_pending code=changed host=shop.example.com error=ha_pool_withdrawal_pending code=changed
2026/11/22 10:50:05 ha_pool_withdrawal_pending code=record host=shop.example.com error=provision: record bbw/shop/shop.example.com: provision: record is corrupt: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:05 ha_pool_withdrawal_pending code=record host=shop.example.com error=ha_state_changed
2026/11/22 10:50:05 ha_pool_withdrawal_pending code=record host=shop.example.com error=ha_state_changed
2026/11/22 10:50:05 ha_pool_withdrawal_pending code=ownership host=shop.example.com error=ha_pool_withdrawal_pending code=ownership
2026/11/22 10:50:06 ha_pool_withdrawal_pending code=record host=shop.example.com error=ha_state_changed
2026/11/22 10:50:06 ha_pool_withdrawn host=worker.shop.bbw.sidecar.internal
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=ownership host=shop.example.com error=ha_pool_withdrawal_pending code=ownership
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=ownership host=shop.example.com error=ha_pool_withdrawal_pending code=ownership
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=ownership host=shop.example.com error=ha_pool_withdrawal_pending code=ownership
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=ownership host=shop.example.com error=ha_pool_withdrawal_pending code=ownership
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=ownership host=shop.example.com error=ha_pool_withdrawal_pending code=ownership
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=hook host=shop.example.com error=ha_pool_withdrawal_pending code=hook
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=hook host=shop.example.com error=ha_pool_withdrawal_pending code=hook
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=hook host=shop.example.com error=ha_pool_withdrawal_pending code=hook
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=hook host=shop.example.com error=ha_pool_withdrawal_pending code=hook
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=hook host=shop.example.com error=ha_pool_withdrawal_pending code=hook
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=record host=shop.example.com error=ha_pool_withdrawal_pending code=record
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=record host=shop.example.com error=ha_pool_withdrawal_pending code=record
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=record host=shop.example.com error=ha_pool_withdrawal_pending code=record
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=record host=shop.example.com error=ha_pool_withdrawal_pending code=record
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=record host=shop.example.com error=ha_pool_withdrawal_pending code=record
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=proof host=shop.example.com error=ha_pool_withdrawal_pending code=proof
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=proof host=shop.example.com error=ha_pool_withdrawal_pending code=proof
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=proof host=shop.example.com error=ha_pool_withdrawal_pending code=proof
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=proof host=shop.example.com error=ha_pool_withdrawal_pending code=proof
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=proof host=shop.example.com error=ha_pool_withdrawal_pending code=proof
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=changed host=shop.example.com error=ha_pool_withdrawal_pending code=changed
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=changed host=shop.example.com error=ha_pool_withdrawal_pending code=changed
2026/11/22 10:50:07 ha_pool_withdrawal_pending code=changed host=shop.example.com error=ha_pool_withdrawal_pending code=changed
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=changed host=shop.example.com error=ha_pool_withdrawal_pending code=changed
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=changed host=shop.example.com error=ha_pool_withdrawal_pending code=changed
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=shutdown host=shop.example.com error=ha_pool_withdrawal_pending code=shutdown
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=shutdown host=shop.example.com error=ha_pool_withdrawal_pending code=shutdown
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=shutdown host=shop.example.com error=ha_pool_withdrawal_pending code=shutdown
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=shutdown host=shop.example.com error=ha_pool_withdrawal_pending code=shutdown
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=shutdown host=shop.example.com error=ha_pool_withdrawal_pending code=shutdown
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=fence host=shop.example.com error=ha_pool_withdrawal_pending code=fence
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=fence host=shop.example.com error=ha_pool_withdrawal_pending code=fence
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=fence host=shop.example.com error=ha_pool_withdrawal_pending code=fence
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=fence host=shop.example.com error=ha_pool_withdrawal_pending code=fence
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=fence host=shop.example.com error=ha_pool_withdrawal_pending code=fence
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=stop host=shop.example.com error=ha_pool_withdrawal_pending code=stop
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=stop host=shop.example.com error=ha_pool_withdrawal_pending code=stop
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=stop host=shop.example.com error=ha_pool_withdrawal_pending code=stop
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=stop host=shop.example.com error=ha_pool_withdrawal_pending code=stop
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=stop host=shop.example.com error=ha_pool_withdrawal_pending code=stop
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=startup host=shop.example.com error=ha_pool_withdrawal_pending code=startup
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=startup host=shop.example.com error=ha_pool_withdrawal_pending code=startup
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=startup host=shop.example.com error=ha_pool_withdrawal_pending code=startup
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=startup host=shop.example.com error=ha_pool_withdrawal_pending code=startup
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=startup host=shop.example.com error=ha_pool_withdrawal_pending code=startup
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=cgroup host=shop.example.com error=ha_pool_withdrawal_pending code=cgroup
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=cgroup host=shop.example.com error=ha_pool_withdrawal_pending code=cgroup
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=cgroup host=shop.example.com error=ha_pool_withdrawal_pending code=cgroup
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=cgroup host=shop.example.com error=ha_pool_withdrawal_pending code=cgroup
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=cgroup host=shop.example.com error=ha_pool_withdrawal_pending code=cgroup
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=release host=shop.example.com error=ha_pool_withdrawal_pending code=release
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=release host=shop.example.com error=ha_pool_withdrawal_pending code=release
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=release host=shop.example.com error=ha_pool_withdrawal_pending code=release
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=release host=shop.example.com error=ha_pool_withdrawal_pending code=release
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=release host=shop.example.com error=ha_pool_withdrawal_pending code=release
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=lifetime host=shop.example.com error=ha_pool_withdrawal_pending code=lifetime
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=lifetime host=shop.example.com error=ha_pool_withdrawal_pending code=lifetime
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=lifetime host=shop.example.com error=ha_pool_withdrawal_pending code=lifetime
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=lifetime host=shop.example.com error=ha_pool_withdrawal_pending code=lifetime
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=lifetime host=shop.example.com error=ha_pool_withdrawal_pending code=lifetime
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=duties host=shop.example.com error=ha_pool_withdrawal_pending code=duties
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=duties host=shop.example.com error=ha_pool_withdrawal_pending code=duties
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=duties host=shop.example.com error=ha_pool_withdrawal_pending code=duties
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=duties host=shop.example.com error=ha_pool_withdrawal_pending code=duties
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=duties host=shop.example.com error=ha_pool_withdrawal_pending code=duties
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=stopping host=shop.example.com error=withdrawal inspection: ha_pool_withdrawal_pending code=stopping
2026/11/22 10:50:08 ha_pool_withdrawal_pending code=stopping host=shop.example.com error=withdrawal inspection: ha_pool_withdrawal_pending code=stopping
2026/11/22 10:50:08 ha_pool_withdrawn host=shop.example.com
2026/11/22 10:50:08 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:09 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:09 provision: refusing to mint route acme.go.tito.io (app "tito" acct "bac"): this box declares CARLOS_INBOUND=none (no-inbound) and cannot serve routed instance traffic
2026/11/22 10:50:09 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:09 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:09 provision: removed retired instance route a.shop.example.com (record gone (its lifetime is retired))
2026/11/22 10:50:09 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:09 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:09 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:09 provision: removed retired instance route a.shop.example.com (record gone (its lifetime is retired))
2026/11/22 10:50:09 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:09 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:09 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:09 provision: removed retired instance route a.shop.example.com (record gone (its lifetime is retired))
2026/11/22 10:50:09 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:09 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:09 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: empty channel
2026/11/22 10:50:09 provision: not removing a.shop.example.com: its record exists but could not be read cleanly this pass
2026/11/22 10:50:09 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:09 provision: removed retired instance route a.shop.example.com (record gone (its lifetime is retired))
2026/11/22 10:50:09 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:10 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:10 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:10 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its lifetime could not be judged: slot read failed
2026/11/22 10:50:10 provision: not removing a.shop.example.com: its record's lifetime could not be judged this pass: slot read failed
2026/11/22 10:50:10 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:10 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its lifetime could not be judged: provision: host incarnation slot is malformed: control/host-incarnations/a.shop.example.com.json: failed validation
2026/11/22 10:50:10 provision: not removing a.shop.example.com: its record's lifetime could not be judged this pass: provision: host incarnation slot is malformed: control/host-incarnations/a.shop.example.com.json: failed validation
2026/11/22 10:50:10 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:10 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:10 provision: not removing a.shop.example.com: its record's lifetime could not be judged this pass: slot read failed
2026/11/22 10:50:10 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:10 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:50:10 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:10 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:10 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:10 provision: removed retired instance route a.shop.example.com (record gone (its lifetime is retired))
2026/11/22 10:50:10 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:10 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:10 provision: removed retired instance route a.shop.example.com held by mv_1 (record gone (its lifetime is retired))
2026/11/22 10:50:10 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:10 provision: not removing a.shop.example.com (record gone): participant of a running operation
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:11 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:11 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "cart" acct "bac")
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:11 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:11 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "cart" acct "bac")
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:11 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:11 provision: removed retired instance route a.shop.example.com held by mv_1 (record gone)
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "cart" acct "bac")
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:11 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:11 provision: removed retired instance route a.shop.example.com held by mv_1 (record gone)
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "cart" acct "bac")
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:11 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:11 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:11 provision: removed retired instance route a.shop.example.com (record gone (its lifetime is retired))
2026/11/22 10:50:11 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "cart" acct "bac")
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:11 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:11 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:11 provision: removed retired instance route a.shop.example.com (record gone (its lifetime is retired))
2026/11/22 10:50:11 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "cart" acct "bac")
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:11 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:11 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:11 provision: removed retired instance route a.shop.example.com held by mv_1 (record gone (its lifetime is retired))
2026/11/22 10:50:11 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "cart" acct "bac")
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:11 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:11 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:11 provision: removed retired instance route a.shop.example.com held by mv_1 (record gone (its lifetime is retired))
2026/11/22 10:50:11 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "cart" acct "bac")
2026/11/22 10:50:11 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:11 provision: duplicate host a.shop.example.com: keeping apps/bac/cart/instances/a.shop.example.com.json, skipping apps/bac/shop/instances/a.shop.example.com.json
2026/11/22 10:50:11 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:11 provision: duplicate host a.shop.example.com: keeping apps/bac/cart/instances/a.shop.example.com.json, skipping apps/bac/shop/instances/a.shop.example.com.json
2026/11/22 10:50:11 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:11 provision: a.shop.example.com: import sd_2q7oigd2hlh6di6k42lipi5leq is journaled, but this box cannot act on imports; its row is left alone
2026/11/22 10:50:11 provision: a.shop.example.com: import sd_2q7oigd2hlh6di6k42lipi5leq is journaled, but this box cannot act on imports; its row is left alone
2026/11/22 10:50:12 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:12 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:12 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:12 provision: duplicate host a.shop.example.com: keeping apps/bac/cart/instances/a.shop.example.com.json, skipping apps/bac/shop/instances/a.shop.example.com.json
2026/11/22 10:50:12 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:12 provision: bac/shop is in the trash — not minting instance routes for it
2026/11/22 10:50:12 provision: removed retired instance route a.shop.example.com (app in the trash)
2026/11/22 10:50:12 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:12 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:50:12 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:12 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:50:12 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:12 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:50:12 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:12 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:50:12 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:12 provision: not removing a.shop.example.com (record gone): participant of a running operation
2026/11/22 10:50:12 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:12 provision: not removing a.shop.example.com (record gone): participant of a running operation
2026/11/22 10:50:12 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:12 provision: not removing a.shop.example.com (record gone): participant of a running operation
2026/11/22 10:50:12 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:12 provision: not removing a.shop.example.com (record gone): participant of a running operation
2026/11/22 10:50:12 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:12 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:50:12 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:12 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:50:13 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:13 provision: not removing a.shop.example.com (record gone): participant of a running operation
2026/11/22 10:50:13 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:13 provision: not removing a.shop.example.com (record gone): participant of a running operation
2026/11/22 10:50:13 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:13 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:50:13 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:13 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:50:13 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:13 provision: not removing a.shop.example.com (record gone): participant of a running operation
2026/11/22 10:50:13 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:13 provision: not removing a.shop.example.com (record gone): participant of a running operation
2026/11/22 10:50:13 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:13 provision: converged a.shop.example.com fleet assignment "2026-10-30T09:00:00Z" moved false -> "2026-10-30T10:00:00Z" moved false
2026/11/22 10:50:13 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:13 provision: converged a.shop.example.com fleet assignment "2026-10-30T09:00:00Z" moved false -> "2026-10-30T10:00:00Z" moved false
2026/11/22 10:50:14 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:14 provision: converged a.shop.example.com fleet assignment "2026-10-30T09:00:00Z" moved false -> "2026-10-30T10:00:00Z" moved false
2026/11/22 10:50:14 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:14 provision: converged a.shop.example.com fleet assignment "2026-10-30T09:00:00Z" moved false -> "2026-10-30T10:00:00Z" moved false
2026/11/22 10:50:14 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:14 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:50:14 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:14 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:50:14 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:14 provision: duplicate host a.shop.example.com: keeping apps/bac/cart/instances/a.shop.example.com.json, skipping apps/bac/shop/instances/a.shop.example.com.json
2026/11/22 10:50:14 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:14 provision: not removing a.shop.example.com: its record's lifetime could not be judged this pass: provision: record bac/shop/a.shop.example.com: provision: record is corrupt: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:14 provision: duplicate host a.shop.example.com: keeping apps/bac/cart/instances/a.shop.example.com.json, skipping apps/bac/shop/instances/a.shop.example.com.json
2026/11/22 10:50:14 provision: a.shop.example.com exists but is not the route this record describes (app "shop"/"cart") — leaving it alone
2026/11/22 10:50:14 provision: bac/shop is in the trash — not minting instance routes for it
2026/11/22 10:50:14 provision: removed retired instance route a.shop.example.com (app in the trash)
2026/11/22 10:50:14 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:14 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:14 provision: not removing a.shop.example.com (record gone (its lifetime is retired)): its hold changed since this pass listed it; the next pass judges it afresh
2026/11/22 10:50:14 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:14 provision: removed retired instance route a.shop.example.com held by mv_2 (record gone (its lifetime is retired))
2026/11/22 10:50:14 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:14 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:14 provision: minted instance route a.shop.example.com held landing by mv_abcdefghijklmnopqrstuvwxyz (app "shop" acct "bac")
2026/11/22 10:50:14 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:14 provision: installed lifetime (1, 0) on a.shop.example.com (migration, was (0, 0))
2026/11/22 10:50:14 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:14 provision: installed lifetime (1, 4) on a.shop.example.com (migration, was (0, 4))
2026/11/22 10:50:15 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:15 provision: installed lifetime (2, 0) on a.shop.example.com (recreation, was (1, 9))
2026/11/22 10:50:15 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:15 provision: held a.shop.example.com moving by mv_zyxwvutsrqponmlkjihgfedcba (was ready)
2026/11/22 10:50:15 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:15 provision: held a.shop.example.com moving by mv_abcdefghijklmnopqrstuvwxyz (was ready)
2026/11/22 10:50:15 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:15 provision: held a.shop.example.com moving by mv_abcdefghijklmnopqrstuvwxyz (was ready)
2026/11/22 10:50:15 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:15 provision: held a.shop.example.com moving by mv_abcdefghijklmnopqrstuvwxyz (was ready)
2026/11/22 10:50:15 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:15 provision: held a.shop.example.com moving by mv_abcdefghijklmnopqrstuvwxyz (was ready)
2026/11/22 10:50:15 provision: removed a.shop.example.com's row of lifetime 1 held by mv_abcdefghijklmnopqrstuvwxyz (lifetime 2 carries no such move)
2026/11/22 10:50:15 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:15 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:15 provision: held a.shop.example.com moving by mv_abcdefghijklmnopqrstuvwxyz (was ready)
2026/11/22 10:50:15 provision: a.shop.example.com: the row of lifetime 1 is held by mv_abcdefghijklmnopqrstuvwxyz, which lifetime 2 does not carry; nothing here can remove it, leaving it
2026/11/22 10:50:15 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:15 provision: held a.shop.example.com moving by mv_abcdefghijklmnopqrstuvwxyz (was ready)
2026/11/22 10:50:15 provision: a.shop.example.com: not removing the row of lifetime 1: its hold by mv_abcdefghijklmnopqrstuvwxyz changed since this pass listed it; the next pass judges it afresh
2026/11/22 10:50:15 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:15 provision: held a.shop.example.com moving by mv_abcdefghijklmnopqrstuvwxyz (was ready)
2026/11/22 10:50:15 provision: remove a.shop.example.com's row of lifetime 1 held by mv_abcdefghijklmnopqrstuvwxyz: registry busy
2026/11/22 10:50:15 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:15 provision: held a.shop.example.com moving by mv_abcdefghijklmnopqrstuvwxyz (was ready)
2026/11/22 10:50:15 provision: dry-run: would remove a.shop.example.com's row of lifetime 1 held by mv_abcdefghijklmnopqrstuvwxyz, then mint lifetime 2
2026/11/22 10:50:15 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:15 provision: held a.shop.example.com moving by mv_abcdefghijklmnopqrstuvwxyz (was ready)
2026/11/22 10:50:15 provision: removed a.shop.example.com's row of lifetime 1 held by mv_abcdefghijklmnopqrstuvwxyz (lifetime 2 carries no such move)
2026/11/22 10:50:15 provision: minted instance route a.shop.example.com held moving by mv_zyxwvutsrqponmlkjihgfedcba (app "shop" acct "bac")
2026/11/22 10:50:16 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: held a.shop.example.com moving by mv_abcdefghijklmnopqrstuvwxyz (was ready)
2026/11/22 10:50:16 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:16 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: removed retired instance route a.shop.example.com (record gone (its lifetime is retired))
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:16 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:16 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: removed retired instance route a.shop.example.com (record gone (its lifetime is retired))
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:16 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:16 provision: removed retired instance route a.shop.example.com (record gone (its lifetime is retired))
2026/11/22 10:50:16 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:17 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:17 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:17 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:17 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:17 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:17 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:17 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:50:17 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:17 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: converged a.shop.example.com assets off false -> false, generation "0123456789abcdef" -> "fedcba9876543210"
2026/11/22 10:50:17 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:17 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: skipping record apps/bac/shop/instances/b.shop.example.com.json: read failed: get refused
2026/11/22 10:50:17 provision: skipping record apps/bac/shop/instances/c.shop.example.com.json: read failed: get refused
2026/11/22 10:50:17 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:17 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: skipping record apps/bac/shop/instances/b.shop.example.com.json: malformed: provision: record bac/shop/b.shop.example.com: provision: record is corrupt: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:17 provision: not removing b.shop.example.com: its record exists but could not be read cleanly this pass
2026/11/22 10:50:17 provision: skipping record apps/bac/shop/instances/c.shop.example.com.json: malformed: provision: record bac/shop/c.shop.example.com: provision: record is corrupt: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:17 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:17 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: listing apps/bac/notes/instances/: list refused — its records are unseen this pass
2026/11/22 10:50:17 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:17 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:17 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: trash marker for bac/shop unreadable: release: read trash marker for bac/shop: get refused — not minting for this app
2026/11/22 10:50:17 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:17 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:17 provision: converge gate on a.shop.example.com: constraint failed: injected (1811)
2026/11/22 10:50:18 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:18 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:18 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:18 provision: converged b.shop.example.com assets off false -> false, generation "0123456789abcdef" -> "fedcba9876543210"
2026/11/22 10:50:18 provision: remove retired instance route a.shop.example.com: constraint failed: injected (1811)
2026/11/22 10:50:18 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:18 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:18 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:18 provision: converged b.shop.example.com assets off false -> false, generation "0123456789abcdef" -> "fedcba9876543210"
2026/11/22 10:50:18 provision: skipping record apps/bac/notes/instances/n.notes.example.com.json: read failed: get refused
2026/11/22 10:50:18 provision: not removing any route this pass: the record view lacks a record or holds a trash marker, and the bucket's own walk could not be read cleanly
2026/11/22 10:50:18 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:18 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:18 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:18 provision: converged a.shop.example.com steering "" -> "latency"
2026/11/22 10:50:18 provision: converge assets on a.shop.example.com: constraint failed: injected (1811)
2026/11/22 10:50:18 provision: converged a.shop.example.com update settings "" -> "{\"updates\":\"manual\",\"channel\":\"stable\"}"
2026/11/22 10:50:18 provision: dry-run: would converge a.shop.example.com assets off false -> false, generation "0123456789abcdef" -> "fedcba9876543210"
2026/11/22 10:50:18 provision: converged a.shop.example.com steering "latency" -> ""
2026/11/22 10:50:18 provision: converge assets on a.shop.example.com: constraint failed: injected (1811)
2026/11/22 10:50:18 provision: converged a.shop.example.com update settings "{\"updates\":\"manual\",\"channel\":\"stable\"}" -> ""
2026/11/22 10:50:18 provision: a.shop.example.com: import sd_updwzc6dwds4zcr5ykyotqaroy is journaled, but this box cannot act on imports; its row is left alone
2026/11/22 10:50:18 provision: removed retired instance route a.notes.example.com (record gone)
2026/11/22 10:50:18 provision: bac/shop is in the trash — not minting instance routes for it
2026/11/22 10:50:18 provision: adopted existing route a.shop.example.com (app "shop" acct "bac") — this record now owns its channel and environment
2026/11/22 10:50:18 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:18 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:18 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:18 provision: held a.shop.example.com landing by op-1 (was ready)
2026/11/22 10:50:18 provision: minted instance route a.shop.example.com (app "shop" acct "bab")
2026/11/22 10:50:18 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:18 provision: skipping accounts/bab/account.json: read failed: get refused
2026/11/22 10:50:18 provision: minted instance route n.notes.example.com (app "notes" acct "bac")
2026/11/22 10:50:18 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:18 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:18 provision: converged a.shop.example.com assets off false -> false, generation "0123456789abcdef" -> "fedcba9876543210"
2026/11/22 10:50:18 provision: minted instance route bab.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:18 provision: minted instance route bab.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:19 provision: minted instance route bab.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:19 provision: minted instance route bab.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:19 provision: minted instance route bab.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:19 provision: minted instance route bab.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:19 provision: minted instance route bab.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:19 provision: minted instance route bab.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:19 provision: minted instance route new.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:19 provision: minted instance route old.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:20 provision: minted instance route bab.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:20 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: minted instance route whole.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: minted instance route console.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: minted service route ha.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: minted static route site.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: minted service route svc.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: minted instance route shared.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: converged acme.go.tito.io channel stable -> edge
2026/11/22 10:50:20 provision: converged acme.go.tito.io channel edge -> canary/rehearsal
2026/11/22 10:50:20 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: skipping record apps/bac/tito/instances/acme.go.tito.io.json: empty channel
2026/11/22 10:50:20 provision: not removing acme.go.tito.io: its record exists but could not be read cleanly this pass
2026/11/22 10:50:20 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: converged acme.go.tito.io environment "" -> "staging"
2026/11/22 10:50:20 provision: converged acme.go.tito.io environment "staging" -> ""
2026/11/22 10:50:20 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:20 provision: converged acme.go.tito.io steering "" -> "latency"
2026/11/22 10:50:20 provision: converged acme.go.tito.io steering "latency" -> ""
2026/11/22 10:50:21 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: converged acme.go.tito.io hibernate false -> true
2026/11/22 10:50:21 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: converged acme.go.tito.io hibernate true -> false (replication "daily" cleared: only a hibernating route's rung is read)
2026/11/22 10:50:21 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: converged acme.go.tito.io status-named false -> true
2026/11/22 10:50:21 provision: converged acme.go.tito.io status-named true -> false
2026/11/22 10:50:21 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: minted service route ha.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: converged ha.go.tito.io upstreams addr "" -> "", addrs "127.0.0.1:7001,127.0.0.1:7002" -> "127.0.0.1:7001,127.0.0.1:7003" (probe "{\"path\":\"/\",\"status\":200,\"interval_ms\":2000,\"fail_after\":3,\"rise_after\":2}" -> "{\"path\":\"/\",\"status\":200,\"interval_ms\":2000,\"fail_after\":3,\"rise_after\":2}")
2026/11/22 10:50:21 provision: converged ha.go.tito.io upstreams addr "" -> "", addrs "127.0.0.1:7001,127.0.0.1:7003" -> "127.0.0.1:7003,127.0.0.1:7001" (probe "{\"path\":\"/\",\"status\":200,\"interval_ms\":2000,\"fail_after\":3,\"rise_after\":2}" -> "{\"path\":\"/\",\"status\":200,\"interval_ms\":2000,\"fail_after\":3,\"rise_after\":2}")
2026/11/22 10:50:21 provision: converged ha.go.tito.io upstreams addr "" -> "", addrs "127.0.0.1:7003,127.0.0.1:7001" -> "127.0.0.1:7003,127.0.0.1:7001" (probe "{\"path\":\"/\",\"status\":200,\"interval_ms\":2000,\"fail_after\":3,\"rise_after\":2}" -> "{\"path\":\"/healthz\",\"status\":200,\"interval_ms\":2000,\"fail_after\":3,\"rise_after\":2}")
2026/11/22 10:50:21 provision: minted service route whole.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: converged whole.go.tito.io upstreams addr "127.0.0.1:9443" -> "", addrs "" -> "127.0.0.1:9443,127.0.0.1:9444" (probe "" -> "{\"path\":\"/\",\"status\":200,\"interval_ms\":2000,\"fail_after\":3,\"rise_after\":2}")
2026/11/22 10:50:21 provision: converged whole.go.tito.io upstreams addr "" -> "", addrs "127.0.0.1:9443,127.0.0.1:9444" -> "" (probe "{\"path\":\"/\",\"status\":200,\"interval_ms\":2000,\"fail_after\":3,\"rise_after\":2}" -> "")
2026/11/22 10:50:21 provision: whole.go.tito.io: record describes a different route SHAPE than the row (kind "instance"/"service" unit ""/"" socket "/run/carlos/whole.go.tito.io.sock"/"" db "/data/whole.go.tito.io.db"/"") — not converged in place; `carlos remove whole.go.tito.io` purges this route's capability grants (registry.Delete's contract, not a bug) before the next pass re-mints it, so treat that as a last resort, not a routine fix
2026/11/22 10:50:21 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: minted service route whole.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: acme.go.tito.io exists but is not the route this record describes (app "other"/"tito") — leaving it alone
2026/11/22 10:50:21 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: removed retired instance route acme.go.tito.io (record gone)
2026/11/22 10:50:21 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:21 provision: skipping accounts/bac/account.json: malformed account manifest: invalid character 'o' in literal null (expecting 'u')
2026/11/22 10:50:22 provision: removed retired instance route acme.go.tito.io (record gone)
2026/11/22 10:50:22 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:22 provision: manifest bac/tito: read failed: provision: manifest bac/tito: invalid character 'o' in literal null (expecting 'u')
2026/11/22 10:50:22 provision: skipping record apps/bac/tito/instances/acme.go.tito.io.json: malformed: provision: record bac/tito/acme.go.tito.io: provision: record is corrupt: record disagrees with its own path
2026/11/22 10:50:22 provision: skipping record apps/bac/tito/instances/acme$evil.go.tito.io.json: host "acme$evil.go.tito.io" is not a hostname
2026/11/22 10:50:22 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:22 provision: skipping record apps/bac/tito/instances/acme$evil.go.tito.io.json: host "acme$evil.go.tito.io" is not a hostname
2026/11/22 10:50:22 provision: not removing acme$evil.go.tito.io: its record exists but could not be read cleanly this pass
2026/11/22 10:50:22 provision: skipping record apps/bac/tito/instances/bad-service.go.tito.io.json: invalid shape: kind service with no addr: the platform only proxies to a service, so the record must name the upstream it proxies to
2026/11/22 10:50:22 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:22 provision: skipping record apps/bac/tito/instances/bad-service.go.tito.io.json: invalid shape: kind service with no addr: the platform only proxies to a service, so the record must name the upstream it proxies to
2026/11/22 10:50:22 provision: not removing bad-service.go.tito.io: its record exists but could not be read cleanly this pass
2026/11/22 10:50:22 provision: skipping record apps/bac/tito/instances/no-channel.go.tito.io.json: empty channel
2026/11/22 10:50:22 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:22 provision: skipping record apps/bac/tito/instances/no-channel.go.tito.io.json: empty channel
2026/11/22 10:50:22 provision: not removing no-channel.go.tito.io: its record exists but could not be read cleanly this pass
2026/11/22 10:50:22 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:22 provision: skipping record apps/bac/tito/instances/acme.go.tito.io.json: malformed: provision: record bac/tito/acme.go.tito.io: provision: record is corrupt: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:22 provision: not removing acme.go.tito.io: its record exists but could not be read cleanly this pass
2026/11/22 10:50:22 provision: removed retired instance route ghost.go.tito.io (record gone)
2026/11/22 10:50:22 provision: duplicate host dup.go.tito.io: keeping apps/bac/tito/instances/dup.go.tito.io.json, skipping apps/bad/tito/instances/dup.go.tito.io.json
2026/11/22 10:50:22 provision: minted instance route dup.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:22 provision: bac/tito is in the trash — not minting instance routes for it
2026/11/22 10:50:22 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:22 provision: bac/tito is in the trash — not minting instance routes for it
2026/11/22 10:50:22 provision: removed retired instance route acme.go.tito.io (app in the trash)
2026/11/22 10:50:22 provision: minted static route site.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:22 provision: bac/tito is in the trash — not minting instance routes for it
2026/11/22 10:50:22 provision: removed retired static route site.go.tito.io (app in the trash)
2026/11/22 10:50:22 provision: trash marker for bac/tito unreadable: release: malformed trash marker for bac/tito: invalid character 'n' looking for beginning of object key string — not minting for this app
2026/11/22 10:50:23 provision: bac/tito is in the trash — not minting instance routes for it
2026/11/22 10:50:23 provision: removed retired instance route acme.go.tito.io (app in the trash)
2026/11/22 10:50:23 provision: bac/tito is in the trash — not minting instance routes for it
2026/11/22 10:50:23 provision: trash marker for bac/tito unreadable: release: malformed trash marker for bac/tito: invalid character 'n' looking for beginning of object key string — not minting for this app
2026/11/22 10:50:23 provision: adopted existing route acme.go.tito.io (app "tito" acct "bac") — this record now owns its channel and environment
2026/11/22 10:50:23 provision: converged acme.go.tito.io channel stable -> edge
2026/11/22 10:50:23 provision: adopted existing route acme.go.tito.io (app "tito" acct "bac") — this record now owns its channel and environment
2026/11/22 10:50:23 provision: converged acme.go.tito.io channel canary/rehearsal -> edge
2026/11/22 10:50:23 provision: converged acme.go.tito.io environment "staging" -> ""
2026/11/22 10:50:23 provision: acme.go.tito.io exists but is not the route this record describes (app "other"/"tito") — leaving it alone
2026/11/22 10:50:23 provision: acme.go.tito.io exists but is not the route this record describes (backing "unit" (box-scoped, not expressible in a record)) — leaving it alone
2026/11/22 10:50:23 provision: acme.go.tito.io exists but is not the route this record describes (tunnel "pi-fleet" (box-scoped, not expressible in a record)) — leaving it alone
2026/11/22 10:50:23 provision: acme.go.tito.io exists but is not the route this record describes (caps "port:25" (box-scoped, not expressible in a record)) — leaving it alone
2026/11/22 10:50:23 provision: acme.go.tito.io exists but is not the route this record describes (platform (owned by the domains reconcile pass)) — leaving it alone
2026/11/22 10:50:24 provision: acme.go.tito.io exists but is not the route this record describes (canary (owned by the domains reconcile pass)) — leaving it alone
2026/11/22 10:50:24 provision: acme.go.tito.io exists but is not the route this record describes (db "/data/other.db"/"/data/acme.go.tito.io.db") — leaving it alone
2026/11/22 10:50:24 provision: adopted existing route acme.go.tito.io (app "tito" acct "bac") — this record now owns its channel and environment
2026/11/22 10:50:24 provision: removed retired instance route acme.go.tito.io (record gone)
2026/11/22 10:50:24 provision: dry-run: would mint instance route acme.go.tito.io (app "tito" acct "bac" channel "stable")
2026/11/22 10:50:24 provision: dry-run: would adopt existing route adopt.go.tito.io (app "tito" acct "bac") — this record would own its channel and environment
2026/11/22 10:50:24 provision: dry-run: would converge adopt.go.tito.io channel stable -> edge
2026/11/22 10:50:24 provision: dry-run: would converge adopt.go.tito.io environment "" -> "staging"
2026/11/22 10:50:24 provision: dry-run: would converge owned.go.tito.io channel stable -> edge
2026/11/22 10:50:24 provision: dry-run: would converge owned.go.tito.io environment "" -> "staging"
2026/11/22 10:50:24 provision: dry-run: would converge owned.go.tito.io hibernate false -> true
2026/11/22 10:50:24 provision: dry-run: would converge owned.go.tito.io seed
2026/11/22 10:50:24 provision: dry-run: would remove retired instance route gone.go.tito.io (record gone)
2026/11/22 10:50:24 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:24 provision: adopted existing route adopt.go.tito.io (app "tito" acct "bac") — this record now owns its channel and environment
2026/11/22 10:50:24 provision: converged adopt.go.tito.io channel stable -> edge
2026/11/22 10:50:24 provision: converged adopt.go.tito.io environment "" -> "staging"
2026/11/22 10:50:24 provision: converged owned.go.tito.io channel stable -> edge
2026/11/22 10:50:24 provision: converged owned.go.tito.io environment "" -> "staging"
2026/11/22 10:50:24 provision: converged owned.go.tito.io hibernate false -> true
2026/11/22 10:50:24 provision: removed retired instance route gone.go.tito.io (record gone)
2026/11/22 10:50:24 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:24 provision: adopted existing route story.carlosframework.com (app "story" acct "bad") — this record now owns its channel and environment
2026/11/22 10:50:24 provision: story.carlosframework.com exists but is not the route this record describes (kind "instance"/"static") — leaving it alone
2026/11/22 10:50:24 provision: minted static route site.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:24 provision: minted service route pub.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:24 provision: minted service route pubs.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:24 provision: minted instance route exec.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:24 provision: minted service route loop.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:24 provision: minted service route named.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: minted service route priv.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: minted instance route unit.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: minted static route site.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: minted static route pisite.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: minted static route site.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: removed retired static route site.go.tito.io (record gone)
2026/11/22 10:50:25 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: minted instance route acme-uk.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: converged acme.go.tito.io replicas "ie,uk" -> "uk"
2026/11/22 10:50:25 provision: converged acme.go.tito.io replicas "uk" -> ""
2026/11/22 10:50:25 provision: minted instance route acme-uk.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: converged acme-uk.go.tito.io replica mark true -> false
2026/11/22 10:50:25 provision: minted instance route router.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:25 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:26 provision: acme.go.tito.io: row is on the nested layout (db "/data/instances/acme.go.tito.io/acme.go.tito.io.db" socket "/run/carlos/instances/acme.go.tito.io/app.sock"); the record's shared paths are not drift
2026/11/22 10:50:26 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:26 provision: minted instance route router.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:26 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:26 provision: minted instance route router.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:26 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:26 provision: minted instance route router.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:26 provision: acme.go.tito.io: not minting this pass: the box's layout intent could not be read: store down
2026/11/22 10:50:26 provision: router.go.tito.io: not minting this pass: the box's layout intent could not be read: store down
2026/11/22 10:50:26 provision: adopted existing route acme.go.tito.io (app "tito" acct "bac") — this record now owns its channel and environment
2026/11/22 10:50:26 provision: converged acme.go.tito.io channel stable -> edge
2026/11/22 10:50:26 provision: minted instance route acme.go.tito.io held landing by mv_acme (app "tito" acct "bac")
2026/11/22 10:50:26 provision: not removing acme.go.tito.io (record gone): participant of a running operation
2026/11/22 10:50:26 provision: removed retired instance route acme.go.tito.io (record gone)
2026/11/22 10:50:26 provision: minted instance route acme.go.tito.io held landing by mv_acme (app "tito" acct "bac")
2026/11/22 10:50:26 provision: refusing to mint held route acme.go.tito.io (app "tito" acct "bac"): this box declares CARLOS_INBOUND=none (no-inbound) and cannot serve routed instance traffic
2026/11/22 10:50:26 provision: held acme.go.tito.io landing by mv_acme (was ready)
2026/11/22 10:50:26 provision: acme.go.tito.io: held restoring by rb_other, not by mv_acme; leaving it
2026/11/22 10:50:26 provision: acme.go.tito.io: the row is not this pass's (app "other" acct ""); not holding it for mv_acme
2026/11/22 10:50:26 provision: acme.go.tito.io exists but is not the route this record describes (app "other"/"tito") — leaving it alone
2026/11/22 10:50:26 provision: dry-run: would mint instance route acme.go.tito.io held landing by mv_acme (app "tito" acct "bac" channel "stable")
2026/11/22 10:50:27 provision: acme.go.tito.io: not held landing by mv_acme: the row's hold changed under this pass, or the row belongs to a later lifetime; the next pass judges it afresh
2026/11/22 10:50:27 provision: held acme.go.tito.io landing by mv_acme (was ready)
2026/11/22 10:50:27 provision: minted instance route acme.example.com (app "shop" acct "bac")
2026/11/22 10:50:27 provision: minted instance route plain.example.com (app "shop" acct "bac")
2026/11/22 10:50:27 provision: skipping record apps/bac/shop/instances/garbled.shop.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:27 provision: skipping record apps/bac/shop/instances/liar.shop.example.com.json: disagrees with its own path (host="other.shop.example.com" account="bac" app="shop")
2026/11/22 10:50:27 provision: skipping record apps/bac/shop/instances/garbled.shop.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:27 provision: skipping record apps/bac/shop/instances/liar.shop.example.com.json: disagrees with its own path (host="other.shop.example.com" account="bac" app="shop")
2026/11/22 10:50:27 provision: skipping record apps/bac/shop/instances/garbled.shop.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:27 provision: skipping record apps/bac/shop/instances/liar.shop.example.com.json: disagrees with its own path (host="other.shop.example.com" account="bac" app="shop")
2026/11/22 10:50:27 provision: skipping record apps/bac/shop/instances/garbled.shop.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:27 provision: listing apps/bac/shop/instances/: list refused — its records are unseen this pass
2026/11/22 10:50:27 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:27 provision: converged a.shop.example.com assets off false -> false, generation "" -> "0123456789abcdef"
2026/11/22 10:50:27 provision: converged a.shop.example.com assets off false -> false, generation "0123456789abcdef" -> "fedcba9876543210"
2026/11/22 10:50:27 provision: converged a.shop.example.com assets off false -> true, generation "fedcba9876543210" -> "fedcba9876543210"
2026/11/22 10:50:27 provision: converged a.shop.example.com assets off true -> false, generation "fedcba9876543210" -> ""
2026/11/22 10:50:27 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:27 provision: minted instance route b.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:27 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:27 provision: minted instance route c.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:27 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:27 provision: minted instance route d.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:27 provision: minted instance route d.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:27 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:27 provision: converged a.shop.example.com fleet assignment "2026-10-30T09:00:00.000000001Z" moved false -> "2026-10-30T10:01:00Z" moved true
2026/11/22 10:50:27 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:50:28 provision: converged a.shop.example.com pages off false -> true
2026/11/22 10:50:28 provision: converged a.shop.example.com pages off true -> false
2026/11/22 10:50:28 provision: skipping accounts/bad/account.json: read failed: get refused
2026/11/22 10:50:28 provision: listing apps/bad/blog/instances/: list refused — its records are unseen this pass
2026/11/22 10:50:28 provision: listing apps/bad/: listdirs refused — its records are unseen this pass
2026/11/22 10:50:28 provision: skipping accounts/bcd/account.json: read failed: get refused
2026/11/22 10:50:28 provision: listing apps/bcd/blog/instances/: list refused — its records are unseen this pass
2026/11/22 10:50:28 provision: listing apps/bcd/: listdirs refused — its records are unseen this pass
2026/11/22 10:50:28 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:28 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:28 provision: record view: re-reading apps/bqc/shop failed: retrying on the next refresh
2026/11/22 10:50:28 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:28 provision: record view: re-reading apps/bqc/shop failed: retrying on the next refresh
2026/11/22 10:50:28 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:28 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:29 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:50:29 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:29 provision: removed retired instance route acme.go.tito.io (record gone)
2026/11/22 10:50:30 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:50:30 provision: bac/tito is in the trash — not minting instance routes for it
2026/11/22 10:50:30 provision: minted sidecar route bot.shop.bac.sidecar.internal (app "shop" acct "bac" args ["run"])
2026/11/22 10:50:30 provision: removed retired sidecar route bot.shop.bac.sidecar.internal (record gone)
2026/11/22 10:50:30 provision: minted sidecar route bot.shop.bum.sidecar.internal (app "shop" acct "bum" args ["run"])
2026/11/22 10:50:30 provision: minted sidecar route bot.shop.bum.sidecar.internal (app "shop" acct "bum" args ["run"])
2026/11/22 10:50:30 provision: sidecar bot.shop.bum.sidecar.internal is not placeable here: it asks for "no-inbound" placement and this box accepts inbound work (CARLOS_INBOUND="")
2026/11/22 10:50:30 provision: sidecar bot.shop.bum.sidecar.internal is not placeable here: it asks for "no-inbound" placement and this box accepts inbound work (CARLOS_INBOUND="")
2026/11/22 10:50:30 provision: sidecar bot.shop.bum.sidecar.internal is not placeable here: it asks for "no-inbound" placement and this box accepts inbound work (CARLOS_INBOUND="")
2026/11/22 10:50:30 provision: removed retired sidecar route bot.shop.bum.sidecar.internal (record gone)
2026/11/22 10:50:30 provision: sidecar bot.shop.bum.sidecar.internal is not placeable here: it asks for "no-inbound" placement and this box accepts inbound work (CARLOS_INBOUND="")
2026/11/22 10:50:30 provision: removed retired sidecar route bot.shop.bum.sidecar.internal (record gone)
2026/11/22 10:51:06 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:06 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:06 provision: removed retired instance route shop.example.com (record gone)
2026/11/22 10:51:06 provision: skipping record apps/bac/shop/instances/shop.example.com.json: malformed: provision: record bac/shop/shop.example.com: provision: record is corrupt: record disagrees with its own path
2026/11/22 10:51:06 provision: not removing shop.example.com: its record exists but could not be read cleanly this pass
2026/11/22 10:51:06 provision: forward shop.example.com: minted (app "shop" acct "bac" region "fleet/pi")
2026/11/22 10:51:07 provision: removed retired instance route shop.example.com (record gone)
2026/11/22 10:51:07 provision: removed retired instance route shop.example.com (record gone)
2026/11/22 10:51:07 provision: removed retired instance route shop.example.com (record gone)
2026/11/22 10:51:07 provision: removed retired instance route shop.example.com (record gone)
2026/11/22 10:51:07 provision: removed retired instance route shop.example.com (record gone)
2026/11/22 10:51:07 provision: removed retired instance route shop.example.com (record gone)
2026/11/22 10:51:07 provision: removed retired instance route shop.example.com (record gone)
2026/11/22 10:51:07 provision: removed retired instance route shop.example.com (record gone)
2026/11/22 10:51:08 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:08 provision: removed retired instance route shop.example.com (older replica lifetime)
2026/11/22 10:51:08 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:08 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:08 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:08 provision: removed retired instance route shop.example.com (record gone)
2026/11/22 10:51:08 provision: removed retired instance route shop.example.com (record gone)
2026/11/22 10:51:08 provision: installed lifetime (2, 0) on shop.example.com (recreation, was (1, 0))
2026/11/22 10:51:08 provision: removed retired instance route shop.example.com (record gone)
2026/11/22 10:51:08 provision: removed retired instance route shop.example.com (record gone)
2026/11/22 10:51:09 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:09 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:09 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:09 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:10 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:11 provision: minted instance route bab.shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:12 provision: acme.go.tito.io: aborted seed sd_jwp35lbei7277p3jzgptlfleie: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:12 provision: acme.go.tito.io: aborted seed sd_jwp35lbei7277p3jzgptlfleie keeps its hostname: nothing of it is left, but the console did not hear so: door unreachable
2026/11/22 10:51:12 provision: acme.go.tito.io: aborted seed sd_qq5vyzr6h2rnwqc77ftp36uqna keeps its hostname: its replica prefix could not be listed: throttled
2026/11/22 10:51:12 provision: acme.go.tito.io: aborted seed sd_qq5vyzr6h2rnwqc77ftp36uqna: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:12 provision: acme.go.tito.io: aborted seed sd_xrbpoxour2dd3n4plt4xqbqgzi keeps its hostname: its staging prefix could not be listed: throttled
2026/11/22 10:51:12 provision: acme.go.tito.io: aborted seed sd_xrbpoxour2dd3n4plt4xqbqgzi: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:12 provision: acme.go.tito.io: aborted seed sd_7oc3tk6o5mq54txjzjeqyaiw6i keeps its hostname: a copy of its data is still in the fleet's storage (1 object(s) under instances/acme.go.tito.io/, 0 under moves/acme.go.tito.io/)
2026/11/22 10:51:12 provision: acme.go.tito.io: aborted seed sd_7oc3tk6o5mq54txjzjeqyaiw6i keeps its hostname: a copy of its data is still in the fleet's storage (1 object(s) under instances/acme.go.tito.io/, 0 under moves/acme.go.tito.io/)
2026/11/22 10:51:12 provision: acme.go.tito.io: aborted seed sd_7oc3tk6o5mq54txjzjeqyaiw6i keeps its hostname: a copy of its data is still in the fleet's storage (1 object(s) under instances/acme.go.tito.io/, 0 under moves/acme.go.tito.io/)
2026/11/22 10:51:12 provision: acme.go.tito.io: aborted seed sd_kj7xtsec4q6sohegucfjd536y4 keeps its hostname: a copy of its data is still in the fleet's storage (0 object(s) under instances/acme.go.tito.io/, 1 under moves/acme.go.tito.io/)
2026/11/22 10:51:12 provision: acme.go.tito.io: aborted seed sd_kj7xtsec4q6sohegucfjd536y4 keeps its hostname: a copy of its data is still in the fleet's storage (1 object(s) under instances/acme.go.tito.io/, 1 under moves/acme.go.tito.io/)
2026/11/22 10:51:12 provision: acme.go.tito.io: aborted seed sd_4efhv5wtbkmmzjen7rl7mimdbq keeps its hostname: the host is not fenced and stopped yet (<nil>)
2026/11/22 10:51:12 provision: acme.go.tito.io: aborted seed sd_b2vz5hltq3o7e5ecum33uhmmgu keeps its hostname: the host is not fenced and stopped yet (stop unproven)
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_jvehfqvpg2rxskm3zxx2apl5dm keeps its hostname: a route appeared at the host, so nothing local is removed
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_bh6casiqzq53d5uyqv5ovxnxr4: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_552k36y7c4mg7xzydorh4zynym keeps its hostname: its record is another box's
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_kufhkxrvj6azmhdvufwktg5pcm keeps its hostname: this box cannot fence, list its bucket or reach the console's door
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_xzddbvbo7nxuehg4lauuwyt23e keeps its hostname: this box cannot fence, list its bucket or reach the console's door
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_27qnemmih2alc7hnpy62v7lyoa keeps its hostname: this box cannot fence, list its bucket or reach the console's door
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_wjvqehugzf7ygortdbu2cpq7i4 keeps its hostname: this box cannot fence, list its bucket or reach the console's door
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_mq2t7fwguxdkqalwpr54ognvea: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_g62udzqrzjqw5jfhux36xqcnk4: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_2oiwibvilkag35i3jpqu6ulz5e: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_g7hxhnwjktahdfun3rpzsm55nu: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_m2id6rcwjhrj7erorl7kaxkvr4 keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackLayoutChangedHoldsthe_flat_locations_2291960868/003/acme.go.tito.io.db is not proven gone: unlinkat /tmp/TestFleetFileSeedRollbackLayoutChangedHoldsthe_flat_locations_2291960868/003/acme.go.tito.io.db: read-only file system
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_m2id6rcwjhrj7erorl7kaxkvr4: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_se7jaa5fclaxj6btugtazzbsxa keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackLayoutChangedHoldsthe_nested_location1407705147/003/instances/acme.go.tito.io/acme.go.tito.io.db is not proven gone: openat2 /tmp/TestFleetFileSeedRollbackLayoutChangedHoldsthe_nested_location1407705147/003/instances/acme.go.tito.io/acme.go.tito.io.db: permission denied
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_se7jaa5fclaxj6btugtazzbsxa: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_wjeqgrj4nfswkbb6ws2pyl44hy keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackLayoutChangedHoldsthe_flat_marker_is_b935767247/003/acme.go.tito.io.db is not proven gone: instancefs: the purge is not proven: /tmp/TestFleetFileSeedRollbackLayoutChangedHoldsthe_flat_marker_is_b935767247/003 still holds acme.go.tito.io.db.seed
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_wjeqgrj4nfswkbb6ws2pyl44hy: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_4loj2jb4gfzqhtpign2rsoytay keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackSwappedDirectoryHoldsthe_instance_dire1701737706/003/instances/acme.go.tito.io/acme.go.tito.io.db is not proven gone: instancefs: path contains a symlink: /tmp/TestFleetFileSeedRollbackSwappedDirectoryHoldsthe_instance_dire1701737706/003/instances/acme.go.tito.io
2026/11/22 10:51:13 provision: acme.go.tito.io: aborted seed sd_4loj2jb4gfzqhtpign2rsoytay keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackSwappedDirectoryHoldsthe_instance_dire1701737706/003/instances/acme.go.tito.io/acme.go.tito.io.db is not proven gone: instancefs: path contains a symlink: /tmp/TestFleetFileSeedRollbackSwappedDirectoryHoldsthe_instance_dire1701737706/003/instances/acme.go.tito.io
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_4loj2jb4gfzqhtpign2rsoytay: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_blsamet2si35eh2vyp6xeckii4 keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackSwappedDirectoryHoldsthe_instances_dir3977564539/003/instances/acme.go.tito.io/acme.go.tito.io.db is not proven gone: instancefs: path contains a symlink: /tmp/TestFleetFileSeedRollbackSwappedDirectoryHoldsthe_instances_dir3977564539/003/instances/acme.go.tito.io
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_blsamet2si35eh2vyp6xeckii4 keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackSwappedDirectoryHoldsthe_instances_dir3977564539/003/instances/acme.go.tito.io/acme.go.tito.io.db is not proven gone: instancefs: path contains a symlink: /tmp/TestFleetFileSeedRollbackSwappedDirectoryHoldsthe_instances_dir3977564539/003/instances/acme.go.tito.io
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_blsamet2si35eh2vyp6xeckii4: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_7rrhpvyyqn2upzcyhlqpqoi3yi keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackSwappedDirectoryHoldsthe_data_director939912882/003/acme.go.tito.io.db is not proven gone: instancefs: the directory could not be opened: instancefs: path contains a symlink: /tmp/TestFleetFileSeedRollbackSwappedDirectoryHoldsthe_data_director939912882/003
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_7rrhpvyyqn2upzcyhlqpqoi3yi keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackSwappedDirectoryHoldsthe_data_director939912882/003/instances/acme.go.tito.io/acme.go.tito.io.db is not proven gone: instancefs: the directory could not be opened: instancefs: path contains a symlink: /tmp/TestFleetFileSeedRollbackSwappedDirectoryHoldsthe_data_director939912882/003
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_7rrhpvyyqn2upzcyhlqpqoi3yi: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_skmk2sicylcp5giz4se3jj3j5a keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackHoldsItsDirectoriesthe_instance_direct1844112346/003/instances/acme.go.tito.io/acme.go.tito.io.db is not proven gone: instancefs: the purge is not proven: /tmp/TestFleetFileSeedRollbackHoldsItsDirectoriesthe_instance_direct1844112346/003/instances/acme.go.tito.io is not the directory this purge opened (it was replaced, removed or created meanwhile)
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_skmk2sicylcp5giz4se3jj3j5a: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_3hhojv3bo6tddm6uwnyyhkx4qy keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackHoldsItsDirectoriesthe_instance_direct2201761902/003/instances/acme.go.tito.io/acme.go.tito.io.db is not proven gone: instancefs: the purge is not proven: /tmp/TestFleetFileSeedRollbackHoldsItsDirectoriesthe_instance_direct2201761902/003/instances/acme.go.tito.io is not the directory this purge opened (it was replaced, removed or created meanwhile)
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_3hhojv3bo6tddm6uwnyyhkx4qy: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_2ep5fib2qotg5qwtxwjbigfavi keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackHoldsItsDirectoriesthe_instances_direc3564734841/003/instances/acme.go.tito.io/acme.go.tito.io.db is not proven gone: instancefs: the purge is not proven: /tmp/TestFleetFileSeedRollbackHoldsItsDirectoriesthe_instances_direc3564734841/003/instances/acme.go.tito.io is not the directory this purge opened (it was replaced, removed or created meanwhile)
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_2ep5fib2qotg5qwtxwjbigfavi: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_6v7uh3iofp2jhezrzukrxyoqzu keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackHoldsItsDirectoriesthe_instances_direc631604238/003/instances/acme.go.tito.io/acme.go.tito.io.db is not proven gone: instancefs: the purge is not proven: /tmp/TestFleetFileSeedRollbackHoldsItsDirectoriesthe_instances_direc631604238/003/instances/acme.go.tito.io is not the directory this purge opened (it was replaced, removed or created meanwhile)
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_6v7uh3iofp2jhezrzukrxyoqzu: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_5iwmfwfisrqj7dgp5bapz6bwai keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackHoldsItsDirectoriesthe_data_directory_4169775683/003/acme.go.tito.io.db is not proven gone: instancefs: the purge is not proven: /tmp/TestFleetFileSeedRollbackHoldsItsDirectoriesthe_data_directory_4169775683/003 is not the directory this purge opened (it was replaced meanwhile)
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_5iwmfwfisrqj7dgp5bapz6bwai: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_dtd6dwjkejrl3pkxh6j6pkgtvu keeps its hostname: its local data at /tmp/TestFleetFileSeedRollbackHoldsItsDirectoriesthe_data_directory_2691786273/003/acme.go.tito.io.db is not proven gone: instancefs: the purge is not proven: /tmp/TestFleetFileSeedRollbackHoldsItsDirectoriesthe_data_directory_2691786273/003 is not the directory this purge opened (it was replaced meanwhile)
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_dtd6dwjkejrl3pkxh6j6pkgtvu: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:14 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:51:14 provision: removed instance route acme.go.tito.io (its seed sd_zl3vmp6hwtbvfxcvhywqt6wcum was aborted); the next pass rolls it back
2026/11/22 10:51:14 provision: acme.go.tito.io: aborted seed sd_zl3vmp6hwtbvfxcvhywqt6wcum: nothing of it is left on this box or in the fleet's storage; reported rolled back
2026/11/22 10:51:14 provision: acme.go.tito.io: not minting a seeded instance: this box does not mint nested
2026/11/22 10:51:14 provision: acme.go.tito.io: not minting a seeded instance: this box does not mint nested
2026/11/22 10:51:14 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:51:14 provision: acme.go.tito.io: not minting a seeded instance: this box does not mint nested
2026/11/22 10:51:14 provision: acme.go.tito.io: not minting a seeded instance: this box's layout could not be read (layout intent unreadable)
2026/11/22 10:51:15 provision: acme.go.tito.io: not minting a seeded instance: claim control is on for this box
2026/11/22 10:51:15 provision: acme.go.tito.io: not minting a seeded instance: this fleet box cannot report a seed file's progress
2026/11/22 10:51:15 provision: acme.go.tito.io: aborted seed sd_nqdnrt6ixu5r6oayvzlahk55ce has no route on this box: its local data is removed
2026/11/22 10:51:15 provision: acme.go.tito.io: aborted seed sd_nqdnrt6ixu5r6oayvzlahk55ce rolled back (no box had swapped it)
2026/11/22 10:51:15 provision: acme.go.tito.io: not minting a seeded instance: this box does not mint nested
2026/11/22 10:51:15 provision: a.shop.example.com: swapped for import sd_x7hyp2kh3sgmms5y4p4rdmayoe (the original route is journaled)
2026/11/22 10:51:15 provision: a.shop.example.com: import sd_x7hyp2kh3sgmms5y4p4rdmayoe committed: its gate is cleared and its journal row dropped
2026/11/22 10:51:15 provision: a.shop.example.com: row is on the nested layout (db "/data/instances/a.shop.example.com/a.shop.example.com.db" socket "/run/carlos/instances/a.shop.example.com/app.sock"); the record's shared paths are not drift
2026/11/22 10:51:16 provision: a.shop.example.com: import sd_sbi2zt52aevexb5ucw6c7pwpvm rolled back to its original route
2026/11/22 10:51:16 provision: a.shop.example.com: import sd_sbi2zt52aevexb5ucw6c7pwpvm: the host's replica is left alone: the record apps/bac/shop/instances/a.shop.example.com.json holds the host
2026/11/22 10:51:16 provision: a.shop.example.com: import sd_sbi2zt52aevexb5ucw6c7pwpvm is cleaned up and its journal row retired
2026/11/22 10:51:16 provision: a.shop.example.com: import sd_pryfs7tecesidgugudqcgszqum rolled back to its original route
2026/11/22 10:51:16 provision: a.shop.example.com: import sd_pryfs7tecesidgugudqcgszqum: the host's replica is left alone: the record apps/bac/shop/instances/a.shop.example.com.json holds the host
2026/11/22 10:51:16 provision: a.shop.example.com: import sd_pryfs7tecesidgugudqcgszqum is cleaned up and its journal row retired
2026/11/22 10:51:16 provision: dry-run: would redo a.shop.example.com's swap record CAS for import sd_moq2duwzyuhc3bjcvbsr52ocn4
2026/11/22 10:51:16 provision: dry-run: would clear a.shop.example.com's import gate
2026/11/22 10:51:16 provision: dry-run: would converge a.shop.example.com seed source
2026/11/22 10:51:16 provision: a.shop.example.com: row is on the nested layout (db "/data/instances/a.shop.example.com/a.shop.example.com.db" socket "/run/carlos/instances/a.shop.example.com/app.sock"); the record's shared paths are not drift
2026/11/22 10:51:16 provision: a.shop.example.com: the import's record apps/bac/shop/instances/a.shop.example.com.json is not one this pass can use (connection reset)
2026/11/22 10:51:16 provision: a.shop.example.com: the import's record apps/bac/shop/instances/a.shop.example.com.json is not one this pass can use (provision: invalid maintenance projection or protected fields)
2026/11/22 10:51:16 provision: a.shop.example.com: the import's record apps/bac/shop/instances/a.shop.example.com.json is not one this pass can use (the record under apps/bac/shop/instances/a.shop.example.com.json is apps/bac/shop/instances/b.shop.example.com.json's)
2026/11/22 10:51:17 provision: a.shop.example.com: import sd_4jjpf7brxux4mq3kz2drig72ci cannot roll back on this box: the activator is not wired; it stays journaled and gated
2026/11/22 10:51:17 provision: a.shop.example.com: import sd_wyeq7i3j5rxhmmqujf5b4nxsj4 cannot roll back on this box: the activator is not wired; it stays journaled and gated
2026/11/22 10:51:17 provision: a.shop.example.com: import sd_3uane3l6kkezovwfoikwlfm37u is journaled, but this box cannot act on imports; its row is left alone
2026/11/22 10:51:17 provision: a.shop.example.com: import sd_3zbgtblijbul7soqhj7ir5x2bi is journaled, but this box cannot act on imports; its row is left alone
2026/11/22 10:51:17 provision: a.shop.example.com: import sd_ywfjaupvwftprzii3q64iqwuva is journaled, but this box cannot act on imports; its row is left alone
2026/11/22 10:51:17 provision: the import journal could not be read: registry: import journal a.shop.example.com: original row: unexpected end of JSON input (no import is acted on and no route is removed this pass)
2026/11/22 10:51:17 provision: b.shop.example.com: import sd_2epspyolizvoky5i2vik3fzlyi left alone this pass: the import journal could not be read
2026/11/22 10:51:17 provision: c.shop.example.com: import sd_hhqf6nmgtsvl2fcchkkllr26te left alone this pass: the import journal could not be read
2026/11/22 10:51:17 provision: a.shop.example.com: import sd_ujr63ujohui36fi3wunkwfx5sy committed: its gate is cleared and its journal row dropped
2026/11/22 10:51:17 provision: a.shop.example.com: not converging import sd_if3vnmh7mommr6lb2ldk5j77de: it is swapped but not committed, and the row on this box has no import gate
2026/11/22 10:51:17 provision: a.shop.example.com: not converging import sd_nzjlb4vhxwwwsx5d5oobsvbo2m: it is swapped but not committed, and the row on this box has no import gate
2026/11/22 10:51:17 provision: a.shop.example.com: not converging import sd_ewi5wx3z4uirfvdx4qdpztijoa: it is placed but not committed, and the row on this box has no import gate
2026/11/22 10:51:17 provision: a.shop.example.com: not converging import sd_3aqbzlpusnkd37bxmyjhphphru: it is placed but not committed, and the row on this box has no import gate
2026/11/22 10:51:17 provision: a.shop.example.com: row is on the nested layout (db "/data/instances/a.shop.example.com/a.shop.example.com.db" socket "/run/carlos/instances/a.shop.example.com/app.sock"); the record's shared paths are not drift
2026/11/22 10:51:18 provision: converge seed source on a.shop.example.com: constraint failed: seed_source is read-only here (1811)
2026/11/22 10:51:18 provision: a.shop.example.com: row is on the nested layout (db "/data/instances/a.shop.example.com/a.shop.example.com.db" socket "/run/carlos/instances/a.shop.example.com/app.sock"); the record's shared paths are not drift
2026/11/22 10:51:18 provision: a.shop.example.com: import sd_k4h6m6ljthmjhk6dtolx4ufdx4 committed: its gate is cleared and its journal row dropped
2026/11/22 10:51:18 provision: a.shop.example.com: row is on the nested layout (db "/data/instances/a.shop.example.com/a.shop.example.com.db" socket "/run/carlos/instances/a.shop.example.com/app.sock"); the record's shared paths are not drift
2026/11/22 10:51:18 provision: a.shop.example.com: import sd_go6yw5nxnjtmyq2urv33mx7reu committed: its gate is cleared and its journal row dropped
2026/11/22 10:51:18 provision: removed retired instance route a.shop.example.com (record gone)
2026/11/22 10:51:18 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:51:18 provision: a.shop.example.com: import sd_twnjp7fafe42rziwgf3p6omcsu rolled back to its original route
2026/11/22 10:51:18 provision: a.shop.example.com: import sd_twnjp7fafe42rziwgf3p6omcsu is cleaned up and its journal row retired
2026/11/22 10:51:19 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:51:19 provision: a.shop.example.com: import sd_ou4vqwazxeruynzuscrd7rttmi rolled back to its original route
2026/11/22 10:51:19 provision: a.shop.example.com: import sd_ou4vqwazxeruynzuscrd7rttmi is cleaned up and its journal row retired
2026/11/22 10:51:19 provision: a.shop.example.com: import sd_hzv6zowau4gvn6qvh62eaweiua committed: its gate is cleared and its journal row dropped
2026/11/22 10:51:19 provision: a.shop.example.com: row is on the nested layout (db "/data/instances/a.shop.example.com/a.shop.example.com.db" socket "/run/carlos/instances/a.shop.example.com/app.sock"); the record's shared paths are not drift
2026/11/22 10:51:19 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its lifetime could not be judged: provision: host incarnation slot is malformed: control/host-incarnations/a.shop.example.com.json: failed validation
2026/11/22 10:51:19 provision: a.shop.example.com: import sd_xajmm6oykfx42bqjh45k6rbuya left alone this pass: its record could not be read
2026/11/22 10:51:19 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:51:19 provision: a.shop.example.com: import sd_2ezdxdcen4p4bkdpsdg7cn5ely rolled back to its original route
2026/11/22 10:51:19 provision: a.shop.example.com: import sd_2ezdxdcen4p4bkdpsdg7cn5ely is cleaned up and its journal row retired
2026/11/22 10:51:19 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:51:19 provision: a.shop.example.com: import sd_pd5i2opzlnio77owot5bucygw4 committed: its gate is cleared and its journal row dropped
2026/11/22 10:51:19 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: its host incarnation slot no longer vouches for it
2026/11/22 10:51:19 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:51:19 provision: acme.go.tito.io: row is on the nested layout (db "/data/instances/acme.go.tito.io/acme.go.tito.io.db" socket "/run/carlos/instances/acme.go.tito.io/app.sock"); the record's shared paths are not drift
2026/11/22 10:51:19 provision: acme.go.tito.io: not minting a seeded instance: claim control is on for this box
2026/11/22 10:51:19 provision: acme.go.tito.io: not minting a seeded instance: this box does not mint nested
2026/11/22 10:51:20 provision: acme.go.tito.io: aborted seed sd_j5azkbe3epjuftnulyxq5fqfdi: this box cannot read seed markers, and places no seed; nothing local is removed
2026/11/22 10:51:20 provision: acme.go.tito.io: aborted seed sd_j5azkbe3epjuftnulyxq5fqfdi rolled back (no box had swapped it)
2026/11/22 10:51:20 provision: acme.go.tito.io: not minting a seeded instance: its record does not describe a hibernating instance
2026/11/22 10:51:20 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:51:20 provision: removed instance route acme.go.tito.io (its seed sd_m4ly2h3zj5zozlp5oay3i6yid4 was aborted); the next pass rolls it back
2026/11/22 10:51:20 provision: acme.go.tito.io: aborted seed sd_m4ly2h3zj5zozlp5oay3i6yid4: this box cannot read seed markers, and places no seed; nothing local is removed
2026/11/22 10:51:20 provision: acme.go.tito.io: aborted seed sd_m4ly2h3zj5zozlp5oay3i6yid4 rolled back (no box had swapped it)
2026/11/22 10:51:20 provision: acme.go.tito.io: aborted seed sd_3uwbvlgcl7bn3fwtj4oafqpdku has a row this pass may not remove; leaving the seed aborted
2026/11/22 10:51:20 provision: acme.go.tito.io: aborted seed sd_25zfx3ahjcwiu5osvcyzrgey2u rolled back (no box had swapped it)
2026/11/22 10:51:20 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:51:20 provision: removed instance route acme.go.tito.io (its seed sd_5uk6ytattwnnks2bv7vfxalk5y was aborted); the next pass rolls it back
2026/11/22 10:51:20 provision: acme.go.tito.io: aborted seed sd_5uk6ytattwnnks2bv7vfxalk5y has no route on this box: its local data is removed
2026/11/22 10:51:20 provision: acme.go.tito.io: aborted seed sd_5uk6ytattwnnks2bv7vfxalk5y rolled back (no box had swapped it)
2026/11/22 10:51:20 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:51:21 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:51:21 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:51:21 provision: removed instance route acme.go.tito.io (its seed sd_x5jjbajvxstrtdfaqwx7up7ehi was aborted); the next pass rolls it back
2026/11/22 10:51:21 provision: acme.go.tito.io: aborted seed sd_x5jjbajvxstrtdfaqwx7up7ehi: this box cannot read seed markers, and places no seed; nothing local is removed
2026/11/22 10:51:21 provision: acme.go.tito.io: aborted seed sd_x5jjbajvxstrtdfaqwx7up7ehi rolled back (no box had swapped it)
2026/11/22 10:51:21 provision: acme.go.tito.io: aborted seed sd_elwmlzcng7jzeh4hvsqhq3oxw4 has no route on this box: its local data is removed
2026/11/22 10:51:21 provision: acme.go.tito.io: aborted seed sd_elwmlzcng7jzeh4hvsqhq3oxw4 rolled back (no box had swapped it)
2026/11/22 10:51:21 provision: acme.go.tito.io: aborted seed sd_xreh6gauvv63qnrw7qy4z7znmy rolls back with the database at /tmp/TestAbortedFileSeedPurgesItsMarkedLocalanother_seed3210637169/003/instances/acme.go.tito.io/acme.go.tito.io.db left: its seed marker names "sd_ip6xql3mpngm4mpysqg6tyb6ua", not this seed
2026/11/22 10:51:21 provision: acme.go.tito.io: aborted seed sd_xreh6gauvv63qnrw7qy4z7znmy rolled back (no box had swapped it)
2026/11/22 10:51:21 provision: a.shop.example.com: swapped for import sd_pifydiwpqz7yg5np6fpuqhfuqi (the original route is journaled)
2026/11/22 10:51:21 provision: a.shop.example.com: import sd_pifydiwpqz7yg5np6fpuqhfuqi rolled back to its original route
2026/11/22 10:51:21 provision: a.shop.example.com: import sd_pifydiwpqz7yg5np6fpuqhfuqi is cleaned up and its journal row retired
2026/11/22 10:51:21 provision: a.shop.example.com: swapped for import sd_uehsix7otzcgl7ij7lmgawrgh4 (the original route is journaled)
2026/11/22 10:51:21 provision: a.shop.example.com: import sd_uehsix7otzcgl7ij7lmgawrgh4 rolled back to its original route
2026/11/22 10:51:21 provision: a.shop.example.com: import sd_uehsix7otzcgl7ij7lmgawrgh4 is cleaned up and its journal row retired
2026/11/22 10:51:21 provision: a.shop.example.com: swapped for import sd_eaboe2nfl2h7kqi3it4m4j5rby (the original route is journaled)
2026/11/22 10:51:21 provision: a.shop.example.com: import sd_eaboe2nfl2h7kqi3it4m4j5rby rolled back to its original route
2026/11/22 10:51:21 provision: a.shop.example.com: import sd_eaboe2nfl2h7kqi3it4m4j5rby: the host's replica is left alone: its record no longer names this seed
2026/11/22 10:51:21 provision: a.shop.example.com: import sd_eaboe2nfl2h7kqi3it4m4j5rby is cleaned up and its journal row retired
2026/11/22 10:51:21 provision: a.shop.example.com: swapped for import sd_yipb6kzaycjvibx3zc7jwujgqu (the original route is journaled)
2026/11/22 10:51:21 provision: a.shop.example.com: import sd_yipb6kzaycjvibx3zc7jwujgqu rollback deferred: the host is not fenced and stopped yet (<nil>)
2026/11/22 10:51:21 provision: a.shop.example.com: import sd_yipb6kzaycjvibx3zc7jwujgqu rolled back to its original route
2026/11/22 10:51:21 provision: a.shop.example.com: import sd_yipb6kzaycjvibx3zc7jwujgqu is cleaned up and its journal row retired
2026/11/22 10:51:21 provision: a.shop.example.com: swapped for import sd_nzhifdydztfwyfs25wgdd3el4e (the original route is journaled)
2026/11/22 10:51:21 provision: a.shop.example.com: import sd_nzhifdydztfwyfs25wgdd3el4e rollback deferred: the host is not fenced and stopped yet (stop unproven)
2026/11/22 10:51:22 provision: a.shop.example.com: swapped for import sd_v73n45ip25koguyxenlfeol6jq (the original route is journaled)
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_v73n45ip25koguyxenlfeol6jq is cleaned up and its journal row retired
2026/11/22 10:51:22 provision: a.shop.example.com: swapped for import sd_l3wnsusd5pgzi42vzi5apssmfq (the original route is journaled)
2026/11/22 10:51:22 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: malformed: provision: record bac/shop/a.shop.example.com: provision: record is corrupt: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_l3wnsusd5pgzi42vzi5apssmfq left alone this pass: its record could not be read
2026/11/22 10:51:22 provision: a.shop.example.com: swapped for import sd_mwmluakoml2olujnnybfhccqgu (the original route is journaled)
2026/11/22 10:51:22 provision: skipping record apps/bac/shop/instances/a.shop.example.com.json: read failed: connection reset
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_mwmluakoml2olujnnybfhccqgu left alone this pass: its record could not be read
2026/11/22 10:51:22 provision: a.shop.example.com: swapped for import sd_rhvcn6aqza27iucgh7gp2qra6m (the original route is journaled)
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_rhvcn6aqza27iucgh7gp2qra6m: close the import gate: constraint failed: injected (1811)
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_rhvcn6aqza27iucgh7gp2qra6m rolled back to its original route
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_rhvcn6aqza27iucgh7gp2qra6m is cleaned up and its journal row retired
2026/11/22 10:51:22 provision: a.shop.example.com: swapped for import sd_m3ygo76xeptdfzphhxlaji7hsy (the original route is journaled)
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_m3ygo76xeptdfzphhxlaji7hsy: close the import gate: constraint failed: injected (1811)
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_m3ygo76xeptdfzphhxlaji7hsy rolled back to its original route
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_m3ygo76xeptdfzphhxlaji7hsy is cleaned up and its journal row retired
2026/11/22 10:51:22 provision: a.shop.example.com: swapped for import sd_atfc6qmv6qttbvpdljf6mfsfsm (the original route is journaled)
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_atfc6qmv6qttbvpdljf6mfsfsm rollback deferred: the host is not fenced and stopped yet (injected failure at fence)
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_atfc6qmv6qttbvpdljf6mfsfsm rolled back to its original route
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_atfc6qmv6qttbvpdljf6mfsfsm is cleaned up and its journal row retired
2026/11/22 10:51:22 provision: a.shop.example.com: swapped for import sd_at2pc5ttbyupo4olmtrsuc5ose (the original route is journaled)
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_at2pc5ttbyupo4olmtrsuc5ose rolled back to its original route
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_at2pc5ttbyupo4olmtrsuc5ose is cleaned up and its journal row retired
2026/11/22 10:51:22 provision: a.shop.example.com: swapped for import sd_qpakt5txe2mxzcm3qhbltbgbcq (the original route is journaled)
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_qpakt5txe2mxzcm3qhbltbgbcq: retire its instance key: injected failure at retire-key
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_qpakt5txe2mxzcm3qhbltbgbcq rolled back to its original route
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_qpakt5txe2mxzcm3qhbltbgbcq is cleaned up and its journal row retired
2026/11/22 10:51:22 provision: a.shop.example.com: swapped for import sd_mi3dz5xtevvqdawnvze2iebc4i (the original route is journaled)
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_mi3dz5xtevvqdawnvze2iebc4i rolled back to its original route
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_mi3dz5xtevvqdawnvze2iebc4i is cleaned up and its journal row retired
2026/11/22 10:51:22 provision: a.shop.example.com: swapped for import sd_wh2xombafzegukazixuwy5cosu (the original route is journaled)
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_wh2xombafzegukazixuwy5cosu: remove its local data: injected failure at remove-local
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_wh2xombafzegukazixuwy5cosu rolled back to its original route
2026/11/22 10:51:22 provision: a.shop.example.com: import sd_wh2xombafzegukazixuwy5cosu is cleaned up and its journal row retired
2026/11/22 10:51:23 provision: a.shop.example.com: swapped for import sd_madzbtvutmhd5tbcb2jgem3hla (the original route is journaled)
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_madzbtvutmhd5tbcb2jgem3hla rolled back to its original route
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_madzbtvutmhd5tbcb2jgem3hla is cleaned up and its journal row retired
2026/11/22 10:51:23 provision: a.shop.example.com: swapped for import sd_544vj4q5j3oher7y7gr5pcf2zi (the original route is journaled)
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_544vj4q5j3oher7y7gr5pcf2zi: remove its local data: injected failure at remove-local-done
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_544vj4q5j3oher7y7gr5pcf2zi rolled back to its original route
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_544vj4q5j3oher7y7gr5pcf2zi is cleaned up and its journal row retired
2026/11/22 10:51:23 provision: a.shop.example.com: swapped for import sd_ovuetw3sn76zciaavn3q7ylczu (the original route is journaled)
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_ovuetw3sn76zciaavn3q7ylczu rolled back to its original route
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_ovuetw3sn76zciaavn3q7ylczu is cleaned up and its journal row retired
2026/11/22 10:51:23 provision: a.shop.example.com: swapped for import sd_cm6v6ldemt5gkgiff2e3slwbue (the original route is journaled)
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_cm6v6ldemt5gkgiff2e3slwbue: restore the original route: constraint failed: injected (1811)
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_cm6v6ldemt5gkgiff2e3slwbue rolled back to its original route
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_cm6v6ldemt5gkgiff2e3slwbue is cleaned up and its journal row retired
2026/11/22 10:51:23 provision: a.shop.example.com: swapped for import sd_xazzjsd7p2naso67mc7wsgzuzq (the original route is journaled)
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_xazzjsd7p2naso67mc7wsgzuzq: restore the original route: constraint failed: injected (1811)
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_xazzjsd7p2naso67mc7wsgzuzq rolled back to its original route
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_xazzjsd7p2naso67mc7wsgzuzq is cleaned up and its journal row retired
2026/11/22 10:51:23 provision: a.shop.example.com: swapped for import sd_abog2qbsmn3ub62niwnnr2rxbq (the original route is journaled)
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_abog2qbsmn3ub62niwnnr2rxbq is cleaned up and its journal row retired
2026/11/22 10:51:23 provision: a.shop.example.com: swapped for import sd_3md4i2jmyr537aa6rgtn564sfq (the original route is journaled)
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_3md4i2jmyr537aa6rgtn564sfq rolled back to its original route
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_3md4i2jmyr537aa6rgtn564sfq: delete its snapshot: injected failure at delete-snapshot
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_3md4i2jmyr537aa6rgtn564sfq is cleaned up and its journal row retired
2026/11/22 10:51:23 provision: a.shop.example.com: swapped for import sd_55xa2mfideghjk7oaidmwqonha (the original route is journaled)
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_55xa2mfideghjk7oaidmwqonha rolled back to its original route
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_55xa2mfideghjk7oaidmwqonha is cleaned up and its journal row retired
2026/11/22 10:51:23 provision: a.shop.example.com: swapped for import sd_eob3tckmgizes5nyymsning6pu (the original route is journaled)
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_eob3tckmgizes5nyymsning6pu rolled back to its original route
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_eob3tckmgizes5nyymsning6pu: delete the host's replica: injected failure at delete-replica
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_eob3tckmgizes5nyymsning6pu is cleaned up and its journal row retired
2026/11/22 10:51:23 provision: a.shop.example.com: swapped for import sd_vxyv5dp43m5brp7neiyxu6ixzy (the original route is journaled)
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_vxyv5dp43m5brp7neiyxu6ixzy rolled back to its original route
2026/11/22 10:51:23 provision: a.shop.example.com: import sd_vxyv5dp43m5brp7neiyxu6ixzy is cleaned up and its journal row retired
2026/11/22 10:51:24 provision: a.shop.example.com: swapped for import sd_qmmqxzac3tfe7vg6rhvay4gkbm (the original route is journaled)
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_qmmqxzac3tfe7vg6rhvay4gkbm rolled back to its original route
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_qmmqxzac3tfe7vg6rhvay4gkbm: retire its journal row: constraint failed: injected (1811)
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_qmmqxzac3tfe7vg6rhvay4gkbm is cleaned up and its journal row retired
2026/11/22 10:51:24 provision: a.shop.example.com: swapped for import sd_mco4lutnfuzdcvximyo7b6bzb4 (the original route is journaled)
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_mco4lutnfuzdcvximyo7b6bzb4 rolled back to its original route
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_mco4lutnfuzdcvximyo7b6bzb4: retire its journal row: constraint failed: injected (1811)
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_mco4lutnfuzdcvximyo7b6bzb4 is cleaned up and its journal row retired
2026/11/22 10:51:24 provision: a.shop.example.com: swapped for import sd_gl4janxelrenncrkp4c73v53m4 (the original route is journaled)
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_gl4janxelrenncrkp4c73v53m4 rolled back to its original route
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_gl4janxelrenncrkp4c73v53m4 is cleaned up and its journal row retired
2026/11/22 10:51:24 provision: a.shop.example.com: mark import sd_gl4janxelrenncrkp4c73v53m4 rolled back: injected failure at cas
2026/11/22 10:51:24 provision: a.shop.example.com: aborted seed sd_gl4janxelrenncrkp4c73v53m4 rolled back (no box had swapped it)
2026/11/22 10:51:24 provision: a.shop.example.com: swapped for import sd_ga2aos7nj3hutktb6gv5lgkgmm (the original route is journaled)
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_ga2aos7nj3hutktb6gv5lgkgmm rolled back to its original route
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_ga2aos7nj3hutktb6gv5lgkgmm is cleaned up and its journal row retired
2026/11/22 10:51:24 provision: a.shop.example.com: aborted seed sd_ga2aos7nj3hutktb6gv5lgkgmm rolled back (no box had swapped it)
2026/11/22 10:51:24 provision: a.shop.example.com: swapped for import sd_pijisx56nabct4uqmwkjpmn2wq (the original route is journaled)
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_pijisx56nabct4uqmwkjpmn2wq rollback deferred: the host is not fenced and stopped yet (<nil>)
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_pijisx56nabct4uqmwkjpmn2wq rollback deferred: the host is not fenced and stopped yet (<nil>)
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_pijisx56nabct4uqmwkjpmn2wq rolled back to its original route
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_pijisx56nabct4uqmwkjpmn2wq is cleaned up and its journal row retired
2026/11/22 10:51:24 provision: a.shop.example.com: swapped for import sd_etivqc6cq3c2rvzdl36tz7cv7i (the original route is journaled)
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_etivqc6cq3c2rvzdl36tz7cv7i rolled back to its original route
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_etivqc6cq3c2rvzdl36tz7cv7i is cleaned up and its journal row retired
2026/11/22 10:51:24 provision: a.shop.example.com: swapped for import sd_n24yca5wmgph3qwhba4twsr5vu (the original route is journaled)
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_n24yca5wmgph3qwhba4twsr5vu rolled back to its original route
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_n24yca5wmgph3qwhba4twsr5vu is cleaned up and its journal row retired
2026/11/22 10:51:24 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:24 provision: a.shop.example.com: swapped for import sd_q5rve3umnagck6q7w6sb4wgwom (the original route is journaled)
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_q5rve3umnagck6q7w6sb4wgwom rolled back to its original route
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_q5rve3umnagck6q7w6sb4wgwom is cleaned up and its journal row retired
2026/11/22 10:51:24 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:24 provision: a.shop.example.com: swapped for import sd_6mub6lo73e4c4our4jrwu6hbpu (the original route is journaled)
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_6mub6lo73e4c4our4jrwu6hbpu rolled back to its original route
2026/11/22 10:51:24 provision: a.shop.example.com: import sd_6mub6lo73e4c4our4jrwu6hbpu is cleaned up and its journal row retired
2026/11/22 10:51:24 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:25 provision: a.shop.example.com: swapped for import sd_244tk6ohnoggqostowuvr6cl64 (the original route is journaled)
2026/11/22 10:51:25 provision: a.shop.example.com: import sd_244tk6ohnoggqostowuvr6cl64 rolled back to its original route
2026/11/22 10:51:25 provision: a.shop.example.com: import sd_244tk6ohnoggqostowuvr6cl64 is cleaned up and its journal row retired
2026/11/22 10:51:25 provision: minted instance route a.shop.example.com (app "other" acct "bac")
2026/11/22 10:51:25 provision: a.shop.example.com: swapped for import sd_wh33ul7at4iqkt5bvqy4dagcbi (the original route is journaled)
2026/11/22 10:51:25 provision: a.shop.example.com: import sd_wh33ul7at4iqkt5bvqy4dagcbi rolled back to its original route
2026/11/22 10:51:25 provision: a.shop.example.com: import sd_wh33ul7at4iqkt5bvqy4dagcbi is cleaned up and its journal row retired
2026/11/22 10:51:25 provision: minted instance route a.shop.example.com (app "other" acct "bac")
2026/11/22 10:51:25 provision: a.shop.example.com: swapped for import sd_5wbq7rx32v2oi3gqs4v32tiqmq (the original route is journaled)
2026/11/22 10:51:25 provision: a.shop.example.com: import sd_5wbq7rx32v2oi3gqs4v32tiqmq rolled back to its original route
2026/11/22 10:51:25 provision: a.shop.example.com: import sd_5wbq7rx32v2oi3gqs4v32tiqmq is cleaned up and its journal row retired
2026/11/22 10:51:25 provision: minted instance route a.shop.example.com (app "other" acct "bac")
2026/11/22 10:51:25 provision: a.shop.example.com: swapped for import sd_ow2srn6mmhta3q7i5c4rcxzhzi (the original route is journaled)
2026/11/22 10:51:25 provision: a.shop.example.com: import sd_ow2srn6mmhta3q7i5c4rcxzhzi has no route on this box: its local data is removed and no route is put back
2026/11/22 10:51:25 provision: a.shop.example.com: import sd_ow2srn6mmhta3q7i5c4rcxzhzi is cleaned up and its journal row retired
2026/11/22 10:51:25 provision: a.shop.example.com: swapped for import sd_462babqkn7yjarvzoh2wofmiai (the original route is journaled)
2026/11/22 10:51:25 provision: a.shop.example.com: swapped for import sd_jk5fcidptfwrj3hhao4cj4iq4m (the original route is journaled)
2026/11/22 10:51:25 provision: a.shop.example.com: swapped for import sd_wuws2npiktiyi6d5ilkh3hplxm (the original route is journaled)
2026/11/22 10:51:25 provision: a.shop.example.com: import sd_wuws2npiktiyi6d5ilkh3hplxm cannot roll back on this box: the activator is not wired; it stays journaled and gated
2026/11/22 10:51:25 provision: a.shop.example.com: swapped for import sd_i4r77nhlh5mxmtoyq46na32m4u (the original route is journaled)
2026/11/22 10:51:25 provision: a.shop.example.com: import sd_i4r77nhlh5mxmtoyq46na32m4u is not rolled back: the route changed under the fence, so nothing there is touched
2026/11/22 10:51:25 provision: a.shop.example.com: import "../not-a-seed" names no snapshot and no replica; only its journal row is cleaned up
2026/11/22 10:51:25 provision: a.shop.example.com: import ../not-a-seed is cleaned up and its journal row retired
2026/11/22 10:51:25 provision: a.shop.example.com: swapped for import sd_uvurjblqwi6lrajtqwelkmgxxa (the original route is journaled)
2026/11/22 10:51:25 provision: a.shop.example.com: swapped for import sd_pybvw5r74kzp4roqyg3zmci3dq (the original route is journaled)
2026/11/22 10:51:25 provision: a.shop.example.com: swapped for import sd_xxu2f2fpevojdgcwznqrbm72iy (the original route is journaled)
2026/11/22 10:51:25 provision: a.shop.example.com: swapped for import sd_wmavgzi7nfkss5x4xjsusbnjnq (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_lpfebzexnsqw7gy5vp56eed5vi (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_lpfebzexnsqw7gy5vp56eed5vi rollback deferred: the host is not fenced and stopped yet (stop evidence unreadable)
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_yphyvp2iubzew2ymoqpwbnf5ge (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_yphyvp2iubzew2ymoqpwbnf5ge has no route on this box: its local data is removed and no route is put back
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_yphyvp2iubzew2ymoqpwbnf5ge is cleaned up and its journal row retired
2026/11/22 10:51:26 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_sig5znvl6zwotaarmvepbk42am (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_sig5znvl6zwotaarmvepbk42am: remove its local data: injected failure at remove-local
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_sig5znvl6zwotaarmvepbk42am is not rolled back: the route at the host is not the import's, so nothing there is touched
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_xxm22pilp4snwqhkyhooi3ozkm (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_xxm22pilp4snwqhkyhooi3ozkm: a route appeared at the host, so its local database is left and the rollback waits
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_nw3gulb36p72tdcy4fd3yjz4gu (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_nw3gulb36p72tdcy4fd3yjz4gu rollback deferred: no fence generation: registry busy
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_ualn62pdzx3ip27any26ybrfuq (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_ualn62pdzx3ip27any26ybrfuq rollback deferred: no fence generation: the generation source answered 0
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_gtlslh6xpnnpbwvjxx3h6a6inq (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_llh7xw44u7unhgudqmvi4zfbcy (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_mos62wxdj67lgyysoberlwteea (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: import deferred: this box cannot read the instance's env file
2026/11/22 10:51:26 provision: a.shop.example.com: import deferred: the instance's env file could not be read: a symlink
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_34i5ws4hru6vzjca7xodzdhr4a (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_34i5ws4hru6vzjca7xodzdhr4a rolled back to its original route
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_34i5ws4hru6vzjca7xodzdhr4a is cleaned up and its journal row retired
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_fetqroi6gx6gasqt66pql7qnoa (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_fetqroi6gx6gasqt66pql7qnoa rolled back to its original route
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_fetqroi6gx6gasqt66pql7qnoa is cleaned up and its journal row retired
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_a52qsg4kqivz2ynbk5egjhybhi (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_a52qsg4kqivz2ynbk5egjhybhi rolled back to its original route
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_a52qsg4kqivz2ynbk5egjhybhi is cleaned up and its journal row retired
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_sco5i5qnfm2sogdjg2ucypsw4a (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_sco5i5qnfm2sogdjg2ucypsw4a: retire its instance key: the env file is a symlink
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_sco5i5qnfm2sogdjg2ucypsw4a rolled back to its original route
2026/11/22 10:51:26 provision: a.shop.example.com: import sd_sco5i5qnfm2sogdjg2ucypsw4a is cleaned up and its journal row retired
2026/11/22 10:51:26 provision: a.shop.example.com: swapped for import sd_77lp4me6zktqz5sxowcyyametm (the original route is journaled)
2026/11/22 10:51:26 provision: a.shop.example.com: row is on the nested layout (db "/data/instances/a.shop.example.com/a.shop.example.com.db" socket "/run/carlos/instances/a.shop.example.com/app.sock"); the record's shared paths are not drift
2026/11/22 10:51:27 provision: a.shop.example.com: swapped for import sd_7iyvey4rij2k2o44mjfvvwzop4 (the original route is journaled)
2026/11/22 10:51:27 provision: a.shop.example.com: import sd_u3xsgin5o2nnggzvi7vfo7g6ca refused: there is no route at a.shop.example.com to replace
2026/11/22 10:51:27 provision: a.shop.example.com: import sd_yqrvjzb4ixahizwpvazl5rdbgq refused: the route's address is 127.0.0.1:9, not 127.0.0.1:8401
2026/11/22 10:51:27 provision: a.shop.example.com: import sd_bsajfdeymtvmb7m4qn33riftie refused: the route's address is 127.0.0.1:8401,127.0.0.1:8402, not 127.0.0.1:8401
2026/11/22 10:51:27 provision: a.shop.example.com: import sd_nvavkz5rqkq4ywolldsm54iyr4 refused: the route's address is 127.0.0.1:9, not 127.0.0.1:8401
2026/11/22 10:51:27 provision: a.shop.example.com: import sd_jfoj2oermloodtg3kpnbxv7vfq refused: the route belongs to app other
2026/11/22 10:51:27 provision: a.shop.example.com: import sd_s4x243wva3g6oxlvagc54z46em refused: the route is filed under another account
2026/11/22 10:51:27 provision: a.shop.example.com: import sd_q6uvv6vxqv6zxmsgsskzenlvfm refused: the route is filed under the operator account, and no assignment maps shop to this app
2026/11/22 10:51:27 provision: a.shop.example.com: import sd_5w46dehcj742ayuyxvv3wkrxi4 refused: the route is filed under the operator account, and no assignment maps shop to this app
2026/11/22 10:51:27 provision: a.shop.example.com: import sd_mi6cux7xmyas6dtxhx2kpcxqum refused: the route is filed under the operator account, and no assignment maps shop to this app
2026/11/22 10:51:27 provision: a.shop.example.com: import sd_vxizlu6527l5n3npdj52znfmee refused: the route is filed under the operator account, and no assignment maps shop to this app
2026/11/22 10:51:27 provision: a.shop.example.com: import sd_3wadulb4fjnahvg2uec3ymtuhq refused: the route is not an address route this import can take over (socket)
2026/11/22 10:51:27 provision: a.shop.example.com: import sd_hvlq2hkjqcit7asklhysiprvpq refused: the route is not an address route this import can take over (no address)
2026/11/22 10:51:27 provision: a.shop.example.com: import sd_v5xsgyyqp5gadsvp4ezszoivxi refused: the route is not an address route this import can take over (provisioned)
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_fc4hmgw7p4hjm5arfxajzgettm refused: the route is not an address route this import can take over (kind static)
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_lp7t64crplvdvjqrfh35z53si4 refused: the route is not an address route this import can take over (backing)
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_mvuf4irmt4v5oi3gzcroh4dccy refused: the route is not an address route this import can take over (tunnel)
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_t7wmybbay6mpvxkbrdcjjixo3q refused: the route is not an address route this import can take over (caps)
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_wfx7gd43jxb5hbqefkhtoe42ny refused: the route is not an address route this import can take over (platform)
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_curvmsowtc7m4bxvmghvrhp6xa refused: the route is not an address route this import can take over (canary)
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_sbgrvj2czdpxi26h5jio2xaaay refused: the route is not an address route this import can take over (kind sidecar)
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_gfzn3zmxbxupmrm2kswvtxe4ja refused: the route is not an address route this import can take over (region)
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_jdwflppl36alrk2jwgk6lgsq34 refused: the route is not an address route this import can take over (fleet_box)
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_gtkx23wzh536jhlcmmq2f2xgxi refused: the route is not an address route this import can take over (hibernate)
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_ethw73gwpix4tnq5rz7pyow4ky refused: the route is not an address route this import can take over (claim_owner)
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_6ikhecmrejwnw7smwoz533ceoy refused: this box does not run instances nested
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_t2cf6ir3fnpatsdhhytvhalze4 refused: this box does not run instances nested
2026/11/22 10:51:28 provision: a.shop.example.com: import sd_stwbswxzqlb6zhno4w7wa4iwiy refused: claim control is on for this box
2026/11/22 10:51:28 provision: a.shop.example.com: swapped for import sd_wx47zdwigraxkxeg356ou7mx7u (the original route is journaled)
2026/11/22 10:51:28 provision: a.shop.example.com: swapped for import sd_awknnckohzyr2rfs5ptpnhfeva (the original route is journaled)
2026/11/22 10:51:29 provision: a.shop.example.com: import deferred: this box cannot read the legacy route assignments
2026/11/22 10:51:29 provision: a.shop.example.com: import deferred: the legacy route assignments could not be read: store down
2026/11/22 10:51:29 provision: a.shop.example.com: not swapping for import sd_dwgqxcq5ruyy7l5fqjqfdiojie: its verify hash is not a sha256
2026/11/22 10:51:29 provision: a.shop.example.com: not swapping for import sd_dobru7yk2bcik63ev4nlrszbf4: its verify hash is not a sha256
2026/11/22 10:51:29 provision: a.shop.example.com: not swapping for import sd_ihi3b2d5glhyxxtgubu7viuese: its verify hash is not a sha256
2026/11/22 10:51:29 provision: a.shop.example.com: not swapping for import sd_../../x: its host or seed id is malformed (seeds: not a seed id)
2026/11/22 10:51:29 provision: A.shop.example.com/..: not swapping for import sd_dkc7krs6rib6pghiesacuclxyq: its host or seed id is malformed (seeds: not a host)
2026/11/22 10:51:29 provision: a.shop.example.com: not swapping for import sd_cjouzmbp7whvoxumsgey6jbaam: its record does not describe a nested, hibernating instance
2026/11/22 10:51:29 provision: a.shop.example.com: not swapping for import sd_na7xy45yrrbmgjky66t5bicd7e: its record does not describe a nested, hibernating instance
2026/11/22 10:51:29 provision: a.shop.example.com: not swapping for import sd_7zxpciuvgjzuhqy6punon7awry: its record does not describe a nested, hibernating instance
2026/11/22 10:51:29 provision: a.shop.example.com: not swapping for import sd_4m6q3o6br6c7ejdgoixugzgzmm: its record does not describe a nested, hibernating instance
2026/11/22 10:51:29 provision: a.shop.example.com: import deferred: the box's layout intent could not be read: store down
2026/11/22 10:51:29 provision: a.shop.example.com: swapped for import sd_uffmmmznjygnpgfh6qa646akp4 (the original route is journaled)
2026/11/22 10:51:29 provision: a.shop.example.com: import deferred: the box's nested probe did not answer: ready probe timed out
2026/11/22 10:51:29 provision: a.shop.example.com: swapped for import sd_cy4zgbeb5qq7q6fmxtsrdgk6uu (the original route is journaled)
2026/11/22 10:51:29 provision: a.shop.example.com: swapped for import sd_dqufnff4n74ezwqu4lqepvayhm (the original route is journaled)
2026/11/22 10:51:29 provision: a.shop.example.com: import deferred: the route is held by operation op_1
2026/11/22 10:51:29 provision: dry-run: would consider swapping a.shop.example.com for import sd_hyacdam4jua36zvli4upinhlge
2026/11/22 10:51:29 provision: a.shop.example.com: import sd_7edpspmw5gymas6x5n7i74negm rolled back to its original route
2026/11/22 10:51:29 provision: a.shop.example.com: import sd_7edpspmw5gymas6x5n7i74negm: the host's replica is left alone: the record apps/bac/shop/instances/a.shop.example.com.json holds the host
2026/11/22 10:51:29 provision: a.shop.example.com: import sd_7edpspmw5gymas6x5n7i74negm is cleaned up and its journal row retired
2026/11/22 10:51:29 provision: a.shop.example.com: import sd_xerkhk6vwxhgboc2jckjoi3vxq left alone: the import journal holds seed sd_2vj6dxsb2zjismblpxyhye5dmu at swapped
2026/11/22 10:51:30 provision: a.shop.example.com: not minting import sd_tfyemp77y3dpv4lmqspsa5psei: it is swapped but not committed, and only its swap makes its row
2026/11/22 10:51:30 provision: a.shop.example.com: not minting import sd_6xfvoizwo4niaek6bjjrrly2hq: it is placed but not committed, and only its swap makes its row
2026/11/22 10:51:30 provision: a.shop.example.com: swapped for import sd_z6ujmidhusildk7qunulw65rdi (the original route is journaled)
2026/11/22 10:51:30 provision: a.shop.example.com: not minting import sd_z6ujmidhusildk7qunulw65rdi: it is swapped but not committed, and only its swap makes its row
2026/11/22 10:51:30 provision: a.shop.example.com: not minting import sd_z6ujmidhusildk7qunulw65rdi: it is placed but not committed, and only its swap makes its row
2026/11/22 10:51:30 provision: minted instance route a.shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:30 provision: minted sidecar route bot.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/22 10:51:30 provision: minted sidecar route bot.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/22 10:51:30 provision: removed retired sidecar route gone.eleven.bac.sidecar.internal (record gone)
2026/11/22 10:51:30 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["sidecar","run"])
2026/11/22 10:51:30 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["sidecar","run"])
2026/11/22 10:51:30 provision: converged sidecar bot.eleven.bac.sidecar.internal args ["sidecar","run"] -> ["worker","run"]
2026/11/22 10:51:30 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["sidecar","run"])
2026/11/22 10:51:30 provision: converged sidecar bot.eleven.bac.sidecar.internal ceilings 300/3600 -> 60/120
2026/11/22 10:51:30 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["sidecar","run"])
2026/11/22 10:51:30 provision: converged sidecar bot.eleven.bac.sidecar.internal channel stable -> canary/eleven
2026/11/22 10:51:30 provision: converged sidecar bot.eleven.bac.sidecar.internal environment "other" -> "relay"
2026/11/22 10:51:30 provision: converged sidecar bot.eleven.bac.sidecar.internal hibernate true -> false
2026/11/22 10:51:30 provision: skipping sidecar record apps/bac/eleven/sidecars/bot.json: read failed: failStore: reads disabled under apps/bac/eleven/sidecars/
2026/11/22 10:51:30 provision: skipping sidecar record apps/bac/eleven/sidecars/bot.json: malformed: invalid character 'n' looking for beginning of object key string
2026/11/22 10:51:30 provision: not removing sidecar bot.eleven.bac.sidecar.internal: its record exists but could not be read cleanly this pass
2026/11/22 10:51:30 provision: skipping sidecar record apps/bac/eleven/sidecars/bot.json: empty channel
2026/11/22 10:51:30 provision: skipping sidecar record apps/bac/eleven/sidecars/held.json: empty channel
2026/11/22 10:51:30 provision: not removing sidecar held.eleven.bac.sidecar.internal: its record exists but could not be read cleanly this pass
2026/11/22 10:51:30 provision: removed retired sidecar route old.eleven.bac.sidecar.internal (record gone)
2026/11/22 10:51:30 provision: bac/eleven has sidecar records but no sidecars manifest — not minting
2026/11/22 10:51:30 provision: bac/eleven is in the trash — not minting sidecar routes for it
2026/11/22 10:51:30 provision: sidecar bot.eleven.bac.sidecar.internal is not placeable here: it asks for "no-inbound" placement and this box accepts inbound work (CARLOS_INBOUND="")
2026/11/22 10:51:30 provision: sidecar hub.relay.bac.sidecar.internal is not placeable here: it asks for "no-inbound" placement and this box accepts inbound work (CARLOS_INBOUND="")
2026/11/22 10:51:30 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["sidecar","run"])
2026/11/22 10:51:30 provision: minted sidecar route hub.relay.bac.sidecar.internal (app "relay" acct "bac" args ["relay"])
2026/11/22 10:51:30 provision: sidecar bot.eleven.bac.sidecar.internal is not placeable here: it asks for "no-inbound" placement and this box accepts inbound work (CARLOS_INBOUND="")
2026/11/22 10:51:30 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["sidecar","run"])
2026/11/22 10:51:31 provision: sidecar bot.eleven.bac.sidecar.internal is not placeable here: it asks for "no-inbound" placement and this box accepts inbound work (CARLOS_INBOUND="")
2026/11/22 10:51:31 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["sidecar","run"])
2026/11/22 10:51:31 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["sidecar","run"])
2026/11/22 10:51:31 provision: sidecar bot.eleven.bac.sidecar.internal is not placeable here: it asks for "no-inbound" placement and this box accepts inbound work (CARLOS_INBOUND="")
2026/11/22 10:51:31 provision: removed retired sidecar route bot.eleven.bac.sidecar.internal (record gone)
2026/11/22 10:51:31 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["sidecar","run"])
2026/11/22 10:51:31 provision: sidecar bot.eleven.bac.sidecar.internal is not placeable here: it asks for "no-inbound" placement and this box accepts inbound work (CARLOS_INBOUND="")
2026/11/22 10:51:31 provision: skipping sidecar record apps/bac/relay/sidecars/hub.json: read failed: failStore: reads disabled under apps/bac/relay/sidecars/
2026/11/22 10:51:31 provision: REFUSING to mint sidecar bot.eleven.bac.sidecar.internal: bot.eleven.bac.sidecar.internal-sidecar.env is staged on this box — the legacy file co-spawn and a native sidecar row are two mechanisms for one host; remove the file to migrate this host onto sidecar records
2026/11/22 10:51:31 provision: minted sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" args ["sidecar","run"])
2026/11/22 10:51:31 provision: dry-run: would mint sidecar route bot.eleven.bac.sidecar.internal (app "eleven" acct "bac" channel "stable" args ["sidecar","run"])
2026/11/22 10:51:31 provision: dry-run: would remove retired sidecar route gone.eleven.bac.sidecar.internal (record gone)
2026/11/22 10:51:31 provision: bot.eleven.bac.sidecar.internal exists but is not a sidecar row this pass owns (kind "sidecar" provisioned false app "eleven" acct "bac") — leaving it alone
2026/11/22 10:51:31 provision: minted instance route shop.example.com (app "shop" acct "bac")
2026/11/22 10:51:31 provision: minted instance route a.example.com (app "shop" acct "bac")
2026/11/22 10:51:31 provision: minted instance route b.example.com (app "shop" acct "bac")
2026/11/22 10:51:31 provision: minted instance route retired.example.com (app "shop" acct "bac")
2026/11/22 10:51:31 provision: stateless binding a.example.com: binding unavailable
2026/11/22 10:51:31 provision: converged b.example.com channel drift -> stable
2026/11/22 10:51:31 provision: removed retired instance route retired.example.com (record gone)
2026/11/22 10:51:31 provision: stateless binding a.example.com: binding unavailable
2026/11/22 10:51:31 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:51:31 provision: converged acme.go.tito.io update settings "{\"updates\":\"manual\",\"channel\":\"stable\"}" -> ""
2026/11/22 10:51:31 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:51:31 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:51:31 provision: manifest bac/tito: read failed: provision: manifest bac/tito: unexpected end of JSON input
2026/11/22 10:51:31 provision: manifest bac/tito: read failed: provision: manifest bac/tito: unexpected end of JSON input
2026/11/22 10:51:31 provision: acme.go.tito.io: not minted this pass: the app's update policy could not be read
2026/11/22 10:51:31 provision: minted instance route acme.go.tito.io (app "tito" acct "bac")
2026/11/22 10:51:31 provision: manifest bac/tito: read failed: provision: manifest bac/tito: unexpected end of JSON input
2026/11/22 10:51:31 provision: acme.go.tito.io: not minted this pass: the app's update policy could not be read
2026/11/22 10:51:31 provision: minted instance route acme.go.tito.io held landing by mv_acme (app "tito" acct "bac")
2026/11/22 10:51:31 provision: forward h0.example.com: minted (app "shop" acct "bah" region "fleet/home")
2026/11/22 10:51:31 provision: forward h1.example.com: refused: account "bah" does not own fleet "away"
2026/11/22 10:51:31 provision: forward h2.example.com: refused: account "bah" does not own fleet "orphan"
2026/11/22 10:51:31 provision: forward h3.example.com: refused: fleet "nowhere" is not in this hub's fleets table
2026/11/22 10:51:31 provision: forward h4.example.com: refused: account "baj" does not own fleet "home"
2026/11/22 10:51:31 provision: forward h5.example.com: minted (app "shop" acct "baj" region "fleet/away")
2026/11/22 10:51:31 provision: forward h6.example.com: refused: account "baj" does not own fleet "orphan"
2026/11/22 10:51:31 provision: forward h7.example.com: refused: fleet "nowhere" is not in this hub's fleets table
2026/11/22 10:51:31 provision: forward h8.example.com: refused: a replica record is never forwarded
2026/11/22 10:51:31 provision: forward h9.example.com: refused: the record names pool "p1", which has no meaning on a fleet
2026/11/22 10:51:31 provision: record view: change index unusable (release: change index unreadable: store has no conditional read: unsupported operation): the walk records no generations
2026/11/22 10:51:31 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:31 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: listing apps/bqd/: listdirs refused — its records are unseen this pass
2026/11/22 10:51:32 provision: listing apps/bqd/: listdirs refused — its records are unseen this pass
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: record view: change index unusable (release: change index malformed: invalid character 'n' looking for beginning of object key string): walking
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: record view: re-reading apps/bqc/shop failed: retrying on the next refresh
2026/11/22 10:51:32 provision: listing apps/bqc/shop/instances/: list refused — its records are unseen this pass
2026/11/22 10:51:32 provision: listing apps/bqc/shop/instances/: list refused — its records are unseen this pass
2026/11/22 10:51:32 provision: an app's records could not be listed: they are skipped
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: record view: change index unusable (get refused): walking
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: listing apps/bqd/: listdirs refused — its records are unseen this pass
2026/11/22 10:51:32 provision: listing apps/bqd/: listdirs refused — its records are unseen this pass
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: record view: re-reading apps/bqc/shop failed: retrying on the next refresh
2026/11/22 10:51:32 provision: listing apps/bqc/shop/instances/: context canceled — its records are unseen this pass
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: listing apps/bqd/: listdirs refused — its records are unseen this pass
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: record view: change index unusable (context deadline exceeded): walking
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping accounts/bqd/account.json: malformed account manifest: invalid character 'n' looking for beginning of object key string
2026/11/22 10:51:32 provision: skipping accounts/bqd/account.json: malformed account manifest: invalid character 'n' looking for beginning of object key string
2026/11/22 10:51:32 provision: skipping accounts/bqd/account.json: malformed account manifest: invalid character 'n' looking for beginning of object key string
2026/11/22 10:51:32 provision: record view: re-reading accounts/bqd failed: retrying on the next refresh
2026/11/22 10:51:32 provision: skipping accounts/bqd/account.json: read failed: list refused
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: record view: change index unusable (context deadline exceeded): the walk records no generations
2026/11/22 10:51:32 provision: skipping record apps/bqe/store/instances/bad.store.example.com.json: malformed: provision: invalid maintenance projection or protected fields
2026/11/22 10:51:32 provision: minted instance route one.example.com (app "shop" acct "bum")
2026/11/22 10:51:32 provision: removed retired instance route one.example.com (record gone)
2026/11/22 10:51:32 provision: minted instance route one.example.com (app "shop" acct "bum")
2026/11/22 10:51:32 provision: skipping record apps/bum/shop/instances/one.example.com.json: empty channel
2026/11/22 10:51:32 provision: not removing one.example.com: its record exists but could not be read cleanly this pass
2026/11/22 10:51:32 provision: skipping record apps/bum/shop/instances/one.example.com.json: empty channel
2026/11/22 10:51:32 provision: minted instance route one.example.com (app "shop" acct "bum")
2026/11/22 10:51:32 provision: not removing one.example.com: its record exists but could not be read cleanly this pass
2026/11/22 10:51:32 provision: removed retired instance route one.example.com (record gone)
--- FAIL: TestPlan14RootReadCensus (30.69s)
    plan14_root_reads_test.go:713: root read census: 1 discrepancies
        changed root source envelope internal/registrar
        
        make census-card shows what changed; make census-propose NAME=<branch> CLAIMS=<file> writes the overlay and its approval card (AGENTS.md, The census)
FAIL
FAIL	github.com/carlosframework/platform/internal/provision	238.061s
ok  	github.com/carlosframework/platform/internal/proxyproto	0.928s
ok  	github.com/carlosframework/platform/internal/publicrelease	0.038s
ok  	github.com/carlosframework/platform/internal/ratelimit	0.182s
ok  	github.com/carlosframework/platform/internal/regionlabel	0.043s
ok  	github.com/carlosframework/platform/internal/regionname	0.037s
ok  	github.com/carlosframework/platform/internal/registrar	0.017s
ok  	github.com/carlosframework/platform/internal/registrar/openprovider	0.635s
?   	github.com/carlosframework/platform/internal/registrar/registrartest	[no test files]
ok  	github.com/carlosframework/platform/internal/registry	90.449s
ok  	github.com/carlosframework/platform/internal/relay	7.786s
ok  	github.com/carlosframework/platform/internal/release	86.420s
ok  	github.com/carlosframework/platform/internal/replicagen	0.032s
ok  	github.com/carlosframework/platform/internal/replicas	0.091s
ok  	github.com/carlosframework/platform/internal/reqrec	8.192s
ok  	github.com/carlosframework/platform/internal/rollout	12.727s
ok  	github.com/carlosframework/platform/internal/rolloutwords	0.019s
ok  	github.com/carlosframework/platform/internal/rootaws	99.659s
ok  	github.com/carlosframework/platform/internal/rootfsimage	0.956s
ok  	github.com/carlosframework/platform/internal/rootparticipation	0.089s
ok  	github.com/carlosframework/platform/internal/rootstate	0.062s
ok  	github.com/carlosframework/platform/internal/runs	0.746s
ok  	github.com/carlosframework/platform/internal/s3compat	0.029s
ok  	github.com/carlosframework/platform/internal/s3fake	1.840s
ok  	github.com/carlosframework/platform/internal/safefile	0.022s
ok  	github.com/carlosframework/platform/internal/schedule	25.496s
ok  	github.com/carlosframework/platform/internal/seeds	0.123s
ok  	github.com/carlosframework/platform/internal/sim/litestreamfacts	5.193s
ok  	github.com/carlosframework/platform/internal/sim/mediajobs	49.328s
ok  	github.com/carlosframework/platform/internal/sim/regionha	24.393s
ok  	github.com/carlosframework/platform/internal/status	0.693s
ok  	github.com/carlosframework/platform/internal/steering	0.420s
ok  	github.com/carlosframework/platform/internal/stopevidence	0.531s
ok  	github.com/carlosframework/platform/internal/storecfg	0.526s
ok  	github.com/carlosframework/platform/internal/svcrole	0.027s
ok  	github.com/carlosframework/platform/internal/systemd	7.053s
?   	github.com/carlosframework/platform/internal/systemdshow	[no test files]
ok  	github.com/carlosframework/platform/internal/team	3.810s
ok  	github.com/carlosframework/platform/internal/teamcontract	0.136s
ok  	github.com/carlosframework/platform/internal/telemetry	0.035s
ok  	github.com/carlosframework/platform/internal/termfence	4.662s
ok  	github.com/carlosframework/platform/internal/timerspec	0.041s
ok  	github.com/carlosframework/platform/internal/tsidentity	4.202s
ok  	github.com/carlosframework/platform/internal/tunnelclient	0.358s
ok  	github.com/carlosframework/platform/internal/unixdial	0.018s
ok  	github.com/carlosframework/platform/internal/updatewords	0.043s
ok  	github.com/carlosframework/platform/internal/upstreamguard	0.011s
?   	github.com/carlosframework/platform/internal/upstreamguard/guardtest	[no test files]
ok  	github.com/carlosframework/platform/internal/usage	0.031s
ok  	github.com/carlosframework/platform/internal/version	0.014s
ok  	github.com/carlosframework/platform/internal/vet	3.421s
ok  	github.com/carlosframework/platform/internal/zonehost	0.019s
ok  	github.com/carlosframework/platform/internal/zonehost/route53zones	0.057s
?   	github.com/carlosframework/platform/internal/zonehost/zonehosttest	[no test files]
?   	github.com/carlosframework/platform/scripts/gitleaks-gate	[no test files]
ok  	github.com/carlosframework/platform/scripts/govulncheck-gate	0.020s
ok  	github.com/carlosframework/platform/scripts/pathmapcheck	0.076s
ok  	github.com/carlosframework/platform/scripts/region-ha-g2/fixture	5.159s
ok  	github.com/carlosframework/platform/scripts/stateless-replicas-drill	1.200s
ok  	github.com/carlosframework/platform/scripts/witness-pointer	0.018s
FAIL
=== cutover-witness (155 s, from +15 s)
ok  	github.com/carlosframework/platform	2.632s
=== internal_grouproll@0 (275 s, from +74 s)
ok  	github.com/carlosframework/platform/internal/grouproll	273.781s
=== internal_grouproll@1 (280 s, from +74 s)
ok  	github.com/carlosframework/platform/internal/grouproll	278.091s
=== internal_activator@0 (146 s, from +143 s)
ok  	github.com/carlosframework/platform/internal/activator	141.064s
=== internal_activator@1 (138 s, from +143 s)
ok  	github.com/carlosframework/platform/internal/activator	134.238s
=== internal_activator@2 (139 s, from +143 s)
ok  	github.com/carlosframework/platform/internal/activator	134.729s
=== internal_activator@3 (165 s, from +143 s)
ok  	github.com/carlosframework/platform/internal/activator	160.260s
=== root@0 (122 s, from +171 s)
ok  	github.com/carlosframework/platform	111.681s
=== root@1 (111 s, from +171 s)
ok  	github.com/carlosframework/platform	101.145s
=== root@2 (122 s, from +171 s)
ok  	github.com/carlosframework/platform	111.296s
=== root@3 (112 s, from +171 s)
usage: carlos accounts platform [flags]
flags:
  --account <string>        platform account sqid to show or change
  --console <string>        console origin to use
  --default-plan <string>   the plan new customer accounts start on
  --destination, -d <name>  use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)
  --grant                   make the account a platform account, or change its grant
  --max-customers <int>     how many customer accounts it may have
  --plans <string>          plans its customer accounts may be on, comma-separated
  --reason <string>         why. it is kept with the change
  --revoke                  turn the account’s platform access off
using http://127.0.0.1:37811 as vicky@keymail.dev
titogo (staging):
KEY   VALUE
PORT  8080
--- FAIL: TestApprovedDomainsBuyCopy (0.01s)
    --- FAIL: TestApprovedDomainsBuyCopy/operator.reason.registrar_balance (0.00s)
        approved_domains_buy_copy_test.go:145: internal/console/domainbuy.go: missing approved string "registrar balance"
2026/11/22 10:49:49 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:49:49 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A39193": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:49:49 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:49:49 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:49:49 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A36573": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:49:49 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:49:50 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:49:50 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A40997": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:49:50 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:49:50 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:49:50 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A40119": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:49:50 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:49:51 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:49:51 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A42995": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:49:51 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:49:51 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:49:51 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A45743": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:49:51 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:49:52 console: api instances get bab/titogo/probe-titogo.bab.oncarlos.test: read timeout
2026/11/22 10:49:52 console: api instances get bab/titogo/probe-titogo.bab.oncarlos.test: read timeout
2026/11/22 10:49:52 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:49:52 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A36031": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:49:52 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:49:55 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/22 10:49:55 INFO ltx file uploaded system=store db=shop.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=708
2026/11/22 10:49:55 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/22 10:49:56 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000001 txid.db=0000000000000002
2026/11/22 10:49:56 INFO ltx file uploaded system=store db=shop.db replica=file level=0 minTXID=0000000000000002 maxTXID=0000000000000002 size=265
2026/11/22 10:49:56 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000002 txid.db=0000000000000002
2026/11/22 10:49:56 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:49:56 console: delivery to member@example.com: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=member%40example.com&from=console%40127.0.0.1%3A44893": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:49:56 console: could not notify member@example.com of a CLI token issue: console: no email sender is configured
2026/11/22 10:49:56 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/22 10:49:56 INFO ltx file uploaded system=store db=shop.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=708
2026/11/22 10:49:56 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/22 10:49:57 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000001 txid.db=0000000000000002
2026/11/22 10:49:57 INFO ltx file uploaded system=store db=shop.db replica=file level=0 minTXID=0000000000000002 maxTXID=0000000000000002 size=265
2026/11/22 10:49:57 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000002 txid.db=0000000000000002
2026/11/22 10:49:57 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:49:57 console: delivery to member@example.com: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=member%40example.com&from=console%40127.0.0.1%3A33039": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:49:57 console: could not notify member@example.com of a CLI token issue: console: no email sender is configured
2026/11/22 10:49:57 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:49:57 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A45621": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:49:57 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:49:57 edge: static cache /tmp/TestE2EStaticDeployThroughConsole3939088334/005/edge-cache: first start with the lock; sweeping from the next start
2026/11/22 10:49:57 INFO edge: static site=bab/sitely version=sha0001 bytes=101 seconds=0.000
2026/11/22 10:49:57 INFO edge: static site=bab/sitely version=sha0002 bytes=101 seconds=0.000
2026/11/22 10:49:57 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:49:57 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A40069": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:49:57 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:50:01 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:50:01 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A34507": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:50:01 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:50:02 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:50:02 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A41819": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:50:02 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:50:02 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:50:02 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A34047": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:50:02 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:50:27 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:50:27 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A41487": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:50:27 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:50:27 console: delivery to rival@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=rival%40keymail.dev&from=console%40127.0.0.1%3A41487": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:50:27 console: could not notify rival@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:50:40 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:50:43 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:50:43 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A45971": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:50:43 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:50:43 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:50:43 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A41207": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:50:43 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:50:46 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 10:50:46 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A39183": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/22 10:50:46 console: could not notify paul@keymail.dev of a CLI token issue: console: no email sender is configured
2026/11/22 10:50:46 edges: box "hedy-lockpicking" has an edges file under control/edges/ but no status snapshot at all, so no region outside the home is automatically eligible until it reports; said once
2026/11/22 10:50:46 edges: 2 edges file(s) under control/edges/ but no fresh box snapshot matched any of them, so automatic region placement sees the home alone (are edges and status in different buckets? see CARLOS_STATUS_BUCKET/CARLOS_STATUS_PREFIX)
2026/11/22 10:50:46 console: an incomplete read of the edges files or box snapshots (edges complete true, snapshots complete false), so no region outside the home is automatically eligible this request; said once
2026/11/22 10:50:46 console: app region bab/cart: ie (default)
2026/11/22 10:50:46 console: backfilled account manifest for bab (ops)
2026/11/22 10:50:54 edges: skipping control/edges/bad-box.json in the placement join: not a versioned edges file
2026/11/22 10:50:59 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/22 10:50:59 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/22 10:50:59 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/22 10:50:59 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000002
2026/11/22 10:50:59 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000002 maxTXID=0000000000000002 size=370
2026/11/22 10:50:59 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000002
FAIL
FAIL	github.com/carlosframework/platform	102.785s
FAIL
=== root@4 (100 s, from +171 s)
ok  	github.com/carlosframework/platform	90.290s
=== internal_edge@0 (200 s, from +174 s)
ok  	github.com/carlosframework/platform/internal/edge	190.640s
=== internal_edge@1 (127 s, from +174 s)
ok  	github.com/carlosframework/platform/internal/edge	116.551s
=== internal_edge@2 (215 s, from +174 s)
ok  	github.com/carlosframework/platform/internal/edge	205.452s
=== internal_edge@3 (161 s, from +174 s)
ok  	github.com/carlosframework/platform/internal/edge	151.015s
=== internal_host@0 (134 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	129.230s
=== internal_host@1 (147 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	142.230s
=== internal_host@2 (275 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	270.405s
=== internal_host@3 (194 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	189.443s
=== internal_host@4 (213 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	208.302s
=== internal_host@5 (193 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	187.422s
=== internal_console@0 (159 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	152.048s
=== internal_console@1 (185 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	178.632s
=== internal_console@2 (192 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	185.120s
=== internal_console@3 (260 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	253.338s
=== internal_console@4 (222 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	216.120s
=== internal_console@5 (198 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	191.285s
=== internal_console@6 (214 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	206.786s
=== internal_console@7 (235 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	228.759s
=== internal_console@8 (247 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	239.669s
=== internal_console@9 (236 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	229.458s
=== internal_console@10 (238 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	231.292s
=== internal_console@11 (199 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	192.264s
=== internal_console@12 (285 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	278.404s
=== internal_console@13 (205 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	197.851s
=== internal_console@14 (201 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	193.731s
=== internal_console@15 (207 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	198.419s
=== internal_console@16 (203 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	196.442s
=== internal_console@17 (202 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	195.227s
=== internal_console@18 (204 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	197.086s
=== internal_console@19 (195 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	187.190s
=== internal_console@20 (193 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	185.694s
=== internal_console@21 (219 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	212.595s
=== internal_console@22 (212 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	205.404s
=== internal_console@23 (219 s, from +222 s)
ok  	github.com/carlosframework/platform/internal/console	212.574s
=== lists: internal_console 221 s, internal_edge 173 s, internal_activator 142 s, internal_host 216 s, root 170 s, internal_grouproll 74 s
=== cpu: the gate used 12665 cpu-seconds in 508 s, about 24.9 of 32 cores; the machine as a whole was 83% busy

Failure summary:
--- rest
--- FAIL: TestPlan9B8RecordWriteCensus (2.73s)
    plan9_b8_census_test.go:372: record-write census rejected 1 site(s); update the explicit inventory only after reviewing the source:
--- FAIL: TestPlan14RootReadCensus (30.69s)
    plan14_root_reads_test.go:713: root read census: 1 discrepancies
FAIL	github.com/carlosframework/platform/internal/provision	238.061s
--- root@3
--- FAIL: TestApprovedDomainsBuyCopy (0.01s)
    --- FAIL: TestApprovedDomainsBuyCopy/operator.reason.registrar_balance (0.00s)
        approved_domains_buy_copy_test.go:145: internal/console/domainbuy.go: missing approved string "registrar balance"
FAIL	github.com/carlosframework/platform	102.785s

FAILED: rest root@3
make: *** [Makefile:23: test] Error 1
=== opentofu ===
opentofu: 35 test files in 11 suites, OpenTofu v1.13.9
  initialised in 15 s
  ok      18 s  infra/modules/box-fence-writer/tests/writer.tftest.hcl  Success! 1 passed, 0 failed.
  ok      27 s  infra/modules/deployment-buckets/tests/data_lifecycle.tftest.hcl  Success! 3 passed, 0 failed.
  ok      16 s  infra/modules/deployment-buckets/tests/db_reads.tftest.hcl  Success! 1 passed, 0 failed.
  ok      17 s  infra/modules/deployment-buckets/tests/evidence.tftest.hcl  Success! 1 passed, 0 failed.
  ok      24 s  infra/modules/deployment-buckets/tests/fence_writers.tftest.hcl  Success! 3 passed, 0 failed.
  ok      85 s  infra/modules/media-engine/tests/media_engine.tftest.hcl  Success! 24 passed, 0 failed.
  ok      33 s  infra/modules/pdf-host/tests/computed.tftest.hcl  Success! 2 passed, 0 failed.
  ok      71 s  infra/modules/pdf-host/tests/pdf_host.tftest.hcl  Success! 24 passed, 0 failed.
  ok      45 s  infra/modules/region-group-operator-document/tests/document.tftest.hcl  Success! 12 passed, 0 failed.
  ok      23 s  infra/modules/region-host/ingress/tests/fixed-targets/tests/targets.tftest.hcl  Success! 2 passed, 0 failed.
  ok      67 s  infra/modules/region-host/ingress/tests/group_ingress.tftest.hcl  Success! 30 passed, 0 failed.
  ok      48 s  infra/modules/region-host/tests/alert_publish.tftest.hcl  Success! 18 passed, 0 failed.
  ok      43 s  infra/modules/region-host/tests/alerts_topic.tftest.hcl  Success! 16 passed, 0 failed.
  ok      15 s  infra/modules/region-host/tests/analytics_prune.tftest.hcl  Success! 2 passed, 0 failed.
  ok      17 s  infra/modules/region-host/tests/console_mail.tftest.hcl  Success! 4 passed, 0 failed.
  ok       9 s  infra/modules/region-host/tests/fixed_state_unchanged.tftest.hcl  Success! 1 passed, 0 failed.
  ok      69 s  infra/modules/region-host/tests/group.tftest.hcl  Success! 32 passed, 0 failed.
  ok       9 s  infra/modules/region-host/tests/group_alarms.tftest.hcl  Success! 4 passed, 0 failed.
  ok      10 s  infra/modules/region-host/tests/group_iam.tftest.hcl  Success! 4 passed, 0 failed.
  ok       7 s  infra/modules/region-host/tests/group_isolation.tftest.hcl  Success! 1 passed, 0 failed.
  ok      35 s  infra/modules/region-host/tests/group_operator.tftest.hcl  Success! 13 passed, 0 failed.
  ok       8 s  infra/modules/region-host/tests/group_user_data.tftest.hcl  Success! 3 passed, 0 failed.
  ok      24 s  infra/modules/region-host/tests/health_alarms.tftest.hcl  Success! 10 passed, 0 failed.
  ok      10 s  infra/modules/region-host/tests/ingress_drain_read.tftest.hcl  Success! 4 passed, 0 failed.
  ok       5 s  infra/modules/region-host/tests/instance_metadata.tftest.hcl  Success! 1 passed, 0 failed.
  ok      20 s  infra/modules/region-host/tests/mailer.tftest.hcl  Success! 6 passed, 0 failed.
  ok       9 s  infra/modules/region-host/tests/mailer_group.tftest.hcl  Success! 2 passed, 0 failed.
  ok      12 s  infra/modules/region-host/tests/managed_fleets/group_refusal.tftest.hcl  Success! 2 passed, 0 failed.
  ok     108 s  infra/modules/region-host/tests/managed_fleets/managed_fleets.tftest.hcl  Success! 46 passed, 0 failed.
  ok      74 s  infra/modules/region-host/tests/store_conversion.tftest.hcl  Success! 27 passed, 0 failed.
  ok      19 s  infra/modules/region-host/tests/store_scanning.tftest.hcl  Success! 4 passed, 0 failed.
  ok      19 s  infra/modules/region-host/tests/user_data_ignored.tftest.hcl  Success! 3 passed, 0 failed.
  ok      12 s  infra/modules/region-remote-host/tests/data_lifecycle.tftest.hcl  Success! 3 passed, 0 failed.
  ok      16 s  infra/modules/region-remote-host/tests/no_deployment_bucket.tftest.hcl  Success! 5 passed, 0 failed.
  ok      26 s  infra/modules/scanner-host/tests/scanner_host.tftest.hcl  Success! 14 passed, 0 failed.
opentofu: 35 files in 208 s
opentofu: PASS

amadan: step gate failed: exit status 2

amadan: job failed at step gate — its output is above, not at the tail of this log
diff --git a/internal/console/domainbuy.go b/internal/console/domainbuy.go
index e1bb1a437..20f9e8bab 100644
--- a/internal/console/domainbuy.go
+++ b/internal/console/domainbuy.go
@@ -315,17 +315,27 @@ func (s *Server) movePurchase(ctx context.Context, p *DomainPurchase, to Purchas
return nil
}
+// purchaseNow is the clock a purchase's Checkout steps use: the transfer
+// engine's for a transfer (its test seam), time.Now for a buy.
+func (s *Server) purchaseNow(p *DomainPurchase) time.Time {
+ if purchaseKindOf(p) == PurchaseKindTransfer {
+ return s.transferNow()
+ }
+ return time.Now()
+}
+
func (s *Server) purchaseCheckout(ctx context.Context, p *DomainPurchase) (string, error) {
provider := s.billing.cfg.Provider
+ now := s.purchaseNow(p)
if p.CheckoutSession != "" {
info, err := provider.PaymentCheckout(ctx, p.CheckoutSession)
- if err != nil || info.Status != "open" || !time.Now().Before(p.CheckoutExpires) {
+ if err != nil || info.Status != "open" || !now.Before(p.CheckoutExpires) {
return "", err
}
return info.URL, nil
}
- if !time.Now().Before(p.CheckoutExpires) && p.CheckoutPrepared != nil {
- if time.Now().Before(p.CheckoutExpires.Add(time.Hour)) {
+ if !now.Before(p.CheckoutExpires) && p.CheckoutPrepared != nil {
+ if now.Before(p.CheckoutExpires.Add(time.Hour)) {
return "", billing.ErrIndeterminate
}
b, err := s.store.BillingAccount(p.AccountID)
@@ -366,7 +376,7 @@ func (s *Server) purchaseCheckout(ctx context.Context, p *DomainPurchase) (strin
func (s *Server) purchaseCheckoutStep(ctx context.Context, p *DomainPurchase) (string, error) {
provider := s.billing.cfg.Provider
- if !time.Now().Before(p.CheckoutExpires) {
+ if !s.purchaseNow(p).Before(p.CheckoutExpires) {
if p.CheckoutPrepared != nil {
return "", billing.ErrIndeterminate
}
@@ -987,6 +997,12 @@ func (s *Server) domainPurchasePass(ctx context.Context) error {
errs = append(errs, fmt.Errorf("purchase %s: %w", p.ID, err))
}
}
+ if s.domainPurchaseReady() {
+ // Ended transfers that still owe an alert or an owner email.
+ if err := s.transferNoticesPass(ctx); err != nil {
+ errs = append(errs, err)
+ }
+ }
return errors.Join(errs...)
}
diff --git a/internal/console/domainpurchase_shared.go b/internal/console/domainpurchase_shared.go
index eae4ac4db..281a048d3 100644
--- a/internal/console/domainpurchase_shared.go
+++ b/internal/console/domainpurchase_shared.go
@@ -4,6 +4,7 @@ import (
"context"
"database/sql"
"errors"
+ "fmt"
"log"
"net/http"
"os"
@@ -294,19 +295,27 @@ func (s *Server) domainRegisteredHere(ctx context.Context, domain string) (bool,
// ownerNotice emails every owner of acct, best effort: a failure is logged
// and fails the job.
func (s *Server) ownerNotice(ctx context.Context, acct *Account, id, subject, body string) {
+ if err := s.ownerNoticeErr(ctx, acct, id, subject, body); err != nil {
+ log.Printf("console: purchase %s: owner notice: %v", id, err)
+ jobFailed(ctx, err)
+ }
+}
+
+// ownerNoticeErr emails every owner of acct and says whether every email
+// was delivered (the caller logs what was not).
+func (s *Server) ownerNoticeErr(ctx context.Context, acct *Account, id, subject, body string) error {
members, err := s.store.Members(acct.ID)
if err != nil {
- log.Printf("console: purchase %s: owners: %v", id, err)
- jobFailed(ctx, err)
- return
+ return fmt.Errorf("owners: %w", err)
}
+ var errs []error
for _, member := range members {
if member.Role != RoleOwner {
continue
}
if _, err := s.deliver(ctx, member.Name, subject, body, 8*time.Second); err != nil {
- log.Printf("console: purchase %s: owner notice: %v", id, err)
- jobFailed(ctx, err)
+ errs = append(errs, err)
}
}
+ return errors.Join(errs...)
}
diff --git a/internal/console/domainstore.go b/internal/console/domainstore.go
index 645cc69cf..a294ab174 100644
--- a/internal/console/domainstore.go
+++ b/internal/console/domainstore.go
@@ -95,8 +95,10 @@ type purchaseDetails struct {
// NextStatusAt is the next registrar status read: 30 minutes for the
// first 7 days after submit, then daily.
NextStatusAt time.Time `json:",omitzero"`
- // ResolvedBy names the operator who recorded Facts.Resolution.
- ResolvedBy string `json:",omitempty"`
+ // ResolvedBy names the operator who recorded Facts.Resolution, and
+ // ResolutionNote is what they wrote.
+ ResolvedBy string `json:",omitempty"`
+ ResolutionNote string `json:",omitempty"`
// RefundPrepared is the current refund attempt's create request
// (Facts.RefundAttempt), stored before its first send and resent only
// verbatim, as CheckoutPrepared is.
@@ -265,12 +267,16 @@ CREATE TABLE IF NOT EXISTS domain_meta (
`ALTER TABLE domain_registrations ADD COLUMN registrant TEXT NOT NULL DEFAULT '{}'`,
`ALTER TABLE domain_purchases ADD COLUMN kind TEXT NOT NULL DEFAULT 'buy'`,
`ALTER TABLE domain_registrations ADD COLUMN expiry_alerted_at INTEGER NOT NULL DEFAULT 0`,
+ `ALTER TABLE domain_purchases ADD COLUMN notices_owed INTEGER NOT NULL DEFAULT 0`,
} {
if _, err := s.db.Exec(stmt); err != nil && !strings.Contains(err.Error(), "duplicate column") {
return err
}
}
ctx := context.Background() // boot migration: there is no request to inherit
+ if _, err := s.db.ExecContext(ctx, `CREATE INDEX IF NOT EXISTS domain_purchases_notices_owed ON domain_purchases(notices_owed) WHERE notices_owed > 0`); err != nil {
+ return err
+ }
if err := s.backfillSavedContacts(ctx); err != nil {
return err
}
@@ -495,10 +501,10 @@ func (s *Store) compareDomainPurchase(before DomainPurchase, to PurchaseState, s
res, err := s.db.Exec(`UPDATE domain_purchases SET
account_id = ?, domain = ?, app = ?, currency = ?, amount = ?, state = ?, reason = ?,
checkout_session = ?, payment_intent = ?, zone_id = ?, registrar_id = ?, attempts = ?,
- checkout_expires = ?, created_at = ?, updated_at = ?, details = ?, revision = revision + 1 WHERE id = ? AND state = ? AND revision = ?`,
+ checkout_expires = ?, created_at = ?, updated_at = ?, details = ?, notices_owed = ?, revision = revision + 1 WHERE id = ? AND state = ? AND revision = ?`,
p.AccountID, p.Domain, p.App, p.Currency, p.Amount, p.State, p.Reason,
p.CheckoutSession, p.PaymentIntent, p.ZoneID, p.RegistrarID, p.Attempts,
- domainUnix(p.CheckoutExpires), p.CreatedAt.Unix(), p.UpdatedAt.Unix(), string(details), before.ID, before.State, before.Revision)
+ domainUnix(p.CheckoutExpires), p.CreatedAt.Unix(), p.UpdatedAt.Unix(), string(details), len(outstandingNotices(p.Facts)), before.ID, before.State, before.Revision)
if err != nil {
return err
}
@@ -555,6 +561,19 @@ func (s *Store) PendingTransfers(ctx context.Context) ([]DomainPurchase, error)
return scanReadablePurchases(rows)
}
+// TransfersOwingNotices lists ended transfer purchases with a notice still
+// owed (an operator alert or owner email the ending made due, not yet
+// delivered), oldest first; live ones are the purchase pass's. Unreadable
+// rows are skipped and logged, as LiveDomainPurchases does.
+func (s *Store) TransfersOwingNotices(ctx context.Context) ([]DomainPurchase, error) {
+ rows, err := s.db.QueryContext(ctx, `SELECT `+domainPurchaseColumns+` FROM domain_purchases
+ WHERE notices_owed > 0 AND kind = 'transfer' AND NOT (`+liveDomainPurchaseSQL+`) ORDER BY updated_at, id`)
+ if err != nil {
+ return nil, err
+ }
+ return scanReadablePurchases(rows)
+}
+
func (s *Store) PurchasesToday(accountID int64, now time.Time) (int, error) {
now = now.UTC()
start := time.Date(now.Year(), now.Month(), now.Day(), 0, 0, 0, 0, time.UTC)
diff --git a/internal/console/domaintransfer.go b/internal/console/domaintransfer.go
index 87649f39a..4d2108329 100644
--- a/internal/console/domaintransfer.go
+++ b/internal/console/domaintransfer.go
@@ -58,11 +58,38 @@ var transferStepHook func(step string) error
func transferStep(step string) error {
if transferStepHook != nil {
- return transferStepHook(step)
+ if err := transferStepHook(step); err != nil {
+ return fmt.Errorf("%w: %w", errTransferStopped, err)
+ }
}
return nil
}
+// errTransferStopped ends a pass where it stands, as a crash would.
+var errTransferStopped = errors.New("console: transfer pass stopped")
+
+// transferPassStopped says whether an action's error must end the pass
+// before its alerts and notices go out: a crash (the step hook, or a
+// provider error outside every outcome class, which the billing contract
+// says to treat as one) or a purchase another worker moved. Every other
+// error is an answer the next pass reads past; delivery still runs.
+func transferPassStopped(err error) bool {
+ if err == nil {
+ return false
+ }
+ if errors.Is(err, errTransferStopped) || errors.Is(err, ErrPurchaseStateMoved) {
+ return true
+ }
+ for _, class := range []error{billing.ErrPaymentFailed, billing.ErrRefused, billing.ErrNotExecuted, billing.ErrInFlight,
+ billing.ErrNoResponse, billing.ErrIndeterminate, billing.ErrNotFound, registrar.ErrIndeterminate, registrar.ErrRefused,
+ registrar.ErrSetup, registrar.ErrUnavailable} {
+ if errors.Is(err, class) {
+ return false
+ }
+ }
+ return true
+}
+
// transferObservation is what one pass gathered, ready to record.
type transferObservation struct {
facts transferFacts
@@ -77,10 +104,11 @@ type transferObservation struct {
// advanceTransferStep is one pass over a live transfer.
func (s *Server) advanceTransferStep(ctx context.Context, acct *Account, p *DomainPurchase) error {
- now := s.transferNow()
- if p.Facts.Registrar == rNotSent && p.CheckoutSession == "" && now.Before(p.CheckoutExpires) {
+ if p.Facts.Registrar == rNotSent && p.CheckoutSession == "" {
// The start's Checkout, made here when the start stopped short of it
- // (a lost answer, a crash). Nothing is authorised without it.
+ // (a lost answer, a crash), or found after its answer was lost, or
+ // ended once it has expired: purchaseCheckout's moves, on the
+ // transfer clock. Nothing is authorised without it.
if _, err := s.purchaseCheckout(ctx, p); err != nil {
return err
}
@@ -88,9 +116,22 @@ func (s *Server) advanceTransferStep(ctx context.Context, acct *Account, p *Doma
return nil
}
}
+ now := s.transferNow()
o := s.gatherTransfer(ctx, p, now)
d := decideTransfer(o.facts)
- return s.purchaseMutation(ctx, p, func(ctx context.Context) error { return s.actTransfer(ctx, acct, p, &o, d) })
+ return s.purchaseMutation(ctx, p, func(ctx context.Context) error {
+ // What the transition owes goes into the facts first, so the move
+ // that makes it due records it.
+ owedNotices(&o.facts, d)
+ err := s.actTransfer(ctx, acct, p, &o, d)
+ if transferPassStopped(err) {
+ return err
+ }
+ // The alerts due on the facts as the action left them (a capture's
+ // failure just counted, say), whatever the action was. Settlement
+ // never waits on delivery, and delivery never changes it.
+ return errors.Join(err, s.deliverTransferNotices(ctx, acct, p, decideTransfer(o.facts).Alerts))
+ })
}
func purchaseLive(state PurchaseState) bool {
@@ -102,7 +143,7 @@ func purchaseLive(state PurchaseState) bool {
}
func cloneTransferFacts(f transferFacts) transferFacts {
- f.Alerts = maps.Clone(f.Alerts)
+ f.Alerts, f.Owed = maps.Clone(f.Alerts), maps.Clone(f.Owed)
if f.Completed != nil {
c := *f.Completed
c.Nameservers = slices.Clone(c.Nameservers)
@@ -130,6 +171,19 @@ func (s *Server) gatherTransfer(ctx context.Context, p *DomainPurchase, now time
// once recorded (or an operator's resolution) is never read again, so no
// later answer can replace it (I9).
func (s *Server) gatherTransferRegistrar(ctx context.Context, p *DomainPurchase, o *transferObservation, now time.Time) {
+ f := &o.facts
+ before := f.Registrar
+ s.readTransferStatus(ctx, p, o, now)
+ switch {
+ case f.Registrar == rUnknown && before != rUnknown:
+ f.UnknownSince = now
+ case f.Registrar != rUnknown:
+ f.UnknownSince = time.Time{}
+ }
+}
+
+// readTransferStatus is the status read itself (gatherTransferRegistrar).
+func (s *Server) readTransferStatus(ctx context.Context, p *DomainPurchase, o *transferObservation, now time.Time) {
f := &o.facts
switch f.Registrar {
case rNotSent, rCompleted, rFailed:
@@ -153,9 +207,17 @@ func (s *Server) gatherTransferRegistrar(ctx context.Context, p *DomainPurchase,
if err != nil {
log.Printf("console: transfer %s: status: %v", p.ID, err)
jobFailed(ctx, err)
+ if f.Registrar == rPending && f.ReadFailures == 0 {
+ // One failed read after a pending one is a blip: pending stays
+ // until a second read in a row fails.
+ f.ReadFailures = 1
+ return
+ }
+ f.ReadFailures = 2 // two or more: capped, so a long outage writes nothing new
f.Registrar = rUnknown
return
}
+ f.ReadFailures = 0
if !ours {
// Another transfer's record of this domain (an earlier one that
// failed, say): it says nothing about this purchase.
@@ -274,12 +336,14 @@ func (s *Server) gatherTransferPayment(ctx context.Context, p *DomainPurchase, o
f.Payment = pUnknown
return
}
+ f.PaymentMismatch = false
if o.paymentIntent == "" {
switch {
case info.Authorised && info.IntentStatus == "requires_capture" && info.PaymentIntent != "" && info.Currency == p.Currency && info.Amount == p.Amount:
f.Payment, o.paymentIntent = pAuthorised, info.PaymentIntent
case info.Authorised:
- f.Payment = pUnknown
+ // Authorised, but not for this purchase's amount and currency.
+ f.Payment, f.PaymentMismatch = pUnknown, true
case info.Status == "open":
f.Payment = pAwaiting
case info.Status == "expired", info.Status == "complete" && info.IntentStatus == "canceled":
@@ -288,7 +352,7 @@ func (s *Server) gatherTransferPayment(ctx context.Context, p *DomainPurchase, o
f.Payment = pUnknown
}
} else if info.PaymentIntent != o.paymentIntent {
- f.Payment = pUnknown
+ f.Payment, f.PaymentMismatch = pUnknown, true
} else {
o.payment, o.paymentOK = info, true
switch info.IntentStatus {
@@ -385,13 +449,15 @@ func (s *Server) gatherTransferRefund(ctx context.Context, p *DomainPurchase, o
f.RefundID, f.RefundReason = r.ID, ""
}
// A refund made for the attempt ends a run of refused creates.
- f.RefundRefusals = 0
+ f.RefundRefusals, f.RefundMismatch = 0, false
switch r.Status {
case billing.RefundSucceeded:
f.Refund = fPending
if o.paymentOK && r.PaymentIntent == o.paymentIntent && r.Amount == o.payment.AmountTotal && r.Currency == o.payment.Currency {
f.Refund = fSucceeded
} else if o.paymentOK {
+ // Never read as refunded; the operator is alerted, then daily.
+ f.RefundMismatch = true
err := fmt.Errorf("console: transfer %s: refund %s is not the full capture", p.ID, r.ID)
log.Print(err)
jobFailed(ctx, err)
@@ -466,26 +532,10 @@ func (s *Server) actTransfer(ctx context.Context, acct *Account, p *DomainPurcha
switch d.Action {
case aWait:
return s.recordTransferIfChanged(ctx, p, o)
- case aAlert:
- return s.alertTransfer(ctx, acct, p, o, d.Alert)
case aSubmit:
return s.submitTransfer(ctx, p, o)
case aCapture:
- // Recorded before the send: only then can requires_payment_method
- // read as a failed capture.
- o.facts.CaptureAttempted = true
- if err := s.recordTransfer(ctx, p, o, transferLiveState(o.facts, p.State), nil); err != nil {
- return err
- }
- if err := transferStep("capture:recorded"); err != nil {
- return err
- }
- prepared, err := provider.PrepareCapture(o.paymentIntent, p.ID+":capture")
- if err != nil {
- return err
- }
- _, err = provider.Send(ctx, prepared)
- return err
+ return s.captureTransfer(ctx, p, o)
case aCancelAuthorisation:
if err := s.recordTransferIfChanged(ctx, p, o); err != nil {
return err
@@ -500,42 +550,70 @@ func (s *Server) actTransfer(ctx context.Context, acct *Account, p *DomainPurcha
_, err = provider.Send(ctx, prepared)
return err
case aCreateRefund:
- return s.refundTransfer(ctx, acct, p, o, d)
+ return s.refundTransfer(ctx, p, o, d)
case aRecordDone, aRecordUnpaid:
- return s.completeTransfer(ctx, acct, p, o, d)
+ return s.completeTransfer(ctx, p, o, d)
case aFinishFailed:
reason := ""
if d.Terminal == PurchaseFailed {
reason = o.facts.RegistrarReason
}
+ // The owner's email, when one is owed, is in the facts this move
+ // records, and goes out with the delivery that follows.
if err := s.recordTransfer(ctx, p, o, d.Terminal, func(q *DomainPurchase) { q.Reason = reason }); err != nil {
return err
}
- if effectiveRegistrar(o.facts) == rFailed {
- body := transferFailureWords(o.facts.RegistrarReason) + " " + transferOwnerCopy.FailedNothingTaken
- if o.facts.Payment == pCaptured {
- body = transferFailureWords(o.facts.RegistrarReason) + " " + transferOwnerCopy.FailedRefunded
- }
- s.ownerNotice(ctx, acct, p.ID, fmt.Sprintf(transferOwnerCopy.FailedSubject, p.Domain), body)
- }
- return nil
+ return transferStep("finish:moved")
}
return fmt.Errorf("console: transfer %s: no such action %v", p.ID, d.Action)
}
-// alertTransfer delivers one due alert and records it only when it was
-// delivered; an undelivered alert stays due for the next pass.
-func (s *Server) alertTransfer(ctx context.Context, acct *Account, p *DomainPurchase, o *transferObservation, kind string) error {
- log.Printf("console: domain transfer: account=%s domain=%s purchase=%s alert=%s", acct.Sqid, p.Domain, p.ID, kind)
- body := fmt.Sprintf(domainPurchaseCopy.OperatorBody, p.Domain, p.ID, acct.Sqid, transferAlertReason(kind))
- if err := s.alertOperator(ctx, domainPurchaseCopy.OperatorSubject, body); err != nil {
- return errors.Join(err, s.recordTransferIfChanged(ctx, p, o))
+// captureTransfer sends the capture. CaptureAttempted is recorded before
+// the send (only then can requires_payment_method read as a failed
+// capture). A failed send is counted, with its kind, apart from the payment
+// outcome, which only the next read decides; the count stops at the alert
+// threshold, so a capture stuck for days writes nothing new each pass.
+func (s *Server) captureTransfer(ctx context.Context, p *DomainPurchase, o *transferObservation) error {
+ provider := s.billing.cfg.Provider
+ o.facts.CaptureAttempted = true
+ if err := s.recordTransferIfChanged(ctx, p, o); err != nil {
+ return err
}
- if o.facts.Alerts == nil {
- o.facts.Alerts = map[string]time.Time{}
+ if err := transferStep("capture:recorded"); err != nil {
+ return err
}
- o.facts.Alerts[kind] = o.facts.Now
- return s.recordTransfer(ctx, p, o, transferLiveState(o.facts, p.State), nil)
+ prepared, err := provider.PrepareCapture(o.paymentIntent, p.ID+":capture")
+ if err == nil {
+ _, err = provider.Send(ctx, prepared)
+ }
+ if transferPassStopped(err) {
+ return err
+ }
+ if err != nil {
+ if o.facts.CaptureFailures < transferCaptureFailingAfter {
+ o.facts.CaptureFailures++
+ }
+ o.facts.CaptureError = captureErrorKind(err)
+ return errors.Join(err, s.recordTransferIfChanged(ctx, p, o))
+ }
+ o.facts.CaptureFailures, o.facts.CaptureError = 0, ""
+ return s.recordTransferIfChanged(ctx, p, o)
+}
+
+// captureErrorKind names a capture send's failure for the record.
+func captureErrorKind(err error) string {
+ for _, c := range []struct {
+ err error
+ kind string
+ }{
+ {billing.ErrRefused, "refused"}, {billing.ErrPaymentFailed, "payment_failed"}, {billing.ErrNotExecuted, "not_executed"},
+ {billing.ErrInFlight, "in_flight"}, {billing.ErrNoResponse, "no_response"}, {billing.ErrIndeterminate, "indeterminate"},
+ } {
+ if errors.Is(err, c.err) {
+ return c.kind
+ }
+ }
+ return "other"
}
// submitTransfer sends the transfer request at most once. The move to
@@ -583,7 +661,7 @@ func (s *Server) submitTransfer(ctx context.Context, p *DomainPurchase, o *trans
// request, and only then is it sent (the persist-before-send contract). The
// current attempt again, when no refund for it is listed, resends its
// stored request verbatim.
-func (s *Server) refundTransfer(ctx context.Context, acct *Account, p *DomainPurchase, o *transferObservation, d transferDecision) error {
+func (s *Server) refundTransfer(ctx context.Context, p *DomainPurchase, o *transferObservation, d transferDecision) error {
provider := s.billing.cfg.Provider
n := d.RefundAttempt
if n != o.facts.RefundAttempt || p.RefundPrepared == nil {
@@ -601,13 +679,6 @@ func (s *Server) refundTransfer(ctx context.Context, acct *Account, p *DomainPur
if err := transferStep("refund:recorded"); err != nil {
return err
}
- if d.Alert != "" && o.facts.Alerts[d.Alert].IsZero() {
- // Delivered or not, the refund goes out; undelivered, it stays due.
- if err := s.alertTransfer(ctx, acct, p, o, d.Alert); err != nil {
- log.Printf("console: transfer %s: %v", p.ID, err)
- jobFailed(ctx, err)
- }
- }
res, err := provider.Send(ctx, *p.RefundPrepared)
if stepErr := transferStep("refund:sent"); stepErr != nil {
return stepErr
@@ -616,14 +687,9 @@ func (s *Server) refundTransfer(ctx context.Context, acct *Account, p *DomainPur
// Refused outright: nothing was made, and resending the same request
// gets the same answer. Recorded on this attempt; the next one waits
// out the backoff (decideTransfer) and the operator is alerted
- // through the refused alerts, which stand for this attempt's
- // failure alert too.
+ // through the refused alerts (no failed-refund alert is owed for it).
o.facts.Refund, o.facts.RefundReason, o.facts.RefundFailedAt = fFailed, refundRefused, o.facts.Now
o.facts.RefundRefusals++
- if o.facts.Alerts == nil {
- o.facts.Alerts = map[string]time.Time{}
- }
- o.facts.Alerts[refundFailedAlert(n)] = o.facts.Now
return errors.Join(err, s.recordTransfer(ctx, p, o, transferLiveState(o.facts, p.State), nil))
}
if err != nil {
@@ -638,10 +704,12 @@ func (s *Server) refundTransfer(ctx context.Context, acct *Account, p *DomainPur
// completeTransfer records the registration (no zone: the domain's DNS
// stays where it is) and ends the purchase done or, with nothing captured,
-// unpaid with Carloku's renewal off, the operator alerted and the owner
-// emailed. A crash between the two is replayed by the next pass, which
-// finds the same registration.
-func (s *Server) completeTransfer(ctx context.Context, acct *Account, p *DomainPurchase, o *transferObservation, d transferDecision) error {
+// unpaid with Carloku's renewal off. The owner's email (and, unpaid, the
+// operator's page) are owed in the facts the terminal move records, and go
+// out with the delivery that follows, or a later one. A crash between the
+// registration and the move is replayed by the next pass, which finds the
+// same registration.
+func (s *Server) completeTransfer(ctx context.Context, p *DomainPurchase, o *transferObservation, d transferDecision) error {
r := *o.facts.Completed
paid := d.Action == aRecordDone
if err := s.recordPurchaseRegistration(ctx, p, r, "", paid); err != nil {
@@ -658,11 +726,5 @@ func (s *Server) completeTransfer(ctx context.Context, acct *Account, p *DomainP
if err := s.recordTransfer(ctx, p, o, d.Terminal, func(q *DomainPurchase) { q.RegistrarID = r.RegistrarID; q.Reason = "" }); err != nil {
return err
}
- if paid {
- s.ownerNotice(ctx, acct, p.ID, fmt.Sprintf(transferOwnerCopy.DoneSubject, p.Domain), transferOwnerCopy.DoneBody)
- return nil
- }
- s.purchaseAlert(ctx, acct, p.Domain, p.ID, transferAlertReason("unpaid"))
- s.ownerNotice(ctx, acct, p.ID, fmt.Sprintf(transferOwnerCopy.UnpaidSubject, p.Domain), transferOwnerCopy.UnpaidBody)
- return nil
+ return transferStep("complete:moved")
}
diff --git a/internal/console/domaintransfer_copy.go b/internal/console/domaintransfer_copy.go
index 54fc72f37..ab687c9d5 100644
--- a/internal/console/domaintransfer_copy.go
+++ b/internal/console/domaintransfer_copy.go
@@ -76,11 +76,15 @@ var transferOwnerCopy = struct {
// transferAlertCopy is the operator's alert reason for each alert kind
// (operator-facing; the body is domainPurchaseCopy.OperatorBody).
var transferAlertCopy = map[string]string{
- alertUnknown24h: "transfer outcome still unknown a day after submit; check the registrar, then resolve it",
+ alertUnknown24h: "transfer outcome unknown for a day; check the registrar, then resolve it",
alertLapse: "transfer outcome unknown and the card authorisation lapses within a day",
alertUnknownWeekly: "transfer outcome still unknown; resolve it once the registrar says",
alertCaptureRefused: "transfer accepted but the capture was refused or the hold ended",
- "unpaid": "transfer completed but nothing was captured: recorded unpaid",
+ alertCaptureFailing: "capture of an accepted transfer keeps failing while the hold is in place; check the payment provider",
+ alertRefundRefused: "the payment provider refuses the refund of a failed transfer; retried with backoff. Once refunded another way, resolve it as refunded_outside",
+ alertRefundMismatch: "a refund of a failed transfer succeeded for less than the capture; refund the rest by hand",
+ alertPaymentWrong: "a transfer's authorisation is not for its amount, currency or payment; check the payment provider",
+ alertUnpaid: "transfer completed but nothing was captured: recorded unpaid",
}
func transferAlertReason(kind string) string {
diff --git a/internal/console/domaintransfer_decide.go b/internal/console/domaintransfer_decide.go
index 167957b1d..5a1e44554 100644
--- a/internal/console/domaintransfer_decide.go
+++ b/internal/console/domaintransfer_decide.go
@@ -2,29 +2,27 @@ package console
import (
"fmt"
+ "slices"
+ "strings"
"time"
)
// decideTransfer is the only place that chooses a transfer's next action or
-// terminal state. It is pure: the engine (domaintransfer.go) gathers the
-// facts, calls it, performs the one action it names and records the
-// result; the next pass's facts, never an action's reply, say what
-// happened.
+// terminal state, and which operator alerts are due. It is pure: the engine
+// (domaintransfer.go) gathers the facts, calls it, performs the one action
+// it names, records the result, then delivers the alerts. The next pass's
+// facts, never an action's reply, say what happened.
//
-// Money first: when an action moves money or settles the purchase it is
-// returned; only when there is nothing to do but wait is a due operator
-// alert returned instead (aAlert), at most one per pass.
+// The money action and the alerts are independent: alerts are due whatever
+// the action (a capture retried every pass does not hold them back), and
+// delivering them never changes settlement.
func decideTransfer(f transferFacts) transferDecision {
d := decideTransferMoney(f)
- if d.Action == aWait {
- if kind := dueTransferAlert(f); kind != "" {
- return transferDecision{Action: aAlert, Alert: kind}
- }
- }
+ d.Alerts = dueTransferAlerts(f)
return d
}
-// transferAction is the one thing a pass does.
+// transferAction is the one money or settlement step a pass takes.
type transferAction int
const (
@@ -36,13 +34,12 @@ const (
aRecordDone
aRecordUnpaid
aFinishFailed
- aAlert
)
var transferActionNames = []string{
aWait: "wait", aSubmit: "submit", aCapture: "capture", aCancelAuthorisation: "cancel-authorisation",
aCreateRefund: "create-refund", aRecordDone: "record-done", aRecordUnpaid: "record-unpaid",
- aFinishFailed: "finish-failed", aAlert: "alert",
+ aFinishFailed: "finish-failed",
}
func (a transferAction) String() string {
@@ -54,11 +51,6 @@ func (a transferAction) String() string {
type transferDecision struct {
Action transferAction
- // Alert is the alert kind to deliver: aAlert's only work, or, beside
- // aCreateRefund after a failed attempt, the alert for that failure
- // (sent once the new attempt is persisted; dueTransferAlert keeps it due
- // until it is delivered).
- Alert string
// Terminal is the state the action ends the purchase in; "" unless it
// does.
Terminal PurchaseState
@@ -67,25 +59,45 @@ type transferDecision struct {
// resent), or the next after a failed one. A failed attempt is never
// sent again.
RefundAttempt int
+ // Alerts is every scheduled operator alert due now and not yet
+ // delivered, in schedule order.
+ Alerts []string
}
-// The operator alert kinds, the keys of transferFacts.Alerts.
+// The operator alert kinds, the keys of transferFacts.Alerts. The scheduled
+// ones are due from the facts (dueTransferAlerts); the owed ones are made
+// due by a transition (owedNotices).
const (
- alertUnknown24h = "24h-unknown" // the outcome is still unknown a day after submit
- alertLapse = "lapse" // the authorisation lapses within a day, outcome unknown
- alertUnknownWeekly = "weekly-unknown" // weekly while the outcome stays unknown
- alertCaptureRefused = "capture-refused" // accepted, but the capture was refused or the hold ended
- alertRefundFailed = "refund-failed:" // + the attempt number: a refund attempt failed
- alertRefundRefused = "refund-refused" // the provider refuses the refund create: at once, then daily
+ alertUnknown24h = "24h-unknown" // the outcome is still unknown a day after it became unknown
+ alertLapse = "lapse" // an authorised hold lapses within a day
+ alertUnknownWeekly = "weekly-unknown" // weekly while the outcome stays unknown
+ alertCaptureRefused = "capture-refused" // accepted, but the capture was refused or the hold ended
+ alertCaptureFailing = "capture-failing" // capture sends keep failing while the hold is in place: then daily
+ alertRefundFailed = "refund-failed:" // + the attempt number: a refund attempt failed (owed)
+ alertRefundRefused = "refund-refused" // the provider refuses the refund create: at once, then daily
+ alertRefundMismatch = "refund-mismatch" // a refund succeeded that is not the full capture: then daily
+ alertPaymentWrong = "payment-mismatch" // before submit, an authorisation that is not this purchase's
+ alertUnpaid = "unpaid" // completed with nothing captured (owed)
+
+ // The owner's emails (owed).
+ noticeOwnerDone = "owner-done"
+ noticeOwnerUnpaid = "owner-unpaid"
+ noticeOwnerFailed = "owner-failed"
)
// refundRefused is RefundReason for a create the provider refused outright.
const refundRefused = "refused"
const (
- transferUnknownAlertAfter = 24 * time.Hour
- transferLapseAlertBefore = 24 * time.Hour
- transferUnknownRepeat = 7 * 24 * time.Hour
+ transferUnknownAlertAfter = 24 * time.Hour
+ transferLapseAlertBefore = 24 * time.Hour
+ transferUnknownRepeat = 7 * 24 * time.Hour
+ transferDailyRepeat = 24 * time.Hour
+ transferCaptureFailingAfter = 3
+ refundRefusedAlertEvery = transferDailyRepeat
+ // refundRefusedOutsideAfter is how many refused refund creates the
+ // operator waits for before recording a refund made another way.
+ refundRefusedOutsideAfter = 3
)
// effectiveRegistrar is the registrar outcome decideTransfer acts on: an
@@ -107,6 +119,10 @@ func effectiveRegistrar(f transferFacts) registrarOutcome {
const (
transferResolvedFailed = "failed"
transferResolvedCompleted = "completed"
+ // transferResolvedRefundedOutside: for a failed transfer whose refund
+ // the provider keeps refusing, the operator has refunded the customer
+ // another way.
+ transferResolvedRefundedOutside = "refunded_outside"
)
func decideTransferMoney(f transferFacts) transferDecision {
@@ -155,6 +171,10 @@ func decideTransferMoney(f transferFacts) transferDecision {
case pCancelled, pFailed:
return transferDecision{Action: aFinishFailed, Terminal: PurchaseFailed}
case pCaptured:
+ if f.Resolution == transferResolvedRefundedOutside {
+ // The operator refunded the customer another way.
+ return transferDecision{Action: aFinishFailed, Terminal: PurchaseFailed}
+ }
switch f.Refund {
case fNone:
return transferDecision{Action: aCreateRefund, RefundAttempt: max(f.RefundAttempt, 1)}
@@ -165,10 +185,9 @@ func decideTransferMoney(f transferFacts) transferDecision {
if f.Now.Before(f.RefundFailedAt.Add(refundRefusedBackoff(f.RefundRefusals))) {
return wait
}
- return transferDecision{Action: aCreateRefund, RefundAttempt: f.RefundAttempt + 1}
}
- // A new attempt, and the operator told the last one failed.
- return transferDecision{Action: aCreateRefund, RefundAttempt: f.RefundAttempt + 1, Alert: refundFailedAlert(f.RefundAttempt)}
+ // A new attempt; the failed one is owed its alert.
+ return transferDecision{Action: aCreateRefund, RefundAttempt: f.RefundAttempt + 1}
case fSucceeded:
return transferDecision{Action: aFinishFailed, Terminal: PurchaseFailed}
}
@@ -177,55 +196,127 @@ func decideTransferMoney(f transferFacts) transferDecision {
return wait
}
-// dueTransferAlert is the alert that is due and not yet delivered, or "".
-// The schedule for an unknown outcome: a day after submit, a day before the
-// authorisation lapses, then weekly after the first. A refused capture and
-// each failed refund attempt are alerted once.
-func dueTransferAlert(f transferFacts) string {
+// dueTransferAlerts is every scheduled alert that is due and not yet
+// delivered:
+// - an unknown outcome: a day after it became unknown, then weekly after
+// that first alert;
+// - any authorised hold, whatever the registrar outcome: a day before it
+// lapses, once;
+// - capture sends failing three times in a row while the hold is in
+// place: then daily;
+// - an accepted transfer whose capture was refused or whose hold ended:
+// once;
+// - refund creates refused outright: at the first refusal of a run, then
+// daily;
+// - a refund that succeeded for less than the capture: then daily;
+// - before submit, an authorisation that is not this purchase's: once.
+func dueTransferAlerts(f transferFacts) []string {
+ var due []string
sent := func(kind string) bool { return !f.Alerts[kind].IsZero() }
+ daily := func(kind string) bool {
+ last := f.Alerts[kind]
+ return last.IsZero() || !f.Now.Before(last.Add(transferDailyRepeat))
+ }
reg := effectiveRegistrar(f)
if reg == rUnknown {
- if !f.SubmittedAt.IsZero() && !f.Now.Before(f.SubmittedAt.Add(transferUnknownAlertAfter)) && !sent(alertUnknown24h) {
- return alertUnknown24h
+ since := f.UnknownSince
+ if since.IsZero() {
+ since = f.SubmittedAt // recorded before UnknownSince was
+ }
+ // Alerts from an earlier stretch of unknown do not count.
+ first := f.Alerts[alertUnknown24h]
+ if first.Before(since) {
+ first = time.Time{}
}
- if f.Payment == pAuthorised && !f.CaptureBefore.IsZero() && !f.Now.Before(f.CaptureBefore.Add(-transferLapseAlertBefore)) && !sent(alertLapse) {
- return alertLapse
+ if !since.IsZero() && first.IsZero() && !f.Now.Before(since.Add(transferUnknownAlertAfter)) {
+ due = append(due, alertUnknown24h)
}
- if first := f.Alerts[alertUnknown24h]; !first.IsZero() {
+ if !first.IsZero() {
last := first
if weekly := f.Alerts[alertUnknownWeekly]; weekly.After(last) {
last = weekly
}
if !f.Now.Before(last.Add(transferUnknownRepeat)) {
- return alertUnknownWeekly
+ due = append(due, alertUnknownWeekly)
}
}
}
+ if f.Payment == pAuthorised && !f.CaptureBefore.IsZero() && !f.Now.Before(f.CaptureBefore.Add(-transferLapseAlertBefore)) && !sent(alertLapse) {
+ due = append(due, alertLapse)
+ }
+ if f.Payment == pAuthorised && f.CaptureFailures >= transferCaptureFailingAfter && daily(alertCaptureFailing) {
+ due = append(due, alertCaptureFailing)
+ }
accepted := reg == rPending || (reg == rUnknown && f.Accepted)
if accepted && (f.Payment == pFailed || f.Payment == pCancelled) && !sent(alertCaptureRefused) {
- return alertCaptureRefused
- }
- if reg == rFailed && f.Payment == pCaptured && f.Refund == fFailed && f.RefundReason == refundRefused {
- // At the first refusal of a run of them, then daily while it lasts.
- last := f.Alerts[alertRefundRefused]
- if last.IsZero() || (f.RefundRefusals == 1 && last.Before(f.RefundFailedAt)) || !f.Now.Before(last.Add(refundRefusedAlertEvery)) {
- return alertRefundRefused
- }
+ due = append(due, alertCaptureRefused)
}
if reg == rFailed && f.Payment == pCaptured {
- // Every attempt before the current one failed; so did the current
- // one when its refund reads failed.
- last := f.RefundAttempt - 1
- if f.Refund == fFailed {
- last = f.RefundAttempt
- }
- for n := 1; n <= last; n++ {
- if kind := refundFailedAlert(n); !sent(kind) {
- return kind
+ if f.Refund == fFailed && f.RefundReason == refundRefused {
+ // At the first refusal of a run of them, then daily while it lasts.
+ last := f.Alerts[alertRefundRefused]
+ if last.IsZero() || (f.RefundRefusals == 1 && last.Before(f.RefundFailedAt)) || !f.Now.Before(last.Add(refundRefusedAlertEvery)) {
+ due = append(due, alertRefundRefused)
}
}
+ if f.RefundMismatch && daily(alertRefundMismatch) {
+ due = append(due, alertRefundMismatch)
+ }
+ }
+ if f.PaymentMismatch && f.Registrar == rNotSent && !sent(alertPaymentWrong) {
+ due = append(due, alertPaymentWrong)
+ }
+ return due
+}
+
+// owedNotices adds to f.Owed the notices the decision's transition makes
+// due, so they are recorded in the same move as the transition:
+// - a refund attempt seen failed (not refused): its alert;
+// - done: the owner's email;
+// - unpaid: the operator's page and the owner's email;
+// - failed after submit: the owner's email.
+//
+// A notice already owed keeps its first time.
+func owedNotices(f *transferFacts, d transferDecision) {
+ owe := func(kind string) {
+ if f.Owed == nil {
+ f.Owed = map[string]time.Time{}
+ }
+ if f.Owed[kind].IsZero() {
+ f.Owed[kind] = f.Now
+ }
+ }
+ if f.Refund == fFailed && f.RefundReason != refundRefused && f.RefundAttempt >= 1 {
+ owe(refundFailedAlert(f.RefundAttempt))
+ }
+ switch d.Terminal {
+ case PurchaseDone:
+ owe(noticeOwnerDone)
+ case PurchaseUnpaid:
+ owe(alertUnpaid)
+ owe(noticeOwnerUnpaid)
+ case PurchaseFailed:
+ if effectiveRegistrar(*f) == rFailed {
+ owe(noticeOwnerFailed)
+ }
}
- return ""
+}
+
+// outstandingNotices is f's owed notices not yet delivered, oldest first.
+func outstandingNotices(f transferFacts) []string {
+ var out []string
+ for kind := range f.Owed {
+ if f.Alerts[kind].IsZero() {
+ out = append(out, kind)
+ }
+ }
+ slices.SortFunc(out, func(a, b string) int {
+ if c := f.Owed[a].Compare(f.Owed[b]); c != 0 {
+ return c
+ }
+ return strings.Compare(a, b)
+ })
+ return out
}
// refundRefusedBackoff is the wait after the nth refund create refused in a
@@ -240,6 +331,4 @@ func refundRefusedBackoff(refusals int) time.Duration {
return 24 * time.Hour
}
-const refundRefusedAlertEvery = 24 * time.Hour
-
func refundFailedAlert(attempt int) string { return fmt.Sprintf("%s%d", alertRefundFailed, attempt) }
diff --git a/internal/console/domaintransfer_decide_test.go b/internal/console/domaintransfer_decide_test.go
index 6fb15a6f2..7741064c2 100644
--- a/internal/console/domaintransfer_decide_test.go
+++ b/internal/console/domaintransfer_decide_test.go
@@ -33,6 +33,9 @@ func quietFacts(reg registrarOutcome, pay paymentOutcome, refund refundOutcome)
if reg != rNotSent {
f.SubmittedAt = decideBase.Add(-time.Hour)
}
+ if reg == rUnknown {
+ f.UnknownSince = f.SubmittedAt
+ }
if reg == rCompleted {
f.Completed = &registrar.Registered{Domain: "shop.com", RegistrarID: "r1", Expires: decideBase.AddDate(1, 0, 0)}
}
@@ -58,7 +61,8 @@ func TestDecideTransferTable(t *testing.T) {
action transferAction
terminal PurchaseState
attempt int
- alert string
+ alerts string // the due alerts, space-separated
+ owed string // what owedNotices adds, space-separated
}
expired := quietFacts(rNotSent, pAwaiting, fNone)
expired.Now = expired.CheckoutExpires
@@ -77,76 +81,121 @@ func TestDecideTransferTable(t *testing.T) {
emptyReason.RegistrarReason = ""
resend := quietFacts(rFailed, pCaptured, fNone)
resend.RefundAttempt = 2
- secondPendingAlerted := quietFacts(rFailed, pCaptured, fPending)
- secondPendingAlerted.RefundAttempt = 2
- secondPendingAlerted.Alerts = map[string]time.Time{refundFailedAlert(1): decideBase}
- secondPending := secondPendingAlerted
- secondPending.Alerts = nil
pendingRefused := quietFacts(rPending, pFailed, fNone)
pendingRefusedAlerted := pendingRefused
pendingRefusedAlerted.Alerts = map[string]time.Time{alertCaptureRefused: decideBase}
+ outside := quietFacts(rFailed, pCaptured, fFailed)
+ outside.RefundReason, outside.RefundRefusals, outside.RefundFailedAt = refundRefused, 3, decideBase
+ outside.Alerts = map[string]time.Time{alertRefundRefused: decideBase}
+ outside.Resolution = transferResolvedRefundedOutside
+ // Alerts beside a money action: an accepted transfer whose capture keeps
+ // failing, its hold lapsing within the day.
+ captureStuck := quietFacts(rPending, pAuthorised, fNone)
+ captureStuck.CaptureFailures, captureStuck.CaptureBefore = 3, decideBase.Add(20*time.Hour)
+ captureStuckAlerted := captureStuck
+ captureStuckAlerted.Alerts = map[string]time.Time{alertLapse: decideBase.Add(-time.Hour), alertCaptureFailing: decideBase.Add(-23 * time.Hour)}
+ captureStuckDaily := captureStuckAlerted
+ captureStuckDaily.Alerts = map[string]time.Time{alertLapse: decideBase.Add(-time.Hour), alertCaptureFailing: decideBase.Add(-24 * time.Hour)}
+ twoFailures := quietFacts(rPending, pAuthorised, fNone)
+ twoFailures.CaptureFailures = 2
+ notSentLapse := quietFacts(rNotSent, pAuthorised, fNone)
+ notSentLapse.CaptureBefore = decideBase.Add(time.Hour)
+ mismatch := quietFacts(rFailed, pCaptured, fPending)
+ mismatch.RefundMismatch = true
+ mismatchAlerted := mismatch
+ mismatchAlerted.Alerts = map[string]time.Time{alertRefundMismatch: decideBase.Add(-23 * time.Hour)}
+ wrongPayment := quietFacts(rNotSent, pUnknown, fNone)
+ wrongPayment.PaymentMismatch = true
+ wrongPaymentAlerted := wrongPayment
+ wrongPaymentAlerted.Alerts = map[string]time.Time{alertPaymentWrong: decideBase}
+ // Unknown measured from when it became unknown, not from submit.
+ lateUnknown := quietFacts(rUnknown, pCaptured, fNone)
+ lateUnknown.SubmittedAt, lateUnknown.UnknownSince = decideBase.Add(-5*24*time.Hour), decideBase.Add(-23*time.Hour)
+ lateUnknownDue := lateUnknown
+ lateUnknownDue.UnknownSince = decideBase.Add(-24 * time.Hour)
+ // A second stretch of unknown: the first stretch's alerts do not count.
+ againUnknown := lateUnknownDue
+ againUnknown.Alerts = map[string]time.Time{alertUnknown24h: decideBase.Add(-3 * 24 * time.Hour)}
refused := func(refusals int, since, alerted time.Duration) transferFacts {
f := quietFacts(rFailed, pCaptured, fFailed)
f.RefundAttempt, f.RefundReason, f.RefundRefusals, f.RefundFailedAt = refusals, refundRefused, refusals, decideBase.Add(-since)
- f.Alerts = map[string]time.Time{refundFailedAlert(1): decideBase, refundFailedAlert(2): decideBase, refundFailedAlert(3): decideBase}
if alerted >= 0 {
- f.Alerts[alertRefundRefused] = decideBase.Add(-alerted)
+ f.Alerts = map[string]time.Time{alertRefundRefused: decideBase.Add(-alerted)}
}
return f
}
rows := []row{
- {"refund refused once, 59 min ago: wait", refused(1, 59*time.Minute, 0), aWait, "", 0, ""},
- {"refund refused once, an hour ago: the next attempt, no failed alert", refused(1, time.Hour, 0), aCreateRefund, "", 2, ""},
- {"refund refused twice, 5 h ago: wait", refused(2, 5*time.Hour, 0), aWait, "", 0, ""},
- {"refund refused twice, 6 h ago: the next attempt", refused(2, 6*time.Hour, 0), aCreateRefund, "", 3, ""},
- {"refund refused three times, 23 h ago: wait", refused(3, 23*time.Hour, 23*time.Hour-time.Minute), aWait, "", 0, ""},
- {"refund refused three times, 24 h ago: the next attempt", refused(3, 24*time.Hour, 0), aCreateRefund, "", 4, ""},
- {"refund refused, not yet alerted: alert", refused(1, 0, -1), aAlert, "", 0, alertRefundRefused},
- {"refund refused, alerted 23 h ago: wait", refused(3, 2*time.Hour, 23*time.Hour), aWait, "", 0, ""},
- {"refund refused, alerted a day ago: alert again", refused(3, 2*time.Hour, 24*time.Hour), aAlert, "", 0, alertRefundRefused},
- {"first refusal of a new run, alerted before it: alert", refused(1, 0, time.Hour), aAlert, "", 0, alertRefundRefused},
- {"not sent, checkout open: wait (a declined card may be retried)", quietFacts(rNotSent, pAwaiting, fNone), aWait, "", 0, ""},
- {"not sent, checkout past its expiry: expired, not charged", expired, aFinishFailed, PurchaseExpired, 0, ""},
- {"not sent, authorised: submit", quietFacts(rNotSent, pAuthorised, fNone), aSubmit, "", 0, ""},
- {"not sent, cancelled: finished, not charged", quietFacts(rNotSent, pCancelled, fNone), aFinishFailed, PurchaseExpired, 0, ""},
- {"unknown, authorised: wait, never settled blind", quietFacts(rUnknown, pAuthorised, fNone), aWait, "", 0, ""},
- {"unknown after acceptance, authorised: capture", acceptedUnknown, aCapture, "", 0, ""},
- {"unknown resolved failed, authorised: cancel", resolvedFailed, aCancelAuthorisation, "", 0, ""},
- {"unknown resolved failed, captured: refund", resolvedCaptured, aCreateRefund, "", 1, ""},
- {"unknown resolved completed, captured: done", resolvedDone, aRecordDone, PurchaseDone, 0, ""},
- {"unknown resolved completed, cancelled: unpaid", resolvedUnpaid, aRecordUnpaid, PurchaseUnpaid, 0, ""},
- {"pending, authorised: capture", quietFacts(rPending, pAuthorised, fNone), aCapture, "", 0, ""},
- {"pending, captured: wait", quietFacts(rPending, pCaptured, fNone), aWait, "", 0, ""},
- {"pending, capture failed: alerted once", pendingRefused, aAlert, "", 0, alertCaptureRefused},
- {"pending, capture failed, alerted: wait", pendingRefusedAlerted, aWait, "", 0, ""},
- {"completed, captured: done", quietFacts(rCompleted, pCaptured, fNone), aRecordDone, PurchaseDone, 0, ""},
- {"completed, authorised: capture", quietFacts(rCompleted, pAuthorised, fNone), aCapture, "", 0, ""},
- {"completed, cancelled: unpaid", quietFacts(rCompleted, pCancelled, fNone), aRecordUnpaid, PurchaseUnpaid, 0, ""},
- {"completed, capture failed (pFailed): unpaid", quietFacts(rCompleted, pFailed, fNone), aRecordUnpaid, PurchaseUnpaid, 0, ""},
- {"completed, payment unread: wait", quietFacts(rCompleted, pUnknown, fNone), aWait, "", 0, ""},
- {"failed, authorised: cancel the authorisation", quietFacts(rFailed, pAuthorised, fNone), aCancelAuthorisation, "", 0, ""},
- {"failed, cancelled: failed, not charged", quietFacts(rFailed, pCancelled, fNone), aFinishFailed, PurchaseFailed, 0, ""},
- {"failed, capture failed: failed, not charged", quietFacts(rFailed, pFailed, fNone), aFinishFailed, PurchaseFailed, 0, ""},
- {"failed with an empty reason after capture: refund attempt 1", emptyReason, aCreateRefund, "", 1, ""},
- {"failed, captured, attempt 2 stored but unanswered: resend attempt 2", resend, aCreateRefund, "", 2, ""},
- {"failed, captured, refund attempt failed: a new attempt, alerted", quietFacts(rFailed, pCaptured, fFailed), aCreateRefund, "", 2, refundFailedAlert(1)},
- {"failed, captured, refund pending: wait", quietFacts(rFailed, pCaptured, fPending), aWait, "", 0, ""},
- {"failed, captured, second attempt pending: the first's failure alerted", secondPending, aAlert, "", 0, refundFailedAlert(1)},
- {"failed, captured, second attempt pending, alerted: wait", secondPendingAlerted, aWait, "", 0, ""},
- {"failed, captured, refunded in full: failed (refunded)", quietFacts(rFailed, pCaptured, fSucceeded), aFinishFailed, PurchaseFailed, 0, ""},
- {"failed, payment unread: wait", quietFacts(rFailed, pUnknown, fNone), aWait, "", 0, ""},
+ {"refund refused once, 59 min ago: wait", refused(1, 59*time.Minute, 0), aWait, "", 0, "", ""},
+ {"refund refused once, an hour ago: the next attempt, no failed alert owed", refused(1, time.Hour, 0), aCreateRefund, "", 2, "", ""},
+ {"refund refused twice, 5 h ago: wait", refused(2, 5*time.Hour, 0), aWait, "", 0, "", ""},
+ {"refund refused twice, 6 h ago: the next attempt", refused(2, 6*time.Hour, 0), aCreateRefund, "", 3, "", ""},
+ {"refund refused three times, 23 h ago: wait", refused(3, 23*time.Hour, 23*time.Hour-time.Minute), aWait, "", 0, "", ""},
+ {"refund refused three times, 24 h ago: the next attempt", refused(3, 24*time.Hour, 0), aCreateRefund, "", 4, "", ""},
+ {"refund refused, not yet alerted: alert", refused(1, 0, -1), aWait, "", 0, alertRefundRefused, ""},
+ {"refund refused, alerted 23 h ago: wait", refused(3, 2*time.Hour, 23*time.Hour), aWait, "", 0, "", ""},
+ {"refund refused, alerted a day ago: alert again", refused(3, 2*time.Hour, 24*time.Hour), aWait, "", 0, alertRefundRefused, ""},
+ {"first refusal of a new run, alerted before it: alert", refused(1, 0, time.Hour), aWait, "", 0, alertRefundRefused, ""},
+ {"refunds refused, the operator refunded outside: failed, owner told", outside, aFinishFailed, PurchaseFailed, 0, "", noticeOwnerFailed},
+ {"not sent, checkout open: wait (a declined card may be retried)", quietFacts(rNotSent, pAwaiting, fNone), aWait, "", 0, "", ""},
+ {"not sent, checkout past its expiry: expired, not charged, nobody told", expired, aFinishFailed, PurchaseExpired, 0, "", ""},
+ {"not sent, authorised: submit", quietFacts(rNotSent, pAuthorised, fNone), aSubmit, "", 0, "", ""},
+ {"not sent, authorised, hold lapsing: submit, and the lapse alert", notSentLapse, aSubmit, "", 0, alertLapse, ""},
+ {"not sent, cancelled: finished, not charged", quietFacts(rNotSent, pCancelled, fNone), aFinishFailed, PurchaseExpired, 0, "", ""},
+ {"not sent, a payment not this purchase's: alerted once", wrongPayment, aWait, "", 0, alertPaymentWrong, ""},
+ {"not sent, a payment not this purchase's, alerted: wait", wrongPaymentAlerted, aWait, "", 0, "", ""},
+ {"unknown, authorised: wait, never settled blind", quietFacts(rUnknown, pAuthorised, fNone), aWait, "", 0, "", ""},
+ {"unknown for 23 h, submitted days ago: no alert yet", lateUnknown, aWait, "", 0, "", ""},
+ {"unknown for 24 h: the day-after alert", lateUnknownDue, aWait, "", 0, alertUnknown24h, ""},
+ {"unknown again, alerted in an earlier stretch: alerted again", againUnknown, aWait, "", 0, alertUnknown24h, ""},
+ {"unknown after acceptance, authorised: capture", acceptedUnknown, aCapture, "", 0, "", ""},
+ {"unknown resolved failed, authorised: cancel", resolvedFailed, aCancelAuthorisation, "", 0, "", ""},
+ {"unknown resolved failed, captured: refund", resolvedCaptured, aCreateRefund, "", 1, "", ""},
+ {"unknown resolved completed, captured: done", resolvedDone, aRecordDone, PurchaseDone, 0, "", noticeOwnerDone},
+ {"unknown resolved completed, cancelled: unpaid", resolvedUnpaid, aRecordUnpaid, PurchaseUnpaid, 0, "", noticeOwnerUnpaid + " " + alertUnpaid},
+ {"pending, authorised: capture", quietFacts(rPending, pAuthorised, fNone), aCapture, "", 0, "", ""},
+ {"pending, capture failed twice: capture, no alert yet", twoFailures, aCapture, "", 0, "", ""},
+ {"pending, capture failing, hold lapsing: capture, and both alerts", captureStuck, aCapture, "", 0, alertLapse + " " + alertCaptureFailing, ""},
+ {"pending, capture failing, alerted 23 h ago: capture only", captureStuckAlerted, aCapture, "", 0, "", ""},
+ {"pending, capture failing, alerted a day ago: capture, alerted again", captureStuckDaily, aCapture, "", 0, alertCaptureFailing, ""},
+ {"pending, captured: wait", quietFacts(rPending, pCaptured, fNone), aWait, "", 0, "", ""},
+ {"pending, capture failed: alerted once", pendingRefused, aWait, "", 0, alertCaptureRefused, ""},
+ {"pending, capture failed, alerted: wait", pendingRefusedAlerted, aWait, "", 0, "", ""},
+ {"completed, captured: done, owner told", quietFacts(rCompleted, pCaptured, fNone), aRecordDone, PurchaseDone, 0, "", noticeOwnerDone},
+ {"completed, authorised: capture", quietFacts(rCompleted, pAuthorised, fNone), aCapture, "", 0, "", ""},
+ {"completed, cancelled: unpaid, operator and owner told", quietFacts(rCompleted, pCancelled, fNone), aRecordUnpaid, PurchaseUnpaid, 0, "", noticeOwnerUnpaid + " " + alertUnpaid},
+ {"completed, capture failed (pFailed): unpaid", quietFacts(rCompleted, pFailed, fNone), aRecordUnpaid, PurchaseUnpaid, 0, "", noticeOwnerUnpaid + " " + alertUnpaid},
+ {"completed, payment unread: wait", quietFacts(rCompleted, pUnknown, fNone), aWait, "", 0, "", ""},
+ {"failed, authorised: cancel the authorisation", quietFacts(rFailed, pAuthorised, fNone), aCancelAuthorisation, "", 0, "", ""},
+ {"failed, cancelled: failed, not charged, owner told", quietFacts(rFailed, pCancelled, fNone), aFinishFailed, PurchaseFailed, 0, "", noticeOwnerFailed},
+ {"failed, capture failed: failed, not charged", quietFacts(rFailed, pFailed, fNone), aFinishFailed, PurchaseFailed, 0, "", noticeOwnerFailed},
+ {"failed with an empty reason after capture: refund attempt 1", emptyReason, aCreateRefund, "", 1, "", ""},
+ {"failed, captured, attempt 2 stored but unanswered: resend attempt 2", resend, aCreateRefund, "", 2, "", ""},
+ {"failed, captured, refund attempt failed: a new attempt, its alert owed", quietFacts(rFailed, pCaptured, fFailed), aCreateRefund, "", 2, "", refundFailedAlert(1)},
+ {"failed, captured, refund pending: wait", quietFacts(rFailed, pCaptured, fPending), aWait, "", 0, "", ""},
+ {"failed, captured, refund short of the capture: alerted", mismatch, aWait, "", 0, alertRefundMismatch, ""},
+ {"failed, captured, refund short, alerted 23 h ago: wait", mismatchAlerted, aWait, "", 0, "", ""},
+ {"failed, captured, refunded in full: failed (refunded), owner told", quietFacts(rFailed, pCaptured, fSucceeded), aFinishFailed, PurchaseFailed, 0, "", noticeOwnerFailed},
+ {"failed, payment unread: wait", quietFacts(rFailed, pUnknown, fNone), aWait, "", 0, "", ""},
}
for _, r := range rows {
d := decideTransfer(r.facts)
- if d.Action != r.action || d.Terminal != r.terminal || d.RefundAttempt != r.attempt || d.Alert != r.alert {
- t.Errorf("%s: got %v terminal=%q attempt=%d alert=%q, want %v terminal=%q attempt=%d alert=%q",
- r.name, d.Action, d.Terminal, d.RefundAttempt, d.Alert, r.action, r.terminal, r.attempt, r.alert)
+ f := cloneTransferFacts(r.facts)
+ owedNotices(&f, d)
+ var owed []string
+ for kind := range f.Owed {
+ owed = append(owed, kind)
+ }
+ slices.Sort(owed)
+ if d.Action != r.action || d.Terminal != r.terminal || d.RefundAttempt != r.attempt || strings.Join(d.Alerts, " ") != r.alerts || strings.Join(owed, " ") != r.owed {
+ t.Errorf("%s: got %v terminal=%q attempt=%d alerts=%q owed=%q, want %v terminal=%q attempt=%d alerts=%q owed=%q",
+ r.name, d.Action, d.Terminal, d.RefundAttempt, d.Alerts, owed, r.action, r.terminal, r.attempt, r.alerts, r.owed)
}
}
- // Exhaustive over the enums: every combination the table does not
- // list waits (quiet facts: no alert due, Checkout open).
+ // Exhaustive over the enums, Accepted, every Resolution and a missing
+ // Completed: the action of every combination the table does not list
+ // is wait, and every terminal it chooses keeps I1-I4.
listed := map[decideKey]transferAction{
{rNotSent, pAuthorised, fNone}: aSubmit, {rNotSent, pCancelled, fNone}: aFinishFailed,
{rPending, pAuthorised, fNone}: aCapture,
@@ -159,53 +208,111 @@ func TestDecideTransferTable(t *testing.T) {
for reg := rNotSent; reg <= rFailed; reg++ {
for pay := pUnknown; pay <= pFailed; pay++ {
for refund := fNone; refund <= fFailed; refund++ {
- f := quietFacts(reg, pay, refund)
- f.Alerts = map[string]time.Time{alertCaptureRefused: decideBase, refundFailedAlert(1): decideBase}
- want, ok := listed[decideKey{reg, pay, refund}]
- if !ok {
- // The refund outcome only matters once captured and failed:
- // elsewhere the fNone row stands for every refund outcome.
- want, ok = listed[decideKey{reg, pay, fNone}]
- if reg == rFailed && pay == pCaptured {
- want, ok = aWait, true
+ for _, accepted := range []bool{false, true} {
+ for _, resolution := range []string{"", transferResolvedFailed, transferResolvedCompleted, transferResolvedRefundedOutside} {
+ for _, noCompleted := range []bool{false, true} {
+ f := quietFacts(reg, pay, refund)
+ f.Accepted, f.Resolution = accepted, resolution
+ if resolution == transferResolvedCompleted {
+ f.Completed = &registrar.Registered{Domain: "shop.com", RegistrarID: "r1"}
+ }
+ if noCompleted {
+ f.Completed = nil
+ }
+ name := fmt.Sprintf("%v/%v/%v accepted=%v resolution=%q completed=%v", reg, pay, refund, accepted, resolution, f.Completed != nil)
+ d := decideTransfer(f)
+ checkDecisionInvariants(t, name, f, d)
+ if accepted || resolution != "" || noCompleted {
+ continue // the table's rows above cover these variants
+ }
+ want, ok := listed[decideKey{reg, pay, refund}]
+ if !ok {
+ // The refund outcome only matters once captured and failed:
+ // elsewhere the fNone row stands for every refund outcome.
+ want, ok = listed[decideKey{reg, pay, fNone}]
+ if reg == rFailed && pay == pCaptured {
+ want, ok = aWait, true
+ }
+ }
+ if !ok {
+ want = aWait
+ }
+ if d.Action != want {
+ t.Errorf("%s: got %v, want %v", name, d.Action, want)
+ }
+ }
}
}
- if !ok {
- want = aWait
- }
- if d := decideTransfer(f); d.Action != want {
- t.Errorf("%v/%v/%v: got %v, want %v", reg, pay, refund, d.Action, want)
- }
}
}
}
}
+// checkDecisionInvariants asserts I1-I4 on a decision's terminal state:
+// an end only on a definite registrar outcome (or an operator's
+// resolution), or before submit with nothing taken; done only captured and
+// completed; unpaid only completed with nothing captured; failed only with
+// nothing captured or the capture refunded (by the provider, or outside it
+// by the operator's record).
+func checkDecisionInvariants(t *testing.T, name string, f transferFacts, d transferDecision) {
+ t.Helper()
+ eff := effectiveRegistrar(f)
+ switch d.Terminal {
+ case "":
+ if d.Action == aRecordDone || d.Action == aRecordUnpaid || d.Action == aFinishFailed {
+ t.Errorf("%s: %v with no terminal state", name, d.Action)
+ }
+ case PurchaseExpired:
+ if f.Registrar != rNotSent || f.Payment == pCaptured {
+ t.Errorf("%s: I1: expired with registrar %v, payment %v", name, f.Registrar, f.Payment)
+ }
+ case PurchaseDone:
+ if eff != rCompleted || f.Payment != pCaptured || f.Completed == nil {
+ t.Errorf("%s: I2: done with registrar %v, payment %v", name, eff, f.Payment)
+ }
+ case PurchaseUnpaid:
+ if eff != rCompleted || f.Payment == pCaptured || f.Payment == pAuthorised || f.Completed == nil {
+ t.Errorf("%s: I3: unpaid with registrar %v, payment %v", name, eff, f.Payment)
+ }
+ case PurchaseFailed:
+ if eff != rFailed {
+ t.Errorf("%s: I1: failed with registrar %v", name, eff)
+ }
+ if f.Payment == pCaptured && f.Refund != fSucceeded && f.Resolution != transferResolvedRefundedOutside {
+ t.Errorf("%s: I4: failed with the capture kept", name)
+ }
+ if f.Payment == pAuthorised || f.Payment == pUnknown {
+ t.Errorf("%s: I4: failed with payment %v", name, f.Payment)
+ }
+ default:
+ t.Errorf("%s: terminal %q", name, d.Terminal)
+ }
+}
+
// TestDecideTransferAlertsOncePerSchedule walks an unknown transfer through
-// its alert schedule: a day after submit, a day before the authorisation
-// lapses, then weekly after the first, each delivered exactly once; an
-// undelivered alert stays due.
+// its alert schedule: a day after it became unknown, a day before the
+// authorisation lapses, then weekly after the first, each delivered exactly
+// once; an undelivered alert stays due.
func TestDecideTransferAlertsOncePerSchedule(t *testing.T) {
submitted := decideBase
- f := transferFacts{Registrar: rUnknown, Payment: pAuthorised, SubmittedAt: submitted,
+ f := transferFacts{Registrar: rUnknown, Payment: pAuthorised, SubmittedAt: submitted, UnknownSince: submitted,
CheckoutExpires: submitted.Add(-time.Hour), CaptureBefore: submitted.Add(6 * 24 * time.Hour), Alerts: map[string]time.Time{}}
var got []string
failedOnce := false
for now := submitted; now.Before(submitted.Add(30 * 24 * time.Hour)); now = now.Add(time.Hour) {
f.Now = now
d := decideTransfer(f)
- switch d.Action {
- case aWait:
- case aAlert:
+ if d.Action != aWait {
+ t.Fatalf("%s: unknown outcome chose %v", now.Sub(submitted), d.Action)
+ }
+ for _, kind := range d.Alerts {
if !failedOnce {
// The first delivery fails: not recorded, so it stays due.
failedOnce = true
continue
}
- got = append(got, fmt.Sprintf("%s@%s", d.Alert, now.Sub(submitted)))
- f.Alerts[d.Alert] = now
- default:
- t.Fatalf("%s: unknown outcome chose %v", now.Sub(submitted), d.Action)
+ got = append(got, fmt.Sprintf("%s@%s", kind, now.Sub(submitted)))
+ f.Alerts[kind] = now
}
}
want := []string{"24h-unknown@25h0m0s", "lapse@120h0m0s", "weekly-unknown@193h0m0s", "weekly-unknown@361h0m0s", "weekly-unknown@529h0m0s", "weekly-unknown@697h0m0s"}
@@ -214,15 +321,28 @@ func TestDecideTransferAlertsOncePerSchedule(t *testing.T) {
}
// The lapse alert is only for a hold still in place.
- f = transferFacts{Registrar: rUnknown, Payment: pCaptured, SubmittedAt: submitted, CaptureBefore: submitted.Add(2 * 24 * time.Hour),
+ f = transferFacts{Registrar: rUnknown, Payment: pCaptured, SubmittedAt: submitted, UnknownSince: submitted, CaptureBefore: submitted.Add(2 * 24 * time.Hour),
Alerts: map[string]time.Time{alertUnknown24h: submitted.Add(24 * time.Hour)}, Now: submitted.Add(36 * time.Hour)}
- if d := decideTransfer(f); d.Action != aWait {
- t.Fatalf("captured unknown transfer: %v %q, want wait", d.Action, d.Alert)
+ if d := decideTransfer(f); d.Action != aWait || len(d.Alerts) != 0 {
+ t.Fatalf("captured unknown transfer: %v %q", d.Action, d.Alerts)
}
// A definite outcome has no unknown alerts, however late.
f.Registrar, f.Now, f.Alerts = rPending, submitted.Add(40*24*time.Hour), nil
- if d := decideTransfer(f); d.Action != aWait {
- t.Fatalf("pending transfer alerted: %v %q", d.Action, d.Alert)
+ if d := decideTransfer(f); d.Action != aWait || len(d.Alerts) != 0 {
+ t.Fatalf("pending transfer alerted: %v %q", d.Action, d.Alerts)
+ }
+}
+
+// TestOutstandingNoticesUntilDelivered: an owed notice stays outstanding
+// until its delivery is recorded, oldest first.
+func TestOutstandingNoticesUntilDelivered(t *testing.T) {
+ f := transferFacts{Owed: map[string]time.Time{noticeOwnerUnpaid: decideBase, alertUnpaid: decideBase, refundFailedAlert(1): decideBase.Add(-time.Hour)}}
+ if got := strings.Join(outstandingNotices(f), " "); got != "refund-failed:1 owner-unpaid unpaid" {
+ t.Fatalf("outstanding = %q", got)
+ }
+ f.Alerts = map[string]time.Time{alertUnpaid: decideBase}
+ if got := strings.Join(outstandingNotices(f), " "); got != "refund-failed:1 owner-unpaid" {
+ t.Fatalf("after one delivery = %q", got)
}
}
@@ -283,6 +403,11 @@ type transferSim struct {
pages map[string][]simPage // purchase -> delivered alerts
leaks *codeLeakWriter
+ mail *simMail
+ // crashedAfterDelivery counts, per notice kind, crashes injected between
+ // a delivery and its record: each may send that notice once more.
+ crashedAfterDelivery map[string]int
+
passes int
outcomes map[PurchaseState]int
paths map[string]int // how often each risky path was reached
@@ -314,7 +439,9 @@ const simAuthPrefix = "sim-auth-"
func newTransferSim(t *testing.T, seed uint64) *transferSim {
tf := newTransferFixture(t)
tf.srv.cfg.DomainCatalog.DailyCap = 1 << 30
- sim := &transferSim{t: t, tf: tf, seed: seed, pages: map[string][]simPage{}, outcomes: map[PurchaseState]int{}, paths: map[string]int{}, leaks: &codeLeakWriter{}}
+ sim := &transferSim{t: t, tf: tf, seed: seed, mail: &simMail{}, pages: map[string][]simPage{}, outcomes: map[PurchaseState]int{}, paths: map[string]int{}, leaks: &codeLeakWriter{}}
+ sim.mail.sim = sim
+ tf.srv.consoleMail = sim.mail
log.SetOutput(sim.leaks)
t.Cleanup(func() { log.SetOutput(os.Stderr) })
pageDomainPurchase = func(_ context.Context, _, _, body string) error {
@@ -327,10 +454,14 @@ func newTransferSim(t *testing.T, seed uint64) *transferSim {
}
transferStepHook = func(step string) error {
rate := 0.04
- if strings.HasPrefix(step, "refund:") {
+ if strings.HasPrefix(step, "refund:") || strings.HasPrefix(step, "notice:") || strings.HasSuffix(step, ":moved") {
rate = 0.15
}
if sim.faults && sim.rng.Float64() < rate {
+ if kind, ok := strings.CutPrefix(step, "notice:delivered:"); ok {
+ sim.crashedAfterDelivery[kind]++
+ step = "notice:delivered"
+ }
sim.paths["crash:"+step]++
return errors.New("sim: crash after " + step)
}
@@ -340,6 +471,26 @@ func newTransferSim(t *testing.T, seed uint64) *transferSim {
return sim
}
+// simMail is the console's email sender as the simulation sees it: it
+// records each owner email by subject and, while faults are on, fails some.
+type simMail struct {
+ sim *transferSim
+ subjects []string
+}
+
+func (m *simMail) Ready(context.Context) bool { return true }
+
+func (m *simMail) Send(_ context.Context, to, subject, body string) error {
+ if m.sim.faults && m.sim.chance(0.2) {
+ return errors.New("sim: mail down")
+ }
+ if strings.Contains(subject+body, simAuthPrefix) {
+ m.sim.leaks.Write([]byte("email: " + subject))
+ }
+ m.subjects = append(m.subjects, subject)
+ return nil
+}
+
func pageField(body, label string) string {
_, rest, ok := strings.Cut(body, label)
if !ok {
@@ -584,6 +735,8 @@ func (sim *transferSim) run(i int) {
domain := fmt.Sprintf("sim%d.com", i)
sim.faults = true
sim.pageFail = []float64{0, 0.1, 0.5}[sim.rng.IntN(3)]
+ sim.crashedAfterDelivery = map[string]int{}
+ sim.mail.subjects = nil
// Fresh fakes per run keep the providers' lists short.
bill := billingtest.New()
@@ -732,7 +885,7 @@ func (sim *transferSim) run(i int) {
if _, ok := reg.Fake.Domains[domain]; ok {
outcome = transferResolvedCompleted
}
- _, status, msg := tf.srv.resolveTransfer(ctx, p.ID, outcome, "sim-operator")
+ _, status, msg := tf.srv.resolveTransfer(ctx, p.ID, outcome, "sim-operator", "sim")
switch {
case status == http.StatusOK:
resolved = true
@@ -749,8 +902,14 @@ func (sim *transferSim) run(i int) {
pass()
sim.tick(24 * time.Hour)
}
+ // Ended: whatever it still owes goes out from the purchase pass's
+ // notice step (faults are off now).
+ for k := 0; k < 3; k++ {
+ _ = tf.srv.transferNoticesPass(ctx)
+ }
end := stored()
sim.outcomes[end.State]++
+ sim.checkNoticesDelivered(i, end)
if end.Facts.Accepted && end.Facts.Registrar == rUnknown {
sim.paths["unknown after acceptance"]++
}
@@ -804,7 +963,7 @@ func (sim *transferSim) restart() {
sim.t.Fatal(err)
}
srv.billing.ready.Store(true)
- srv.consoleMail = tf.srv.consoleMail
+ srv.consoleMail = sim.mail
srv.sendFederated = nil
srv.transferClock = func() time.Time { return tf.now }
tf.srv = srv
@@ -910,7 +1069,7 @@ func (sim *transferSim) check(i int, before, p *DomainPurchase, code string) {
sim.fail(i, "unpaid without its registration, renewal off: %+v", r)
}
case PurchaseFailed, PurchaseExpired: // I4
- if captured && !fullRefund {
+ if captured && !fullRefund && p.Facts.Resolution != transferResolvedRefundedOutside {
sim.fail(i, "I4: %s with money taken and no full refund: %+v", p.State, refunds)
}
}
@@ -972,7 +1131,7 @@ func (sim *transferSim) check(i int, before, p *DomainPurchase, code string) {
// ones a day apart, unless a new run of refusals began between them.
func (sim *transferSim) checkAlertsOnce(i int, p *DomainPurchase) {
seen := map[string]int{}
- var weekly, refused []time.Time
+ var weekly, refused, dayAfter []time.Time
for _, pg := range sim.pages[p.ID] {
seen[pg.reason]++
switch pg.reason {
@@ -980,17 +1139,40 @@ func (sim *transferSim) checkAlertsOnce(i int, p *DomainPurchase) {
weekly = append(weekly, pg.at)
case transferAlertReason(alertRefundRefused):
refused = append(refused, pg.at)
+ case transferAlertReason(alertUnknown24h):
+ dayAfter = append(dayAfter, pg.at)
}
}
for reason, n := range seen {
- if n > 1 && reason != transferAlertReason(alertUnknownWeekly) && reason != transferAlertReason(alertRefundRefused) {
+ repeats := reason == transferAlertReason(alertUnknownWeekly) || reason == transferAlertReason(alertRefundRefused) ||
+ reason == transferAlertReason(alertUnknown24h) ||
+ reason == transferAlertReason(alertCaptureFailing) || reason == transferAlertReason(alertRefundMismatch)
+ if !repeats && n > 1+sim.crashedFor(reason) {
sim.fail(i, "I10: alert %q delivered %d times", reason, n)
}
}
+ // Each stretch of unknown has its day-after alert: a stretch must end
+ // and begin again between two, so they are at least a day apart.
+ resentDayAfter := sim.crashedAfterDelivery[alertUnknown24h]
+ for k := 1; k < len(dayAfter); k++ {
+ if dayAfter[k].Sub(dayAfter[k-1]) >= transferUnknownAlertAfter {
+ continue
+ }
+ if resentDayAfter > 0 {
+ resentDayAfter--
+ continue
+ }
+ sim.fail(i, "I10: day-after alerts %s apart", dayAfter[k].Sub(dayAfter[k-1]))
+ }
+ resent := sim.crashedAfterDelivery[alertRefundRefused]
for k := 1; k < len(refused); k++ {
if refused[k].Sub(refused[k-1]) >= refundRefusedAlertEvery {
continue
}
+ if resent > 0 {
+ resent-- // sent again after a crash between delivery and record
+ continue
+ }
newRun := false
for _, at := range sim.billing.runsStarted {
newRun = newRun || (at.After(refused[k-1]) && !at.After(refused[k]))
@@ -999,7 +1181,12 @@ func (sim *transferSim) checkAlertsOnce(i int, p *DomainPurchase) {
sim.fail(i, "refused alerts %s apart with no new run of refusals", refused[k].Sub(refused[k-1]))
}
}
+ resentWeekly := sim.crashedAfterDelivery[alertUnknownWeekly]
for k := 1; k < len(weekly); k++ {
+ if weekly[k].Sub(weekly[k-1]) < transferUnknownRepeat && resentWeekly > 0 {
+ resentWeekly-- // sent again after a crash between delivery and record
+ continue
+ }
if weekly[k].Sub(weekly[k-1]) < transferUnknownRepeat {
sim.fail(i, "I10: weekly alerts %s apart", weekly[k].Sub(weekly[k-1]))
}
@@ -1031,6 +1218,104 @@ func (sim *transferSim) checkAlertSchedule(i int, p *DomainPurchase) {
}
}
+// crashedFor is how many crashes were injected between a delivery of the
+// alert with this reason and its record.
+func (sim *transferSim) crashedFor(reason string) int {
+ n := 0
+ for kind, c := range sim.crashedAfterDelivery {
+ if transferAlertReason(kind) == reason {
+ n += c
+ }
+ }
+ return n
+}
+
+// checkNoticesDelivered derives, from how the run ended and from the
+// provider's refunds (not from the engine's own record of what it owed),
+// the notices the run made due, and asserts each was delivered exactly
+// once: none missing, none twice (beyond one resend per crash injected
+// between its delivery and its record). And nothing is left owed.
+func (sim *transferSim) checkNoticesDelivered(i int, p *DomainPurchase) {
+ type want struct {
+ kind string
+ count func() int
+ }
+ pages := func(kind string) func() int {
+ return func() int {
+ n := 0
+ for _, pg := range sim.pages[p.ID] {
+ if pg.reason == transferAlertReason(kind) {
+ n++
+ }
+ }
+ return n
+ }
+ }
+ mails := func(subject string) func() int {
+ return func() int {
+ n := 0
+ for _, s := range sim.mail.subjects {
+ if s == subject {
+ n++
+ }
+ }
+ return n
+ }
+ }
+ var wants []want
+ failedAfterSubmit := p.Facts.Registrar == rFailed || p.Facts.Resolution == transferResolvedFailed
+ switch p.State {
+ case PurchaseDone:
+ wants = append(wants, want{noticeOwnerDone, mails(fmt.Sprintf(transferOwnerCopy.DoneSubject, p.Domain))})
+ case PurchaseUnpaid:
+ wants = append(wants, want{alertUnpaid, pages(alertUnpaid)}, want{noticeOwnerUnpaid, mails(fmt.Sprintf(transferOwnerCopy.UnpaidSubject, p.Domain))})
+ case PurchaseFailed:
+ if failedAfterSubmit {
+ wants = append(wants, want{noticeOwnerFailed, mails(fmt.Sprintf(transferOwnerCopy.FailedSubject, p.Domain))})
+ }
+ }
+ if info, ok := sim.payment(p.ID); ok && info.PaymentIntent != "" {
+ list, _ := sim.bill.Refunds(context.Background(), info.PaymentIntent)
+ for _, r := range list {
+ if r.Status == billing.RefundFailed || r.Status == billing.RefundCanceled {
+ wants = append(wants, want{refundFailedAlert(r.Attempt), pages(refundFailedAlert(r.Attempt))})
+ }
+ }
+ }
+ for _, w := range wants {
+ n, extra := w.count(), sim.crashedAfterDelivery[w.kind]
+ if n == 0 || n > 1+extra {
+ sim.fail(i, "notice %s delivered %d times (crashes after delivery %d), ended %s: %+v", w.kind, n, extra, p.State, p.Facts)
+ }
+ }
+ // No owner email the run did not make due.
+ for _, s := range sim.mail.subjects {
+ if !strings.Contains(s, p.Domain) {
+ continue
+ }
+ found := false
+ for _, w := range wants {
+ found = found || (strings.HasPrefix(w.kind, "owner-") && w.count() > 0 && s == ownerSubject(w.kind, p.Domain))
+ }
+ if !found {
+ sim.fail(i, "owner email %q not due (ended %s)", s, p.State)
+ }
+ }
+ if owed := outstandingNotices(p.Facts); len(owed) > 0 {
+ sim.fail(i, "still owed after recovery: %v", owed)
+ }
+}
+
+func ownerSubject(kind, domain string) string {
+ switch kind {
+ case noticeOwnerDone:
+ return fmt.Sprintf(transferOwnerCopy.DoneSubject, domain)
+ case noticeOwnerUnpaid:
+ return fmt.Sprintf(transferOwnerCopy.UnpaidSubject, domain)
+ }
+ return fmt.Sprintf(transferOwnerCopy.FailedSubject, domain)
+}
+
func maxTime(a, b time.Time) time.Time {
if b.After(a) {
return b
diff --git a/internal/console/domaintransfer_facts.go b/internal/console/domaintransfer_facts.go
index 9b117a559..06dcd0005 100644
--- a/internal/console/domaintransfer_facts.go
+++ b/internal/console/domaintransfer_facts.go
@@ -98,13 +98,31 @@ type transferFacts struct {
RefundReason string `json:",omitempty"`
RefundFailedAt time.Time `json:",omitzero"`
RefundRefusals int `json:",omitempty"`
- Resolution string `json:",omitempty"` // operator: "", "failed", "completed"
+ Resolution string `json:",omitempty"` // operator: "", "failed", "completed", "refunded_outside"
CaptureAttempted bool `json:",omitempty"`
CheckoutExpires time.Time `json:",omitzero"`
- Alerts map[string]time.Time `json:",omitempty"` // alert kind -> last delivered
- Now time.Time `json:"-"`
- SubmittedAt time.Time `json:",omitzero"`
- CaptureBefore time.Time `json:",omitzero"`
+ Alerts map[string]time.Time `json:",omitempty"` // alert or notice kind -> last delivered
+ // Owed is the notices (operator alerts and owner emails) a transition
+ // made due, kind -> when, recorded in the same move as the transition
+ // and never cleared: one is outstanding until Alerts holds its delivery.
+ Owed map[string]time.Time `json:",omitempty"`
+ // CaptureFailures counts capture sends that failed in a row (capped at
+ // transferCaptureFailingAfter); CaptureError is the last one's kind.
+ // They never decide the payment: its read does.
+ CaptureFailures int `json:",omitempty"`
+ CaptureError string `json:",omitempty"`
+ // UnknownSince is when the registrar outcome last became rUnknown (zero
+ // while it is not); ReadFailures counts status reads failing in a row.
+ UnknownSince time.Time `json:",omitzero"`
+ ReadFailures int `json:",omitempty"`
+ // RefundMismatch: the current refund succeeded but is not the full
+ // capture. PaymentMismatch: before submit, an authorisation whose amount,
+ // currency or PaymentIntent is not this purchase's.
+ RefundMismatch bool `json:",omitempty"`
+ PaymentMismatch bool `json:",omitempty"`
+ Now time.Time `json:"-"`
+ SubmittedAt time.Time `json:",omitzero"`
+ CaptureBefore time.Time `json:",omitzero"`
}
func (o registrarOutcome) String() string { return outcomeName(registrarOutcomeNames, int(o)) }
diff --git a/internal/console/domaintransfer_notices.go b/internal/console/domaintransfer_notices.go
new file mode 100644
index 000000000..d9d6049cb
--- /dev/null
+++ b/internal/console/domaintransfer_notices.go
@@ -0,0 +1,118 @@
+package console
+
+import (
+ "context"
+ "database/sql"
+ "errors"
+ "fmt"
+ "log"
+ "maps"
+ "slices"
+ "strings"
+ "time"
+)
+
+// Delivery of a transfer's operator alerts and owner emails, apart from
+// settlement. A notice a transition makes due is owed in the facts the
+// transition's own move records (owedNotices); a scheduled alert is due
+// from the facts (dueTransferAlerts). Delivery sends each and records it in
+// Facts.Alerts in a CAS move of its own; a failure records nothing, so the
+// notice stays due. It runs after every pass's action on a live purchase,
+// and from transferNoticesPass for an ended purchase that still owes one.
+// Settlement never waits on it, and it never changes settlement.
+//
+// At least once: a crash between a delivery and its record sends it again.
+
+// deliverTransferNotices sends p's outstanding owed notices, then, while p
+// is live, the scheduled alerts due.
+func (s *Server) deliverTransferNotices(ctx context.Context, acct *Account, p *DomainPurchase, scheduled []string) error {
+ kinds := outstandingNotices(p.Facts)
+ if purchaseLive(p.State) {
+ for _, kind := range scheduled {
+ if !slices.Contains(kinds, kind) {
+ kinds = append(kinds, kind)
+ }
+ }
+ }
+ var errs []error
+ for _, kind := range kinds {
+ if err := s.sendTransferNotice(ctx, acct, p, kind); err != nil {
+ log.Printf("console: transfer %s: notice %s: %v", p.ID, kind, err)
+ jobFailed(ctx, err)
+ errs = append(errs, err)
+ continue
+ }
+ if err := transferStep("notice:delivered:" + kind); err != nil {
+ return errors.Join(append(errs, err)...)
+ }
+ at := s.transferNow()
+ if err := s.movePurchase(ctx, p, p.State, func(q *DomainPurchase) {
+ q.Facts.Alerts = maps.Clone(q.Facts.Alerts)
+ if q.Facts.Alerts == nil {
+ q.Facts.Alerts = map[string]time.Time{}
+ }
+ q.Facts.Alerts[kind] = at
+ }); err != nil {
+ return errors.Join(append(errs, err)...)
+ }
+ }
+ return errors.Join(errs...)
+}
+
+// sendTransferNotice delivers one notice: an owner email for the owner
+// kinds, else an operator alert.
+func (s *Server) sendTransferNotice(ctx context.Context, acct *Account, p *DomainPurchase, kind string) error {
+ if subject, body, ok := transferOwnerNotice(p, kind); ok {
+ return s.ownerNoticeErr(ctx, acct, p.ID, subject, body)
+ }
+ log.Printf("console: domain transfer: account=%s domain=%s purchase=%s alert=%s", acct.Sqid, p.Domain, p.ID, kind)
+ body := fmt.Sprintf(domainPurchaseCopy.OperatorBody, p.Domain, p.ID, acct.Sqid, transferAlertReason(kind))
+ return s.alertOperator(ctx, domainPurchaseCopy.OperatorSubject, body)
+}
+
+// transferOwnerNotice is the owner email for an owner notice kind, from
+// the purchase as it ended.
+func transferOwnerNotice(p *DomainPurchase, kind string) (subject, body string, ok bool) {
+ switch kind {
+ case noticeOwnerDone:
+ return fmt.Sprintf(transferOwnerCopy.DoneSubject, p.Domain), transferOwnerCopy.DoneBody, true
+ case noticeOwnerUnpaid:
+ return fmt.Sprintf(transferOwnerCopy.UnpaidSubject, p.Domain), transferOwnerCopy.UnpaidBody, true
+ case noticeOwnerFailed:
+ money := transferOwnerCopy.FailedNothingTaken
+ if p.Facts.Payment == pCaptured {
+ money = transferOwnerCopy.FailedRefunded
+ }
+ return fmt.Sprintf(transferOwnerCopy.FailedSubject, p.Domain), transferFailureWords(p.Facts.RegistrarReason) + " " + money, true
+ }
+ return "", "", strings.HasPrefix(kind, "owner-")
+}
+
+// transferNoticesPass delivers what ended transfers still owe. Run by the
+// purchase pass after the live purchases.
+func (s *Server) transferNoticesPass(ctx context.Context) error {
+ owing, err := s.store.TransfersOwingNotices(ctx)
+ if err != nil {
+ return err
+ }
+ var errs []error
+ for i := range owing {
+ if ctx.Err() != nil {
+ return ctx.Err()
+ }
+ p := &owing[i]
+ acct, err := s.store.AccountByID(p.AccountID)
+ if err == nil && acct == nil {
+ err = sql.ErrNoRows
+ }
+ if err == nil {
+ err = s.purchaseMutation(ctx, p, func(ctx context.Context) error { return s.deliverTransferNotices(ctx, acct, p, nil) })
+ }
+ if err != nil && !errors.Is(err, ErrPurchaseStateMoved) {
+ log.Printf("console: transfer %s: notices: %v", p.ID, err)
+ jobFailed(ctx, err)
+ errs = append(errs, fmt.Errorf("transfer %s: %w", p.ID, err))
+ }
+ }
+ return errors.Join(errs...)
+}
diff --git a/internal/console/domaintransfer_resolve.go b/internal/console/domaintransfer_resolve.go
index d0f82db89..da441c231 100644
--- a/internal/console/domaintransfer_resolve.go
+++ b/internal/console/domaintransfer_resolve.go
@@ -22,8 +22,9 @@ import (
// transferResolveCopy is the door's operator-facing answers (drafts).
var transferResolveCopy = map[string]string{
- "outcome": `outcome must be "failed" or "completed"`,
+ "outcome": `outcome must be "failed", "completed" or "refunded_outside"`,
"notUnknown": "only a live transfer whose outcome is unknown can be resolved",
+ "notRefused": "only a failed transfer whose refund the payment provider has refused at least three times can be resolved as refunded_outside",
"notOurs": "the registrar does not show this domain in our account, so it cannot be resolved as completed",
"registrar": "could not read the domain at the registrar; try again",
"busy": "could not record the resolution; try again",
@@ -51,7 +52,7 @@ func (s *Server) handleAPITransferResolve(w http.ResponseWriter, r *http.Request
if !readJSONStrictLimit(w, r, &in, 8<<10) {
return
}
- if in.Outcome != transferResolvedFailed && in.Outcome != transferResolvedCompleted {
+ if in.Outcome != transferResolvedFailed && in.Outcome != transferResolvedCompleted && in.Outcome != transferResolvedRefundedOutside {
jsonError(w, http.StatusUnprocessableEntity, transferResolveCopy["outcome"])
return
}
@@ -60,7 +61,7 @@ func (s *Server) handleAPITransferResolve(w http.ResponseWriter, r *http.Request
}
ctx, cancel := context.WithTimeout(r.Context(), 20*time.Second)
defer cancel()
- p, status, msg := s.resolveTransfer(ctx, r.PathValue("id"), in.Outcome, addr)
+ p, status, msg := s.resolveTransfer(ctx, r.PathValue("id"), in.Outcome, addr, in.Note)
if status != http.StatusOK {
if status == http.StatusNotFound {
http.NotFound(w, r)
@@ -74,10 +75,13 @@ func (s *Server) handleAPITransferResolve(w http.ResponseWriter, r *http.Request
writeJSON(w, http.StatusOK, map[string]string{"id": p.ID, "domain": p.Domain, "state": string(p.State), "resolution": in.Outcome})
}
-// resolveTransfer records outcome as the operator's resolution of an
-// unknown transfer. The answer is an HTTP status and, when not 200, its
-// message.
-func (s *Server) resolveTransfer(ctx context.Context, id, outcome, by string) (*DomainPurchase, int, string) {
+// resolveTransfer records outcome, with the operator and their note, as
+// the operator's resolution: "failed" or "completed" of an unknown
+// transfer; "refunded_outside" of a failed transfer whose capture the
+// provider has refused to refund refundRefusedOutsideAfter times, once the
+// operator has refunded it another way. The answer is an HTTP status and,
+// when not 200, its message.
+func (s *Server) resolveTransfer(ctx context.Context, id, outcome, by, note string) (*DomainPurchase, int, string) {
p, err := s.store.DomainPurchase(id)
if err != nil {
return nil, http.StatusServiceUnavailable, transferResolveCopy["busy"]
@@ -85,8 +89,8 @@ func (s *Server) resolveTransfer(ctx context.Context, id, outcome, by string) (*
if p == nil || purchaseKindOf(p) != PurchaseKindTransfer {
return nil, http.StatusNotFound, ""
}
- if !transferResolvable(p) {
- return nil, http.StatusConflict, transferResolveCopy["notUnknown"]
+ if !transferResolvable(p, outcome) {
+ return nil, http.StatusConflict, transferResolveRefusal(outcome)
}
var completed *registrar.Registered
if outcome == transferResolvedCompleted {
@@ -101,11 +105,11 @@ func (s *Server) resolveTransfer(ctx context.Context, id, outcome, by string) (*
completed = &r
}
err = s.purchaseMutation(ctx, p, func(ctx context.Context) error {
- if !transferResolvable(p) {
+ if !transferResolvable(p, outcome) {
return errTransferNotUnknown
}
return s.movePurchase(ctx, p, p.State, func(q *DomainPurchase) {
- q.Facts.Resolution, q.ResolvedBy = outcome, by
+ q.Facts.Resolution, q.ResolvedBy, q.ResolutionNote = outcome, by, note
if completed != nil {
c := *completed
q.Facts.Completed = &c
@@ -114,7 +118,7 @@ func (s *Server) resolveTransfer(ctx context.Context, id, outcome, by string) (*
})
switch {
case errors.Is(err, errTransferNotUnknown), errors.Is(err, ErrPurchaseStateMoved):
- return nil, http.StatusConflict, transferResolveCopy["notUnknown"]
+ return nil, http.StatusConflict, transferResolveRefusal(outcome)
case err != nil:
log.Printf("console: transfer %s: resolve: %v", p.ID, err)
return nil, http.StatusServiceUnavailable, transferResolveCopy["busy"]
@@ -162,6 +166,21 @@ func (s *Server) activeTransferRecord(ctx context.Context, p *DomainPurchase) (r
return r, true, nil
}
-func transferResolvable(p *DomainPurchase) bool {
- return purchaseLive(p.State) && p.Facts.Registrar == rUnknown && p.Facts.Resolution == ""
+// transferResolvable says whether p may take the operator's outcome now.
+func transferResolvable(p *DomainPurchase, outcome string) bool {
+ if !purchaseLive(p.State) || p.Facts.Resolution != "" {
+ return false
+ }
+ if outcome == transferResolvedRefundedOutside {
+ f := p.Facts
+ return f.Registrar == rFailed && f.Payment == pCaptured && f.RefundReason == refundRefused && f.RefundRefusals >= refundRefusedOutsideAfter
+ }
+ return p.Facts.Registrar == rUnknown
+}
+
+func transferResolveRefusal(outcome string) string {
+ if outcome == transferResolvedRefundedOutside {
+ return transferResolveCopy["notRefused"]
+ }
+ return transferResolveCopy["notUnknown"]
}
diff --git a/internal/console/domaintransfer_test.go b/internal/console/domaintransfer_test.go
index 04fdcc245..86daaecd1 100644
--- a/internal/console/domaintransfer_test.go
+++ b/internal/console/domaintransfer_test.go
@@ -17,6 +17,7 @@ import (
"time"
"github.com/carlosframework/platform/internal/billing"
+ "github.com/carlosframework/platform/internal/billing/billingtest"
"github.com/carlosframework/platform/internal/domainreg"
"github.com/carlosframework/platform/internal/domains"
"github.com/carlosframework/platform/internal/registrar"
@@ -1146,3 +1147,338 @@ func TestTransferOperatorCompletedWithOldFailedRecordPresent(t *testing.T) {
t.Fatalf("completed with no active record: %d %s", status, b)
}
}
+
+// mails counts the owner emails holding body.
+func (tf *transferFixture) mails(body string) int {
+ mail := tf.srv.consoleMail.(*fakeConsoleMail)
+ n := 0
+ for _, m := range mail.sentCopy() {
+ if strings.Contains(m, body) {
+ n++
+ }
+ }
+ return n
+}
+
+func (tf *transferFixture) mailFails(err error) {
+ mail := tf.srv.consoleMail.(*fakeConsoleMail)
+ mail.mu.Lock()
+ mail.err = err
+ mail.mu.Unlock()
+}
+
+// unpaid drives a transfer to accepted with its hold lapsed before any
+// capture landed, then completes it at the registrar.
+func (tf *transferFixture) completeUnpaid(t *testing.T) *DomainPurchase {
+ t.Helper()
+ tf.fake.LapseAuthorisations, tf.fake.CaptureWindow = true, 2*time.Hour
+ p := tf.start(t)
+ tf.authorise(t, p)
+ tf.fake.BeforeSend = func(pr billing.Prepared) error {
+ if pr.Kind == billing.PreparedCapture {
+ return fmt.Errorf("%w: capture lost", billing.ErrNoResponse)
+ }
+ return nil
+ }
+ p = tf.pass(t, p.ID) // submit
+ p = tf.pass(t, p.ID) // pending: capture, lost
+ tf.tick(3 * time.Hour)
+ tf.reg.Advance("shop.com", registrar.TransferStatus{State: registrar.TransferCompleted, Registered: registrar.Registered{Domain: "shop.com", RegistrarID: "reg-shop", Expires: tf.now.AddDate(1, 0, 0).Truncate(time.Second)}})
+ return p
+}
+
+// TestTransferUnpaidTurnsRenewalOffAlertsAndTellsOwner: a transfer that
+// completes with nothing captured ends unpaid: its registration is recorded
+// with renewal off, the operator is paged and the owner emailed. Both are
+// owed in the terminal move itself, so a failed delivery, or a crash right
+// after the move, leaves them to a later pass, which delivers each once.
+func TestTransferUnpaidTurnsRenewalOffAlertsAndTellsOwner(t *testing.T) {
+ for _, mode := range []string{"delivered at once", "page and email fail first", "crash after the terminal move"} {
+ t.Run(mode, func(t *testing.T) {
+ tf := newTransferFixture(t)
+ p := tf.completeUnpaid(t)
+ switch mode {
+ case "page and email fail first":
+ tf.pageErr = errors.New("sns down")
+ tf.mailFails(errors.New("mail down"))
+ case "crash after the terminal move":
+ transferStepHook = func(step string) error {
+ if step == "complete:moved" {
+ transferStepHook = nil
+ return errors.New("crash")
+ }
+ return nil
+ }
+ t.Cleanup(func() { transferStepHook = nil })
+ }
+ for i := 0; i < 3 && purchaseLive(p.State); i++ {
+ tf.tick(transferStatusEvery)
+ p = tf.pass(t, p.ID)
+ }
+ if p.State != PurchaseUnpaid || tf.intentStatus(t, p) == "succeeded" {
+ t.Fatalf("not unpaid: %+v", p)
+ }
+ r, _ := tf.st.DomainRegistrationFor(context.Background(), tf.acct.ID, "shop.com")
+ if r == nil || r.AutoRenew || r.ZoneID != "" {
+ t.Fatalf("registration: %+v", r)
+ }
+ if mode != "delivered at once" {
+ if tf.alerts(alertUnpaid) != 0 {
+ t.Fatalf("delivered despite the failure: %v", tf.pages)
+ }
+ tf.restart(t)
+ tf.pageErr = nil
+ tf.mailFails(nil)
+ // Ended: only the purchase pass's notice step reaches it.
+ if err := tf.srv.domainPurchasePass(context.Background()); err != nil {
+ t.Log(err)
+ }
+ }
+ if tf.alerts(alertUnpaid) != 1 || tf.mails(transferOwnerCopy.UnpaidBody) != 1 {
+ t.Fatalf("unpaid page %d, owner email %d: %v", tf.alerts(alertUnpaid), tf.mails(transferOwnerCopy.UnpaidBody), tf.pages)
+ }
+ if err := tf.srv.domainPurchasePass(context.Background()); err != nil {
+ t.Log(err)
+ }
+ end := tf.read(t, p.ID)
+ if tf.alerts(alertUnpaid) != 1 || tf.mails(transferOwnerCopy.UnpaidBody) != 1 || len(outstandingNotices(end.Facts)) != 0 {
+ t.Fatalf("sent again, or still owed: %+v", end.Facts)
+ }
+ if owing, _ := tf.st.TransfersOwingNotices(context.Background()); len(owing) != 0 {
+ t.Fatalf("still listed as owing: %d", len(owing))
+ }
+ })
+ }
+}
+
+// TestTransferNoticesSurviveTheTerminalMove: the done owner email and the
+// failed one are owed by the terminal move; undelivered, they go out from
+// the ended purchase later, once each.
+func TestTransferNoticesSurviveTheTerminalMove(t *testing.T) {
+ tf := newTransferFixture(t)
+ p := tf.submitted(t)
+ p = tf.pass(t, p.ID) // capture
+ tf.reg.Advance("shop.com", registrar.TransferStatus{State: registrar.TransferCompleted, Registered: registrar.Registered{Domain: "shop.com", RegistrarID: "reg-shop", Expires: tf.now.AddDate(1, 0, 0).Truncate(time.Second)}})
+ tf.tick(transferStatusEvery)
+ tf.mailFails(errors.New("mail down"))
+ for i := 0; i < 3 && purchaseLive(p.State); i++ {
+ p = tf.pass(t, p.ID)
+ }
+ if p.State != PurchaseDone || tf.mails(transferOwnerCopy.DoneBody) != 0 || p.Facts.Owed[noticeOwnerDone].IsZero() {
+ t.Fatalf("done: %+v", p.Facts)
+ }
+ tf.mailFails(nil)
+ for i := 0; i < 2; i++ {
+ if err := tf.srv.domainPurchasePass(context.Background()); err != nil {
+ t.Log(err)
+ }
+ }
+ if tf.mails(transferOwnerCopy.DoneBody) != 1 {
+ t.Fatalf("done email sent %d times", tf.mails(transferOwnerCopy.DoneBody))
+ }
+
+ // Failed after submit, refunded: the owner hears it was refunded.
+ tf2 := newTransferFixture(t)
+ p2 := tf2.failAfterCapture(t, "rejected")
+ for i := 0; i < 4 && purchaseLive(p2.State); i++ {
+ p2 = tf2.pass(t, p2.ID)
+ }
+ if p2.State != PurchaseFailed || tf2.mails(transferOwnerCopy.FailedRefunded) != 1 {
+ t.Fatalf("failed: %+v, emails %d", p2, tf2.mails(transferOwnerCopy.FailedRefunded))
+ }
+}
+
+// TestTransferCaptureFailuresAlertWhileRetrying: an accepted transfer whose
+// capture send keeps failing (the hold still in place) is retried every
+// pass, and the alerts flow meanwhile: capture-failing after the third
+// failure in a row, then daily; the lapse alert a day before the hold
+// lapses, whatever the registrar says. A stuck capture writes nothing new
+// each pass once counted.
+func TestTransferCaptureFailuresAlertWhileRetrying(t *testing.T) {
+ tf := newTransferFixture(t)
+ tf.fake.CaptureWindow = 4 * 24 * time.Hour
+ tf.fake.BeforeSend = func(pr billing.Prepared) error {
+ if pr.Kind == billing.PreparedCapture {
+ return fmt.Errorf("%w: 500", billing.ErrIndeterminate)
+ }
+ return nil
+ }
+ p := tf.submitted(t)
+ for i := 0; i < 3; i++ {
+ p = tf.pass(t, p.ID)
+ }
+ if p.Facts.CaptureFailures != transferCaptureFailingAfter || p.Facts.CaptureError != "indeterminate" || p.Facts.Payment != pAuthorised {
+ t.Fatalf("failures not counted apart from the payment: %+v", p.Facts)
+ }
+ if tf.alerts(alertCaptureFailing) != 1 {
+ t.Fatalf("capture-failing alerts = %d after the third failure", tf.alerts(alertCaptureFailing))
+ }
+ rev := p.Revision
+ for i := 0; i < 5; i++ {
+ tf.tick(time.Minute)
+ p = tf.pass(t, p.ID)
+ }
+ if p.Revision != rev {
+ t.Fatalf("a stuck capture wrote each pass: revision %d -> %d", rev, p.Revision)
+ }
+ captures := tf.sent(billing.PreparedCapture)
+ for i := 0; i < 4*24*2 && purchaseLive(p.State) && p.Facts.Payment == pAuthorised; i++ {
+ tf.tick(30 * time.Minute)
+ p = tf.pass(t, p.ID)
+ }
+ if tf.sent(billing.PreparedCapture) <= captures {
+ t.Fatal("the capture was not retried")
+ }
+ if tf.alerts(alertLapse) != 1 || tf.alerts(alertCaptureFailing) < 3 || tf.alerts(alertCaptureFailing) > 5 {
+ t.Fatalf("lapse %d, capture-failing %d over four days", tf.alerts(alertLapse), tf.alerts(alertCaptureFailing))
+ }
+}
+
+// TestTransferUnknownCountsFromWhenItBecameUnknown: a pending transfer days
+// old survives one failed read; the second in a row makes it unknown, and
+// the day-after alert counts from then, not from the submit.
+func TestTransferUnknownCountsFromWhenItBecameUnknown(t *testing.T) {
+ tf := newTransferFixture(t)
+ p := tf.submitted(t)
+ p = tf.pass(t, p.ID) // pending
+ tf.tick(3 * 24 * time.Hour)
+ failing := &failingStatus{Registrar: tf.reg}
+ tf.srv.cfg.Registrar = failing
+ failing.fail = 1
+ p = tf.pass(t, p.ID)
+ if p.Facts.Registrar != rPending || p.Facts.ReadFailures != 1 {
+ t.Fatalf("one failed read: %+v", p.Facts)
+ }
+ tf.tick(transferStatusEvery)
+ failing.fail = 2
+ p = tf.pass(t, p.ID)
+ became := tf.now
+ if p.Facts.Registrar != rUnknown || !p.Facts.UnknownSince.Equal(became) || tf.alerts(alertUnknown24h) != 0 {
+ t.Fatalf("second failed read: %+v, alerts %v", p.Facts, tf.pages)
+ }
+ failing.fail = 1 << 20 // the outage goes on
+ for tf.now.Before(became.Add(23 * time.Hour)) {
+ tf.tick(time.Hour)
+ p = tf.pass(t, p.ID)
+ }
+ if tf.alerts(alertUnknown24h) != 0 {
+ t.Fatal("alerted within a day of becoming unknown")
+ }
+ tf.tick(2 * time.Hour)
+ p = tf.pass(t, p.ID)
+ if tf.alerts(alertUnknown24h) != 1 {
+ t.Fatalf("no alert a day after becoming unknown: %v", tf.pages)
+ }
+ // It reads pending again: no longer unknown.
+ failing.fail = 0
+ tf.tick(transferStatusSlowEvery)
+ p = tf.pass(t, p.ID)
+ if p.Facts.Registrar != rPending || !p.Facts.UnknownSince.IsZero() || p.Facts.ReadFailures != 0 {
+ t.Fatalf("read again: %+v", p.Facts)
+ }
+}
+
+// failingStatus fails the next fail status reads.
+type failingStatus struct {
+ registrar.Registrar
+ fail int
+}
+
+func (f *failingStatus) TransferStatus(ctx context.Context, domain, ref string) (registrar.TransferStatus, error) {
+ if f.fail > 0 {
+ f.fail--
+ return registrar.TransferStatus{}, fmt.Errorf("%w: read failed", registrar.ErrIndeterminate)
+ }
+ return f.Registrar.TransferStatus(ctx, domain, ref)
+}
+
+func (f *failingStatus) TransferRecords(ctx context.Context, domain string) ([]registrar.TransferStatus, error) {
+ if f.fail > 0 {
+ f.fail--
+ return nil, fmt.Errorf("%w: read failed", registrar.ErrIndeterminate)
+ }
+ return f.Registrar.TransferRecords(ctx, domain)
+}
+
+// shortRefunds answers every refund read 100 short of what was refunded.
+type shortRefunds struct{ *billingtest.Fake }
+
+func (s shortRefunds) Refund(ctx context.Context, id string) (billing.RefundInfo, error) {
+ r, err := s.Fake.Refund(ctx, id)
+ r.Amount -= 100
+ return r, err
+}
+
+// TestTransferNoSilentLiveForever: the three paths that used to stay live
+// with no signal now alert, and the always-refused refund has a door.
+func TestTransferNoSilentLiveForever(t *testing.T) {
+ t.Run("refund short of the capture alerts, then daily", func(t *testing.T) {
+ tf := newTransferFixture(t)
+ p := tf.failAfterCapture(t, "rejected")
+ tf.srv.cfg.Billing.Provider = shortRefunds{tf.fake}
+ for i := 0; i < 2; i++ {
+ p = tf.pass(t, p.ID)
+ }
+ if !purchaseLive(p.State) || !p.Facts.RefundMismatch || tf.alerts(alertRefundMismatch) != 1 {
+ t.Fatalf("short refund: %+v, alerts %d", p.Facts, tf.alerts(alertRefundMismatch))
+ }
+ for i := 0; i < 50; i++ {
+ tf.tick(time.Hour)
+ p = tf.pass(t, p.ID)
+ }
+ if got := tf.alerts(alertRefundMismatch); got != 3 || !purchaseLive(p.State) {
+ t.Fatalf("over 50 h: %d alerts, state %s", got, p.State)
+ }
+ })
+ t.Run("a payment not this purchase's alerts once", func(t *testing.T) {
+ tf := newTransferFixture(t)
+ p := tf.start(t)
+ if err := tf.st.AdvanceDomainPurchase(p.ID, p.State, p.State, func(q *DomainPurchase) { q.Amount++ }); err != nil {
+ t.Fatal(err)
+ }
+ tf.authorise(t, p)
+ for i := 0; i < 3; i++ {
+ p = tf.pass(t, p.ID)
+ }
+ if p.Facts.Registrar != rNotSent || !p.Facts.PaymentMismatch || tf.alerts(alertPaymentWrong) != 1 || purchaseCalls(tf.reg.Calls, "request-transfer:") != 0 {
+ t.Fatalf("mismatched payment: %+v, alerts %d", p.Facts, tf.alerts(alertPaymentWrong))
+ }
+ })
+ t.Run("a refund always refused: refunded_outside after the third refusal", func(t *testing.T) {
+ tf := newTransferFixture(t)
+ tf.srv.cfg.StoreOperators = []string{"operator@example.com"}
+ p := tf.failAfterCapture(t, "rejected")
+ tf.fake.BeforeSend = func(pr billing.Prepared) error {
+ if pr.Kind == billing.PreparedRefund {
+ return fmt.Errorf("%w: charge disputed", billing.ErrRefused)
+ }
+ return nil
+ }
+ listed := cliToken(t, tf.consoleFixture, "operator@example.com", "resolve-listed")
+ path := "/api/cli/system/domains/purchases/" + p.ID + "/resolve"
+ body := `{"outcome":"refunded_outside","note":"refunded by bank transfer"}`
+ p = tf.pass(t, p.ID)
+ if status, b := buyRequest(t, tf.purchaseFixture, "POST", path, listed, body); status != http.StatusConflict {
+ t.Fatalf("after one refusal: %d %s", status, b)
+ }
+ for p.Facts.RefundRefusals < refundRefusedOutsideAfter {
+ tf.tick(time.Hour)
+ p = tf.pass(t, p.ID)
+ }
+ if status, b := buyRequest(t, tf.purchaseFixture, "POST", path, listed, body); status != http.StatusOK {
+ t.Fatalf("after three refusals: %d %s", status, b)
+ }
+ got := tf.read(t, p.ID)
+ if got.Facts.Resolution != transferResolvedRefundedOutside || got.ResolvedBy != "operator@example.com" || got.ResolutionNote != "refunded by bank transfer" {
+ t.Fatalf("resolution: %+v", got)
+ }
+ events, _ := tf.st.Events(OpsAccountID, "platform", 1)
+ if len(events) != 1 || !strings.Contains(events[0].Detail, "refunded_outside") {
+ t.Fatalf("audit: %+v", events)
+ }
+ got = tf.pass(t, p.ID)
+ if got.State != PurchaseFailed || tf.mails(transferOwnerCopy.FailedRefunded) != 1 {
+ t.Fatalf("end: %+v", got)
+ }
+ })
+}
diff --git a/internal/console/jobs_test.go b/internal/console/jobs_test.go
index 6d0fe2374..a396a733c 100644
--- a/internal/console/jobs_test.go
+++ b/internal/console/jobs_test.go
@@ -52,7 +52,8 @@ var jobPassFuncs = map[string][]string{
"convergeStoreDeny", "dropStaleLapseItem", "resumeStaleCapPause"},
"StartDomainPurchasePass": {"domainPurchasePass", "advancePurchase", "advancePurchaseStep", "advancePurchaseEffects", "reconcileRegisteringPurchase", "purchaseMutation", "purchaseCheckout", "purchaseCheckoutStep", "registerPurchase", "registeredPurchase", "failPurchase", "purchaseAlert", "purchaseOwnerNotice", "purchaseManagedSet", "capturedPurchase", "finishPurchaseUnpointed",
"advanceTransferStep", "gatherTransfer", "gatherTransferRegistrar", "gatherTransferPayment", "gatherTransferRefund", "adoptTransferCheckout",
- "actTransfer", "alertTransfer", "submitTransfer", "refundTransfer", "completeTransfer", "ownerNotice", "recordPurchaseRegistration"},
+ "readTransferStatus", "actTransfer", "captureTransfer", "submitTransfer", "refundTransfer", "completeTransfer", "ownerNotice", "ownerNoticeErr",
+ "recordPurchaseRegistration", "deliverTransferNotices", "sendTransferNotice", "transferNoticesPass"},
"StartBillingSyncPass": {"billingSyncPass", "billingDiscoveryPass", "discoverCustomer", "transitionAccountPlan", "billingMoneyPass", "reconcilePayments", "recordCharge", "recordChargeMovements", "billingRatesPass", "billingSnapshotPass"},
"PublishPlansMarker": {"publishPlansMarkerOnce"},
"StartRunSweep": {"runSweepPass", "sweepExpireQueued", "sweepLostRun", "sweepTerminalRun", "sweepOrphanRuns",