the OIDC-at-the-door walk burns its whole 120 s ceiling blind on a bridge PROTOCOL error, naming nothing #1026
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1026
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Failure
On drive
20260830T091443Ztheoidc-adminleg spent its full 120 s ceiling and red as:The page it was staring at was not empty.
artifacts/journey.idip-*/error-context.mdcaptures its whole accessibility snapshot:The drive already knew the answer —
logs/droplet-journal.txt:1403hasop.oidc_error.parent="idp: client not found" op.auth_request.client_id=nextcloud— but the walk reported an opaque timeout instead. That underlying client-id drift is fixed in commit6873870e; this issue is the probe blindness that hid it, which is unfixed and independent of it.Evidence
app/tests/e2e/fixtures/idip.ts:306—const refused = page.locator('[data-status]', { hasText: BRIDGE_REFUSAL_TEXT });app/tests/e2e/fixtures/idip.ts:307—await expect(header.or(refused).first()).toBeVisible({ timeout: 2 * 60_000 });app/tests/e2e/fixtures/idip.ts:33-44— the docstring is explicit that[data-status]is brand.go's refusal region, i.e. a region that exists only on the bridge's OWN branded page.A bridge protocol error is not rendered by brand.go at all.
redirect_disabled=trueerrors come out of zitadel/oidc's own bare error render, which carries no#header, noform#signinand no[data-status]— soheader.or(refused)matches zero elements and the walk can do nothing but time out. Any badclient_id, badredirect_uri, unsupportedresponse_typeor malformed scope lands here.This is the third red on signature
94a048d819e4, and both prior heals (df119d6b,b28bf658) adjustedBRIDGE_REFUSAL_TEXTinside that region. Neither could help, because the failing page never reaches the region. The blindness is what let the signature recur while the real fault sat unnamed in the journal each time.Suspected layer
The e2e fixture
app/tests/e2e/fixtures/idip.ts,oidcSignInViaBridge(lines 299-311). Product code is not implicated.What plugging it needs
Give the post-sign-in wait a third arm that matches the bridge's protocol-error page, and make the walk report the page rather than the timeout:
text=/unable to retrieve client|invalid_request|invalid_client|unauthorized_client/i) into theheader.or(refused)union at line 307, so the leg reds in seconds with the bridge's own words instead of at the 120 s ceiling.#headerbranch (line 308-310), fall back to the page's visible text whenrefusedis empty, so the thrown message always names what the door actually said.app/tests/e2e/fixtures/idip.test.tswith a fixture page that carries the bareunable to retrieve client by idtext and NO[data-status]— that test must fail against today's line 306-307.Targeted check:
pnpm --filter app exec vitest run tests/e2e/fixtures/idip.test.ts.Separate design question, not part of this ticket: whether the bridge should render its protocol errors on its branded page (so
[data-status]covers them) is an ADR 0212 call for a human, not something the fixture should assume. The fixture fix above is correct either way.drive
20260830T091443Zred atoidc-admin:expect(locator).toBeVisible() failed Locator: locator('#header').or(locator('[data-status]').filter({ hasText: /\S/ })).first() Expected: visible Timeout: 120000ms Error: element(s) not found Call logevidence:
/home/dev/swarm/Matou/idss/test-results/drive-idip/20260830T091443Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=elitebook-distributed-server-03 run=14440
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1026 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope