gitoria

calendar

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit876d22b2876d22b2reports/H1-hydrate.mdmre876d22b2/reports/007-followup.md

2.6 KB

  1. # Report 007 — follow-up to 006: first-pointer race gate, docs, dry-run (worker A5)
  2. Branch w7-followup (from ba9b495), ports 8750–8759.
  3. ## 1. Gate that fails on old, passes on new (tests/browser.mjs, in deploy.sh)
  4. Signed in as alice (3 events on the page), fresh load, `captureWs()` wraps the page's WebSocket; after hydration + 1.5 s settle the
  5. gate counts the `calLoad` frames sent, does a real pointer move + real click on `#month-next` (a MutationObserver records every title),
  6. waits 2.5 s (where a late answer of a re-run show() would land), counts again, then pages back (`#month-prev`) for the later steps.
  7. - check A "signed in: the first pointer event runs no calLoad of its own (only the paging one)": calLoad frames sent = 1.
  8. **old 3c5604f: 2 → FAIL** (the first pointer event's own show() → calLoad). **new: 1 → ok.** Deterministic: it counts frames on the wire, no timing.
  9. - check B "the month the user paged to stays after the late answer (the title never goes back)": ok on old AND new — honest: a localhost
  10. round trip is too fast to make the stale answer land after the click (A4 could not force it either); B documents the user-visible
  11. outcome, A is the proof of the cause.
  12. - Old tree = 3c5604f with this tests/browser.mjs and only the logout helper adapted (old has no user menu): 79 passed, 2 failed (A, theme colour — the theme change).
  13. - New: **81 passed, 0 failed** (was 79/0; +2 checks). Logs: /media/STORAGE/claude-scratch/atlas-evidence/A5/gate-old.log, gate-new.log.
  14. ## 2. Docs
  15. README.md: paragraph on the theme (dbe3de7), ContentFirst, ☰ menu + user menu, month-view fork keeps only its own styles, check-theme; table rows for styles.hl / theme/.
  16. /media/STORAGE/projects/WorldAPI/layouts.worldapi.org/docs/usage.md: calendar row edited in the layouts main checkout, **left UNCOMMITTED** (the file already had another uncommitted change, the tracker row, not mine).
  17. Note: I stated theme dbe3de7 (what theme/ came from per LOG); 76f99f6 (conductor's brief) is not in README — I could not verify it for calendar.
  18. ## 3. deploy.sh --dry-run (supported): `./deploy.sh --dry-run --target <local scratch dir>` — gates ran, rsync -n listed 236 lines, nothing sent/restarted, exit 0 (evidence dry-run.log).
  19. Needs `NOTIFY_GATE_SCRATCH=<short path>` in the scratch tree (Chrome socket path < 108 chars; without it notify-paths fails 0/6 "Socket path too long" — environment, not code).
  20. ## 4. Gates on the branch
  21. browser 81/0 · check-theme 26 files, 0 problems · notify-paths 7 passed, 0 failed, 3 Hybriel gaps (same as before).
  22. ## Cleanup
  23. No processes left (checked), ports 8750–8759 free of mine, worktrees/scratch data copies: no data copies were made; wt-old/dry-target/ng removed.

Branches

Latest commits

  • 876d22b2reports/H1-hydrate.mdmre
  • ef0cae45tests/dst.mjs: wait for hydration instead of a fixed 2.5 s sleep before clicking #gomre
  • d9cadecatests/cdp.mjs: HL_CPU_THROTTLE=<rate> optional CPU throttling for gate runsmre
  • efa61227re-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
  • 7808adbecalendar#12: report 011, LOG, STATUS, push-shots-testmre
  • df2e4fa0calendar#12: test push rate limit (1 per 30 s per device), owner-only gate checksmre
  • acb957cfcalendar#12: Send a test notification on a subscribed device (one push in ~10 s, owner's own device), push gate part 4mre
  • 0b222eb8tests: e2e-theme CDP port default from E2E_THEME_CDP_PORT (8756 unchanged)mre
  • 8b8a5abare-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • a69b27f9docker-compose: nofile 65536 (Hybriel int 6+ boot opened >1024 files in the tracker)mre
  • 1a97edfdcalendar mission 010: reminder rows at 390 px (the 7-column month grid no longer catches the reminder lists), gate checks, settings-shots, reportmre
  • 61b21404calendar mission 009: reminder times on hl:time in the browser (lib/push-plan.hl and the Intl code removed), DST gate tests/dst.mjs, E2E script, reportmre
  • 875353c1calendar mission 009: re-vendor Hybriel master 022a3ac1 (int 6 6b396322 hl:time browser side, int 7 65e8ec21; bin sha256 6e0f77d7, plugins whole)mre
  • ce16a4efdeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
  • f490bc8cdeploy: Web Push gate tests/push.mjs (PUSH_GATE_PORT)mre
  • 3af29fc8calendar mission 008 (A8): report, README, LOG, push-shots.mjsmre
  • f91f3663calendar mission 008 (A8): push only asked of the browser when the app has the VAPID settings (pushAvailable); real-FCM E2E scripts (push-real-app.mjs, push-real.mjs)mre
  • bf571badcalendar mission 008 (A8): Turn off on this device (unsubscribes the browser, server drops the device, choice kept), subscribe/refresh when the app is shown again; push gate part 3mre
  • 50985708calendar mission 008 (A7): Web Push report, README, mission, LOGmre
  • ee318774calendar mission 008 (A7): push-real.mjs, push sent log linemre