job log retrieval: configurable success condition#7052
Merged
oliver-sanders merged 2 commits intocylc:masterfrom Dec 2, 2025
Merged
Conversation
oliver-sanders
commented
Oct 21, 2025
oliver-sanders
commented
Oct 21, 2025
| return | ||
|
|
||
| try: | ||
| host = get_host_from_platform(platform, bad_hosts=self.bad_hosts) |
Member
Author
There was a problem hiding this comment.
Split this try block into two so tools like mypy can tell that platform cannot be undefined.
(see the before part of the diff)
37103d6 to
5aae063
Compare
5aae063 to
41c1e9d
Compare
Member
Author
|
Converted to draft as a newly added feature (#6933) needs to be updated in response to this.... ... done |
41c1e9d to
47ce08f
Compare
oliver-sanders
commented
Oct 30, 2025
* Presently, job log retrieval is considered successful when the `job.out` file appears, and additionally the `job.err` file if the job failed. * This commit adds a new configuration to allow additional files to be specified. * This will help with a MO platform where the job epilogue file is written asynchronously, so may only appear some time after the `job.out` file.
47ce08f to
0766817
Compare
MetRonnie
approved these changes
Nov 5, 2025
ChrisPaulBennett
approved these changes
Nov 27, 2025
| {replaces} | ||
| ''') | ||
| Conf( | ||
| 'retrieve job log expected files', |
Contributor
There was a problem hiding this comment.
Bit of a convoluted config name. Got anything snappier?
Member
Author
There was a problem hiding this comment.
Got any suggestions?
Member
Author
|
Merging with two approvals. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
job.outfile appears, and additionally thejob.errfile if the jobfailed.
specified.
written asynchronously, so may only appear some time after the
job.outfile.
Check List
CONTRIBUTING.mdand added my name as a Code Contributor.setup.cfg(andconda-environment.ymlif present).?.?.xbranch.