Skip to content

Conversation

@agoscinski
Copy link
Owner

@agoscinski agoscinski commented Jun 11, 2025

  • Can we change Hostname in aiida verdi computer create it is a bit confusing since you have to actually specify the Host (as used in the ssh config), also that you have the option two times why? -> Because we still need the option for the core.ssh plugin. Put a help text into it to explain it a bit.
  • Still need to do stashing that it resolves the enum -> put into issue Support specifying an enum for StashMode aiidateam/aiida-core#6916
  • Undefined behavior: StashCalculation does not wait until the calcjob has finished. And already stashes -> put into issue StashCalculation does not wait until specified CalcJob finished aiidateam/aiida-core#6915
  • OpenSSH is not available is backend when using ssh_async --> I must have overlooked it, it is there
  • Group dumping with verdi profile dump --groups <ID> does not work while dumping verdi group dump <ID>
  • verdi process kill -t -1 is not checked to False, raise error that timeout is negative warning
  • verdi process kill -t 0 should report some information that it does not wait

agoscinski and others added 7 commits June 11, 2025 07:25
…ateam#6909)

The doc updates include the changes of commits b6d0fe5, e768b70, TODO
PR wait, TODO PR renaming to force
Fix config path in legacy aiida_instance pytest fixture

Update .github/workflows/ci-code.yml

Co-authored-by: Alexander Goscinski <[email protected]>
The original design of `wait` and `timeout` was to distinguish between
actions that immediately return and actions that scheduled. This
mechanism was however never used and resulted in an misinterpretation
in the force-kill PR aiidateam#6793 introducing a bug fixed in PR aiidateam#6870.
The mechanism of `wait` and `timeout` was also never correctly implemented.
In this PR we rectify the logic and simplify it by handling immediate
and scheduled actions the same way.

Related commits in aiida-core 8388018, cd0d15c and plumpy 1b6ecb8

One can specifiy a `timeout <= 0` to express that the action should not wait for
a response while one can specify `timeout==float('inf')` (default value) to wait
until a response has been received without a timeout.
fix conflicts

fix tests

fix copy function
review applied

r 2

fixed a typo in function signature

fields updated

review applied
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