Skip to content

Create a CRUD API for Workers #730

Closed

Description

Add a CRUD API for workers. This is a pre-requisite to #729.

Activity

  1. troychiu commented on Aug 5, 2026

    @troychiu
    Contributor

    Hi Scott Funkenhauser (@sfunkenhauser) I can help with this one

  2. sfunkenhauser commented on Aug 5, 2026

    @sfunkenhauser
    CollaboratorAuthor

    I've already started working on this, so let me keep it.

  3. troychiu commented on Aug 5, 2026

    @troychiu
    Contributor

    Sounds good. Thanks for letting me know. I can help with #729, if you'd like.

  4. AiWatson343 commented on Aug 6, 2026

    @AiWatson343

    Adding a CRUD API for workers seems like the right foundation for #729. Having a first-class worker resource API will make worker lifecycle management explicit instead of relying on implicit synchronization paths.

    A few things worth considering as part of the design:

    Define the worker resource model clearly (identity, status, capabilities, runtime/sandbox class, pool membership, health, and lifecycle state).

    Keep create/update/delete semantics aligned with the eventual controller reconciliation model so API operations represent desired state rather than directly mutating runtime state.

    Include status reporting separately from spec fields to avoid mixing user intent with observed worker conditions.

    Consider idempotency and concurrency handling, since worker state may also be updated by the WorkerPoolSyncer/controller.

    This should provide a clean API boundary for #729 and make future worker orchestration features easier to build.

  5. added a commit that references this issue on Aug 25, 2026
    9b08310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area/apiUser-facing API changesarea/api-machinerykind/featureAn enhancement / feature request or implementationprio/P1Important but not critical

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions