From aaeb629aa44925fb713570b9ea76ebb14f1ff7d6 Mon Sep 17 00:00:00 2001 From: Wasim Amiri <7220175+wasimxyz@users.noreply.github.com> Date: Fri, 16 Oct 2026 16:01:25 -0700 Subject: [PATCH] Add runs:read to the Lambda scopes in the integration test 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 --- lambda/tests/integration/test_lambda_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lambda/tests/integration/test_lambda_api.py b/lambda/tests/integration/test_lambda_api.py index 1508d3eb..5bb5d100 100644 --- a/lambda/tests/integration/test_lambda_api.py +++ b/lambda/tests/integration/test_lambda_api.py @@ -758,6 +758,7 @@ def test_invalid_json_body_returns_400( # Keep in sync with the `lambda` entry in `web/lib/api/scope-catalog.ts`. _LAMBDA_PRESET_SCOPES = [ "instruments:read", + "runs:read", "runs:create", "runs:update", "files:create",