Skip to content

process_submitted_jobs should create InstanceModel before provisioning instances #3665

Closed

Description

@r4victor

process_submitted_jobs creates InstanceModel (ComputeGroupModel) models only after provisioning succeeds. This is problematic:

The solution is to add a process_submitted_jobs step that creates and commits InstanceModel (ComputeGroupModel) "reserved" models. Then provision against those models and either promote them or delete them. Introduce InstanceModel.provisioning_job_id that means that the instance is being provisioned by process_submitted_jobs and ignore it in the instance background task.

Activity

  1. self-assigned this
    on Mar 13, 2026
  2. github-actions commented on Apr 13, 2026

    @github-actions

    This issue is stale because it has been open for 30 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementA non-feature improvement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions