Skip to content

Exceptions should be caught when setting up the workspaces and cause jobs to... #6

Open

Description

@Foxcapades

What should happen when the creation/setup of a job fails in the platform before the job is executed?

  • Should we assume it's a hiccup and clear out the job with a 500 so they can try resubmitting?

  • Should we just fail the job before it starts?

  • Submitting a job to the DB (we didn't even manage to record the job)

  • Submitting a workspace to S3 (we recorded the job in the DB but S3 operation(s) failed)

  • Submitting a job to the queue (we recorded the job in the DB and created an S3 workspace, but rabbit threw an exception)

Activity

  1. self-assigned this
    on Jun 13, 2022
  2. Foxcapades commented on Jun 15, 2022

    @Foxcapades
    MemberAuthor

    @dmgaldi points out that if we get a client timeout when creating and S3 workspace and fail the request, all subsequent requests to create that job will fail due to the workspace already existing (s3-workspaces throws an exception for double creating a workspace)

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

Metadata

Metadata

Assignees

Labels

todoRequired development task

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions