Repository navigation
fix(ci): regenerate fingerprinted CSS before QA Hugo build (#2912) - #2917
Merged
Merged
Conversation
The QA rebuild workflow builds Hugo directly via /tmp/hugo rather than `npm run build:all`, but was never given the build:icon-subset + build:css steps that commit ac6b7e3 (#2896 follow-up) added to the prod rebuild-content.yml when it .gitignored those generated CSS outputs. On a clean CI checkout fundamental-styles-icon.css is therefore absent, so head.html:27 (resources.Get "css/fundamental-styles-icon.css" | minify) fails with "wrong type for value; expected resources.ResourceTransformer; got resource.Resource" and every QA full rebuild dies at the Hugo step. Add a "Build fingerprinted CSS" step before the QA Hugo build, mirroring rebuild-content.yml, so QA and prod regenerate byte-identical CSS and agree on the fingerprint.
jung-thomas
added a commit
that referenced
this pull request
Oct 25, 2026
docs: record QA/PROD rebuild-workflow parity rule (follow-up to #2917)
This was referenced Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
QA full rebuilds have been failing for several hours (#2912) — 5+ consecutive failures. Every run dies at the Build QA Hugo site step:
Root cause
Commit
ac6b7e39f(#2896 follow-up, "stop committing generated CSS so deploy & rebuild agree on fingerprint") madefundamental-styles-icon.css(build:icon-subset) andsap-fundamental.css(build:css) git-ignored build outputs, and added both regeneration steps to the prodrebuild-content.ymlbefore its Hugo build.The QA workflow (
rebuild-content-qa.yml) drives/tmp/hugodirectly (notnpm run build:all) and was never given those steps. On a clean CI checkout the icon CSS is absent, sohead.html:27(resources.Get "css/fundamental-styles-icon.css" | minify) resolves to a non-transformable global resource and the build throws.Fix
Add a Build fingerprinted CSS (sap-fundamental + icon subset) step before the QA Hugo build, mirroring
rebuild-content.ymllines 826–829. QA and prod now regenerate byte-identical CSS and agree on the fingerprint.Verification
npm run build:icon-subsetregenerateshugo/assets/css/fundamental-styles-icon.css(the missing file) — confirmed locally after deleting it.npm run build:cssregeneratessap-fundamental.css— confirmed.Targets DEV per branching model.