Skip to content

docs: add background jobs Gherkin acceptance suite - #3336

Closed
adlerhurst wants to merge 1 commit into
cursor/jobs-slice-0-adr-ee5efrom
cursor/jobs-slice-g-gherkin-ee5e
Closed

adlerhurst wants to merge 1 commit into
cursor/jobs-slice-0-adr-ee5efrom
cursor/jobs-slice-g-gherkin-ee5e

Conversation

@adlerhurst

@adlerhurst adlerhurst commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

TL;DR

2 of 7 (bases on #3335). Lands the MVP-accurate Gherkin contract under e2e/acceptance/background-jobs/ — not the layout-example product names. One commit; suite is checklist-only (no godog in CI).

Reviewer map

Core Supporting
job-statements.feature, engine.feature, sessions-gc.feature, cron-wake.feature README.md, results/2026-11-27-slice4-tip.md, e2e/acceptance/AGENTS.md

Vocabulary to verify: no status/unique_key on schedules; Take allowlist; lease 30s / heartbeat 10s; /cron/jobs; sessions.gc hard-delete. @post-mvp tags cover slices 5–7.

Risk / tests

Docs-only. Later slices’ Go tests mirror scenario titles.

Stack

#3335 ← this → #3338 → #3340 → #3341 → #3342 → #3343.

Open in Web Open in Cursor 

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

⚠️ No Changeset found

Latest commit: 2e220d8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

…kground-jobs

MVP-accurate suite (jobs vs job_schedules, Take allowlist, 30s/10s lease,
/cron/jobs drain, sessions.gc hard-delete) with README and dated results.

Co-authored-by: s2s4gq4jby <s2s4gq4jby@privaterelay.appleid.com>

@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.

Please drop this PR.

  • It starts a new top-level convention, e2e/acceptance/ (with its own AGENTS.md and dated results/ notes), and 618 lines of .feature files that nothing runs: the repo has no Gherkin runner, as the README says.
  • What the scenarios describe is already enforced by tests that run in CI (stmttest/jobs_test.go, internal/jobs/engine_test.go, sessions_gc_test.go, trigger_test.go). A prose copy beside them can only drift, and a dated results file is stale as soon as the branch moves. The repo's rule is to test at the lowest layer that proves the property and not to duplicate upward.
  • If a scenario covers something the Go tests don't, add that case to the Go test.

Links to these files to remove with it: the ADR 065 Testing line (added here), docs/design/jobs/README.md, docs/design/jobs/runtime.md and apps/api/internal/storage/AGENTS.md (#3338), and apps/api/internal/jobs/AGENTS.md (#3341). #3338 then stacks on #3335 directly.


Generated by Claude Code

@adlerhurst adlerhurst closed this Dec 3, 2026
@github-project-automation github-project-automation Bot moved this from Inbox to Done in Engineering Kanban Dec 3, 2026
@cursor
cursor Bot deleted the cursor/jobs-slice-g-gherkin-ee5e branch December 3, 2026 03:53
@adlerhurst
adlerhurst removed this pull request from stack #3337 December 3, 2026 03:53

This branch was successfully deployed

1 active deployment
Preview — 2e220d80 Deployed Dec 2, 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: Done

Development

Successfully merging this pull request may close these issues.

4 participants