Skip to content

Conversation

@oliver-sanders
Copy link
Member

(Note, this issue needs to be resolved before expire triggers can be used in anger)

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 if present).
  • Tests are included (or explain why tests are not needed).
  • Changelog 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, PR should be raised against the relevant ?.?.x branch.

@oliver-sanders oliver-sanders self-assigned this Oct 22, 2025
@oliver-sanders oliver-sanders added the bug Something is wrong :( label Oct 22, 2025
@oliver-sanders oliver-sanders added this to the 8.5.x milestone Oct 22, 2025
itask,
logging.WARNING,
TASK_OUTPUT_EXPIRED,
forced=True,
Copy link
Member Author

@oliver-sanders oliver-sanders Oct 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hjoliver, is this a valid use of the force argument?

Looks like the tutorial workflow tests failed as this change removed the (internal) prefix from the expired log message.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's valid, but maybe update the docstring in the message to say that expiry counts as forcing too.

Do we also need this for suicide-induced task expiry? (See line 1565)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The message currently reads:

forced:
If this message is due to manual completion or not (cylc set)

So, should this be:

If this message was set for internal (i.e, artificial) as opposed to natural satisfaction.

If so, are there any other situations we should be using this in?

@oliver-sanders
Copy link
Member Author

(rebased)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something is wrong :(

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants