Skip to content

Give the OIDC route-table test the compute path parameters - #2061

Merged
neuromechanist merged 1 commit into
feature/issue-2005-epic-compute-corefrom
fix/oidc-allowlist-compute-params
Nov 6, 2026
Merged

neuromechanist merged 1 commit into
feature/issue-2005-epic-compute-corefrom
fix/oidc-allowlist-compute-params

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Part of epic #2005. Found when dev (with the OpenID Connect epic) was merged into this epic.

backend/test/oidc-token-allowlist.test.ts walks every route in the Worker's table and checks that an OIDC access token is refused exactly as an unknown API key is. It fills each path parameter from PARAM_VALUES and throws when one has no value. The compute routes add accountId, jobId, key, ref and token, so both table tests failed in unit-pure shard 1 on the merged head.

This adds the five values. No assertion changed; the compute routes are now inside the check, so it also proves the compute surface refuses an OIDC access token.

  • bun test ./test/oidc-token-allowlist.test.ts from backend/: 6 pass, 0 fail

@neuromechanist
neuromechanist merged commit cad0399 into feature/issue-2005-epic-compute-core Nov 6, 2026
2 checks passed
@neuromechanist
neuromechanist deleted the fix/oidc-allowlist-compute-params branch November 6, 2026 22:17

This branch was previously deployed

1 inactive deployment
npm — 555ce7e6 Deployed Nov 6, 2026 by neuromechanist via publish #4277
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