Simplify GoTo tests without changing runtime behavior #54

Merged
eleith merged 4 commits from test/simplify-suite into main 2026-11-25 02:58:24 +00:00

Summary

Simplify the tests that repeat coverage across layers. No runtime behavior changes.

  1. Trim the existing admin Chromium journey while retaining sign-in and sign-out, real worker data, accessible keyboard selection, mobile timeframes, and stale-response handling.
  2. Test the real web hook chain and give ingress, redirect decoding, and the production artifact distinct checks.
  3. Remove redundant worker startup and SQLite expiry coverage while preserving persisted accounting, retention, and clean shutdown.
  4. Reduce fixture noise and repeated assertions across CLI, config, admin loaders, and Analytics. Verify that a seed dry-run leaves existing visits untouched.

Verification

Each commit was reviewed and checked before staging. Local checks included the web, worker, and SQLite suites, all eight production Chromium tests, and worker process smoke. The complete pnpm verify suite passed before the final test-fixture simplifications. After the last type-only correction, the affected loader tests, web type check, and scoped lint and formatting passed; the full suite was not rerun.

## Summary Simplify the tests that repeat coverage across layers. No runtime behavior changes. 1. Trim the existing admin Chromium journey while retaining sign-in and sign-out, real worker data, accessible keyboard selection, mobile timeframes, and stale-response handling. 2. Test the real web hook chain and give ingress, redirect decoding, and the production artifact distinct checks. 3. Remove redundant worker startup and SQLite expiry coverage while preserving persisted accounting, retention, and clean shutdown. 4. Reduce fixture noise and repeated assertions across CLI, config, admin loaders, and Analytics. Verify that a seed dry-run leaves existing visits untouched. ## Verification Each commit was reviewed and checked before staging. Local checks included the web, worker, and SQLite suites, all eight production Chromium tests, and worker process smoke. The complete `pnpm verify` suite passed before the final test-fixture simplifications. After the last type-only correction, the affected loader tests, web type check, and scoped lint and formatting passed; the full suite was not rerun.
eleith-gitea-agent Bot added 4 commits 2026-11-25 02:53:46 +00:00
test: simplify fixtures and remove duplicate assertions
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
528c5eb11f
eleith merged commit 528c5eb11f into main 2026-11-25 02:58:24 +00:00
eleith deleted branch test/simplify-suite 2026-11-25 02:58:24 +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#54