tickets
All repositories: gitoria
4.5 KB
# Report — tickets mission 020 (tickets#27 final proof) — worker J3 — PASS, no app bug found; nothing changed in the appBranch w27 (app code 1206404 unchanged; components w27c 15be2ac unchanged). Only tests/ + docs added. Not deployed, pushed, merged.## 1. Real data — old vs new byte-identical* Newest backup: /media/STORAGE/deploy-backups/tickets.worldapi.org/tickets.worldapi.org-20261020-1224.tgz → extracted twice (J3/old, J3/new, `storage/`);originals never opened. An az5b2 (users @id 0mufikk6hj1u) session file was written inside each copy by tests/e2e-start-app.sh. OLD = old-tickets (f83d9c0) on :8700,NEW = w27 (1206404) on :8701, each on its own copy (TICKETS_STORAGE / SESSIONS / ATTACHMENTS inside the copy).* **All 409 tickets**: GET /api/projects/<slug>/tickets/<n> signed in AND signed out → 818 responses, **818 byte-identical, 0 different** (max 36 events: antcolony#20,calendar.worldapi.org#3 (28), components.hybriel.worldapi.org#2 (27)). /api/tickets (524 295 bytes), /api/projects, /api/inbox also byte-identical.(Before any write; the E2E below then wrote comments to the NEW copy only.)## 2. E2E in lisbeth's Chrome (CDP), ticket /antcolony/20 of the copy — tests/e2e-attachments.mjs* Tunnels (from loreana): `ssh -f -N -L 9223:127.0.0.1:9223 lisbeth` (9223 was not forwarded yet; an unrelated 9323 tunnel of someone else exists, untouched) and`ssh -f -N -R 8700:127.0.0.1:8700 -R 8701:127.0.0.1:8701 lisbeth` (Chrome on lisbeth opens http://127.0.0.1:8701/…). Session cookie hlsid set with Network.setCookie.Test files copied to lisbeth /tmp/j3-files (DOM.setFileInputFiles paths are on the browser's machine) and removed again.* ONE tab reused (an about:blank tab of the test Chrome, navigated; a page of someone else at 192.168.178.75:8100 left alone; the tab ends on about:blank).Slip: I called /json/new once by mistake (a stray about:blank tab) and closed that tab again right away.* Real mouse clicks (Input.dispatchMouseEvent), real typing (Input.insertText), real Ctrl+Enter, file chooser via setFileInputFiles; device metrics override 390×844 @2 mobile / 1280×900.* **OLD** (2/2): form measured: 390 → scrollWidth 390, editor font 16 px, only a "Comment" button 92×32 (no file control).* **NEW 17/17 pass** (both widths): 2 chosen pictures → 2 drawn thumbnails (390, 1280 px natural); paste → 3rd thumbnail "image.png" (160); ✕ removes one (2 left);11 MB huge.bin → row "Too big — at most 10.0 MB", the 2 pictures stay; send (390: real click on Comment, 1280: Ctrl+Enter) → comment with 2 thumbnails drawn (96×96), form empty;tap on a thumbnail → full picture opens in a new tab `http://127.0.0.1:8701/api/attachments/<id>` (target _blank; I closed that tab).**390 measures**: scrollWidth 390 and no element beyond 390 (empty form, with picked + refused rows, after send); 15 tap targets (thumbnails 96×96, ✕ 44×44, Choose files 110×44,Comment 104×44) all ≥ 44 px; the visible editor font 16 px (≥ 16; the md-editor's hidden textarea is display:none, not an input the user sees).1280: scrollWidth 1265 = the scrollbar, nothing beyond.* **Paste caveat**: CDP could not fill lisbeth's system clipboard (navigator.clipboard.write returned ok but the clipboard stayed the user's old text; a real Ctrl+Vpasted that text). I therefore did NOT press a real Ctrl+V (it would paste private text into the form) and dispatched a `paste` ClipboardEvent carrying a PNG File onthe focused editor — the real handler ran; the real keypress itself is the one unproved piece (tests/browser.mjs m017 does a real Ctrl+V in headless Chrome, green).* Screenshots (PNG, I cannot view them; sizes > 50 KB; measurements above count) in /media/STORAGE/claude-scratch/atlas/J3/shots/:old-390-form-before, old-1280-form-before (BEFORE, old code);new-390-form-before, new-390-form-3thumbs, new-390-form-refused, new-390-comment-sent, new-1280-form-before, new-1280-form-3thumbs, new-1280-form-refused, new-1280-comment-sent (AFTER).(My first two runs failed only in my own script — a wrong hidden-textarea check and the real Ctrl+V — each fixed in the script; they left 4 extra comments on the NEW copy.)## 3. BugsNone in the app. Gates not rerun (no app code changed).## CleanupServers (:8700, :8701) stopped (my pids), my two ssh tunnels killed, /tmp/j3-files removed, my tab on about:blank; `ss` shows nothing of mine listening.## Files / commitstests/e2e-attachments.mjs, tests/e2e-start-app.sh, missions/020-attachments-e2e.md, this report; one commit on w27. Data copies + shots stay in J3/.
Branches
Latest commits
- 40fddc20tickets takes components e54f83a: tables get thin grey lines from the theme, desktop toolbar stays one row with the Table button, F4 check counts 11 buttonsmre
- c1b77d61tickets#35: text typed before the editor is built is taken in once by the build (the input handler no longer writes it to the field first, which doubled the first letters); the gate failure shows the surfacemre
- 32bf1873tickets#35: the gate types right after the load with the CPU slowed, no waitingmre
- 64ea9ca2tickets#35: text typed into the reply editor before the page has finished starting is kept; the gate types right after loadmre
- ccd3a327tickets: the security gate expects frame-src to be exactly the ident address (the sign-in frame), still no wildcard or selfmre
- 4348dbabident#31: the selector's sign-in returns to the page the user started on (return attribute = the login callback with next), gate checkmre
- 66ef3005Merge branch 'iw-ident-widget'mre
- bc0ad663tickets: a gap between your name and Log out in the phone header (they touched); gate checks itmre
- 2f818d46UX2: report, LOG line, e2e fixes, gate pause after loadmre
- af3ef7c4gate: the legacy state line says progressmre
- 62480a00tickets#33: a state change with a note is a comment card in the feed (same framework rendering, can be liked, edited, deleted), its state line stands alone; gate checks for a new comment with and without a state change, at once and after a reloadmre
- 4ae80007UX: Respond is one composer (state in its footer, button says what happens); New ticket / New project windows in the list heading row; project form shared; theme copied from layouts; gates and a lisbeth e2emre
- f03b438atickets header: the selector alone top right plus your name and Log out as before the theme missions; the user icon is gonemre
- 81f10e4eident selector back in the header (creator 2026-10-24): selector top right signed in and out on phone and desktop, no second Log in button, new gate checks (WIP: gates not re-run after the last edits)mre
- e9f428e7tools: reown-authors (tracker#36: every author that is not Caramboleyo or Apollo becomes the project's conductor; antcolony, miserit-anthar, hybrilior, termuplex stay) and a read-only author surveymre
- f51029abMerge branch 'sy-sync'mre
- eae6e8c7sync components.hybriel 4922f9c: comments like / Edit / Delete / 'edited' are 44 px targets; gate: 'edited' hit-area padding, thread targets check (SY)mre
- 0de4750btheme: sync from layouts 4994037 (list rows stack, td word-keep, heading code, edited tap target)mre
- 4eeb7bfeST2 report wordingmre
- 2558f56cst2-sec: keep the hlsid session cookie name (no one is signed out), Secure flag only; gate: a cookie issued by main stays signed in; ident stub serves selector.js; security.mjs in deploy GATESmre