Skip to content

Add runs:read to the Lambda scopes in the integration test - #328

Merged
wasimxyz merged 1 commit into
stagingfrom
fix-lambda-preset-scopes-test
Oct 16, 2026
Merged

wasimxyz merged 1 commit into
stagingfrom
fix-lambda-preset-scopes-test

Conversation

@wasimxyz

Copy link
Copy Markdown
Member

Summary

Why it matters

The integration test mints its token from this list. It was checking a token with one scope fewer than the preset gives.

Testing

  • make py-check passes.
  • make py-test-unit: 1093 passed.
  • uv run pytest -m integration -k TestLeastPrivilegeLambdaScopes: 1 passed.

This is a test-only change, so it does not need a changelog entry.

Made with Cursor

The lambda preset in web/lib/api/scope-catalog.ts gained runs:read in #242, but the integration test's copy of that list was not updated. This adds the scope so the test mints a token with the same scopes as the preset.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
data-hub Ready Ready Preview Oct 16, 2026 11:02pm UTC
data-hub-docs Ready Ready Preview Oct 16, 2026 11:02pm UTC

Request Review

@wasimxyz wasimxyz self-assigned this Oct 16, 2026
@wasimxyz
wasimxyz merged commit 4ddad69 into staging Oct 16, 2026
3 of 5 checks passed
@wasimxyz
wasimxyz deleted the fix-lambda-preset-scopes-test branch October 16, 2026 23:02

This branch was successfully deployed

2 active deployments
Preview – data-hub — aaeb629a Deployed Oct 16, 2026 by vercel[bot]
Preview – data-hub-docs — aaeb629a Deployed Oct 16, 2026 by vercel[bot]
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