Skip to content

fix: correct .gitignore PNG exception paths for the apps/* layout - #8

Merged
harrymove-ctrl merged 1 commit into
masterfrom
fix/railway-healthcheck-host
Jul 31, 2026
Merged

fix: correct .gitignore PNG exception paths for the apps/* layout#8
harrymove-ctrl merged 1 commit into
masterfrom
fix/railway-healthcheck-host

Conversation

@harrymove-ctrl

Copy link
Copy Markdown
Owner

Summary

The blanket `.png` rule in `.gitignore` only exempted `packages/client/public` and `packages/blog/public` - paths from before the monorepo moved to `apps/`. `apps/web/public`'s icons were only in git at all because commit 1f30a56 force-added them past this stale rule.

Suspected root cause of the broken sidebar logo/favicons in production: `railway up` (used by the GitHub Actions deploy workflow) appears to filter its upload by `.gitignore` patterns rather than git's actual tracked-file list, so these force-added PNGs never made it into what Railway actually builds/deploys - regardless of which commit is live. This should fix it.

Test plan

… not the pre-reorg paths

The blanket *.png rule exempted packages/client/public and
packages/blog/public - paths that predate the apps/* monorepo layout and
no longer exist. apps/web/public's icons (sui-logo.png,
apple-touch-icon.png, favicon-*.png, icon-*.png) were only in the repo at
all because 1f30a56 force-added them; the gitignore itself never
recognized them as intentional.

Suspected live impact: `railway up` (used by both the GitHub Actions
deploy workflow and manual deploys) appears to filter its upload by
.gitignore patterns rather than git's tracked-file list, so these
force-added PNGs never made it into the build Railway actually deploys -
explaining the broken-image icon in the sidebar and touch-icon/favicon
this whole time, independent of which commit was live.
@harrymove-ctrl
harrymove-ctrl merged commit 5baa133 into master Jul 31, 2026
2 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.

2 participants