PEP-233: сторож раннера проверок не обрывает задания; PR без проверок не держит очередь #223

Merged
peppa-bot merged 9 commits from task/pep-233 into main 2026-11-22 09:28:15 +00:00
Showing only changes of commit 0ccd38d284 - Show all commits

View File

@ -131,7 +131,9 @@ describe("Проверка здоровья и откат", () => {
assert.equal((await mine()).length, 2);
assert.match((await mine())[1]!, /остановлен/);
assert.match((await mine())[1]!, /больше не пробует/);
await s.tp.waitLog("the agent is told to stop", (e) => JSON.stringify(e).includes("это предел"));
// Six messages reach the busy agent one turn at a time (~4 s each with the mock): the sixth
// comes ~25 s in, so the default 25 s wait is a coin toss on a loaded CI runner.
await s.tp.waitLog("the agent is told to stop", (e) => JSON.stringify(e).includes("это предел"), 90_000);
assert.equal((await core.getPlatformDelay(db, s.scope, "deploy"))!.exhausted, true);
await s.rel("00000007", "rolled_back");
assert.equal((await mine()).length, 2, "after the limit nothing new");