6.0 KiB
Build and Test Summary
Feature: prerendering. Branch feature/prerendering, worktree AndreaSlopFotografie-prerendering.
Verified at HEAD 39dc456. The code is that of 2006fa0 (CI run 599); later commits change only aidlc-state.md and audit.md.
In this stage no build and no Lighthouse run was made. pnpm test was run once (exit 0). The other results come from CI runs 598 and 599, the main session's checks on the test site, and the measurement reports.
Build Status
- Build Tool: pnpm 12.11.2,
tsc && vite build && node config/externalizeInlineScripts.ts(Node v24.16.0) - Build Status: Success (the
checkjob of CI run 599 is green: lint, format, unit tests, build, audits) - Build Artifacts:
web/dist/client/(12 HTML files,sitemap.xml, assets with the moved scripts; deployed) andweb/dist/server/(not deployed) - Main bundle: 547,302 bytes raw, 155,603 bytes gzip over the wire (test server)
- Build Time: not recorded in this stage
Test Execution Summary
Unit Tests
- Total Tests: 1390 in 132 files (code summary of unit 3; baseline on master 888 in 113 files)
- Passed: all;
pnpm testat HEAD exited 0 in this stage. The "Tests" line was not captured (output read throughtail), so the count is the code summary's figure. - Failed: 0
- Coverage (v8, this stage): statements 96.1%, branches 94.5%, functions 97.36%, lines 96.6%; thresholds met
- fast-check seed: printed on every run (
config/testSeed.ts); replay withFC_SEED=<seed> pnpm test - Status: Pass
- Details:
unit-test-instructions.md
Integration Tests (browser suite, pnpm e2e)
- Test Scenarios: 7 (hydration, raw HTML, display fallbacks, nginx rules against the build, server redirect against router, deploy scripts, deployed test site)
- Passed: 471 of 471 tests in 12 files (CI run 599), including 198 against real nginx 1.24 (
serverRules.e2e.ts) and 47 deploy-script tests with the real lftp cases (deployScripts.e2e.ts) - Failed: 0
- Local run before CI: 248 passed, 204 skipped (nginx and lftp suites skipped on the PC), 0 failed
- Status: Pass
- Details:
integration-test-instructions.md
Performance Tests
- Reference measurement (author's PC, 3 runs, median, commit
6d4d012, not re-run): mobile 0.85 to 0.97 on the 12 URLs (master 0.75 to 0.91); desktop 0.99 or 1.00. Every URL meets its target (/exactly at 0.85). Accessibility 1, best practices 1. - CI run 599 (Pi runner, 1 run): performance mobile 0.47 to 0.66 and desktop 0.71 to 0.81, all warnings, by design (warn-only on the Pi). Accessibility, best practices and SEO assertions pass.
- Status: Pass against the reference measurement; CI performance is warn-only and not comparable.
- Details:
performance-test-instructions.md
Additional Tests
- Contract Tests: N/A (no API; static site)
- Security Tests: Pass for the production audit, headers, redirects and deploy-script checks. Development audit: advisories in tools only, non-blocking (23 at unit 3 Step 21). IIS and FTPS unverified. Details:
security-test-instructions.md. - E2E Tests: Automated suite passes (above). Human check V-D4 (no-JS menu in Firefox, Safari, Chrome on Android) is open. Details:
e2e-test-instructions.md.
Test site check (run 598, commit 79b1a66)
Deployed to test.andreaslop.nl with the post-deploy check green, after the owner placed the new nginx config first. Curl checks by the main session: pages 200; /over-mij/, /Over-Mij, /over-mij.html, /index.html give 301; /bestaat-niet, /404, /404.html, /%5Cevil.example/ give 404; gzip on HTML and JS; security headers present; no e-mail address in the HTML of /over-mij. Pi-Main checked the config on nginx 1.30.6 without root.
Defects found by the test stages (all fixed)
CI runs 591 to 598 found and fixed: a hydration test race, a case-insensitive nginx map key (/Over-Mij), an open redirect through %5C, harness permissions when nginx runs as root, the PC runner (no policy.json, run 597), and a duplicated upload script (run 598). Details are in the code summaries and audit.md.
Extension Compliance
Property-Based Testing (full enforcement)
| Rule | Status | Note |
|---|---|---|
| PBT-08 (shrinking and reproducibility; applicable at this stage) | Compliant | Seed printed on every run and replayable (FC_SEED); no shrink override found; both CI jobs log a seed; PBT is in CI |
| PBT-01 to PBT-07, PBT-09, PBT-10 | Not re-evaluated | Evaluated at Functional Design and Code Generation (properties P1 to P25 and P-HST-01 to 11 are listed in the code summaries); outside this stage's scope |
Security Baseline
Compliant where applicable: SECURITY-04, 09, 10, 11, 13, 15; others N/A for a static site. Unverified: IIS rules, FTPS against a real host. See security-test-instructions.md.
Overall Status
- Build: Success
- All Tests: Pass (471 of 471 browser tests in CI, unit suite green)
- Ready for Operations: N/A (Include Operations Phase = No,
aidlc-state.md)
Open Items
- V-D4: the no-JS menu in Firefox, Safari and Chrome on Android. Human task for the owner, on the test site.
- IIS: the rules are generated text and unverified; there is no host yet.
deploy-productionstays dispatch-only. - FTPS against a real host is untested; lftp is proven against a local
file:target only. - nginx 1.30.6 on the Pi: CI proves 1.24.0; the config was checked on 1.30.6 without root.
- Lighthouse:
/sits exactly at its 0.85 target withnumberOfRuns: 1, so a slow local run can failpnpm check. zwangerschap and portret keep a 0.85 target because one run is unreliable at 0.90. Responsive photos are the planned fix for the exceptions. - PC runner: stopped (missing
policy.json). Restart withpodman start gitea-runner; the cause is open. - Repository access: the repository appears to be anonymously readable from the Pi. To be checked by the owner.
Next Steps
Build and test passes. Operations is not included, so the workflow completes after this stage once the owner has reviewed the open items above.