Skip to content

ENH: Add extra context to warning messages issued by user applications within execution pipeline#107

Merged
Carwyn Pelley (cpelley) merged 2 commits into
MetOffice:mainfrom
cpelley:extra_context_warnings
May 11, 2026
Merged

ENH: Add extra context to warning messages issued by user applications within execution pipeline#107
Carwyn Pelley (cpelley) merged 2 commits into
MetOffice:mainfrom
cpelley:extra_context_warnings

Conversation

@cpelley
Copy link
Copy Markdown
Collaborator

@cpelley Carwyn Pelley (cpelley) commented Apr 21, 2026

  • Added context manager to easily manipulate warning messages within its context.
  • Integration testing to ensure that both initialisation and execution of user application scenarios are covered.
  • Python dot module path determination utility with corresponding unittests.

Alternative to #104

@robertplatt-mo
Copy link
Copy Markdown

robertplatt-mo commented May 5, 2026

Carwyn Pelley (@cpelley) Sorry for the delay on this my initial runs didn't work because of issues at my end. I've got this running now and it looks good. Will definitely make it easier to find the source of these warnings.

https://cylchub/services/cylc-review/taskjobs/robert.platt/?suite=test_dagrunner_logging%2Feppukvx
https://cylchub/services/cylc-review/taskjobs/robert.platt/?suite=test_dagrunner_uk_all_logging%2Feppukvx
https://cylchub/services/cylc-review/taskjobs/robert.platt/?suite=test_dagrunner_gl_all_logging%2Feppgl

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. unit tests all run successfully.

@cpelley Carwyn Pelley (cpelley) merged commit 71e362a into MetOffice:main May 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants