Skip to content

[comp] Production Deploy#2403

Merged
tofikwest merged 3 commits intoreleasefrom
main
Mar 30, 2026
Merged

[comp] Production Deploy#2403
tofikwest merged 3 commits intoreleasefrom
main

Conversation

@github-actions
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.

tofikwest and others added 2 commits March 30, 2026 18:45
Previously, the download-all endpoint only included published policies,
causing "Failed to generate PDF" errors when no published policies existed.
Now includes all non-archived policies (published > needs_review > draft)
using the same content resolution logic as single policy download.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…lude-all-statuses

fix(policies): include all statuses in download-all PDF bundle
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

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

Project Deployment Actions Updated (UTC)
app (staging) Ready Ready Preview, Comment Mar 30, 2026 10:57pm
comp-framework-editor Ready Ready Preview, Comment Mar 30, 2026 10:57pm
portal (staging) Ready Ready Preview, Comment Mar 30, 2026 10:57pm

Request Review

@cursor
Copy link
Copy Markdown

cursor bot commented Mar 30, 2026

PR Summary

Medium Risk
Changes the download-all PDF bundle to include non-archived policies beyond published, which could unintentionally expose draft/needs-review content to users with policy read access. Also alters ordering logic, so regressions may show up as missing/reshuffled PDFs in generated bundles.

Overview
downloadAllPoliciesPdf now bundles all non-archived policies (including draft and needs_review), instead of only published ones, and updates the 404 message to No policies available.

The merged PDF ordering is adjusted to prioritize status (publishedneeds_reviewdraft) before the existing date-based ordering, and effective content/PDF selection is explicitly aligned with the single-policy download logic (prefer currentVersion fields, fall back to policy fields).

Written by Cursor Bugbot for commit 85b5087. This will update automatically on new commits. Configure here.

@vercel vercel bot temporarily deployed to staging – app March 30, 2026 22:49 Inactive
@vercel vercel bot temporarily deployed to staging – portal March 30, 2026 22:49 Inactive
@tofikwest tofikwest merged commit d5f9398 into release Mar 30, 2026
13 checks passed
@claudfuen
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.13.1 🎉

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