Skip to content

[Bug] #3078

@kamo-sevoyan-lc

Description

@kamo-sevoyan-lc

🐛 Bug

Description

The on_run_end and on_job_end callbacks are not called when the program is stopped via a keyboard interrupt.

Checklist

  • I have tested this on Hydra version 1.3.2.

To Reproduce

  1. Create a callback.
  2. Use it in the configuration file.
  3. Run the program and stop it with Ctrl+C.

Expected Behavior

The on_run_end and on_job_end callbacks should be executed when the program is stopped by a keyboard interrupt.

System Information

  • Hydra Version: 1.3.2
  • Python Version: 3.8.19
  • Virtual Environment Type and Version: conda 24.11.3
  • Operating System: Ubuntu 20.04.6 LTS

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