Skip to content

[comp] Production Deploy#2947

Merged
Marfuen merged 2 commits into
releasefrom
main
May 28, 2026
Merged

[comp] Production Deploy#2947
Marfuen merged 2 commits into
releasefrom
main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 28, 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

Make policy PDF upload and delete operate on a specific version, defaulting to the latest draft. Blocks changes to published or pending versions and clarifies API behavior.

  • Bug Fixes
    • Upload: use provided versionId or pick the latest draft; return 400 if none. Store with versioned S3 keys (v{version}-timestamp-filename). Update policyVersion.pdfUrl and mirror to policy.pdfUrl/displayFormat=PDF in a transaction. Delete the old object if replaced.
    • Delete: same version selection and checks; disallow published/pending. Delete the S3 object and clear policyVersion.pdfUrl plus policy.pdfUrl, setting displayFormat=EDITOR.
    • API docs: clearer @ApiOperation, @ApiBody, and @ApiQuery descriptions for versionId, defaults, and error cases.

Written for commit 7e38617. Summary will update on new commits.

Review in cubic

@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

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

Project Deployment Actions Updated (UTC)
comp-framework-editor (staging) Ready Ready Preview, Comment May 28, 2026 5:43pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
app (staging) Skipped Skipped May 28, 2026 5:43pm
portal (staging) Skipped Skipped May 28, 2026 5:43pm

Request Review

@Marfuen Marfuen merged commit 6237c9e into release May 28, 2026
12 checks passed
@claudfuen
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.65.0 🎉

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