Skip to content

Drop WG.submit/run for core engine.submit/run#768

Draft
GeigerJ2 wants to merge 11 commits intoaiidateam:mainfrom
GeigerJ2:refactor/move-run_submit-to-core
Draft

Drop WG.submit/run for core engine.submit/run#768
GeigerJ2 wants to merge 11 commits intoaiidateam:mainfrom
GeigerJ2:refactor/move-run_submit-to-core

Conversation

@GeigerJ2
Copy link
Copy Markdown
Contributor

@GeigerJ2 GeigerJ2 commented Mar 30, 2026

This has to go together with: aiidateam/aiida-core#7261
All tests passing. Only RTD build failing, as I did not manage to point the aiida-core version used for the build to my PR branch.

@GeigerJ2 GeigerJ2 force-pushed the refactor/move-run_submit-to-core branch from a0db89e to 0e460a7 Compare March 31, 2026 16:03
GeigerJ2 added 4 commits April 2, 2026 14:36
`prepare_for_launch` now pops `metadata`, `timeout`, and `interval` from
the merged inputs dict before passing to `set_inputs`, preventing
`KeyError`s when these execution parameters are passed via aiida-core
`submit()`.

Tests that relied on `submit(wg, wait=True, timeout=...)` now use the
`submit(wg)` + `wg.wait(timeout=...)` pattern instead, since timeout is
a client-side poll parameter handled by `WorkGraph.wait()`.
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.

1 participant