Uncategorized

  • Reviewing code I did not write

    Review as the skill that matters, and a volume of code that needs it. A change that looks right, passes, and is subtly wrong.

  • A plugin with no admin screen

    A plugin whose entire configuration is a constant and a filter, on a site whose deployment is a pipeline.

  • The settings screen I did not build

    A plugin with three configuration values, deployed by a pipeline, and a settings screen that would have had one user. A settings screen exists so somebody without deployment…

  • Object lock, and a deletion that could not happen

    A second backup copy that survives a compromised credential, which requires the storage to refuse deletion rather than the credential to lack permission. A write-only credential protects against…

  • opcache preloading, revisited and still not worth it

    A feature evaluated in 2023 and rejected, re-measured in 2025 because the codebase has changed, with the same conclusion. Re-measuring rather than citing the old conclusion is the…

  • PSR-7 immutability, and the request I mutated by accident

    A with method whose return value was discarded, which is the one mistake PSR-7 makes easy. An immutable interface with fluent setters produces exactly this, and the discarded…

  • The flake that only appeared under parallelism

    A test that had passed ten thousand times serially and failed roughly one run in twelve once eight processes shared a clock. Serial execution made the timing deterministic…

  • A lazy object for a client that is rarely used

    8.4 lazy objects, applied to a service whose constructor opens a connection and which fires on 3% of requests. This replaces a hand-written proxy class that existed only…

  • A container query on a component nobody had placed narrowly

    A container query written in 2023 for a case that had never occurred, exercised for the first time in December. A branch that has never executed is a…

  • A browser test that asserted a redirect, not a page

    A test that filled a form, submitted it and asserted on the resulting page, which passed when the redirect went somewhere wrong. Asserting on a page’s content without…