Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manual trigger: future hold list ignored #6513

Open
hjoliver opened this issue Dec 4, 2024 · 1 comment
Open

manual trigger: future hold list ignored #6513

hjoliver opened this issue Dec 4, 2024 · 1 comment
Labels
bug Something is wrong :( small
Milestone

Comments

@hjoliver
Copy link
Member

hjoliver commented Dec 4, 2024

Future tasks can be held - they're recorded in a "hold list" so that once spawned into the active pool they will be held.
This works as advertised for natural triggering, but not for manual triggering.

Current behaviour for manually triggering held tasks:

  1. existing held tasks (e.g. waiting with partially satisfied prerequisites):
    • tasks run, but retain the held attribute (to prevent subsequent job submissions)
  2. future held task:
    • tasks run without having the held attribute applied

I think 1. is correct behaviour, and 2. is a bug - it should run as held (same as 1.)

ASIDE: I suppose we could decree that held tasks will not trigger naturally or manually, but I think it's more reasonable to have them run (I would not do a manual trigger if I didn't want it to run) but retain the held attribute to prevent subsequent job submission.

@hjoliver hjoliver added bug? Not sure if this is a bug or not question Flag this as a question for the next Cylc project meeting. labels Dec 4, 2024
@hjoliver hjoliver added this to the 8.x milestone Dec 4, 2024
@hjoliver hjoliver changed the title manual trigger: hold list not used manual trigger: future hold list ignored Dec 4, 2024
@hjoliver hjoliver added bug Something is wrong :( and removed bug? Not sure if this is a bug or not question Flag this as a question for the next Cylc project meeting. labels Dec 4, 2024
@oliver-sanders
Copy link
Member

I think 1. is correct behaviour, and 2. is a bug - it should run as held (same as 1.)

Agreed (remove question label if happy with this).

I suppose we could decree that held tasks will not trigger naturally or manually, but I think it's more reasonable to have them run

Manual trigger should always override the held state.

@hjoliver hjoliver added the small label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is wrong :( small
Projects
None yet
Development

No branches or pull requests

2 participants