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

Redecorate apps for all executors, to get task label in monitoring #58

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

benclifford
Copy link
Contributor

Prior to this PR, task names appeared in the monitoring database when uisng work queue executor because a run_command-like app was created for every invocation, and that app was customised to have the bps task label attached.

With other executors, that code path was not used, and so other executors default to using the parsl default of name of the underlying Python function which in the gen3_workflow case was run_command.

This PR switches to making a new app for every task invocation for all executor types, and applies the same task label modification. This makes the task label available in monitoring with all executor types.

Prior to this PR, task names appeared in the monitoring database when uisng
work queue executor because a run_command-like app was created for every
invocation, and that app was customised to have the bps task label attached.

With other executors, that code path was not used, and so other executors
default to using the parsl default of name of the underlying Python function
which in the gen3_workflow case was `run_command`.

This PR switches to making a new app for every task invocation for all
executor types, and applies the same task label modification. This makes the
task label available in monitoring with all executor types.
Copy link
Collaborator

@jchiang87 jchiang87 left a comment

Choose a reason for hiding this comment

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

LGTM

@jchiang87 jchiang87 merged commit 5da553c into LSSTDESC:master Nov 27, 2023
1 check passed
benclifford added a commit to Parsl/parsl that referenced this pull request Feb 7, 2024
…erns

This follows some investigations of app names that turned out to be a bug in
a different piece of code, resolved in
LSSTDESC/gen3_workflow#58
benclifford added a commit to Parsl/parsl that referenced this pull request Mar 18, 2024
…erns (#3056)

This follows some investigations of app names that turned out to be a bug in
a different piece of code, resolved in
LSSTDESC/gen3_workflow#58
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