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

It's hard to cancel derivations sometimes #465

Open
roberth opened this issue Nov 16, 2022 · 0 comments
Open

It's hard to cancel derivations sometimes #465

roberth opened this issue Nov 16, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@roberth
Copy link
Member

roberth commented Nov 16, 2022

Description

A new job is required in order to cancel derivations that were restarted after all jobs that needed them were cancelled

To Reproduce

Cause 1: restarting just the builds

  1. Start a job with derivations that have a system for which the cluster has no agents
  2. Cancel the job. This will remove the ability to cancel the job's derivations next time.
  3. Restart the job. This will queue the cancelled derivations.
  4. Don't have a way to cancel those derivations now.
  5. (workaround) Restart the job, let it evaluate completely, then cancel it.

Cause 2: undispatchable jobs don't appear on job page
This would have allowed bootstrap-tools.drv to be cancelled individually, trickling down to the whole tree of non-dispatchable derivations.

Expected behavior

Logs

Platform / Version

Best to go to https://hercules-ci.com/dashboard and click on the agents' tab for the account you're interested in.
hercules-ci-agent --help version

@roberth roberth added the bug Something isn't working label Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant