Skip to content

feat(frontier): add blockers to OrganizationToLeave - #504

Merged
AmanGIT07 merged 1 commit into
mainfrom
feat/frontier-org-to-leave-blockers
Oct 28, 2026
Merged

AmanGIT07 merged 1 commit into
mainfrom
feat/frontier-org-to-leave-blockers

Conversation

@AmanGIT07

Copy link
Copy Markdown
Contributor

CheckCurrentUserDeleteResponse.OrganizationToLeave gains blockers. The check uses it to say why the user cannot leave that organization yet. For example, SOLE_OWNER_WITH_MEMBERS means the user is the organization's only owner and other members remain.

The top-level blockers field stays, for reasons that do not belong to one organization.

Adding a field is not a breaking change, so existing clients keep working.

CheckCurrentUserDelete can now say why the user cannot leave an
organization yet, such as being its only owner while other members
remain. The top-level blockers list stays for reasons that do not
belong to one organization.
@github-actions

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow Validate / validate (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped✅ passed✅ passedOct 26, 2026, 12:23 PM

@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 50877b5d-3816-475e-b3c8-65662f07e0cc
Commits

Reviewing files that changed from the base of the PR and between 680ef69 and 4e9e25e.

Files selected for processing: 1
  • raystack/frontier/v1beta1/frontier.proto

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

The CheckCurrentUserDeleteResponse.OrganizationToLeave message adds the repeated Blocker field blockers at field number 5.

Suggested reviewers: whoabhisheksah

Priority: Normal

Merge Risk: Minimal · up to 4e9e2

The response contract is extended additively with the organization-specific blockers field.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title names the main change: a new blockers field on the OrganizationToLeave message in the Frontier API. The raw summary confirms that exact change: a repeated Blocker blockers field at number 5.…
Description check Passed The description states that OrganizationToLeave gains blockers and explains its purpose. It gives the SOLE_OWNER_WITH_MEMBERS example and notes that the top-level blockers field remains. It also state…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: a new blockers field on the OrganizationToLeave message in the Frontier API. The raw summary confirms that exact change: a repeated Blocker blockers field at number 5. The title's scope is accurate and specific.

Full details: Description check

Explanation

The description states that OrganizationToLeave gains blockers and explains its purpose. It gives the SOLE_OWNER_WITH_MEMBERS example and notes that the top-level blockers field remains. It also states the change is non-breaking. This matches the raw summary and the PR objectives.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

🔧 Buf (1.73.0)
raystack/frontier/v1beta1/frontier.proto

fatal: unable to access 'https://github.com/raystack/proton.git/': Failed to connect to github.com:443 over proxy 127.0.0.1 after 0 ms: Could not connect to server
fatal: could not fetch fb5832b01e6503fe70d0a16bf0433e85917507ca from promisor remote

CODERABBIT_BUF_COMPATIBILITY_PHASE=materialize-base

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

AmanGIT07 added a commit to raystack/frontier that referenced this pull request Oct 27, 2026
Pins PROTON_COMMIT to 4e9e25ed, the commit in raystack/proton#504, which
adds blockers to CheckCurrentUserDeleteResponse.OrganizationToLeave.
@AmanGIT07
AmanGIT07 merged commit 94668c3 into main Oct 28, 2026
3 checks passed
@AmanGIT07
AmanGIT07 deleted the feat/frontier-org-to-leave-blockers branch October 28, 2026 07:42
AmanGIT07 added a commit to raystack/frontier that referenced this pull request Oct 28, 2026
Pins PROTON_COMMIT to 4e9e25ed, the commit in raystack/proton#504, which
adds blockers to CheckCurrentUserDeleteResponse.OrganizationToLeave.
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.

2 participants