Commits
Commits on
37e985d7446f13ea8d71da4ff0e8d2d11d64a25fFiltered to crates/forge-runner/src/selflog.rsClear filterYesterday
🔥 remove: every code comment and doc comment in the Rust sources (12k lines), per the no-comments rule; docs/ holds the rationaleAhmet Kaan Gümüş · 7e521ed
Browse files
ci/buildSucceededDetails
♻️ refactor: forge-runner and forge-web-base drop dead code, duplicated parsing and stale comments; fixes: memory.high no longer drops to 0 on small boxes, log lines are cut at MAX_LINE exactly, a half-installed image rootfs is replaced on retry, register resolves local paths before using the one-time token, strip_ansi keeps the char after a lone ESCAhmet Kaan Gümüş · 68935b0
♻️ refactor: forge-runner and forge-web-base drop dead code, duplicated parsing and stale comments; fixes: memory.high no longer drops to 0 on small boxes, log lines are cut at MAX_LINE exactly, a half-installed image rootfs is replaced on retry, register resolves local paths before using the one-time token, strip_ansi keeps the char after a lone ESC
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