Skip to content

feat(database): add /cron/jobs RunDueOnce drain - #3343

Open
adlerhurst wants to merge 2 commits into
cursor/jobs-slice-3-sessions-gc-ee5efrom
cursor/jobs-slice-4-cron-ee5e
Open

adlerhurst wants to merge 2 commits into
cursor/jobs-slice-3-sessions-gc-ee5efrom
cursor/jobs-slice-4-cron-ee5e

Conversation

@adlerhurst

@adlerhurst adlerhurst commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

TL;DR

6 of 6 / tip (bases on #3342). Engine.Trigger() at /cron/jobs when jobs.trigger_secret is set; cloud launcher maps CRON_SECRET; Vercel cron rewrite. Self-hosted without the secret keeps Start() poll.

Reviewer map

Core Supporting
apps/api/internal/jobs/trigger.go (+ tests) cmd/server mux/config wiring
cmd/cloud-launcher, vercel.json, changeset, AGENTS

Review follow-ups

Stack

… → #3342 ← this (tip). Design: docs/design/jobs/.

Open in Web Open in Cursor 

Copilot AI balanced review requested due to automatic review settings November 25, 2026 10:22
@adlerhurst
adlerhurst added this pull request to stack #3337 November 25, 2026 10:22
@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
cloud Ready Ready Preview Dec 3, 2026 5:38am UTC

Request Review

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@zitadel-kanban zitadel-kanban Bot moved this to Inbox in Engineering Kanban Nov 25, 2026
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

🦋 Changeset detected

Latest commit: 08b624a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 27 packages
Name Type
@zitadel/server Minor
@zitadel/cli Minor
@zitadel/testing Minor
@zitadel/server-darwin-arm64 Minor
@zitadel/server-darwin-x64 Minor
@zitadel/server-linux-arm64 Minor
@zitadel/server-linux-x64 Minor
@zitadel/server-win32-x64 Minor
@zitadel/api Minor
@zitadel/components Minor
@zitadel/config Minor
@zitadel/sdk-angular Minor
@zitadel/sdk-core Minor
@zitadel/sdk-next Minor
@zitadel/sdk-nuxt Minor
@zitadel/sdk-qwik Minor
@zitadel/sdk-qwik-router Minor
@zitadel/sdk-react Minor
@zitadel/sdk-solid Minor
@zitadel/sdk-solid-start Minor
@zitadel/sdk-svelte Minor
@zitadel/sdk-sveltekit Minor
@zitadel/sdk-tanstack-start Minor
@zitadel/sdk-vue Minor
@zitadel/cloud Patch
@zitadel/client-sdk-contract Patch
@zitadel/server-sdk-contract Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cursor
cursor Bot force-pushed the cursor/jobs-slice-4-cron-ee5e branch from 25a99d2 to 1795d82 Compare November 25, 2026 10:29
@cursor
cursor Bot force-pushed the cursor/jobs-slice-4-cron-ee5e branch from 9ee8796 to 47a513c Compare November 25, 2026 13:38
@cursor
cursor Bot force-pushed the cursor/jobs-slice-4-cron-ee5e branch from 47a513c to f79514f Compare November 26, 2026 04:59
@cursor
cursor Bot force-pushed the cursor/jobs-slice-4-cron-ee5e branch from c9b07fe to 24c8344 Compare November 26, 2026 05:06
@cursor
cursor Bot force-pushed the cursor/jobs-slice-4-cron-ee5e branch from 24c8344 to fb6a0e3 Compare November 27, 2026 15:43
@cursor
cursor Bot force-pushed the cursor/jobs-slice-4-cron-ee5e branch from fb6a0e3 to 8b59fae Compare December 2, 2026 07:53

@fforootd fforootd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One finding inline. The cron cadence issue is on #3340; stack overview on #3335.


Generated by Claude Code

Comment thread apps/api/turbo.json Resolved
Engine.Trigger at /cron/jobs when jobs.trigger_secret is set; cloud launcher
maps CRON_SECRET; vercel cron rewrite.

Co-authored-by: s2s4gq4jby <s2s4gq4jby@privaterelay.appleid.com>
buildHTTPMux gained a jobs Cron handler arg; MCP mount tests from main
still passed mounts as oauthHandlers.

Co-authored-by: Silvan <adlerhurst@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
Preview — 35b2ba41 Deployed Dec 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

4 participants