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
{{ message }}
Repository navigation
Commit 54f9745
Browse filesBrowse the repository at this point in the historyBrowse files
chore(plans): record site-check-153 validation results
Ticks the criteria verified during implementation and, deliberately,
leaves two unticked rather than rewriting them to match what was
achievable: the browser pass belongs to whoever does UI QA, and the
all-workspaces test gate cannot close on this Windows dev box.
Notes record why. apps/api fails ten tests here on a tree whose API code
is byte-identical to develop, because the fixtures assume POSIX —
store.test.ts injects a write failure via /dev/null/impossible-path,
which Windows will happily create, so the expected rejection never comes.
Reproduces with the files run alone, so it is not runner contention.
Filed as a follow-up rather than fixed: cross-platform fixtures are their
own scope, and silently ticking a gate that did not run is worse than
leaving the box open.
Also flags HomeStub.tsx, which carries the same stale repo URL the footer
had but is imported by nothing.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: plans/site-check-153.md
+41-12Lines changed: 41 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,17 +106,20 @@ One-line repo URL swap to `codeforphilly-ng`.
106
106
107
107
## Validation
108
108
109
-
-[ ] Specs updated before code: app-shell header clusters + volunteer link targets.
110
-
-[ ] Desktop header order is Projects · Help Wanted · Members · About ▾ … GitHub · Search · Sign in · Volunteer, with Volunteer rightmost and still green.
111
-
-[ ] No `ml-1` spacing hacks remain among the header nav's children.
112
-
-[ ] GitHub link is icon-only, labelled "Code for Philly on GitHub", and opens `https://github.com/CodeForPhilly` in a new tab with `rel="noopener noreferrer"`.
113
-
-[ ] Mobile sheet has a "Menu" title, horizontal padding on nav + search, and no `pt-8`; the title does not collide with the close button.
114
-
-[ ] The sheet dialog exposes an accessible name; Radix still supplies `aria-expanded` on the trigger.
115
-
-[ ] Loading skeleton uses `aria-hidden`; About trigger's accessible name is its visible text; account-menu label retained.
116
-
-[ ] Every mobile sheet item closes the sheet on click, including Contact.
117
-
-[ ] No `codeforphilly.gitbook.io` URL remains in `apps/web/src`.
118
-
-[ ] Footer "view this site on GitHub" points at `codeforphilly-ng`.
119
-
-[ ]`npm run -w packages/shared build && npm run type-check && npm run lint && npm test` clean.
109
+
-[x] Specs updated before code: app-shell header clusters + volunteer link targets.
110
+
-[x] Desktop header order is Projects · Help Wanted · Members · About ▾ … GitHub · Search · Sign in · Volunteer, with Volunteer rightmost and still green.
111
+
-[x] No `ml-1` spacing hacks remain among the header nav's children.
112
+
-[x] GitHub link is icon-only, labelled "Code for Philly on GitHub", and opens `https://github.com/CodeForPhilly` in a new tab with `rel="noopener noreferrer"`.
113
+
-[x] Mobile sheet has a "Menu" title, horizontal padding on nav + search, and no `pt-8`; the title does not collide with the close button.
114
+
-[x] The sheet dialog exposes an accessible name; Radix still supplies `aria-expanded` on the trigger.
115
+
-[x] Loading skeleton uses `aria-hidden`; About trigger's accessible name is its visible text; account-menu label retained.
116
+
-[x] Every mobile sheet item closes the sheet on click, including Contact.
117
+
-[x] No `codeforphilly.gitbook.io` URL remains in `apps/web/src`.
118
+
-[x] Footer "view this site on GitHub" points at `codeforphilly-ng`.
119
+
-[x] Both replacement URLs return 200 and carry the expected content.
120
+
-[x]`npm run -w packages/shared build`, `npm run type-check`, and `npm run lint` clean.
121
+
-[x]`npm test` clean for the workspaces this plan touches: web 96/96, shared 75/75.
122
+
-[ ]`npm test` clean for **all** workspaces — `apps/api` cannot pass on the Windows dev box used here (see Notes); needs a Linux run or CI to close.
120
123
-[ ] Browser test: desktop header order + mobile sheet padding at < md, both breakpoints.
121
124
122
125
## Risks
@@ -131,7 +134,20 @@ One-line repo URL swap to `codeforphilly-ng`.
131
134
132
135
## Notes
133
136
134
-
(To be populated at closeout.)
137
+
(To be populated at closeout. Recorded during implementation:)
138
+
139
+
-**`apps/api` tests do not pass on Windows, independent of this plan.** Ten
140
+
failures across `scrub-data.test.ts` (4), `internal-reload.test.ts` (4), and
141
+
`store.test.ts` (2), on a tree where `git diff develop..HEAD -- apps/api
142
+
packages/` is empty — this branch touches no API code. The mechanism is
143
+
POSIX-isms in the test fixtures: `store.test.ts` injects a write failure by
144
+
pointing the private store at `/dev/null/impossible-path` and asserting the
145
+
transaction rejects, but on Windows that is an ordinary creatable directory,
146
+
so the write succeeds and the expected throw never happens. They reproduce
147
+
with the files run alone, so it is not test-runner contention. CI runs the
148
+
same gate on Linux, where the fixture behaves as intended. Worth a
149
+
cross-platform fixture cleanup if Windows dev boxes are to be supported;
150
+
filed under Follow-ups.
135
151
136
152
## Follow-ups
137
153
@@ -149,3 +165,16 @@ One-line repo URL swap to `codeforphilly-ng`.
149
165
worker, unsubscribe tokens). Building an anonymous-capture CTA ahead of that
150
166
spec would invent unspecified behavior. `Home.tsx` is deliberately untouched
151
167
here; the CTA swap should follow the newsletter spec work, not precede it.
168
+
169
+
-**Tracked as: dead file, not fixed here — `apps/web/src/pages/HomeStub.tsx`.**
170
+
It carries the same stale `codeforphilly-rewrite` URL the footer had, but
171
+
nothing imports or routes it (`App.tsx` imports only `LoginPlaceholder` from
172
+
`src/pages/`; every live screen lives in `src/screens/`). Left alone because
173
+
the right fix is deleting the file, not patching a URL nobody renders — and
174
+
that deletion wants its own scope. Flagging so a future grep for the old repo
175
+
name doesn't read as an unfixed live link.
176
+
177
+
-**Issue — make the `apps/api` test fixtures cross-platform.** The `/dev/null`
178
+
failure-injection idiom (and whatever the other seven failures share) makes
179
+
the API suite unrunnable on a Windows dev box, so the documented validation
180
+
gate can only be completed on Linux or in CI. See Notes for the mechanism.
0 commit comments