Skip to content

feat(web): Run now triggers the workflow through the stock trigger route (CL-9586) - #1008

Merged
TheGreatAxios merged 5 commits into
mainfrom
cl-9586-run-now
Sep 30, 2026
Merged

TheGreatAxios merged 5 commits into
mainfrom
cl-9586-run-now

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Based on cl-9582-workflows-mockups because PR #1002 is not yet merged; retarget to main after it lands.

  • runScheduledWorkflowNow posts to stock POST /workflows/:runId/mail; body mirrors the cron row subject/body when present, else a minimal Run now message. Response parsed with arktype; 409 maps to a clear ended-workflow message.
  • Pause/Resume removed (detail page button, setEnabled action, setScheduledWorkflowStatus stub). Stock and @corbits/cron have no pause primitive.
  • Docs updated. No e2e: no scripted workflow package exists in the repo to deploy in the harness.

Resolves CL-9586

@linear-code

linear-code Bot commented Sep 30, 2026

Copy link
Copy Markdown

CL-9586

@TheGreatAxios
TheGreatAxios changed the base branch from cl-9582-workflows-mockups to main September 30, 2026 05:43
# Conflicts:
#	apps/web/src/pages/routine-detail-page.tsx
#	apps/web/src/pages/routines-page.tsx
@TheGreatAxios
TheGreatAxios enabled auto-merge (squash) September 30, 2026 05:43
@TheGreatAxios
TheGreatAxios merged commit 426a281 into main Sep 30, 2026
3 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