Skip to content

[comp] Production Deploy#2288

Merged
Marfuen merged 4 commits intoreleasefrom
main
Mar 12, 2026
Merged

[comp] Production Deploy#2288
Marfuen merged 4 commits intoreleasefrom
main

Conversation

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

@cursor
Copy link

cursor bot commented Mar 11, 2026

PR Summary

Medium Risk
Moderate risk because it changes the API shape/values returned for findings’ evidence form types, which can affect consumers and routing. Other changes are low-risk UI formatting and more defensive AI-suggestion parsing.

Overview
Findings evidence types are now normalized for external consumers. getOrganizationFindings converts evidenceFormType and evidenceSubmission.formType via toExternalEvidenceFormType, ensuring consistent values (with a fallback to meeting when needed).

UI titles for document-related findings are made more readable by replacing hyphens with spaces when rendering evidenceFormType/formType.

Automation suggestion generation is more robust: the Zod schema now treats vendorName/vendorWebsite as nullable, outputs are normalized back to optional fields, and the whole flow (including vendor/context DB reads) is wrapped in a try/catch with safer fallback parsing.

Removes the .claude add-integration command/skill documentation files.

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

@vercel
Copy link

vercel bot commented Mar 11, 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 12, 2026 2:42pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
portal (staging) Skipped Skipped Mar 12, 2026 2:42pm

Request Review

* fix(automation): fix suggestion generation broken by @ai-sdk/groq v3 strict JSON schema

The @ai-sdk/groq v3 upgrade enabled strict JSON schema validation by
default, which requires ALL properties to be in `required`. The Zod
schema used `.optional()` for vendorName/vendorWebsite, which excluded
them from `required`, causing Groq API to reject every request.

Changed to `.nullable()` so properties remain required (satisfying
strict mode) while still allowing null values. Also moved DB queries
inside try/catch to prevent unhandled errors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(automation): normalize error recovery path and remove unnecessary optional chaining

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

* fix(api): normalize evidence form types in framework findings

* fix(app): remove hypen/underscore from finding label

---------

Co-authored-by: chasprowebdev <chasgarciaprowebdev@gmail.com>
Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
@Marfuen Marfuen merged commit cac4732 into release Mar 12, 2026
11 checks passed
@claudfuen
Copy link
Contributor

🎉 This PR is included in version 3.2.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