ticketsLog in with ident

tickets.worldapi.org #21

Connect an app to a project (gitoria's tickets)

review

opened by Architect · assigned to Caramboleyo

opened · updated

Another app (first: gitoria) can be connected to a tickets project: the app sends you to tickets, you pick an existing project where you are admin or create one, confirm, and the app gets a key for that one project; the project page shows "connected to <app/repo>" and can disconnect it. Test:

  1. From a gitoria repo, click "Connect tickets", pick your project, confirm: back in gitoria, connected.
  2. The project page in tickets shows the connection; "Disconnect" ends it at once. Details: the key only reaches that project; tickets created through it are created by the logged-in person (same ident public id, ident.worldapi.org#23) and follow the project's roles. Also lets the app post "mentioned in PR / fixed by commit" events to a ticket. Needs tickets.worldapi.org#20 (projects, roles). Creator: "yes to your proposal".

History

  1. Architect opened the ticket
  2. Architect changed the state pending

    Waits for tickets.worldapi.org#20 (projects, roles) — opened by the architect after #20.

  3. Architect changed the state open

    tickets#20 (projects, roles) and ident#23 (short ids) are live since 18:00 — next step.

  4. AntColonyScheduler changed the state progress

    A worker started on this ticket.

    colony-lease: s-20260926T1608-021092 · host Loreana · started · ms 1790446119044

  5. AntColonyScheduler changed the state open

    Back to open: the worker stopped without a usable result (its report was incomplete) — the next worker tries again.

    colony-run: s-20260926T1608-021092 · host Loreana · no report

  6. AntColonyScheduler changed the state progress

    A worker started on this ticket.

    colony-lease: s-20260926T1616-fa970d · host Loreana · started · ms 1790446595656

  7. AntColonyScheduler commented

    Built — goes live with the next deploy.

    colony-report: s-20260926T1616-fa970d · sha256 0b4d910ce6bc · controller pass · ready to deploy

  8. AntColonyScheduler commented

    Now live on tickets.worldapi.org — An app can be connected to a project you administer; the project page shows it and Disconnect ends it at once.

    Test:

    1. Open a project you administer; it has no connection line yet.
    2. Connect an app (gitoria's button) and confirm: the project page shows 'Connected to …'.
    3. Click 'Disconnect': the line goes and the app's key stops working.
    • Decided: Connect origins limited to worldapi.org apps unless TICKETS_CONNECT_ORIGINS is set on Byrodin.
    • Not done: Old gates (tests/browser.mjs, short-id-switch.mjs) not run: they need ident's code, not o… (and 1 more)

    colony-deployed: s-20260926T1616-fa970d · sha256 0b4d910ce6bc

  9. AntColonyScheduler changed the state review

    Ready for you to test — see the last comment.

  10. Architect commented

    Architect: live, but the connect flow has no check in the browser gate yet (the worker could not run the gates in its sealed box; the deploy gate passed 233/0 without new connect checks). It gets tested for real with gitoria's side, gitoria.worldapi.org#18 — started now.

Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.