Skip to content

[comp] Production Deploy#2623

Merged
tofikwest merged 3 commits intoreleasefrom
main
Apr 21, 2026
Merged

[comp] Production Deploy#2623
tofikwest merged 3 commits intoreleasefrom
main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Apr 21, 2026

This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.


Summary by cubic

Fixes onboarding 500s by allowing /v1/frameworks/available to work without an active org and by surfacing API errors in the framework selection UI. Adds @OrganizationIdOptional() and tightens @OrganizationId() to avoid future misuse on @SkipOrgCheck() routes.

  • Bug Fixes
    • Add @OrganizationIdOptional() for endpoints decorated with @SkipOrgCheck().
    • Update findAvailable to use @OrganizationIdOptional() and return data when no org is active.
    • Make @OrganizationId() throw InternalServerErrorException with guidance to use the optional variant.
    • Add regression tests covering both no-org and with-org cases.
    • Show errors with a retry in FrameworkSelection.tsx instead of a blank state.

Written for commit 4466792. Summary will update on new commits.

github-actions Bot and others added 3 commits April 20, 2026 22:06
…tive org

The GET /v1/frameworks/available endpoint was changed on April 17 to read
@organizationId() from the request. That decorator throws when the user
has no active organization, producing HTTP 500 for every fresh signup on
the first onboarding step — even though @SkipOrgCheck() is specifically
meant to allow this case.

- Add @OrganizationIdOptional() for @SkipOrgCheck()-decorated endpoints
- Harden @organizationId() to throw InternalServerErrorException with a
  message pointing to the optional variant, so future misuse is visible
  in monitoring instead of a generic 500
- Swap findAvailable to use @OrganizationIdOptional()
- Add regression tests covering both no-org and with-org cases
- Surface API errors in FrameworkSelection.tsx so the next server-side
  failure doesn't produce a silent blank onboarding screen

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ilable-500

fix(api,app): unblock onboarding frameworks list for users without active org
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

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

Project Deployment Actions Updated (UTC)
app (staging) Ready Ready Preview, Comment Apr 21, 2026 5:09pm
comp-framework-editor Building Building Preview, Comment Apr 21, 2026 5:09pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
portal (staging) Skipped Skipped Apr 21, 2026 5:09pm

Request Review

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Requires human review: Modifies core authentication decorators and shared authorization context logic, which falls under high-impact security-related changes requiring human review.

@tofikwest tofikwest merged commit 6826150 into release Apr 21, 2026
14 of 15 checks passed
@claudfuen
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.27.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@vercel vercel Bot temporarily deployed to Preview – comp-framework-editor April 21, 2026 17:19 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants