Skip to content

fix(middleware): tenant guard reads bare UUID from state= (pair with cp #8) - #88

Merged
HongmingWang-Rabbit merged 1 commit into
mainfrom
fix/tenant-guard-state-no-prefix
Apr 15, 2026
Merged

fix(middleware): tenant guard reads bare UUID from state= (pair with cp #8)#88
HongmingWang-Rabbit merged 1 commit into
mainfrom
fix/tenant-guard-state-no-prefix

Conversation

@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor

Pair fix. Control plane drops 'org-id=' prefix to avoid Fly's 502 on '=' in state value; TenantGuard now matches. Reduces state parsing to 'whole state= segment IS the org id'.

🤖 Generated with Claude Code

Pair to molecule-controlplane PR #8. Fly's proxy returns 502 if the
fly-replay state value contains '=', so the control plane now puts the
bare UUID in state= (no 'org-id=' prefix). TenantGuard now treats the
whole 'state=...' value as the org id.
@HongmingWang-Rabbit
HongmingWang-Rabbit merged commit ff6499f into main Apr 15, 2026
7 checks passed
@HongmingWang-Rabbit
HongmingWang-Rabbit deleted the fix/tenant-guard-state-no-prefix branch April 15, 2026 01:14
molecule-ai Bot pushed a commit that referenced this pull request Apr 21, 2026
fix(middleware): tenant guard reads bare UUID from state= (pair with cp #8)
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