Skip to content

[codex] add partial job update endpoint#3300

Open
TheGreatAion wants to merge 1 commit into
SecureBananaLabs:mainfrom
TheGreatAion:fix-3299-job-partial-update
Open

[codex] add partial job update endpoint#3300
TheGreatAion wants to merge 1 commit into
SecureBananaLabs:mainfrom
TheGreatAion:fix-3299-job-partial-update

Conversation

@TheGreatAion
Copy link
Copy Markdown

@TheGreatAion TheGreatAion commented Jun 1, 2026

Summary

  • expose PATCH /api/jobs/:id through the jobs router
  • validate partial edits with the existing updateJobSchema
  • update the in-memory record while preserving its server-owned id
  • return a clear 404 response for unknown job ids
  • add focused route-level regression coverage

Why

The API already exported updateJobSchema, but there was no route, controller path, or service method that let clients apply partial job edits.

Closes #3299

/claim #743

Demo

The video runs real requests against the patched local API: create a job, apply a partial edit while preserving the server id, then request an unknown job and receive a 404.

Verification

github-actions Bot added a commit that referenced this pull request Jun 1, 2026
@TheGreatAion TheGreatAion marked this pull request as ready for review June 1, 2026 01:49
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 API should expose the existing partial update path

1 participant