Skip to content

[Bug]: Runs may be resubmitted indefinitely #907

@r4victor

Description

@r4victor

dstack version

master

Python version

3.11

Host OS

macOS 13.4

Host Arch

ARM

What happened?

Currently, _run_job() only handles BackendError from the backends:

If the backend raises a different exception, _process_submitted_job() fails and the run is processed indefinitely. This should be fixed by catching the unexpected exceptions as well and logging them with logger.exception().

CLI logs

No response

Server logs

No response

Runner logs

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions