Repository navigation
refactor(release): keep favicon in Base and drop redundant Dashboard HTTP check - #687
Merged
Merged
Conversation
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.
Rationale
The favicon is a shared Base foundation, not a Dashboard capability. It is already implemented in
packages/svforge/templates/base/src/routes/favicon*/andsrc/lib/assets/brand-favicons.ts, and both Base and Dashboard inherit these assets.The existing shared
tests/favicon-delivery.test.tsverifies 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
scripts/test-scaffold.sh. Dashboard's real HTTP smoke remains focused on setup, closed registration, admin login/CRUD, and authorization. Shared scaffold/static checks andtests/favicon-delivery.test.tsremain intact.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.headpipefail 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
pipefailbefore 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.