Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

rules: Skip draft actions during historical processing#2946

Open
elie222 wants to merge 3 commits into
mainelie222/inbox-zero:mainfrom
fix/skip-historical-draft-actionselie222/inbox-zero:fix/skip-historical-draft-actionsCopy head branch name to clipboard
Open

rules: Skip draft actions during historical processing#2946
elie222 wants to merge 3 commits into
mainelie222/inbox-zero:mainfrom
fix/skip-historical-draft-actionselie222/inbox-zero:fix/skip-historical-draft-actionsCopy head branch name to clipboard

Conversation

@elie222

@elie222 elie222 commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Prevents historical and bulk rule processing from creating draft reply actions while preserving other rule actions. Live rule execution keeps the existing draft behavior.

  • Adds an opt-out flag for draft reply actions in rule execution
  • Uses the opt-out for onboarding and past-email bulk processing
  • Covers the historical-processing path with a focused unit test

Test: pnpm test utils/ai/choose-rule/run-rules.test.ts

Review in cubic

@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
inbox-zero Ignored Ignored Preview Jul 2, 2026 11:29pm

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

1 issue found across 7 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread apps/web/utils/ai/choose-rule/run-rules.ts Outdated
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.