Skip to content

Failed jobs are shown as completed when %%time cell magic is used #565

@DrMaphuse

Description

@DrMaphuse

Description

When a job fails with an exception inside a %%time magic cell, jupyter-scheduler does not recognize that the job actually failed.

For example, this job is shown as completed:
grafik

But the HTML/Notebook output clearly shows that an exception was raised:
grafik

How to reproduce

An exception is raised in a cell with %%time cell magic.

Expected behavior

Jobs where an exception is raised should be shown as failed, even when magic commands are used.

Context

  • Operating System and version: Linux Ubuntu 20.04
  • JupyterLab version: 4.0.11
  • Jupyter Scheduler version: 2.4.0

Metadata

Metadata

Assignees

No one assigned

    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