Skip to content

Debug Executorlib - Alternative strategy#814

Closed
jan-janssen wants to merge 5 commits intomainfrom
exedebug2
Closed

Debug Executorlib - Alternative strategy#814
jan-janssen wants to merge 5 commits intomainfrom
exedebug2

Conversation

@jan-janssen
Copy link
Member

No description provided.

dependabot bot and others added 4 commits March 2, 2026 07:32
Bumps [executorlib](https://github.com/pyiron/executorlib) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/pyiron/executorlib/releases)
- [Commits](pyiron/executorlib@executorlib-1.8.0...executorlib-1.9.0)

---
updated-dependencies:
- dependency-name: executorlib
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@github-actions
Copy link

github-actions bot commented Mar 2, 2026

Binder 👈 Launch a binder notebook on branch pyiron/pyiron_workflow/exedebug2

@liamhuber
Copy link
Member

The direction of this attack seems good to me.

pyiron_workflow.mixin.run.ReadinessError: child_class_with_all_methods_implemented received a run command but is not ready. The runnable should be neither running nor failed.

I guess the weakening of the self.running = False was too extreme, but I need to re-read to try and see why as it looked OK to me at first-pass.

@liamhuber
Copy link
Member

I guess the finally: self._run_finally(**run_finally_kwargs) clause is killing us, because it's being run even in the branch where the future is cancelled.

This callback has been anticipating to run when the output is finished (either successfully or in an error), and now we call it when shutting down the executor. I.e. it's being invoked prematurely.

ATM my best understanding is that we want to ignore the callback on future cancellation, but otherwise retain the try/except/finally pattern to handle the future raising an error.

@liamhuber
Copy link
Member

Closed in favour of #816

@liamhuber liamhuber closed this Mar 2, 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.

3 participants