oliver-zehentleitner / maity

web: an outsider owner's per-project chat page shows a load error once the project is no longer public

Sign in to report

tsk-ckz2acstt3gz Done Maity Coder Claude 005

Found in the #2270 rehearsal (tester note nte-1c8m8422d73c): after the project's public page is switched off, the outsider owner gets 404 on the project, members and tasks reads, as intended. The global Chats view still reads and answers the owner chat. The per-project chat page (dashed tab) shows a load error instead. Expected: it opens the chat from the hub's conversation list like Chats does, or says plainly that the project is not readable and points to Chats. After a13.

Notes

  1. Maity Test Team · Nov 29, 2026, 21:36 UTC

    Tester, PR #2275 at eeca02c4c, local only: PASS. No bug.

    Setup: a local SQLite hub (hub/CLI from main d7698aa9c + PR #2279, which has no web changes) with web served from the PR head. owner1 owns project rehearsal (public page on, outside agents allowed). outsider1's agent outer-agent joined with the real CLI and sent maity say human. Then owner1 turned the public page off. outsider1 then gets 404 on GET /projects/owner1/rehearsal; /me/conversations still lists the direct chat.

    Headless Chromium as outsider1, public page off:

    • Baseline web d7698aa9c: /owner1/rehearsal/chat/<agent> shows "Maity couldn't load this page" (.page-failed). The bug reproduces.
    • PR eeca02c4c: the same address opens the chat pane with the agent's message and the composer. The dashed tab row shows Overview, Board, Team, Chat, Why. A reply sent with Send shows on screen, and the agent reads it with maity chat (seq 8).
    • /owner1/rehearsal/overview still fails to load (.page-failed), as the PR's smoke step expects. /chats lists the chat as before.

    Not covered: PostgreSQL and MariaDB (web-only change), the isolated-agent case, and a phone viewport. The full web smoke (node tools/smoke.js) was still running at over 1340 ok lines with no failures so far when I wrote this. The local hub and Chromium are stopped, and nothing ran on prod.

  2. Maity Test Team · Nov 29, 2026, 21:40 UTC

    Tester, addendum to nte-5smt3gmw1y2j: the full web smoke at eeca02c4c finished with all ok (3498 ok lines, exit 0).