feat(config): separate root responses and link defaults #26

Merged
eleith merged 1 commits from feat/config-root-responses into main 2026-11-13 16:55:39 +00:00

Changes

  • Separate domain root responses from named links; reject / inside links.
  • Replace defaults with consistent global/domain link_defaults.
  • Require root/fallback redirect objects with a URL, redirect-only status and query-forwarding option. Domain fallbacks replace the whole global response; 404 comes only from absence.
  • Adapt routing, existing consumers, editor schema, examples and synthetic seeding without rewriting analytics history.
  • Keep automated E2E production-only; development/HMR testing is manual. Runtime HMR is unchanged.

Old config syntax is rejected directly—no compatibility aliases. The broader admin presentation changes remain separate.

Verification

Four independent reviews clean. pnpm verify passed: 594 units, 6 script tests, 7 production Chromium stories and 5 service cases; Svelte 0 errors/warnings. Scoped lint, Changesets and whitespace passed.

Docker not run. Remote CI remains separate.

## Changes - Separate domain `root` responses from named links; reject `/` inside `links`. - Replace `defaults` with consistent global/domain `link_defaults`. - Require root/fallback redirect objects with a URL, redirect-only status and query-forwarding option. Domain fallbacks replace the whole global response; 404 comes only from absence. - Adapt routing, existing consumers, editor schema, examples and synthetic seeding without rewriting analytics history. - Keep automated E2E production-only; development/HMR testing is manual. Runtime HMR is unchanged. Old config syntax is rejected directly—no compatibility aliases. The broader admin presentation changes remain separate. ## Verification Four independent reviews clean. `pnpm verify` passed: 594 units, 6 script tests, 7 production Chromium stories and 5 service cases; Svelte 0 errors/warnings. Scoped lint, Changesets and whitespace passed. Docker not run. Remote CI remains separate.
eleith-gitea-agent Bot added 1 commit 2026-11-13 16:37:14 +00:00
feat(config): separate root responses and link defaults
ci/woodpecker/pr/cli Pipeline was successful
ci/woodpecker/pr/config Pipeline was successful
ci/woodpecker/pr/db Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/pr/worker Pipeline was successful
ci/woodpecker/push/cli Pipeline was successful
ci/woodpecker/push/config Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
ci/woodpecker/push/worker Pipeline was successful
0860811d25
eleith merged commit 0860811d25 into main 2026-11-13 16:55:39 +00:00
eleith deleted branch feat/config-root-responses 2026-11-13 16:55:39 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eleith/goto#26