Skip to content

fix(api): enforce server-owned OPEN job status#1992

Open
chinook1001 wants to merge 1 commit into
SecureBananaLabs:mainfrom
chinook1001:codex/job-open-status-1990
Open

fix(api): enforce server-owned OPEN job status#1992
chinook1001 wants to merge 1 commit into
SecureBananaLabs:mainfrom
chinook1001:codex/job-open-status-1990

Conversation

@chinook1001
Copy link
Copy Markdown

Summary

  • make newly-created in-memory jobs use Prisma-compatible OPEN
  • prevent caller-supplied status from overriding the initial server-owned state
  • add focused node:test coverage for default and override cases

Fixes #1990

/claim #743

Validation

  • node --test apps/api/src/tests/health.test.js apps/api/src/tests/jobService.test.js

@chinook1001 chinook1001 force-pushed the codex/job-open-status-1990 branch from 6963897 to ed8aa5c Compare May 30, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Job creation should use server-owned OPEN status

1 participant