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

DM-49095: MPGraphExecutor: fix failure to fail #326

Merged
merged 1 commit into from
Feb 27, 2025
Merged

Conversation

PaulPrice
Copy link
Contributor

@PaulPrice PaulPrice commented Feb 27, 2025

Not enough arguments for format string.

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

Not enough arguments for format string.
Copy link

codecov bot commented Feb 27, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 90.84%. Comparing base (fe75ee3) to head (84e2948).
Report is 2 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
python/lsst/ctrl/mpexec/mpGraphExecutor.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #326   +/-   ##
=======================================
  Coverage   90.84%   90.84%           
=======================================
  Files          50       50           
  Lines        4686     4686           
  Branches      409      409           
=======================================
  Hits         4257     4257           
  Misses        308      308           
  Partials      121      121           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PaulPrice
Copy link
Contributor Author

Jenkins is green.

@PaulPrice PaulPrice merged commit c29833d into main Feb 27, 2025
18 of 19 checks passed
@PaulPrice PaulPrice deleted the tickets/DM-49095 branch February 27, 2025 18:58
@@ -557,7 +557,7 @@ def _executeQuantaInProcess(self, graph: QuantumGraph, report: Report) -> None:
fail_exit_code = exc.EXIT_CODE
raise
except InvalidQuantumError as exc:
_LOG.fatal("Invalid quantum error for %s (%s): %s", task_node.label, qnode.quantum.dataId)
_LOG.fatal("Invalid quantum error for %s (%s):", task_node.label, qnode.quantum.dataId)
Copy link
Member

Choose a reason for hiding this comment

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

Actually, isn't it better to combine the two _LOG calls here?

Copy link
Member

Choose a reason for hiding this comment

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

Oh, yeah, probably for the log aggregators; I haven't learned to keep that use case in my head when thinking about logging.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think there is a second copy of this _LOG.fatal with incorrect number of args couple of hundred lines above.

Copy link
Member

Choose a reason for hiding this comment

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

Unfortunately @PaulPrice merged before he saw this discussion.

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