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

Ensure task mail respects [scheduler][mail]to/from #6008

Merged
merged 3 commits into from
Mar 11, 2024
Merged

Conversation

MetRonnie
Copy link
Member

@MetRonnie MetRonnie commented Mar 5, 2024

Closes #5976

Plus tidy some cruft I spotted along the way (sorry, couldn't resist)

Note

db change Change to the workflow database structure - altered format of value in the ctx column in the task_action_timers table (with upgrader logic added to handle older DBs).

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).
  • No dependency changes
  • Tests are included
  • CHANGES.md entry included if this is a change that can affect users
  • No docs entry needed
  • If this is a bug fix, PR should be raised against the relevant ?.?.x branch.

@MetRonnie MetRonnie added bug Something is wrong :( db change Change to the workflow database structure labels Mar 5, 2024
@MetRonnie MetRonnie added this to the cylc-8.3.0 milestone Mar 5, 2024
@MetRonnie MetRonnie self-assigned this Mar 5, 2024
Copy link
Member Author

Choose a reason for hiding this comment

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

Moved this into test_task_events_mgr.py. Not sure why there was ever a "2" file?

def __init__(
self, workflow, proc_pool, workflow_db_mgr, broadcast_mgr,
xtrigger_mgr, data_store_mgr, timestamp, bad_hosts,
reset_inactivity_timer_func
):
self.workflow = workflow
self.workflow_url = None
Copy link
Member Author

Choose a reason for hiding this comment

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

This was unused

Copy link
Member

@hjoliver hjoliver left a comment

Choose a reason for hiding this comment

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

LGTM

@MetRonnie MetRonnie requested a review from wxtim March 11, 2024 10:26
Copy link
Member

@wxtim wxtim left a comment

Choose a reason for hiding this comment

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

I'm satisfied this works. Have double checked that it doesn't break Cylc Review.

@wxtim wxtim merged commit 394a6ae into cylc:master Mar 11, 2024
@MetRonnie MetRonnie deleted the mail branch March 11, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is wrong :( db change Change to the workflow database structure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mail: [scheduler][mail]to is not being used as the default for [runtime][root][mail]to
3 participants