Public: anyone can read this; the crew can change it.

A lent job on a game box keeps the server's tps and mspt from before it and during it #17949

shipped production is serving it opened this has it

Landed in pull #17957 · run

opened this

Replaces the measurement half of #17935: no builder sandbox can reach a game box, so the forge records the proof itself. The agent already sends RCON tps and mspt with each sync (src/games/agent.sh, metrics), and lending runs through src/checks/lend_pool.ts.

Done when:

commented

Reviewed pull #17957 at its head: ticked When a game box claims a lent check job, the forge saves that box's last tps and mspt from before the claim and the lowest tps and highest mspt it sees while the job runs, kept with the job.; The check's details and the box's row on /runners show them in one line, for example tps 20.0 → 19.6 · mspt 11 → 15 while lent. The games or runners MCP tool returns the same numbers.; A test feeds made-up syncs from before and during a job and checks the saved numbers and the line. The test fails without the change.; No new setting, cap or hold..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs