2.0.20261119 update dumps CSS to stdout

AI-generated summary

MikeD reports that the Discourse update (discussed in a related topic regarding HTTP/2 and Nginx configuration) produced an abnormal amount of output during the build process. While the system built and ran normally, approximately 3.8 MB of CSS content was dumped directly to the shell’s standard output.

The user provided logs showing that after JS compression completed, the CSS compilation step initiated. Immediately following the Start compiling CSS log line, the shell displayed the full content of the stylesheet_cache INSERT statement sent to the database, including the entire CSS string for the common target. This dump continued for several megabytes before the process moved on to other compilation targets (admin, wizard, etc.). MikeD notes this behavior is unexpected and likely indicates an issue with logging verbosity or output redirection in the update’s build scripts.

I just ran the update discussed here:

And everything built and is running normally, except there were several megabytes of CSS output to the shell as it ran. [Edit: about 3.8MB]

Here are the lines immediately before and after:

Already compressed: js/plugins/footnote_main.DEFmzz-hptqqtp4.digested.js
Already compressed: js/plugins/live_chunk.wTxkHG51-frkjcey6.digested.js
Already compressed: js/plugins/live_main.CyiSkJ-frkjcey6.digested.js
Already compressed: js/plugins/live_admin.Ctdg6w-frkjcey6.digested.js
Already compressed: js/plugins/poll_main.BF2vjL-86jnt1vq.digested.js
Already compressed: js/plugins/spoiler-alert_main.DbmNra-bgzophi6.digested.js
Already compressed: js/plugins/styleguide_main.BOAhjs-bynmpo45.digested.js
Done 'Done compressing all JS and WASM files' : 0.06 secs
Start compiling CSS: 2026-11-18 19:48:18 UTC
-------------
Compiling CSS for default 2026-11-18 19:48:18 UTC
precompile target: common
2026-11-18 19:48:23.639 UTC [1841] discourse@discourse LOG:  duration: 127.412 ms  statement: INSERT INTO "stylesheet_cache" ("target", "digest", "content", "created_at", "updated_at", "theme_id", "source_map") VALUES ('common', 'f7c074c693f67f48451b3c617b418965b57e7f17', ':root{--base-font-size-smallest: 0.815em;--base-font-size-smaller: 0.875em;--base-font-size: 1em;--base-font-size-larger: 1.125em;--base-font-size-largest: 1.25em;--font-up-6: 2.296em;--font-up-5: 2em;--font-up-4: 1.7511em;--font-up-3: 1.5157em;--font-up-2: 1.3195em;--font-up-1: 1.1487em;--font-0: 1em;--font-down-1: 0.8706em;--font-down-2: 0.7579em;--font-down-3: 0.6599em;--font-down-4: 0.5745em;--font-down-5: 0.5em;--font-down-6: 0.4355em;--font-up-3-rem: 1.5157rem;--font-up-2-rem: 1.3195rem;--font-up-1-rem: 1.1487rem;--font-0-rem: 1rem;--font-down-1-rem: 0.8706rem;--font-down-2-rem: 0.7579rem;--line-height-small: 1;--line-height-medium: 1.2;--line-height-large: 1.4;--cooked-line-height: 1.5}:root{--token-color-text-default: var(--primary-900);--token-color-text-subtle: var(--primary-800);--token-color-text-subtlest: var(--primary-600);--e4f40cd1-csstools-light-dark-toggle--0: var(--csstools-color-scheme--light) var(--tertiary-300);--token-color-text-accent: var(--e4f40  

[... about 3800 KB more ....]

lor: var(--primary-700);\n  --d-category-boxes-gap: var(--space-4);\n  --d-category-border-box-width: 1px;\n  --d-category-border-accent-width: 3px;\n\n  .category-boxes .category-box,\n  .category-boxes-with-topics .category-box {\n    --category-badge-title-color: var(--primary);\n  }\n\n  .category-list tbody .category {\n    border-left-width: var(--d-category-border-accent-width);\n  }\n}\n",":where(.uc-modernize-foundation-theme) {\n  .fc .fc-button-primary {\n    --fc-button-bg-color: var(--secondary);\n    --fc-button-border-color: var(--primary-200);\n    --fc-button-hover-bg-color: var(--primary-100);\n  }\n}\n",":where(.uc-modernize-foundation-theme) {\n  .group-details-container {\n    background: transparent;\n    border: 1px solid var(--content-border-color);\n    border-radius: var(--d-border-radius);\n    padding: var(--space-4);\n  }\n}\n",":where(.uc-modernize-foundation-theme) {\n  .posts-wrapper {\n    -webkit-font-smoothing: var(--webkit-font-smoothing);\n  }\n}\n"]}') RETURNING "id"
precompile target: admin
precompile target: wizard
precompile target: common_rtl
precompile target: admin_rtl
precompile target: wizard_rtl
precompile target: automation

[...]


This doesn’t seem normal.