ci-cd

  • The build cache misses on a file mode change

    A build that rebuilds from scratch on CI while being fully cached locally is usually not a Docker problem — it is that the checkout produced different file…

  • nginx -t before every reload, in the deploy script

    systemctl reload nginx with a broken configuration leaves the old one running and reports success in a way that is easy to miss, right up until the next…

  • Laravel 5.6 and logging you can configure

    Logging moved into a config file, and stacks are why it matters — a different format per destination, decided without touching a service provider.

  • Symfony 4 and the bundle that does not exist

    A new project used to arrive with forty megabytes of vendor code and one route. The framework got smaller, and the interesting part is what happens at install…

  • Alerting that people do not learn to ignore

    340 alerts in a month, four of which mattered. An alert channel nobody reads is the same as no alerting, and the cause is alerting on causes.

  • Compose file version 3, and what swarm changed

    v3 exists to be deployable to a scheduler, and that removes things a single-host file relied on. What went, why it had to, and what replaces it.

  • ignoreErrors is how you adopt this on old code

    Four thousand errors on the first run is a number nobody can act on, and the usual outcome is that the tool is removed. Ignoring the existing ones…

  • Schema changes that do not need a maintenance window

    An ALTER on a 40 million row table held a metadata lock behind every query. Expand, migrate, contract turns one blocking release into three safe ones.

  • Laravel 5.5 and the packages that install themselves

    The first release where installing a package is one command. Auto-discovery removes two config edits per package, and hides the fact that they happened.

  • dotnet watch run is the loop PHP developers expect

    A compiled language usually means an explicit build step between editing and seeing the result, which is the thing that feels slowest coming from PHP. The file watcher…