- Impact
- Only /changelog showed “Can’t read the changelog right now”; other pages were unaffected
- Detection
- Found by checking the live site after deploying; the local build, unit tests and browser tests all passed
- Cause
- The page runs git log at build time to collect the feature history. The deployment is run by the GitHub Actions runner, where the command passes through cmd.exe and the % in the format string was altered: git produced output and no error, it just could not find the lines it wanted. The code then swallowed the error, so the log showed nothing
- Fix
- Switched to execFileSync to run git directly (no shell), reading it in next.config and passing it to the page
- Afterwards
- A warning is left in the build log when it cannot be read; after deploying, always check the live site, not just the local one