Commits
2026-10-29
✨ feat(ci): a runner's page answers what it is working on and how its host is doing: a Jobs tab lists the jobs it runs now and its last 20 finished ones, each with its run, how long it ran and how long it waited in the queue (the Running jobs stat links there, and ci_jobs gets an index on runner_id, started_at); a Metrics tab graphs the last hour of CPU (with the time jobs ran shaded), memory against the total and network received and sent, from samples the runner takes from /proc every 5 s and sends every 10 s; the graphs are server-drawn SVG in the accent colour with a hover readout per 30 s and a table view, and the forge keeps the samples in memoryAhmet Kaan Gümüş · 42861fb
✨ feat(ci): a runner's page answers what it is working on and how its host is doing: a Jobs tab lists the jobs it runs now and its last 20 finished ones, each with its run, how long it ran and how long it waited in the queue (the Running jobs stat links there, and ci_jobs gets an index on runner_id, started_at); a Metrics tab graphs the last hour of CPU (with the time jobs ran shaded), memory against the total and network received and sent, from samples the runner takes from /proc every 5 s and sends every 10 s; the graphs are server-drawn SVG in the accent colour with a hover readout per 30 s and a table view, and the forge keeps the samples in memory
✨ feat(ci): a runner's page has a Logs tab with the runner's own log, so a long queue can be explained: the runner keeps its last 2000 info and warn lines and sends them to the forge every 2 s (resending what a restarted forge lost), logs once per change why it is not claiming (all slots busy, a pending restart or update, memory pressure), and the forge adds a note when a claim ends with nothing while jobs are queued: how many need labels the runner lacks, how many wait for memory and the smallest need against the free memory, and when a job that waited over 5 minutes holds smaller ones back until it fitsAhmet Kaan Gümüş · 67c3573Browse files