You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: a flux-coral2 jobtap plugin would like to modify a job's jobspec asynchronously while the job is in DEPEND, but the flux_jobtap_jobspec_update_pack function only operates on the current job. It would be nice if there were a version of flux_jobtap_jobspec_update_pack that accepted a jobid argument.
flux_jobtap_jobspec_update_pack() has to stage jobspec updates so that they can be applied after the current jobtap callback returns. This is required so that the jobspec doesn't change out from under plugins while they're still referencing it.
If updating a jobspec for a job asynchronously, we don't necessarily need to stage the updates like that, so the function would be much simpler. In fact, it would be a small wrapper around flux_jobtap_event_post_pack(3) essentially, so perhaps an interim solution would be to use that to post a jobspec-update event?
Problem: a flux-coral2 jobtap plugin would like to modify a job's jobspec asynchronously while the job is in DEPEND, but the
flux_jobtap_jobspec_update_pack
function only operates on the current job. It would be nice if there were a version offlux_jobtap_jobspec_update_pack
that accepted a jobid argument.See also flux-framework/flux-coral2#158.
The text was updated successfully, but these errors were encountered: