Skip to content

revert(login): revert block list#5014

Merged
TheodoreSpeaks merged 1 commit into
stagingfrom
revert/manual-block-list
Jun 13, 2026
Merged

revert(login): revert block list#5014
TheodoreSpeaks merged 1 commit into
stagingfrom
revert/manual-block-list

Conversation

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator

Summary

Reverting block list to use alternative mechanism.
Fixes #(issue)

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Other: ___________

Testing

How has this been tested? What should reviewers focus on?

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Screenshots/Videos

@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jun 12, 2026 11:49pm

Request Review

@cursor

cursor Bot commented Jun 12, 2026

Copy link
Copy Markdown

PR Summary

Medium Risk
Table job concurrency, bulk delete/export, and invitation logic touch production data and permissions; Vanta routes handle OAuth secrets and file upload/download with size limits.

Overview
Adds a Vanta integration (OAuth client credentials, US/Gov APIs) with internal query/upload/download routes and full docs for frameworks, controls, tests, evidence, people, vendors, vulnerabilities, and risk scenarios. Docs also register a Vanta icon and expand Atlassian service-account guidance (classic Jira/JSM scopes and a warning about granular scope all-or-nothing failures).

Tables move from import-only status on table definitions to a table_jobs model: shared jobStatus / jobType / jobId on API responses, unified job cancel, async bulk delete (filter + exclusions + cutoff), async export with presigned download, optional Trigger.dev dispatch for import/delete/export, and cron cleanup that fails stale running jobs and prunes old terminal jobs (deleting orphaned export files). Row queries gain after cursor pagination; column run / cancel-runs accept filters; shared tableFilterError and rowWriteErrorResponse (including Drizzle cause unwrapping and friendlier row-limit messages) replace duplicated error handling across table routes.

Organization batch invitations can send workspace-only invites to existing members for workspaces they do not already have (or pending), while new emails still get org invites; seat checks apply only to new org invites.

Smaller UI/docs tweaks: workspace invitation email preview accepts multiple workspace names; DOCX preview fit-to-width zoom and debounced resize; resource header min-height; playground tag invalid state shows an error string.

Reviewed by Cursor Bugbot for commit b97a526. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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.

Fix All in Cursor

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

Reviewed by Cursor Bugbot for commit b97a526. Configure here.

completedAt: now,
updatedAt: now,
})
.where(and(eq(tableJobs.status, 'running'), lt(tableJobs.updatedAt, staleThreshold)))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale janitor kills export jobs

Medium Severity

The stale table-job cleanup marks every running row in table_jobs as failed when updated_at is old, without excluding export jobs. Large exports can sit in assembly or upload for a long stretch without calling updateJobProgress, so a healthy export may be marked failed and never reach ready even though the worker is still working.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit b97a526. Configure here.

@TheodoreSpeaks TheodoreSpeaks changed the base branch from main to staging June 12, 2026 23:50
@TheodoreSpeaks TheodoreSpeaks merged commit 43017d7 into staging Jun 13, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant