Skip to content

test(server): run httpapi exercise effect mode in test:httpapi#26452

Merged
kitlangton merged 1 commit intodevfrom
kit/httpapi-test-script-effect-mode
May 9, 2026
Merged

test(server): run httpapi exercise effect mode in test:httpapi#26452
kitlangton merged 1 commit intodevfrom
kit/httpapi-test-script-effect-mode

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • `test:httpapi` previously ran only `coverage` (route inventory) and `auth` (per-route auth declarations) — neither exercises the routes themselves.
  • Appends `bun run script/httpapi-exercise.ts --mode effect --fail-on-missing --fail-on-skip`, which dispatches a real request through the new HTTP API stack for every route in the inventory.
  • Local run reports `pass=139 fail=0 skip=0 missing=0 extra=0`.

Test plan

  • `bun run test:httpapi` (139 pass)

@kitlangton kitlangton force-pushed the kit/httpapi-account-error-mapping branch from 1a71f21 to fa6504b Compare May 9, 2026 02:56
@kitlangton kitlangton force-pushed the kit/httpapi-test-script-effect-mode branch from 3986e17 to 6b13e18 Compare May 9, 2026 02:56
@kitlangton kitlangton force-pushed the kit/httpapi-account-error-mapping branch from fa6504b to 2cd4bf8 Compare May 9, 2026 03:02
@kitlangton kitlangton force-pushed the kit/httpapi-test-script-effect-mode branch from 6b13e18 to dfb49e5 Compare May 9, 2026 03:02
@kitlangton kitlangton force-pushed the kit/httpapi-account-error-mapping branch from 2cd4bf8 to 1df6d83 Compare May 9, 2026 03:07
@kitlangton kitlangton closed this May 9, 2026
@kitlangton kitlangton force-pushed the kit/httpapi-test-script-effect-mode branch from dfb49e5 to 1df6d83 Compare May 9, 2026 03:07
@kitlangton kitlangton reopened this May 9, 2026
@kitlangton kitlangton force-pushed the kit/httpapi-account-error-mapping branch from 751ab84 to b30384a Compare May 9, 2026 03:13
@kitlangton kitlangton force-pushed the kit/httpapi-test-script-effect-mode branch from 31eded7 to 81681f2 Compare May 9, 2026 03:13
@kitlangton kitlangton force-pushed the kit/httpapi-account-error-mapping branch from b30384a to d799e48 Compare May 9, 2026 03:19
@kitlangton kitlangton force-pushed the kit/httpapi-test-script-effect-mode branch from 81681f2 to a605023 Compare May 9, 2026 03:19
@kitlangton kitlangton force-pushed the kit/httpapi-account-error-mapping branch from d799e48 to c931995 Compare May 9, 2026 03:40
@kitlangton kitlangton force-pushed the kit/httpapi-test-script-effect-mode branch from a605023 to 897eb7f Compare May 9, 2026 03:40
@kitlangton kitlangton force-pushed the kit/httpapi-account-error-mapping branch from c931995 to 8d4bea4 Compare May 9, 2026 03:41
@kitlangton kitlangton force-pushed the kit/httpapi-test-script-effect-mode branch from 897eb7f to 940633e Compare May 9, 2026 03:41
@kitlangton kitlangton changed the base branch from kit/httpapi-account-error-mapping to dev May 9, 2026 03:41
The test:httpapi script previously ran only coverage and auth modes,
which check route inventory and per-route auth declarations but never
exercise the routes themselves. The exerciser already supports
--mode effect, which dispatches a real request through the new HTTP
API stack for every route in the inventory and verifies a sane
response.

Append the effect mode to test:httpapi so the full route surface gets
exercised before merge. Today's run reports pass=139 fail=0.
@kitlangton kitlangton force-pushed the kit/httpapi-test-script-effect-mode branch from 940633e to d086513 Compare May 9, 2026 03:45
@kitlangton kitlangton merged commit cd1d1e8 into dev May 9, 2026
6 of 8 checks passed
@kitlangton kitlangton deleted the kit/httpapi-test-script-effect-mode branch May 9, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant