carlos / platform Public

Stateless join on a fresh box shows Failed for minutes while root stages Issue open

Claimed by claude~paul@keymail.dev 2 weeks ago

Seen: a self-hosted staging deployment, 2026-11-14 ~18:00Z, v0.35.4, rootfs app with copies 1 -> 2 on a two-box fleet. The new copy on box-2, which had never run this build, showed Failed for about 3 minutes, then came up healthy on its own. There were 0 request errors throughout, because the survivor served.

The box-2 log lines and where they come from (code on main):

  • needs a root pass for <host> ... asked for one (internal/host/agent.go:2552): the unprivileged agent can't stage or install a rootfs build. It writes the root-stage marker and waits for the root pass.
  • no build is installed for this instance yet (internal/rollout/wakeplan.go:75/284-316): every wake of the new copy is refused until root has installed the build.
  • release attempt ... abandoned: this copy holds the permit with nothing running (internal/activator/replicadeploy.go:507/545): the join took the swap permit (R18) before the build existed on the box, and the step timed out on its bound.
  • repoint failed ... read-only file system (internal/release/adopt.go:1878): the agent's repoint of /opt/carlos/previous is a root-only path. This is noise in this case.
  • the config-ack 404 is #966.

Diagnosis (from code; box timings not yet captured): a joining copy on a box without the build waits on the root stage (the image download plus install). While it waits, the copies view shows the refused wakes as Failed, and the join holds the permit until its bound abandons it. Then it retries and succeeds. So nothing is broken, but the join is slow and its status reads as a failure.

Proposed:

  1. Show a joining copy that is waiting for the root stage as "installing", not Failed.
  2. Don't take or hold the join permit until the build is installed on that box, or size the bound to include staging.
  3. Have the root pass pick up a join's stage request promptly; measure first.
  4. Keep the adopt repoint attempt out of the unprivileged agent's log on rootfs boxes.

Next step: ask the operator for the box-2 journal from 18:00 to 18:04Z with timestamps, to time the root pass against the bound. Follow-up for #511.

From carlos-infrastructure-e7 (Tito): here is box-2's journal (i-055451136112beb51, fleet classic) for the stateless join of tito-id, 17:56:00–18:04:30Z. copies 2 was set at 17:56:28Z, and the copy was Running and Healthy at 17:59:23Z, so the Failed window is before 18:00. I've included it plus 18:00–18:04.

Filtered for tito-id, the root pass, rootfs, permit, repoint, replica and install. Repeated lines are collapsed to the first occurrence; anything matching secret or token is dropped.

2026-11-14T17:56:45+00:00 systemd[1]: Starting carlos-instance-rootfs-probe.service - carlos rootfs isolation probe...
2026-11-14T17:56:45+00:00 systemd[1]: carlos-instance-rootfs-probe.service: Supervising process 1534157 which is not our child. We'll most likely not notice when it exits.
2026-11-14T17:56:51+00:00 systemd[1]: carlos-instance-rootfs-probe.service: Deactivated successfully.
2026-11-14T17:56:51+00:00 systemd[1]: Finished carlos-instance-rootfs-probe.service - carlos rootfs isolation probe.
2026-11-14T17:56:51+00:00 carlos[1530276]: 2026/11/14 17:56:51 instance-control: rootfs probe: imds-v6 unverified no route to the address; deny not exercised
2026-11-14T17:56:51+00:00 carlos[1530276]: 2026/11/14 17:56:51 instance-control: rootfs probe: private-v6 unverified no route to fd00::1, fec0::1, 64:ff9b::a00:1; deny not exercised
2026-11-14T17:56:51+00:00 carlos[1530276]: 2026/11/14 17:56:51 instance-control: rootfs probe: box-addr-edge unverified same-box calls are off on this box
2026-11-14T17:56:51+00:00 carlos[1530276]: 2026/11/14 17:56:51 instance-control: rootfs probe: io-weight unverified weights are set, but no disk here has io.cost or BFQ to enforce them
2026-11-14T17:58:15+00:00 carlos[1530412]: 2026/11/14 17:58:15 provision: minted instance route tito-id.bae.staging.platform.tito.io (app "tito-id" acct "bae")
2026-11-14T17:58:17+00:00 carlos[1530412]: 2026/11/14 17:58:17 activator: tito-id.bae.staging.platform.tito.io: always-on rootfs instance is not running; starting it
2026-11-14T17:58:17+00:00 carlos[1530412]:   tito-id.bae.staging.platform.tito.io: repoint failed: symlink /opt/carlos/versions/b071457b/bae/tito-id /opt/carlos/previous/tito-id.bae.staging.platform.tito.io.tmp: read-only file system
2026-11-14T17:58:17+00:00 carlos[1530412]: 2026/11/14 17:58:17 agent: tito-id.bae.staging.platform.tito.io needs a root pass for b071457b-sl (a build only root can stage or install, a unit only root can restart, or an install request only root resolves); asked for one
2026-11-14T17:58:17+00:00 carlos[1530412]: 2026/11/14 17:58:17 activator: tito-id.bae.staging.platform.tito.io: wake failed: tito-id.bae.staging.platform.tito.io: refusing to wake: no build is installed for this instance yet
2026-11-14T17:58:18+00:00 carlos[1534498]:   tito-id.bae.staging.platform.tito.io: exec-backed — config delivered by the agent's in-process loop to /data/<host>.config.env, not this pass
2026-11-14T17:58:18+00:00 carlos[1530412]: 2026/11/14 17:58:18 agent: tito-id.bae.staging.platform.tito.io needs a root pass for b071457b-sl (a build only root can stage or install, a unit only root can restart, or an install request only root resolves); asked for one
2026-11-14T17:58:18+00:00 carlos[1530412]:   tito-id.bae.staging.platform.tito.io: config updated
2026-11-14T17:58:18+00:00 carlos[1530412]: 2026/11/14 17:58:18 agent: config ack tito-id.bae.staging.platform.tito.io: fleetapi: put control/config-ack/box-2/tito-id.bae.staging.platform.tito.io.json: unexpected status 404: 404 page not found
2026-11-14T17:58:18+00:00 carlos[1534498]:   tito-id.bae.staging.platform.tito.io: updated b071457b -> b071457b-sl (edge)
2026-11-14T17:58:19+00:00 carlos[1530412]: 2026/11/14 17:58:19 activator: tito-id.bae.staging.platform.tito.io: always-on rootfs instance is not running; starting it
2026-11-14T17:58:23+00:00 carlos[1530412]: 2026/11/14 17:58:23 activator: tito-id.bae.staging.platform.tito.io: always-on rootfs instance is not running; starting it
2026-11-14T17:58:28+00:00 carlos[1530412]: 2026/11/14 17:58:28 rollout: tito-id.bae.staging.platform.tito.io: release attempt onto b071457b-sl abandoned: this copy holds the permit with nothing running; the step waits for its bound before it answers
2026-11-14T17:58:29+00:00 carlos[1530412]: 2026/11/14 17:58:29 activator: tito-id.bae.staging.platform.tito.io: always-on rootfs instance is not running; starting it
2026-11-14T17:58:30+00:00 systemd[1]: Started carlos-instance-rootfs-gen@tito\x2did.bae.staging.platform.tito.io:3.service - carlos rootfs instance generation tito-id.bae.staging.platform.tito.io:3.
2026-11-14T17:58:30+00:00 carlos[1530276]: 2026/11/14 17:58:30 instance-control: tito-id.bae.staging.platform.tito.io: started carlos-instance-rootfs-gen@tito\x2did.bae.staging.platform.tito.io:3.service from b071457b-sl memory.max=1073741824 (prepared in 352ms, reload 328ms, start 70ms)
2026-11-14T17:59:09+00:00 carlos[1530412]: * Listening on unix:///run/carlos/instances/tito-id.bae.staging.platform.tito.io/g3/app.sock
2026-11-14T17:59:09+00:00 carlos[1530412]: 2026/11/14 17:59:09 activator: tito-id.bae.staging.platform.tito.io: generation 3 of b071457b-sl: record 0s, start 955ms, healthy 38.935s later
2026-11-14T17:59:09+00:00 carlos[1530412]: 2026/11/14 17:59:09 activator: tito-id.bae.staging.platform.tito.io: woke in 40.64s: identity 397ms
2026-11-14T17:59:11+00:00 systemd[1]: Started carlos-instance-rootfs-worker@tito\x2did.bae.staging.platform.tito.io:sidekiq.service - carlos rootfs worker tito-id.bae.staging.platform.tito.io:sidekiq.
2026-11-14T17:59:11+00:00 carlos[1530276]: 2026/11/14 17:59:11 instance-control: tito-id.bae.staging.platform.tito.io: started carlos-instance-rootfs-worker@tito\x2did.bae.staging.platform.tito.io:sidekiq.service from b071457b-sl memory.max=1073741824 (prepared in 373ms, reload 348ms, start 79ms)
2026-11-14T17:59:11+00:00 carlos[1530412]: 2026/11/14 17:59:11 activator: tito-id.bae.staging.platform.tito.io: started carlos-instance-rootfs-worker@tito\x2did.bae.staging.platform.tito.io:sidekiq.service (worker sidekiq of build b071457b-sl) memory.max=1073741824
2026-11-14T17:59:12+00:00 carlos[1530412]: I, [2026-11-14T17:59:12.084936 #9]  INFO -- : [62f37fe2-241b-4b75-81fc-a36df30b86a0] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=196.92 view=93.87 db=13.49 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:15+00:00 carlos[1530412]: I, [2026-11-14T17:59:15.238418 #9]  INFO -- : [e1d19b08-aeae-4f6b-97d6-c360c045d54c] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=20.49 view=17.67 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:18+00:00 carlos[1530412]: I, [2026-11-14T17:59:18.392736 #9]  INFO -- : [45c0dbb6-132d-48b0-91d7-23da7d1d89e2] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=15.42 view=9.82 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:21+00:00 carlos[1530412]: I, [2026-11-14T17:59:21.549293 #9]  INFO -- : [4154aa6c-1dc6-43cf-bff2-a28e499b3f99] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=19.04 view=15.58 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:24+00:00 carlos[1530412]: I, [2026-11-14T17:59:24.699890 #9]  INFO -- : [35681842-eec0-4ae7-a6d2-596a1b029fb9] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=17.24 view=14.45 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:27+00:00 carlos[1530412]: I, [2026-11-14T17:59:27.879966 #9]  INFO -- : [6d0916c2-949a-4122-8322-f8201f271f79] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=31.77 view=29.05 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:31+00:00 carlos[1530412]: I, [2026-11-14T17:59:31.049322 #9]  INFO -- : [893518df-81b2-42da-8175-9e2fe04bceac] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=21.65 view=16.52 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:31+00:00 carlos[1530412]: 2026/11/14 17:59:31 rollout: swap.done tito-id.bae.staging.platform.tito.io: now serving build b071457b-sl. The previous build finished its requests and stopped in 0s
2026-11-14T17:59:31+00:00 carlos[1530412]: I, [2026-11-14T17:59:31.696629 #9]  INFO -- : [a6ff5bce-717a-4eed-a8fd-97fa7fac05d4] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=28.47 view=24.59 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:31+00:00 carlos[1530412]: I, [2026-11-14T17:59:31.838412 #9]  INFO -- : [c2596b40-5306-456b-9500-dcb8c546bd13] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=20.74 view=12.01 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:31+00:00 carlos[1530412]: I, [2026-11-14T17:59:31.994546 #9]  INFO -- : [6bedf7dd-b0c8-4213-8700-8b32006edab4] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=19.36 view=5.74 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:32+00:00 carlos[1530412]: I, [2026-11-14T17:59:32.157211 #9]  INFO -- : [e35f2397-613f-4a09-ab88-9d41cd26d308] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=11.39 view=8.24 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:32+00:00 carlos[1530412]: I, [2026-11-14T17:59:32.303381 #9]  INFO -- : [64c32373-2349-40dc-8050-d8a505eb92ba] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=12.10 view=8.78 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:32+00:00 carlos[1530412]: I, [2026-11-14T17:59:32.439248 #9]  INFO -- : [54cc744b-9777-4dba-9b6a-a2fdd53acfff] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=9.69 view=6.86 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:32+00:00 carlos[1530412]: I, [2026-11-14T17:59:32.581767 #9]  INFO -- : [072a7bb7-059f-40ca-aaa7-e45ef4add0dc] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=14.37 view=11.19 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:32+00:00 carlos[1530412]: I, [2026-11-14T17:59:32.685445 #9]  INFO -- : [0f5c1934-b782-4177-9d3d-3d97bbce5458] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=16.11 view=10.66 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:32+00:00 carlos[1530412]: I, [2026-11-14T17:59:32.813600 #9]  INFO -- : [9ffec7a2-4084-4881-a322-fca2d11165e7] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=11.06 view=8.61 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:32+00:00 carlos[1530412]: I, [2026-11-14T17:59:32.951956 #9]  INFO -- : [dea3fb16-ccfe-4d35-a75b-c0d44b2a17c0] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=6.41 view=4.65 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:33+00:00 carlos[1530412]: I, [2026-11-14T17:59:33.081723 #9]  INFO -- : [b824ddd0-b598-477d-a8b5-cdef870297b1] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=11.01 view=6.82 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:33+00:00 carlos[1530412]: I, [2026-11-14T17:59:33.219114 #9]  INFO -- : [9e29c162-820a-4085-878d-353d6dcfc4a9] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=8.78 view=6.57 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:33+00:00 carlos[1530412]: I, [2026-11-14T17:59:33.374732 #9]  INFO -- : [17ac235d-deaa-4616-8e29-2cdbdfd2e5f3] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=19.60 view=13.47 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:33+00:00 carlos[1530412]: I, [2026-11-14T17:59:33.515443 #9]  INFO -- : [3838057c-3614-4eac-8888-e2baf6ef8ab9] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=13.77 view=11.59 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:33+00:00 carlos[1530412]: I, [2026-11-14T17:59:33.647483 #9]  INFO -- : [68f60b63-e874-4c5e-af37-badfcdbd2835] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=6.20 view=4.62 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:34+00:00 carlos[1530412]: I, [2026-11-14T17:59:34.227740 #9]  INFO -- : [8307440b-6a73-41e0-81b0-16266ee08f6c] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=6.54 view=4.98 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:37+00:00 carlos[1530412]: I, [2026-11-14T17:59:37.407173 #9]  INFO -- : [a47004a8-cd95-49c2-a6a5-4b89e09b5e66] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=11.43 view=9.04 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:40+00:00 carlos[1530412]: I, [2026-11-14T17:59:40.633355 #9]  INFO -- : [68b50c20-6487-4831-a358-e2682bb9e786] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=7.81 view=5.32 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:43+00:00 carlos[1530412]: I, [2026-11-14T17:59:43.788548 #9]  INFO -- : [cd793876-f3c8-4d9d-b351-3ede5479d436] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=6.33 view=4.64 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:46+00:00 carlos[1530412]: I, [2026-11-14T17:59:46.946006 #9]  INFO -- : [80995821-0856-4eea-87d1-b9e603070ca3] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=6.10 view=4.32 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:50+00:00 carlos[1530412]: I, [2026-11-14T17:59:50.105660 #9]  INFO -- : [325682a2-39ee-4a07-aab8-d55601658c74] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=24.99 view=23.05 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:53+00:00 carlos[1530412]: I, [2026-11-14T17:59:53.264895 #9]  INFO -- : [e27443b8-6093-41e5-b41d-78ef3701cb38] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=7.73 view=5.08 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:56+00:00 carlos[1530412]: I, [2026-11-14T17:59:56.474138 #9]  INFO -- : [33e23606-789e-44a9-b908-57a5e67aec37] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=62.83 view=50.32 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T17:59:59+00:00 carlos[1530412]: I, [2026-11-14T17:59:59.781906 #9]  INFO -- : [8c52e142-6849-4d6d-a42e-a08915fbbf56] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=26.76 view=22.10 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:03+00:00 carlos[1530412]: I, [2026-11-14T18:00:03.274779 #9]  INFO -- : [dabe7267-dd67-44bc-af84-dddb0a6237a1] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=8.30 view=6.47 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:06+00:00 carlos[1530412]: I, [2026-11-14T18:00:06.793741 #9]  INFO -- : [cbdc08cf-5303-4645-9804-cbc2b49fa0e2] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=7.77 view=4.75 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:09+00:00 carlos[1530412]: I, [2026-11-14T18:00:09.972667 #9]  INFO -- : [81e9ab38-736f-49b7-ad75-7ded48fd7665] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=6.06 view=4.31 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:13+00:00 carlos[1530412]: I, [2026-11-14T18:00:13.110910 #9]  INFO -- : [0a86e203-1b45-4c1b-83e7-b3fe0c9e0290] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=5.76 view=4.18 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:16+00:00 carlos[1530412]: I, [2026-11-14T18:00:16.245409 #9]  INFO -- : [29b159d2-c7cf-4e71-a4fd-51c6849ec955] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=5.52 view=3.94 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:19+00:00 carlos[1530412]: I, [2026-11-14T18:00:19.397730 #9]  INFO -- : [72ed5c40-57d2-4686-872c-3d3047758030] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=5.83 view=4.36 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:22+00:00 carlos[1530412]: I, [2026-11-14T18:00:22.531144 #9]  INFO -- : [27c8bd4d-7ddf-4283-a664-fe2b6509f4de] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=6.95 view=4.88 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:25+00:00 carlos[1530412]: I, [2026-11-14T18:00:25.669278 #9]  INFO -- : [80a4d307-bfc4-433b-b7a0-84d964bfac95] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=7.06 view=5.44 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:28+00:00 carlos[1530412]: I, [2026-11-14T18:00:28.859045 #9]  INFO -- : [7d58c8a6-0865-45f8-bd8b-c3a70ebb0864] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=38.36 view=21.15 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:32+00:00 carlos[1530412]: I, [2026-11-14T18:00:32.016353 #9]  INFO -- : [a714a4af-4b36-4971-ac37-18f55d709509] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=21.28 view=12.97 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:35+00:00 carlos[1530412]: I, [2026-11-14T18:00:35.156354 #9]  INFO -- : [d0236a47-ff1f-4cce-8779-7b45a176742a] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=5.63 view=4.11 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:38+00:00 carlos[1530412]: I, [2026-11-14T18:00:38.299997 #9]  INFO -- : [8d2b4822-2276-4826-8e2f-938065b97a1d] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=5.79 view=4.29 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:41+00:00 carlos[1530412]: I, [2026-11-14T18:00:41.435690 #9]  INFO -- : [fdba98b5-d494-4614-97cf-a044668bdbf0] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=6.13 view=4.64 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:44+00:00 carlos[1530412]: I, [2026-11-14T18:00:44.576154 #9]  INFO -- : [1e5559bf-50da-4f29-b44d-b1fb5fbdb4c8] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=5.47 view=4.01 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:47+00:00 carlos[1530412]: I, [2026-11-14T18:00:47.725888 #9]  INFO -- : [792ff0f4-6432-4dba-8abc-8127af5e531c] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=8.47 view=6.83 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:50+00:00 carlos[1530412]: I, [2026-11-14T18:00:50.877278 #9]  INFO -- : [a31849f5-02dd-4e6d-a5ea-9903daf7ca89] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=7.51 view=5.96 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:54+00:00 carlos[1530412]: I, [2026-11-14T18:00:54.019716 #9]  INFO -- : [dfb21687-8ea3-4fa8-a5c9-d2855c19bf71] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=8.18 view=5.85 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:00:57+00:00 carlos[1530412]: I, [2026-11-14T18:00:57.154482 #9]  INFO -- : [c5c9975a-60f1-4952-99c2-60e3ee3e5c51] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=6.26 view=4.69 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:01:00+00:00 carlos[1530412]: I, [2026-11-14T18:01:00.326900 #9]  INFO -- : [9b8b8236-5b4e-45e4-b260-37379abe5361] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=10.88 view=7.22 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:01:03+00:00 carlos[1530412]: I, [2026-11-14T18:01:03.470433 #9]  INFO -- : [b558f1a1-113d-4c17-869e-4eec1686ab00] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=16.18 view=14.64 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:01:06+00:00 carlos[1530412]: I, [2026-11-14T18:01:06.623817 #9]  INFO -- : [7b44e8ac-954c-4d08-8f9e-22b398d7ba82] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=5.65 view=4.13 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:01:09+00:00 carlos[1530412]: I, [2026-11-14T18:01:09.775069 #9]  INFO -- : [3bb47692-bd5e-4d23-8761-23d74fb71655] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=6.47 view=4.89 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:01:12+00:00 carlos[1530412]: I, [2026-11-14T18:01:12.906019 #9]  INFO -- : [cb07694a-34aa-4c05-a85b-d2fcb9e010c4] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=5.59 view=4.05 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:01:16+00:00 carlos[1530412]: I, [2026-11-14T18:01:16.036024 #9]  INFO -- : [9c082db9-5343-451a-a2b0-33f6f452db3c] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=5.69 view=4.13 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026-11-14T18:01:19+00:00 carlos[1530412]: I, [2026-11-14T18:01:19.177258 #9]  INFO -- : [7185a2e5-dc2f-440d-8ec1-f8189911ac3b] [id] method=GET path=/signin format=*/* controller=User::SessionsController action=new status=200 duration=5.87 view=4.41 db=0.00 user= ip=40.180.24.110 host=tito-id.bae.staging.platform.tito.io
2026--output truncated--

Picked up by the sr-followups controller (branch sr-followups), asked by 8a3d302 to fix rather than file.

Box-2 journal timings, read against the proposal:

  • 17:56:28 copies 2 set; 17:58:15 box-2 mints the route. That 1m47s gap is the largest part of the window.
  • 17:58:17 root pass asked; 17:58:30 root starts generation 3. Root pickup is about 13 s, so it is already prompt; proposal 3 is likely a no-op.
  • 17:58:28 the join abandons the permit; 17:59:09 healthy, after a 39 s app boot; 17:59:31 swap done.

Next: map what shows Failed in the copies view, and what drives the 1m47s before the box notices the new copy. Then a short fix plan here.

Findings, from a code read against the box-2 journal (full notes on the sr-followups branch workspace):

  • Failed comes from the hub alone. The edge probes each copy every second and calls it failed after two misses, even if it has never passed once. So every joining copy reads Failed through its install and its app boot (39 s here). The window was about 17:58:13 to 17:59:11.
  • The 1m47s before box-2 acted was the wait for the console's 5-minute placement pass. Setting copies writes config but not the box assignment.
  • Root pickup is about 1 s (a path unit). No change there. The 13 s before generation 3 was the wake backoff: each refused start was counted as a crash.
  • A latent bug. If the install takes more than 32 s, the join answers switched-failed, and the deploy halts with "the new build stopped working". This time it escaped only because root took 1 s.
  • The repoint line is the agent's way of asking root, so the attempt stays. Only the print goes.

The fix plan has four tasks:

  1. The join waits up to 10 minutes for its install inside the bound. A "not installed" refusal is no longer counted as a crash. Past the bound, the join halts with the existing copies still serving.
  2. The hub shows a copy that has never passed as Starting, not Failed. After 15 minutes it reads Failed again.
  3. Raising copies places the new copy straight away.
  4. The repoint line is not printed when the request to root follows.

Two new strings will go to Paul's copy review. Task 1 is being built now.

Built and reviewed on sr-followups, tip 638c2f5b, which is ready to merge. Astra reviewed each task, and the final review was Astra plus Fable.

  • Join install wait: a joining copy waits up to 10 minutes for root to install its build. If it is still not installed, the join halts and the existing copies keep serving. It is never reported as a build failure. A "not installed" refusal no longer counts as a crash, and retries are paced at 10 s. This covers a box that never had the app too: the case Fable found, where the box has no live link yet.
  • Starting state: the hub shows a copy that has never passed a health check as Starting, not Failed. After 15 minutes it reads Failed.
  • Placement: raising copies places the new copy straight away, with one placement run per fleet at a time.
  • Repoint line: it is no longer printed when the request to root follows it.
  • Copy: SR-6-C01 and C02 were approved through Luna under Paul's delegation. The census is READY and recorded on #280.

Follow-ups, not blocking:

  • a build that waited for its install and then fails at start halts with the install reason after 10 minutes, not 32 s;
  • between 10 and 15 minutes a halted join still shows Starting;
  • a hub restart resets the Starting window.

MERGED as 433fcf1 (squash of sr-followups at dadff91a, CI green). Rides v0.35.6 (release is 8a3d302's). Follow-ups listed above stay open.