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

restart: catch possible platform error #5093

Conversation

oliver-sanders
Copy link
Member

Spotted reviewing #5025.

It's possible for a platform lookup error to surface at this stage e.g. platform cannot be found in global config.

We should probably let this error roll.

Check List

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Applied any dependency changes to both setup.cfg and conda-environment.yml.
  • Tests are included (or explain why tests are not needed).
  • CHANGES.md entry included if this is a change that can affect users
  • Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.
  • If this is a bug fix, PRs raised to both master and the relevant maintenance branch.

@oliver-sanders oliver-sanders added this to the cylc-8.1.0 milestone Aug 23, 2022
@oliver-sanders oliver-sanders self-assigned this Aug 23, 2022
@oliver-sanders oliver-sanders marked this pull request as draft October 3, 2022 09:57
@oliver-sanders
Copy link
Member Author

The failing test (tests/f/restart/13-bad-job-host.t) has highlighted a case where this error can occur. It is expecting restart to fail due to encountering a PlatformLookup error. This does raise the question of how we are meant to restart a workflow in this state?

@oliver-sanders oliver-sanders modified the milestones: cylc-8.1.0, cylc-8.1.x Dec 6, 2022
@oliver-sanders oliver-sanders added the bug? Not sure if this is a bug or not label Dec 6, 2022
@oliver-sanders
Copy link
Member Author

oliver-sanders commented Mar 27, 2023

Superseded by #5395

@oliver-sanders oliver-sanders removed this from the cylc-8.1.x milestone Mar 27, 2023
@oliver-sanders oliver-sanders deleted the possible-platform-restart-bug branch March 27, 2023 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? Not sure if this is a bug or not superseded
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant