Uncategorized

  • A PSR-18 decorator ordering that was documented and still got reversed

    A comment explaining why each layer is where it is, and a fifth layer inserted in the wrong place anyway. A comment describing an order is read by…

  • The partition that could finally be dropped

    A partition where every remaining row was past its retention, eight months after the classification work. The partition scheme from 2023 aligns with the retention classes only at…

  • A cold start after a failover

    A promoted standby serving traffic with an empty cache and a cold opcode cache, measured during a drill. The warm-up script existed and was bound to the wrong…

  • One flaky test split into three

    A test asserting three things across two systems, failing intermittently for three years, split into three tests that each assert one. Splitting is diagnosis rather than a fix…

  • A module deleted, and the shared kernel that shrank

    Eight thousand lines removed, and six classes in the shared kernel that lost their only consumer. A shared kernel accumulates by the two-consumer rule and does not shed…

  • A trigger matrix, drawn once, on paper

    An afternoon spent working out what actually runs when, which nobody had ever done. A matrix of six jobs and four triggers is twenty-four cells and nobody had…

  • WP-CLI in the failover runbook

    A failover procedure with three WP-CLI steps, and the one that has to run before the database is writable. Three commands and an ordering constraint that is not…

  • The command that became a method call

    Eighty-eight commands with one handler each, dispatched through four frames of indirection. A command bus provides cross-cutting concerns and eighty-eight one-to-one mappings provide indirection. The transaction middleware moved…

  • Two scheduled jobs nobody could account for

    A cron listing with eleven entries, of which two called commands that no longer existed. A cron job whose command does not exist fails silently unless something checks…

  • The command bus we removed

    A command bus introduced in 2021, and 88 commands with one handler each. A stack trace with four frames of dispatch before the work.