Skip to content

feat(database): add jobs.Engine poll and RunDueOnce - #3341

Open
adlerhurst wants to merge 2 commits into
cursor/jobs-slice-1-statements-ee5efrom
cursor/jobs-slice-2-engine-ee5e
Open

adlerhurst wants to merge 2 commits into
cursor/jobs-slice-1-statements-ee5efrom
cursor/jobs-slice-2-engine-ee5e

Conversation

@adlerhurst

@adlerhurst adlerhurst commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

TL;DR

4 of 6 (bases on #3340). Shared jobs.Engine: RegisterWorker, poll/RunDueOnce, Take/Heartbeat/Complete/Fail, zlog debug with lease_token.

Reviewer map

Core Supporting
apps/api/internal/jobs/{engine,work,backoff,config,tracing}.go tests, AGENTS, config docs, changeset

Review follow-ups

  • Restacked on renumbered statements; dropped Gherkin AGENTS pointers.

Stack

… → #3340 ← this → #3342 → #3343.

Open in Web Open in Cursor 

Copilot AI balanced review requested due to automatic review settings November 25, 2026 10:09
@adlerhurst
adlerhurst added this pull request to stack #3337 November 25, 2026 10:09
@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:37am 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.

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

🦋 Changeset detected

Latest commit: c585e79

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-2-engine-ee5e branch from a5ce945 to 230532f Compare November 25, 2026 10:13
@cursor
cursor Bot force-pushed the cursor/jobs-slice-2-engine-ee5e branch from 230532f to b1e3a26 Compare November 25, 2026 10:18
@cursor
cursor Bot force-pushed the cursor/jobs-slice-2-engine-ee5e branch from b1e3a26 to 8abd8db Compare November 25, 2026 13:38
@adlerhurst adlerhurst closed this Nov 26, 2026
@github-project-automation github-project-automation Bot moved this from Inbox to Done in Engineering Kanban Nov 26, 2026
@adlerhurst adlerhurst reopened this Nov 26, 2026
@github-project-automation github-project-automation Bot moved this from Done to Ready in Engineering Kanban Nov 26, 2026
@cursor
cursor Bot force-pushed the cursor/jobs-slice-2-engine-ee5e branch from 2f601e8 to 90713f0 Compare November 27, 2026 15:43
@cursor
cursor Bot force-pushed the cursor/jobs-slice-2-engine-ee5e branch from 90713f0 to f0de97e Compare December 2, 2026 07:53
cursoragent and others added 2 commits December 3, 2026 05:34
Shared Engine over JobStatements with zlog debug tracing (lease_token) and
AGENTS acceptance pointers at e2e/acceptance/background-jobs/.

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

This branch was successfully deployed

1 active deployment
Preview — 3e9c0285 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: Ready

Development

Successfully merging this pull request may close these issues.

3 participants