Skip to content

Drop a pages check that compared against a file nobody publishes - #3

Merged
umars28 merged 1 commit into
mainfrom
fix/pages-theme-check
Sep 7, 2026
Merged

Drop a pages check that compared against a file nobody publishes#3
umars28 merged 1 commit into
mainfrom
fix/pages-theme-check

Conversation

@umars28

@umars28 umars28 commented Sep 7, 2026

Copy link
Copy Markdown
Member

The first pages deploy after #2 failed on the theme drift check that shipped with the site. The check was wrong on both assets.

meridian.css returned 404: in marstack-cloud, -secrets and -access it is gitignored and generated by make site, so there is no published copy to diff against.

site.css fetched but compared unequal, because command substitution strips the trailing newline and printf '%s' does not restore it — a newline difference, not content.

Patching the newline would leave a step that reads as guarding two stylesheets while reaching one, so the step goes.

That leaves the vendored theme unguarded. Worth stating plainly: this repo must commit meridian.css because it is a CLI with no console to generate it from, and the real source is the separate marstack-theme module. Nothing in this repository can tell whether that module has moved on.

Note that pages.yml only runs on main, so this fix cannot be validated by CI on the PR — the deploy is the test.

The first pages deploy failed on the drift check added with the site, and the
check was wrong on both assets it looked at.

meridian.css returned 404. In marstack-cloud, -secrets and -access that file
is gitignored and generated by `make site` from internal/console/assets, so no
published copy exists to diff against.

site.css fetched but compared unequal, because command substitution strips the
trailing newline and `printf '%s'` does not put it back — a hash difference
about newlines, not about content.

Patching the newline would leave a step that appears to guard two stylesheets
while only reaching one, so the step goes.

That leaves the vendored theme unguarded, and it is worth being plain about
why: this repository has to commit meridian.css because it is a CLI with no
console to generate it from, and the real source is the separate marstack-theme
module. Nothing checked into this repository can tell whether that module has
moved on. A hash pinned here would only catch someone editing the vendored copy
by hand, which is not the failure worth a CI step.
@umars28
umars28 merged commit 52be65b into main Sep 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant