TASK ARCHIVE: Fix CI Mermaid/Puppeteer Chrome Launch#

SUMMARY#

CI deployment broke after switching from the GitHub Actions runner’s system Chrome to Puppeteer’s bundled Chromium for mermaid diagram rendering. The fix required two coordinated changes: (1) an AppArmor sysctl workaround in deploy.yaml to allow bundled Chromium to launch on Ubuntu 24.04, and (2) upgrading jekyll-mermaid-prebuild to 0.4.0, which adds overflow_protection and text_centering postprocessing to handle cross-environment text measurement differences. The gem version bump also required migrating config to the new postprocessing: key structure.

REQUIREMENTS#

IMPLEMENTATION#

Prior commit 78927f9 (separate PR) had already removed PUPPETEER_SKIP_CHROMIUM_DOWNLOAD and PUPPETEER_EXECUTABLE_PATH to switch to bundled Chromium.

TESTING#

LESSONS LEARNED#

PROCESS IMPROVEMENTS#

TECHNICAL IMPROVEMENTS#

NEXT STEPS#