Skip to content

[comp] Production Deploy#3327

Merged
tofikwest merged 3 commits into
releasefrom
main
Jul 1, 2026
Merged

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

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 1, 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

Increase the exportOrganizationEvidenceTask max compute time to 60 minutes to prevent timeouts on large org evidence exports. Adds a regression test to lock the new ceiling.

  • Bug Fixes
    • Raised maxDuration from 30m to 60m so large ZIP streams can finish before Trigger.dev kills the run.
    • Added a test asserting maxDuration is at least 1h and under 24h to prevent misconfiguration.

Written for commit 1d44d64. Summary will update on new commits.

Review in cubic

github-actions Bot and others added 3 commits July 1, 2026 18:41
…timeout

## Problem
Evidence export times out and fails to complete in-browser for orgs with large automation volume or output size. Both export variants (with and without JSON) fail with no file downloaded.

## Root cause
The `export-organization-evidence` Trigger.dev task has `maxDuration` capped at 30 minutes. For orgs with high task counts and large evidence archives, the export generation exceeds this ceiling, the task is killed before completing, and the frontend receives a failure response with no download link.

## Fix
Raise `maxDuration` from 30 minutes to 60 minutes in the trigger task config, matching the realtime SDK token TTL (1h) and other heavy org tasks like `run-org-integration-checks`. Also enable one retry attempt to handle transient failures. This is a localized change in `apps/api` trigger configuration with no impact on other systems.

## Explicitly NOT touched
- Frontend UI or export button logic
- Task queueing or retry storm prevention (already hardened in prior work)
- OOM or proxy timeout handling
- Evidence storage or generation logic

## Verification
✅ Task duration config updated to 60*60 seconds
✅ Retry maxAttempts set to 1
✅ Tested with high-volume org evidence export completes within new ceiling
✅ Export download available in-browser on success
…ort-timeout

fix(evidence-export): raise trigger task duration ceiling to prevent timeout
@vercel

vercel Bot commented Jul 1, 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) Ready Ready Preview, Comment Jul 1, 2026 8:44pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
app (staging) Skipped Skipped Jul 1, 2026 8:44pm
portal (staging) Skipped Skipped Jul 1, 2026 8:44pm

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 b396f46 into release Jul 1, 2026
14 checks passed
@claudfuen

Copy link
Copy Markdown
Contributor

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