Skip to content

feat(plane): add core integration with self-hosted support - #8660

Merged
waleedlatif1 merged 6 commits into
stagingfrom
codex/plane-integration
Oct 6, 2026
Merged

waleedlatif1 merged 6 commits into
stagingfrom
codex/plane-integration

Conversation

@waleedlatif1

@waleedlatif1 waleedlatif1 commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add 67 core Plane actions for projects, work items, cycles, modules, states, labels, comments, links, attachments, pages, and webhooks. Keep 56 API v1 compatibility paths within the same actions for self-hosted instances; omit v1-only and advanced administration/bulk actions.
  • Add the official Plane SVG, 44 current webhook triggers, and a knowledge connector for work items and project pages.
  • Persist subscription credentials before activation, activate after committed deployment cutover, preserve previous signed deliveries and event filters until activation succeeds, and keep retirement cleanup independent of activation retries. Preserve documented/live response fields and stable connector pagination.
  • Stream the full documentation download so the preview deployment stays within the platform response limits.

Type of Change

  • New feature
  • Bug fix

Testing

  • Real Plane HTTP: 47 checks passed across 178 requests, covering all 67 v2 actions and all 56 compatibility paths, signed attachment upload/confirmation, connector reads, and a real signed webhook delivery. Disposable fixtures were removed.
  • Supplemental live checks: all null-relation filters, required webhook URL validation, and sparse relation-clearing responses passed. Seven isolated PostgreSQL/HTTP activation checks, seven signed recovery HTTP checks, and four production docs HTTP checks passed.
  • Seven compatibility response regressions cover expanded label relations and page parents/owners. All fail before the fix, pass afterward, and fail again when each guard is independently reverted. These checks use source-derived JSON contracts.
  • Contract validation: 123 request variants, 102 documented response samples, and 145 live response projections passed.
  • 140 focused tests passed; full repository suite passed (37,306 tests; 19 workspace tasks, including 34,852 app tests and 354 script tests). The full run used --retry=1 after an existing sandbox timing failure; that suite also passed independently (32 tests).
  • Lint, 26 workspace type checks, all 58 audits, docs manifest, and block registry checks passed.
  • Self-hosted Community Edition was checked against the provider source; a separate self-hosted server was not live-tested. Edition-specific API limitations are documented.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
docs Ready Ready Preview Oct 6, 2026 4:11pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[High risk] Adds a new integration connector with webhook and API interaction.

The PR appears safe to merge, with a non-blocking workflow reference-picker limitation for scalar Plane relation IDs.

Findings

  1. P2 Scalar relation IDs disappear ▶

Summary

The PR adds Plane actions, v1 self-hosted compatibility, webhook triggers, a knowledge connector, and documentation. The latest changes preserve expanded label relations and page parents in parsed responses, but scalar relation IDs remain poorly represented in workflow output paths.

Reviews (7) · Last reviewed commit: "fix(plane): preserve expanded compatibil..."

Comment thread apps/sim/lib/webhooks/providers/plane.ts Outdated

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 517 files

Note: This PR contains a large number of files. cubic selects up to 200 of the highest-priority eligible files for this review, so some files may not have been reviewed.

Re-trigger cubic

Comment thread apps/sim/tools/plane/create_work_item_property_values.ts Outdated
Comment thread apps/sim/tools/plane/create_project_with_template.ts Outdated
Comment thread apps/sim/tools/plane/get_project_automation_node.ts Outdated
Comment thread apps/sim/tools/plane/create_workspace_automation_node.ts Outdated
Comment thread apps/sim/tools/plane/get_project_view.ts Outdated
Comment thread apps/sim/tools/plane/delete_workflow.ts Outdated
Comment thread apps/sim/tools/plane/delete_user_asset.ts Outdated
Comment thread apps/sim/tools/plane/delete_customer.ts Outdated
Comment thread apps/sim/tools/plane/get_estimate.ts Outdated
Comment thread apps/sim/tools/plane/delete_work_item_property.ts Outdated
@waleedlatif1 waleedlatif1 changed the title feat(plane): add current API integration and self-hosted compatibility feat(plane): add core integration with self-hosted support Oct 6, 2026
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

Comment thread apps/sim/app/api/webhooks/route.ts Outdated
Comment thread apps/sim/lib/webhooks/deploy.ts Outdated

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 158 files

Re-trigger cubic

Comment thread apps/sim/tools/plane/regenerate_webhook_secret.ts
Comment thread apps/sim/lib/webhooks/registration-service.ts Outdated
Comment thread apps/sim/lib/webhooks/deploy.ts
Comment thread apps/sim/scripts/test-plane-e2e.ts Outdated
Comment thread apps/sim/tools/plane/list_work_items.ts
Comment thread apps/sim/tools/plane/transfer_cycle_work_items.ts Outdated
Comment thread apps/sim/tools/plane/list_labels.ts
Comment thread apps/sim/app/api/webhooks/route.ts Outdated
Comment thread apps/sim/tools/plane/update_work_item.ts Outdated
Comment thread apps/sim/connectors/plane/plane.ts Outdated
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

Comment thread apps/sim/app/api/webhooks/route.ts Outdated
Comment thread apps/sim/tools/plane/list_labels.ts
Comment thread apps/sim/lib/workflows/deployment-outbox.ts

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 163 files

Re-trigger cubic

Comment thread apps/sim/lib/webhooks/registration-store.ts
Comment thread apps/sim/tools/plane/utils.ts
Comment thread apps/sim/tools/plane/update_work_item.ts
Comment thread apps/sim/lib/webhooks/provider-subscriptions.ts Outdated
Comment thread apps/sim/scripts/test-plane-e2e.ts
Comment thread apps/sim/lib/workflows/deployment-outbox.ts Outdated
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 164 files

Fix all with cubic | Re-trigger cubic

Comment thread apps/sim/tools/plane/list_labels.ts Outdated
Comment thread apps/sim/lib/webhooks/providers/plane.ts Outdated
Comment thread apps/sim/lib/webhooks/providers/plane.ts
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 164 files

You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.

Fix all with cubic | Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/tools/plane/list_labels.ts
Comment thread apps/sim/tools/plane/list_project_pages.ts
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 165 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/tools/plane/schemas.ts
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 165 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/tools/plane/outputs.ts
@waleedlatif1
waleedlatif1 merged commit c9c2c4e into staging Oct 6, 2026
34 checks passed
@waleedlatif1
waleedlatif1 deleted the codex/plane-integration branch October 6, 2026 16:40

This branch was successfully deployed

1 active deployment
Preview — e0e21ae4 Deployed Oct 6, 2026 by vercel[bot]
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