Skip to content

Skill is not loading sometimes for scheduled tasks #791

Description

@AggManik

Current behavior

A scheduled task that creates email drafts for new signups stopped working after yesterday’s migration.

Refs:

Expected behavior

On schedule, the workflow finds new signups and creates Gmail drafts for each eligible signup, then marks the source rows/status as drafted (no skips, no silent failures).

Suggested implementation notes

  • Verify post-migration: scheduler trigger fires, job is enqueued, worker executes, and any required auth context (Gmail + Sheets/Metabase) is loaded correctly.
  • Add structured logging + error surfacing for each stage (trigger -> fetch signups -> draft creation -> status update).
  • Add an alert/notification when the job fails or drafts created count drops to 0 unexpectedly.

Acceptance criteria

  • Scheduled run creates drafts for new signups as before migration.
  • Failures are visible (logs + surfaced error), not silent.
  • Slack + CORE conversation references are sufficient to trace the failure.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions