PEP-233: тест неудачных релизов — запас времени на шесть сообщений агенту по очереди
All checks were successful
peppa/lint lint: success за 2с
peppa/typecheck typecheck: success за 41с
peppa/build build: success за 28с
peppa/test test: success за 1198с
peppa-ci / ci (pull_request) Successful in 22m1s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
peppa-bot 2026-11-22 08:13:44 +00:00
parent b55f1494aa
commit 0ccd38d284

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");