You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This session shipped ~13 bug fixes that were verified by hand in the browser but added zero new tests. The next refactor will likely re-break some of them. Minimum regression coverage to add:
Admin (vitest)
`posts/page.test.tsx` — add cases for the response adapter covering (a) `{data:[...]}` envelope, (b) `{posts:[...]}` legacy envelope, (c) `data:null`, (d) HTTP 400 with `status=any`, (e) malformed JSON. Currently only 2 broad render tests; none exercise the adapter.
`PostListClient.test.tsx:96-102` — update href assertion to `/posts/pN` (broken by the postEditHref rename, separate issue) and add a sibling test asserting the comments table doesn't link to the old path.
`media/page.test.tsx`, `MediaGrid.test.tsx`, `FolderTree.test.tsx` — assert renders without crash when API returns `data:null` (locks in the null-coercion fixes).
Summary
This session shipped ~13 bug fixes that were verified by hand in the browser but added zero new tests. The next refactor will likely re-break some of them. Minimum regression coverage to add:
Admin (vitest)
API (go test)