Skip to content

fix(api): default invalid skills page query - #166

Merged
dirtybits merged 1 commit into
mainfrom
fix/default-invalid-skills-page
Sep 5, 2026
Merged

fix(api): default invalid skills page query#166
dirtybits merged 1 commit into
mainfrom
fix/default-invalid-skills-page

Conversation

@dirtybits

Copy link
Copy Markdown
Owner

Summary

  • default malformed GET /api/skills?page= values to page 1 instead of letting NaN serialize as null in pagination metadata
  • add a route regression for the invalid-query behavior in fast mode

Test Plan

  • npm test --workspace @agentvouch/web -- __tests__/api/skills-get-cache.test.ts --maxWorkers=1 --no-fileParallelism
  • npm run format:check
  • npm run lint:web
  • npm run typecheck
  • npm test --workspace @agentvouch/web -- --maxWorkers=1 --no-fileParallelism (128 files / 928 tests)
  • npm exec --workspace @agentvouch/web -- next build --webpack
  • git diff --check

Notes

No live database, wallet, or browser flow was run. The webpack build passed with the repository's existing ox dynamic-dependency warning and expected static-generation fallback logs because DATABASE_URL is absent locally.

@dirtybits
dirtybits merged commit b17b64d into main Sep 5, 2026
3 checks passed
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