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

Make Work Queue executor source code more explicit about task types #2632

Merged
merged 2 commits into from Mar 23, 2023

Conversation

benclifford
Copy link
Collaborator

There are three different entities with the word "task" used to describe them: parsl tasks, tasks that go in this executor's self.tasks dictionary, and Work Queue tasks.

The executor code refers to two of them, and this PR attempts to be explicit in every log line, and in some variable names, about which kind of task is being referred to.

self.tasks dictionary tasks are referred to as "executor tasks".

Work Queue tasks are referred to as Work Queue tasks.

This is part of an attempt to make log files easier to understand in the presence of many kinds of task.

Type of change

  • Documentation update
  • Code maintentance/cleanup

There are three different entities with the word "task" used to
describe them: parsl tasks, tasks that go in this executor's
self.tasks dictionary, and Work Queue tasks.

The executor code refers to two of them, and this PR attempts to be explicit
in every log line, and in some variable names, about which kind of task is
being referred to.

self.tasks dictionary tasks are referred to as "executor tasks".

Work Queue tasks are referred to as Work Queue tasks.

This is part of an attempt to make log files easier to understand in the
presence of many kinds of task.
@benclifford benclifford merged commit 454fbae into master Mar 23, 2023
@benclifford benclifford deleted the benc-wq-task-naming branch March 23, 2023 11:37
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.

None yet

1 participant