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

Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:34c5ijp7d4 is past its budget: trevato/forge: "password doors share the sign-in windows > the terminal sign-in refuses the right password after the wi… #4397

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

scout/forge:scout/4365-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 2 commits fork

  • Merged. scout/4365-sentinel-shared-01m23vygyffx5hg2f5vm8r74 was merged into main as 671e055.

Review

Sign in to review this change.
1 file changed +8 −1
test/signin-password-doors.test.ts +8 −1
@@ -80,7 +80,14 @@ describe("password doors share the sign-in windows", () => {
8080 const made = (await forge()).app;
8181 const session = new Session(made, { sshUsername: "pat", remoteAddress: "203.0.113.9" });
8282 for (let i = 0; i < TRIES; i++) {
83 const wrong = await session.signIn("pat", `wrong-${i}`);
83 // The hash gate is process-wide: a busy machine, or a hash another
84 // suite left running, can turn a guess away unhashed (and uncounted).
85 // That is not the window under test, so ask again until it is checked.
86 let wrong = await session.signIn("pat", `wrong-${i}`);
87 for (let again = 0; !wrong.ok && wrong.error === "throttled" && again < 50; again++) {
88 await Bun.sleep(100);
89 wrong = await session.signIn("pat", `wrong-${i}`);
90 }
8491 expect(wrong.ok ? "signed in" : wrong.error).toBe("bad_credentials");
8592 }
8693 const right = await session.signIn("pat", PASSWORD);

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs