Skip to content

refactor(release): keep favicon in Base and drop redundant Dashboard HTTP check - #687

Merged
LudoLoops merged 6 commits into
mainfrom
fix/v5-publish-dashboard-favicon-pipefail
Oct 30, 2026
Merged

LudoLoops merged 6 commits into
mainfrom
fix/v5-publish-dashboard-favicon-pipefail

Conversation

@LudoLoops

@LudoLoops LudoLoops commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Rationale

The favicon is a shared Base foundation, not a Dashboard capability. It is already implemented in packages/svforge/templates/base/src/routes/favicon*/ and src/lib/assets/brand-favicons.ts, and both Base and Dashboard inherit these assets.

The existing shared tests/favicon-delivery.test.ts verifies the actual canonical ICO/PNG bytes, signatures, sizes, generated manifest, linked routes, Content-Type declarations, and Base + Dashboard delivery. Every scaffold also checks that the routes and embedded brand assets exist. A second favicon HTTP probe buried in the Dashboard-only Better Auth smoke test is redundant and incorrectly couples the global favicon contract to a Dashboard/database test.

Changes

  • Remove only that redundant favicon HTTP section from scripts/test-scaffold.sh. Dashboard's real HTTP smoke remains focused on setup, closed registration, admin login/CRUD, and authorization. Shared scaffold/static checks and tests/favicon-delivery.test.ts remain intact.
  • The original v5 release PR Version Packages #658 was merged as the immutable commit 4d9d18dbb7afd4e9962bb067749f40307e2d8467; Publish deliberately tests that exact commit. A single-release, single-profile workflow compatibility step removes the same ten-line favicon-only section from the test harness for that exact SHA. The step refuses unexpected source text and shows the patch; it does not alter runtime code, manifests, approved versions, or npm artifacts.
  • Remove the previously proposed curl/head pipefail workaround and its dedicated regression test: the Dashboard-only HTTP probe should no longer exist.

Failure addressed

Publish #41085877405 passed authorization, quality, the external user journey and all eight other scaffolds. The Dashboard scaffold passed all 46 generated Vitest tests and the Better Auth schema check, then exited with code 23 at the favicon curl pipeline under pipefail before reaching the actual auth HTTP checks.

Release process

No Changeset is needed: this PR changes test orchestration and release workflow only, with no new npm package content.

After successful CI and review, merge this PR, then start a new manual Publish workflow on main: channel=stable, release_pr=658, confirmation=publish-stable. Do not rerun the old run with its old workflow file. The full mandatory release gates remain active.

@LudoLoops LudoLoops changed the title fix(release): prevent Dashboard favicon curl exit 23 in v5 publish gate refactor(release): keep favicon in Base and drop redundant Dashboard HTTP check Oct 30, 2026
@LudoLoops
LudoLoops merged commit 87596c8 into main Oct 30, 2026
3 checks passed
@LudoLoops
LudoLoops deleted the fix/v5-publish-dashboard-favicon-pipefail branch October 30, 2026 16:18
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