Skip to content

[comp] Production Deploy#3158

Merged
tofikwest merged 3 commits into
releasefrom
main
Jun 16, 2026
Merged

[comp] Production Deploy#3158
tofikwest merged 3 commits into
releasefrom
main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

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 framework deletion by also removing timeline templates in the correct order, preventing Restrict FK conflicts and 409s in production. Links to FRAME-13.

  • Bug Fixes
    • Add timelineTemplate.deleteMany right after instance deletion in the transaction to satisfy Restrict FKs.
    • Update tests to assert the new delete order and verify FK conflict handling.

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

Review in cubic

github-actions Bot and others added 3 commits June 16, 2026 17:37
… framework

Follow-up to #3154. Deleting a framework still 409'd in prod ("could not delete
framework: it still has references that could not be removed automatically")
because TimelineTemplate.frameworkId is a Restrict FK back to the framework and a
TimelineTemplate is created per framework — the previous cascade missed it.

Delete TimelineTemplates in the transaction, right after instances (so their
TimelineInstances/phases have already cascade-deleted, freeing the Restrict FK
TimelineInstance.templateId -> TimelineTemplate). Verified via an exhaustive
scan that requirements + timeline templates are now the only non-cascade FKs
into FrameworkEditorFramework, and versions/instances are handled.

Closes FRAME-13

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…rk-timeline-fix

fix(framework-editor): also delete timeline templates on framework delete (FRAME-13 follow-up)
@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
comp-framework-editor (staging) Building Building Preview Jun 16, 2026 6:35pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
app (staging) Skipped Skipped Jun 16, 2026 6:35pm
portal (staging) Skipped Skipped Jun 16, 2026 6:35pm

Request Review

@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 2 files

Confidence score: 5/5

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

Re-trigger cubic

@tofikwest tofikwest merged commit e516a41 into release Jun 16, 2026
14 checks passed
@claudfuen

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.83.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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