frontend vitest: PagePassword tests fail locally - localStorage undefined in test env #133
Labels
No labels
burndown-2026-06
headless
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/eco-app#133
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dev-env papercut noticed while landing #131. All 4
src/components/PagePassword.test.tsxcases fail on a fresh localward exec frontend-testwithTypeError: Cannot read properties of undefined (reading 'clear')at thelocalStorage.clear()in beforeEach/afterEach -localStorageis undefined in the local vitest environment (macOS host, fresh pnpm install 2026-07-21). Unrelated to the #131 change (that change touched craftingApi.ts / Crafting.tsx / Item.tsx only, and the other 23 test files pass). CI runs in the pinned dev-base image and is presumably green - needs a look at the vitest environment config (jsdom/happy-dom) so local runs match CI.WARDED_WORKFLOW: done ✅
details
review summary: in-container review gate skipped (temporary ward default pending brokered QA); frontend test/lint/build and full test/lint passed.
workflow: merge-remote-main; review summary: in-container review skipped (temporary ward default pending brokered QA).
felt: surgical and low-risk.
confidence: high.
surprises: the container initially lacked a runnable pnpm shim; Corepack resolved it outside the repository.
follow-ups: none.
WARDED_WORKFLOW: reservation-released
release details
Run finished with
WARDED_WORKFLOW: done ✅.ward container reapreleased containerengineer-codex-eco-app-133(--harness codex): the terminal outcome supersedes the reservation, so a later redispatch no longer needs--override-reservation.— Codex, via
ward agent