PEP-248: тест ревьюера ждёт саму карточку «готово» — статус ставится раньше неё (гонка под нагрузкой CI)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d852aed15b
commit
ad59289ae7
@ -210,7 +210,9 @@ describe("reviewer details", () => {
|
||||
assert.equal(done.error, "ревьюер ответил не по формату");
|
||||
// No runner: the PM gets "ready for review" directly.
|
||||
assert.equal((await t.ref()).task.status, "review");
|
||||
await cardDetailsMatch((await readyQuestions(t))[0]!, /Ревьюер не отработал: ревьюер ответил не по формату/);
|
||||
// The status goes before the card is sent: wait for the card itself.
|
||||
const card = await waitFor("ready for review", async () => (await readyQuestions(t))[0] ?? null);
|
||||
await cardDetailsMatch(card, /Ревьюер не отработал: ревьюер ответил не по формату/);
|
||||
|
||||
// Approved head → asking again goes straight to review with the note.
|
||||
await core.updateTask(db, await t.ref(), { status: "in_progress" });
|
||||
|
||||
Loading…
Reference in New Issue
Block a user