Skip to content

Fix log command in drunc#749

Closed
emmuhamm wants to merge 2 commits intodevelopfrom
emmuhamm/fix-log-command
Closed

Fix log command in drunc#749
emmuhamm wants to merge 2 commits intodevelopfrom
emmuhamm/fix-log-command

Conversation

@emmuhamm
Copy link
Contributor

Description

Fixes #748

WIP

Please include a summary of the change and which issue is fixed (if any). Please also
include relevant motivation and context. List any dependencies that are required for
this change.

Type of change

  • Documentation (non-breaking change that adds or improves the documentation)
  • New feature (non-breaking change which adds functionality)
  • Optimization (non-breaking, back-end change that speeds up the code)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (whatever its nature)

Key checklist

  • All tests pass (eg. python -m pytest)
  • Pre-commit hooks run successfully (eg. pre-commit run --all-files)

Further checks

  • Code is commented, particularly in hard-to-understand areas
  • Tests added or an issue has been opened to tackle that in the future.
    (Indicate issue here: # (issue))

@emmuhamm emmuhamm self-assigned this Jan 15, 2026
Comment on lines +227 to +229
uid = self._ensure_one_process(matching_uuids, in_boot_request=True)
#! Thank you copilot. now why does this work??
# Better yet, better understand why it has to be in boot request true here..
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why does this work?

elif len(uuids) > 1:
raise BadQuery("There are more than 1 processes corresponding to the query")

if in_boot_request:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

What would be the use case for looking in the boot request?

@@ -498,7 +498,7 @@
else:
if uuids[0] not in self.process_store:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

What would be the case for looking in the process_store?

@emmuhamm
Copy link
Contributor Author

Closed as it was made urgent fixed by #761

@emmuhamm emmuhamm closed this Feb 11, 2026
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.

[Bug]: logs command doesn't work

1 participant