Open grondo opened 1 week ago
Attention: Patch coverage is 90.90909%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 83.64%. Comparing base (
ae1f516
) to head (27fbc7b
).
Files with missing lines | Patch % | Lines |
---|---|---|
src/bindings/python/flux/uri/resolvers/jobid.py | 89.47% | 2 Missing :warning: |
This PR adds support for a
?wait
query parameter to thejobid
URI resolver, and a new--wait
option toflux-uri
to pass that parameter down to the resolver.This supports waiting until the URI is available for pending or starting jobs, as opposed to the resolver returning "job is not running".
If the
wait
parameter is used with a job that isn't an instance of Flux, then it waits until thefinish
event before giving up and returning "URI not found".