Skip to content

fix(sentry)!: Fix Sentry -> Plane config schema.#282

Open
Asynchronite wants to merge 2 commits into
makeplane:masterfrom
Asynchronite:fix/sentry-integration-schmea-fix
Open

fix(sentry)!: Fix Sentry -> Plane config schema.#282
Asynchronite wants to merge 2 commits into
makeplane:masterfrom
Asynchronite:fix/sentry-integration-schmea-fix

Conversation

@Asynchronite
Copy link
Copy Markdown

@Asynchronite Asynchronite commented Jun 3, 2026

Description

BREAKING CHANGE: More like breaking fix, but the old schema before this would not work at all, since all of these have to be prefxied with /silo. I have found this out manually the hard way when I spent 17 hours in a Discord VC with 10 other people trying to figure out why the integration would not work.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Improvement (change that would cause existing functionality to not work as expected)
  • Code refactoring
  • Performance improvements
  • Documentation update

Screenshots and Media (if applicable)

Before fix:

image image(2)

Post fix:

image image(3)

Test Scenarios

Tested with pnpm run dev:
image

References

None that I could find.

Summary by CodeRabbit

  • Documentation
    • Updated Sentry integration documentation with revised API endpoint references for self-hosted deployments.

BREAKING CHANGE: More like breaking fix, but the old schema before this would not work at all, since all of these have to be prefxied with `/silo`. I have found this out manually the hard way when I spent 17 hours in a Discord VC with 10 other people trying to figure out why the integration would not work.
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 3, 2026

@Asynchronite is attempting to deploy a commit to the Marketing at Plane Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 3, 2026

Review Change Stack

Warning

Review limit reached

@Asynchronite, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 53 minutes and 54 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3cbc8cdc-34ca-4c40-ae10-3f8243679fa1

📥 Commits

Reviewing files that changed from the base of the PR and between 9336c0e and d73068a.

📒 Files selected for processing (1)
  • docs/self-hosting/govern/integrations/sentry.md
📝 Walkthrough

Walkthrough

The Sentry integration documentation is updated to reflect Plane's self-hosted architecture by systematically repointing all API endpoint URIs from standard /api/... routes to self-hosted silo routes (/silo/api/...). Changes span issue operations (linking, creation, and resource selection) and alert-rule actions (configuration and work item creation triggers).

Changes

Sentry Silo API Routes

Layer / File(s) Summary
Issue linking and creation endpoints
docs/self-hosting/govern/integrations/sentry.md
Issue link and create operation endpoints, plus their supporting resource endpoints for priorities, state, module, and cycle selection, are repointed to silo-scoped API routes.
Alert-rule-action endpoints
docs/self-hosting/govern/integrations/sentry.md
Alert-rule configuration endpoint and optional fields for state, labels, and project selection are updated to silo-scoped API routes for automatic work item creation.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

🐰 Paths diverge in self-hosted lands,
From /api/ to /silo/ strands,
Sentry and Plane now align,
Where issues link and alerts combine. 🎯

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: fixing the Sentry integration configuration schema by updating API endpoints to use the /silo prefix.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@Asynchronite
Copy link
Copy Markdown
Author

If y'all had anyone complain about Sentry issues, try giving them this fix and seeing if it fixes it.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/self-hosting/govern/integrations/sentry.md (1)

154-154: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Critical: Inconsistent project URI missing /silo prefix.

Line 154 still uses /api/sentry/projects while line 209 correctly uses /silo/api/sentry/projects. According to the PR description, all endpoints must be prefixed with /silo. This inconsistency will break project selection when creating issues from Sentry.

🔧 Proposed fix
         {
-          "uri": "/api/sentry/projects",
+          "uri": "/silo/api/sentry/projects",
           "name": "project_id",
           "type": "select",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/self-hosting/govern/integrations/sentry.md` at line 154, The documented
Sentry project endpoint is missing the required /silo prefix; update the "uri"
value that currently reads "/api/sentry/projects" to "/silo/api/sentry/projects"
so it matches the other occurrences (e.g., the entry that correctly uses
"/silo/api/sentry/projects"); ensure any other identical "uri" occurrences in
this doc are also updated to include the /silo prefix to avoid mismatch when
creating Sentry issues.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@docs/self-hosting/govern/integrations/sentry.md`:
- Line 154: The documented Sentry project endpoint is missing the required /silo
prefix; update the "uri" value that currently reads "/api/sentry/projects" to
"/silo/api/sentry/projects" so it matches the other occurrences (e.g., the entry
that correctly uses "/silo/api/sentry/projects"); ensure any other identical
"uri" occurrences in this doc are also updated to include the /silo prefix to
avoid mismatch when creating Sentry issues.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c974b3c7-63ce-404b-a90c-7c269273c43b

📥 Commits

Reviewing files that changed from the base of the PR and between 3b1d721 and 9336c0e.

📒 Files selected for processing (1)
  • docs/self-hosting/govern/integrations/sentry.md

@Asynchronite
Copy link
Copy Markdown
Author

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)

docs/self-hosting/govern/integrations/sentry.md (1)> 154-154: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Critical: Inconsistent project URI missing /silo prefix.
Line 154 still uses /api/sentry/projects while line 209 correctly uses /silo/api/sentry/projects. According to the PR description, all endpoints must be prefixed with /silo. This inconsistency will break project selection when creating issues from Sentry.

🔧 Proposed fix

         {
-          "uri": "/api/sentry/projects",
+          "uri": "/silo/api/sentry/projects",
           "name": "project_id",
           "type": "select",

🤖 Prompt for AI Agents

Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/self-hosting/govern/integrations/sentry.md` at line 154, The documented
Sentry project endpoint is missing the required /silo prefix; update the "uri"
value that currently reads "/api/sentry/projects" to "/silo/api/sentry/projects"
so it matches the other occurrences (e.g., the entry that correctly uses
"/silo/api/sentry/projects"); ensure any other identical "uri" occurrences in
this doc are also updated to include the /silo prefix to avoid mismatch when
creating Sentry issues.

🤖 Prompt for all review comments with AI agents

ℹ️ Review info

Fixed

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