Skip to content

fix(sdk): require Platform identity for production Solutions - #1058

Merged
Sau1707 merged 1 commit into
mainfrom
fix/sdk-require-platform-identity
Sep 24, 2026
Merged

Sau1707 merged 1 commit into
mainfrom
fix/sdk-require-platform-identity

Conversation

@Sau1707

@Sau1707 Sau1707 commented Sep 24, 2026

Copy link
Copy Markdown
Member

Summary

  • Reject direct anonymous or invalid-token HTTP requests to production Solutions, while keeping /health and /ready available to Kubernetes probes.
  • Deny direct production WebSocket connections, which cannot pass through the Platform’s role-checked HTTP proxy.
  • Preserve anonymous development behavior and verify signed Platform requests still succeed.

Security impact

Previously, requests that reached the Compute gateway could bypass the Platform’s organization-role checks and be handled anonymously by a Solution. This closes that path in new production Solution images.

Verification

  • cd sdk && uv run --locked --group dev pytest -q (268 passed)
  • cd sdk && uv run --locked ruff check .
  • cd sdk && uv run --locked --group dev ty check

Deployment

Existing Solution images contain the old SDK and must be rebuilt and redeployed. This PR does not change the running production images or the Compute release pointer.

@Sau1707
Sau1707 merged commit c0b87b6 into main Sep 24, 2026
7 checks passed
@Sau1707
Sau1707 deleted the fix/sdk-require-platform-identity branch September 24, 2026 18:00
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