fix(desktop): resolve campaign enrollment, sequence execution, metrics, and operations center crashes - #20
Merged
Conversation
…in preload script to resolve enrollment unauthorized errors
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
…to prevent render crash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR resolves multiple critical runtime crashes, database schema omissions, and SMTP credentials issues that blocked outreach campaign enrollment, automation sequence execution, operations center rendering, and observability metrics.
Key Changes
1. Preload Script Whitelisting (IPC)
campaigns(campaigns:list,campaigns:create, etc.) andschedulerin the preload script to support the main process and renderer bindings.2. Campaigns Screen UI Redundant Parsing Check
sequence.stepsbefore attempting to callJSON.parsewhen running online, preventing JSON parse exceptions on the Campaigns screen.3. Observability Metrics RangeError
typeparameter when executing thegetAvgDurationprepared query insideobservability-ipc.ts, eliminating theRangeError: Too few parameter values were providedexception.4. Operations Center List Renderer Crash
j.idandj.id as jobIdin thescheduler:queue:listSQL select statement to satisfy the renderer's expectation ofjob.idfor list identification and the queue monitor component.5. SQLite Database Schema Migration (
tagscolumn incontacts)025_add_contacts_tagsto alter thecontactstable and create thetagscolumn in the SQLite schema, which prevented the automation worker execution from starting at step 0 (no such column: tags).6. SMTP Credentials & Account Resolution
decryptSecrettool.Verification
pnpm build).