Generates the nginx rules for prerendered pages
Pages now map to their html file, other forms get one redirect, unknown URLs get a real 404 and responses are compressed. A browser-free test suite runs the rules against a real nginx, in CI only so far. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
# Baseline checks: hosting and targets (Step 1, CP0)
|
||||
|
||||
- Commit: `4f32042410a8163b19c2296f99bd85c9ced79538` (branch `feature/prerendering`)
|
||||
- Date: 2026-11-01
|
||||
- Node: v24.16.0; pnpm: 12.11.2
|
||||
- `git status --short`: empty (clean tree; no untracked files reported)
|
||||
|
||||
## Command results
|
||||
|
||||
| Command | Result | Counts and details |
|
||||
|---|---|---|
|
||||
| `pnpm lint` | pass (exit 0) | ESLint: no issues found |
|
||||
| `pnpm format:check` | pass (exit 0) | All matched files use Prettier code style |
|
||||
| `pnpm test` | pass (exit 0) | 130 test files passed (130); 1277 tests passed (1277). Coverage thresholds met: statements 96.12%, branches 94.62%, functions 97.27%, lines 96.59%. fast-check seed: `1618276745` |
|
||||
| `pnpm build && pnpm e2e` | pass (exit 0) | e2e: 9 test files passed (9); 214 tests passed (214); duration 207.73 s. Build completed before the e2e run started (`&&`) |
|
||||
|
||||
Logs: `C:\Users\Bryan\AppData\Local\Temp\claude\k--Development-SlpSoftware-Projects-AndreaSlopFotografie\bb0a550e-5427-462f-b99b-f9db012a172a\scratchpad\b0-test.log` (test run), `C:\Users\Bryan\AppData\Local\Temp\claude\k--Development-SlpSoftware-Projects-AndreaSlopFotografie\bb0a550e-5427-462f-b99b-f9db012a172a\tasks\bbl6g4opx.output` (build and e2e).
|
||||
|
||||
## Tool availability
|
||||
|
||||
- nginx available locally: **no**. `Get-Command nginx` and `where.exe nginx` found nothing; `C:\nginx\nginx.exe` absent; `C:\Users\Bryan\scoop\apps\nginx\current\nginx.exe` absent; `NGINX_BIN` is empty.
|
||||
- scoop: present; `scoop list` shows only `php 8.5.9`.
|
||||
- lftp: **no** (`Get-Command lftp` found nothing).
|
||||
- bash: **yes** (GNU bash 5.2.37, msys; `C:\Users\Bryan\AppData\Local\Microsoft\WindowsApps\bash.exe`).
|
||||
- curl: **yes** (curl 8.12.1 from Git Bash; `C:\WINDOWS\system32\curl.exe` 8.21.0 also present).
|
||||
- podman: machine `podman-machine-default` (wsl) listed, not started (`podman machine list` only, read-only).
|
||||
|
||||
## Checksums (SHA-256)
|
||||
|
||||
- `web/lighthouserc.cjs`: `717c80a2aee64ba534b01bbffcd90b6dceba6fd666dd24fb13d8d4db182bee43`
|
||||
- `web/lighthouserc.desktop.cjs`: `f13d993389babd384177a0a1c601547b356d894ae97ac12177b09229a5318e04`
|
||||
|
||||
## State at the end of Step 1
|
||||
|
||||
- No server or browser left running; port 4173 is free.
|
||||
- Files written by this step: `aidlc-docs/features/prerendering/construction/hosting-and-targets/code/verification-log.md` (V1 to V14 rows, V6 WITHDRAWN) and this file.
|
||||
Reference in New Issue
Block a user