Skip to content

Why merged fixes reached the host hours late on 26 Nov #1975

Done

Description

@eowca

Research result for the Lean owner (OD order, 26 Nov 2026). Read-only; nothing on the host was changed.

Common cause

Merging changes nothing on the host. Every live tool is a hand-placed copy outside the reviewed checkout, and "installed" is a separate step after "merged" with no owner of its own and its own entry condition (another repo's pin, a QA-idle window, a full drain). Nothing compares the live copy with main, so a missing or broken install is found only through its symptom, hours later.

Evidence per case

Times are UTC, 26 Nov 2026.

Case Merged Live on host Gap What held it
1. Cross-host receipt fix, loop-zero 3f60c7f9 (#1772) 10:20 (commit time; the brief said 10:35) 15:09:43, as part of 6bbaa7c8 4 h 49 min The host CLI swap waits for the IntelFlo pin. Pin PR IntelFlo #14644 sat as a draft with a failing check, idle from 10:28 until OD asked at 14:15. The replacement pin (#14670) merged 15:09 and the swap ran within a minute. A newer CLI was already staged and validated on both hosts the whole time.
2. Dispatcher retry, host-config #253 15:42:20 15:47:30 5 min The fix itself was fast. The delay was before it: the failure happened at 09:11 and the fix PR opened at 15:29. The install also showed drift: the live dispatcher lacked hc#239 (merged 13:00, 2 h 47 min uninstalled), so installing #253 activated #239 too. The install waited for a "no busy QA runner" check.
3. Blacksmith spend meter, host-config #260 16:53:32 about 16:53 (file time of the live copy) under 5 min Again not the install. The meter failed 45 of 219 runs today (03:48–06:45, single runs at 00:55, 09:35 and 10:40, then 16:20–16:45) and nobody was told: the unit has no failure notice. The unit on host-config main itself runs ~/.t3/handoff/bin/blacksmith-spend-meter.py, a copy; the main checkout's file is dated 20 Nov.
4. danio-3 drain for the hc#247 restart hc#258 merged 16:02, staged only not live (restart moved to 27 Nov) open Activation needs a manager restart, so it needs a drain. The drain was a hand procedure: pausing the SSH key also took both secret-free pools offline (16:01–16:52), 39 runs queued, and one in-flight check held danio-3 for 59 min. Stood down 16:51 (hc#247 comments 7198208868, 7198302498).

Same pattern outside the four cases: hc#254 merged 16:55, "install pending window"; host-config PR #30 "install window expired (7 slot locks)" (r62/r63 progress logs).

Reading: only case 1 is strictly "merged hours before installed". Cases 2 and 3 installed within minutes once someone acted; their lost hours were in noticing. Case 4 is the cost of the install step itself. All four share the cause above: the live copy has no link to main and no one is told when the two differ.

One change (a removal)

Drop the quiet-window wait before installing a file by atomic rename. Delete the "wait for QA-idle / no busy runner / install window" precondition from the host-config install recipes for files that are swapped by rename and need no restart (dispatcher, helpers, meter, timers' scripts). With it goes the "merged, install pending window" state: the merger installs in the same turn.

  • Why it is safe to remove (my reading, to be confirmed by the host-config owner): a rename leaves running processes on the old file, which docs/heavy-slot.md already relies on. The window protects nothing for these files, yet it expired or was pending three times today.
  • What stays: drains for changes that only take effect on a restart (case 4), and the pin order for a CLI bump that changes the accepted config schema.
  • Not covered by this change: case 1's hand step is already gone, since the follow timer is now running (last tick 17:00, success) and swaps on the pin without a person. Case 3's silent failure is a separate gap and gets no new rule here.

Activity

  1. eowca commented on Nov 26, 2026

    @eowca
    ContributorAuthor

    Delivered the recipe change in host-config #266, merged at e8edef0184919bf3e0f256af4c02caffc851b91d. The merger installs reviewed files that activate by atomic rename in the same turn. Manager restarts still follow their drain procedure, and the IntelFlo pin order still applies to schema-changing CLI bumps.

    At 18:11:11Z on 26 November I reinstalled the reviewed loopzero-follow bytes at the live path using install-host-file. The inode changed from 49312756 to 15509221, and the installed bytes matched the reviewed source. Heavy-slot ticket 19327 and its supervisor held the same live lease before and after the rename. The job started at 18:08:09Z and finished at 18:14:04Z with exit 0. The install required zero seconds of admission hold.

    The #254 and #30 owners were notified on their GitHub items. Case 3’s silent-failure alerting and case 4’s restart-drain changes are out of scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions