Skip to content

refactor(mail): extract gmail query builder + concurrent agent updates#535

Merged
steve8708 merged 15 commits intomainfrom
updates-244
May 6, 2026
Merged

refactor(mail): extract gmail query builder + concurrent agent updates#535
steve8708 merged 15 commits intomainfrom
updates-244

Conversation

@steve8708
Copy link
Copy Markdown
Contributor

Summary

Test plan

  • CI green (Build, Lint, Test, Typecheck, Scaffold E2E)
  • Hosted previews load

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for agent-native-starter canceled.

Name Link
🔨 Latest commit 98e81ce
🔍 Latest deploy log https://app.netlify.com/projects/agent-native-starter/deploys/69fba5e1d13ccd0008d41978

@cloudflare-workers-and-pages

This comment has been minimized.

builder-io-integration[bot]

This comment was marked as outdated.

builder-io-integration[bot]

This comment was marked as outdated.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for agent-native-scheduling ready!

Name Link
🔨 Latest commit 3959afe
🔍 Latest deploy log https://app.netlify.com/projects/agent-native-scheduling/deploys/69fba76a0740f2000831b75b
😎 Deploy Preview https://deploy-preview-535--agent-native-scheduling.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for agent-native-voice ready!

Name Link
🔨 Latest commit 3959afe
🔍 Latest deploy log https://app.netlify.com/projects/agent-native-voice/deploys/69fba76a02ebc90008445108
😎 Deploy Preview https://deploy-preview-535--agent-native-voice.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for agent-native-meeting-notes ready!

Name Link
🔨 Latest commit 3959afe
🔍 Latest deploy log https://app.netlify.com/projects/agent-native-meeting-notes/deploys/69fba76a4ea6150008a8e374
😎 Deploy Preview https://deploy-preview-535--agent-native-meeting-notes.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for agent-native-design ready!

Name Link
🔨 Latest commit 3959afe
🔍 Latest deploy log https://app.netlify.com/projects/agent-native-design/deploys/69fba76aeb2e36000862f98d
😎 Deploy Preview https://deploy-preview-535--agent-native-design.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

builder-io-integration[bot]

This comment was marked as outdated.

builder-io-integration[bot]

This comment was marked as outdated.

builder-io-integration[bot]

This comment was marked as outdated.

Copy link
Copy Markdown
Contributor

@builder-io-integration builder-io-integration Bot left a comment

Choose a reason for hiding this comment

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

Builder reviewed your changes — looks good ✅

Review Details

Code Review Summary — PR #535 (Final Incremental Update)

Reviewed latest 2 new commits. All code remains production-ready with no issues detected.

Latest Changes (New Commits)

Design Template:

  • ✅ New export-coding-handoff action for creating tokenized handoff URLs for external agents
  • ✅ Access control: Uses assertAccess("design", id, "viewer") to validate access
  • ✅ Security: Generates short-lived tokens (7-day TTL via signShortLivedToken)
  • ✅ Proper error handling: Throws if design has no files to hand off
  • ✅ Marked readOnly: true (no mutations)

Slides Template (Index.tsx):

  • ✅ Design system selection UI in new deck prompt with proper filtering
  • ✅ useEffect dependencies now correctly scoped to defaultSystem?.id + designSystems.length
  • ✅ Agent context expanded with design system guidance when deck is linked

Code Quality:

  • ✅ No unscoped database queries
  • ✅ Proper access control validation
  • ✅ Type-safe schema usage
  • ✅ All previously reviewed patterns maintained

Summary of Full PR

Mail Template:

  • Gmail query builder extraction (correct logic, comprehensive tests)
  • External refresh signal for cache bypass
  • Event listener debouncing with proper cleanup

Slides Template:

  • Generation state management (pure functions, well-tested)
  • Design system deck linking (proper access control)
  • Agent work indicator component (event-driven, clean lifecycle)
  • Improved new deck UX with design system selection

Core Framework:

  • Chat running event broadcasting (both true and false transitions)
  • Agent work tracking available globally

Design Template:

  • New coding handoff export action for external agent integration

Risk Assessment

Standard Risk — All changes:

  • Are additive (no breaking changes)
  • Have proper access control
  • Include comprehensive test coverage
  • Follow established patterns
  • No database mutations issues

No blocking issues. PR is ready to merge pending CI validation.

🧪 Browser testing: Skipped — dev server infrastructure unavailable. Code is low-risk refactoring and feature enhancements with unit tests.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for nutritrack-daily-calories canceled.

Name Link
🔨 Latest commit 3959afe
🔍 Latest deploy log https://app.netlify.com/projects/nutritrack-daily-calories/deploys/69fba76a3cefb700086a5067

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for agent-native-dispatch canceled.

Name Link
🔨 Latest commit 3959afe
🔍 Latest deploy log https://app.netlify.com/projects/agent-native-dispatch/deploys/69fba76adb155d0008396550

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for agent-native-calendar canceled.

Name Link
🔨 Latest commit 3959afe
🔍 Latest deploy log https://app.netlify.com/projects/agent-native-calendar/deploys/69fba76afc7cb70008222fee

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for agent-native-issues canceled.

Name Link
🔨 Latest commit 3959afe
🔍 Latest deploy log https://app.netlify.com/projects/agent-native-issues/deploys/69fba76af40d9a0008c6f746

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for agent-native-macros canceled.

Name Link
🔨 Latest commit 3959afe
🔍 Latest deploy log https://app.netlify.com/projects/agent-native-macros/deploys/69fba76a487cad00081f60b1

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for agent-native-slides canceled.

Name Link
🔨 Latest commit 3959afe
🔍 Latest deploy log https://app.netlify.com/projects/agent-native-slides/deploys/69fba76af40d9a0008c6f748

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for agent-native-recruiting canceled.

Name Link
🔨 Latest commit 3959afe
🔍 Latest deploy log https://app.netlify.com/projects/agent-native-recruiting/deploys/69fba76af40d9a0008c6f74d

@steve8708 steve8708 merged commit b878dd8 into main May 6, 2026
28 of 29 checks passed
@steve8708 steve8708 deleted the updates-244 branch May 6, 2026 20:51
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