tickets
All repositories: gitoria
3.7 KB
# tickets.worldapi.org on Byrodin — house pattern of notes.worldapi.org# (/CONTAINERS/projects/notes.worldapi.org): ./Dockerfile = debian:12-slim + libssl3 + ca-certificates (bin/hybriel is a glibc binary,# needs GLIBC_2.36 = debian 12), host network, the app on 127.0.0.1:45003, nginx proxies# it and ends TLS (vhost needs the WebSocket Upgrade headers: the live push rides `/`).# The whole folder is the bind mount: storage/mpackdb/ and .sessions/ live here and persist.# Deploy: ./deploy.sh on Loreana (README "Deploy").# HYBRIEL COMPILES THE APP AT ITS START (no interpreter since hybriel mission 326; hybriel#148): it writes scratch# files to /tmp (a tmpfs here) and its build cache to HL_CACHE_DIR (hybriel a832f73b, mission 332: run/ = the built# program, incr/ = the incremental stages, lib/ = the carried runtime library) = /root/.hybriel/cache, inside the named# volume `hybriel-cache`, so a restart starts warm (~1–3 s) and only a new binary or changed code compiles again (cold ~25 s).# LOGIN VIA IDENT (ticket #7): IDENT_API_KEY, IDENT_API_SECRET and TICKETS_CREATOR_IDENTITY come# from `.env` in this folder (the hybriel runtime loads a .env beside project.hl; the real# environment wins) — never written here. IDENT_URL / TICKETS_PUBLIC_URL default to the public# https origins. IDENT_EXCHANGE_URL: the server-side code exchange goes straight to ident's# loopback port (host network) instead of through Cloudflare + nginx.services:tickets:container_name: tickets.worldapi.orginit: true # hybriel#156: the app as PID 1 ignores SIGTERM (restart waited 10 s)build: .image: "worldapi-hybriel-runtime:debian12"working_dir: /home/ticketsnetwork_mode: hostrestart: unless-stoppedulimits:nofile: { soft: 65536, hard: 65536 } # Hybriel int 6+ opened >1024 files at boot in the tracker (errno 24, 2026-10-22)environment:- HL_HOST=127.0.0.1- TICKETS_PORT=45003- TICKETS_WATCH=0- IDENT_EXCHANGE_URL=http://127.0.0.1:45002- HL_CACHE_DIR=/root/.hybriel/cachevolumes:- ./:/home/tickets- hybriel-cache:/root/.hybrieltmpfs:- /tmp:exec,mode=1777command: ./bin/hybriel project.hl# STANDBY (deploys without a gap): the same image and the same bind mount on port 45013 (= main port + 10). nginx lists it as the# `backup` server of the tickets upstream, so it only gets requests while 45003 is down. The profile keeps `docker compose up -d` from# starting it; ../worldapi-conductor/standby-swap.sh starts it for a deploy and stops it again. tickets has no background jobs or timers.# About 40 s with two processes: the live push list (subscribers of /api/events) is per process, so a page connected to the main container does# not get the pushes of a change made on the standby (and the other way round) until its connection reopens; the data itself is read from the# shared storage, and a reload shows everything. Sessions: as in gitoria, a login made in that window may need one more sign-in.tickets-standby:init: true # hybriel#156: the app as PID 1 ignores SIGTERM (restart waited 10 s)build: .image: "worldapi-hybriel-runtime:debian12"working_dir: /home/ticketsnetwork_mode: hostulimits:nofile: { soft: 65536, hard: 65536 } # Hybriel int 6+ opened >1024 files at boot in the tracker (errno 24, 2026-10-22)volumes:- ./:/home/tickets- hybriel-cache:/root/.hybrieltmpfs:- /tmp:exec,mode=1777command: ./bin/hybriel project.hlcontainer_name: tickets.worldapi.org-standbyprofiles: ["standby"]restart: "no"environment:- HL_HOST=127.0.0.1- TICKETS_PORT=45013- TICKETS_WATCH=0- IDENT_EXCHANGE_URL=http://127.0.0.1:45002- HL_CACHE_DIR=/root/.hybriel/cachevolumes:hybriel-cache:
Branches
Latest commits
- 8a69999cident#28: /login/callback never signs out the session it finds; a valid code puts the user on the same sessionmre
- 337e9b21tickets#37: a comment's files are open to everyone who can read the commentmre
- 1800600ftickets: write the standby service out in full so the boot gate can read the main servicemre
- 8179d287tickets: standby service on its port plus 10 and a deploy that hands over through it without a gapmre
- 0398145ctickets: the table grid rule is marked functional for check-thememre
- 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