Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@benclifford
Copy link
Collaborator

Prior to this PR, the interchange had two task counters. The one removed by this PR was used to:

i) disambiguate tasks of equal priority - in effect using the counter
as yet another task identifier, distinct from the Parsl or HTEX
task IDs.

ii) log how many tasks have been received by the interchange

This PR removes that counter:

i) tasks of equal priority are disambiguated by their HTEX-level task_id. It is already a protocol requirement that different tasks have different task IDs.

ii) The total tasks received log message is replaced by per-task logging at the same place which makes it clear which tasks have been received, instead of recording the count received. In debugging task flow, this has been more useful to me.

Changed Behaviour

Tasks of equal priority might be differently disambiguated now, but probably not -- in general tasks will arrive in task_id order. Equal priority tasks, by definition, have no expected relative execution order, though.

Type of change

  • Update to human readable text: Documentation/error messages/comments
  • Code maintenance/cleanup

Prior to this PR, the interchange had two task counters.
The one removed by this PR was used to:

i) disambiguate tasks of equal priority - in effect using the counter
   as yet another task identifier, distinct from the Parsl or HTEX
   task IDs.

ii) log how many tasks have been received by the interchange

This PR removes that counter:

i) tasks of equal priority are disambiguated by their HTEX-level task_id.
It is already a protocol requirement that different tasks have different
task IDs.

ii) The total tasks received log message is replaced by per-task logging
at the same place which makes it clear *which* tasks have been received,
instead of recording the count received. In debugging task flow, this has
been more useful to me.
@khk-globus khk-globus added this pull request to the merge queue Oct 23, 2025
Merged via the queue into master with commit 165fdc5 Oct 23, 2025
11 checks passed
@khk-globus khk-globus deleted the benc-interchange-task-counter branch October 23, 2025 13:01
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.

3 participants