-
Notifications
You must be signed in to change notification settings - Fork 94
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
dummy mode: subtract err-script from jobs #5820
Comments
@wxtim you might want to see if you can cross this off post skip-mode work, or have already resolved it as part of recent sim-mode work. |
This makes sense because:
But... It makes sense to me that the user of dummy mode might want to keep the effect of the dummy script, especially if the error script is altering the workflow. If they were wanting to test a Happy to remove it, but wanted to check that you've considered the reasons. |
Dummy mode is supposed to run a dummy job commenting out all script. Given that dummy jobs should not fail (because they don't run anything), the inclusion of |
I will do this.
Dummy jobs will currently fail if you set evidence: err-script = 'echo "Hello, this is the exit script"'
[[[simulation]]]
default run length = "PT0S"
fail cycle points = "all" > cylc vip .
> cylc log new.buck/runN//1654/foo/ -f e
(dummy job fail)
Hello, this is the exit script
2024-05-15T11:35:58+01:00 CRITICAL - failed/ERR |
🤮 Hmm, dummy mode may require a rethink, or a deletion (see #5961). |
Also missing |
In dummy mode, we remove any configured script items, except err-script for some reason.
See #5721 (comment)
The text was updated successfully, but these errors were encountered: