Skip to content

Let the OIDC redirect wait as long as the test, and give e2e a CPU - #29

Merged
bulbashenko merged 1 commit into
mainfrom
e2e-authorize-wait
Oct 27, 2026
Merged

bulbashenko merged 1 commit into
mainfrom
e2e-authorize-wait

Conversation

@bulbashenko

Copy link
Copy Markdown
Collaborator

Staging e2e (ce22f42): 14/16. Оба OIDC-теста упали в authorize(): у waitForURL был свой лимит 45 с, отсчитанный ещё до входа, а внутрь попадают пароль и ожидание TOTP-окна (до 31 с). Теперь ожидание ограничено только таймаутом теста (120 с).

Под e2e просил 200m CPU; TOTP-тест шёл 1,7 мин против 37 с в CI. Теперь запрос — одно ядро.

🤖 Generated with Claude Code

Staging's run of ce22f42 failed two OIDC tests in authorize(): its
waitForURL had 45 s of its own, counted from before the caller signs in,
so it also had to cover the password step and freshTotp's wait for the
next window (up to 31 s). It now has no timeout of its own; the test's
120 s bounds it.

The same run took 1.7 min for a TOTP test that needs 37 s in CI: the
e2e pod requested 200m and Chromium is CPU-bound. It now requests a
core, so it is scheduled where one is free.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bulbashenko
bulbashenko merged commit 153f053 into main Oct 27, 2026
2 checks passed
@bulbashenko
bulbashenko deleted the e2e-authorize-wait branch October 27, 2026 13:26
bulbashenko-com-deploy Bot added a commit to bulbashenko-com/infra that referenced this pull request Oct 27, 2026
…and give e2e a CPU (bulbashenko-com/auth#29)

2 commit(s), 2 file(s) since ce22f42:
- 153f053 Merge pull request #29 from bulbashenko-com/e2e-authorize-wait
- 2bfb73a Let the OIDC redirect wait as long as the test, and give e2e a CPU

Source: bulbashenko-com/auth@ce22f42...153f053
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant