Skip to content

Restrict scheduler task error handling - #1654

Open
sjdv1982 wants to merge 1 commit into
haddocking:mainfrom
sjdv1982:main
Open

Restrict scheduler task error handling#1654
sjdv1982 wants to merge 1 commit into
haddocking:mainfrom
sjdv1982:main

Conversation

@sjdv1982

@sjdv1982 sjdv1982 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Before submitting, read the contributing guidelines and the AI policy.

What does this PR do and why?

The libparallel scheduler catches exceptions and counts them toward tolerance. However, it catches ALL exceptions, not just the ones that are CNS/task related. This PR defines a proper exception class for that, and makes the scheduler catch only those.

How was this tested?

Unit tests by the AI.

AI assistance

Implementation by Codex 5.6 Sol under my direction. I inspected every line by hand.

Checklist

  • Tests cover the new and/or changed code
  • Documentation updated if needed (also in the haddock3 user-manual
  • CHANGELOG.md updated for user-facing changes

@rvhonorato

Copy link
Copy Markdown
Member

before you merge make sure there is an issue describing why this pull-request is necessary, this is needed for reporting purposes.

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.

2 participants