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
{{ message }}
Repository navigation
Runs: a job root given with a trailing slash loses its folder name in view ids #773
$ nullius runs list jobs/pair
pair~a-m-1
pair~b-m-2
$ nullius runs list jobs/pair/
~a-m-1
~b-m-2
$ nullius runs show jobs/pair/ pair~a-m-1
no job named 'pair~a-m-1' under jobs/pair/ (jobs there: ~a-m-1, ~b-m-2)
exit 3
parse_job takes os.path.basename of the root as given: empty for a path that ends in /. A view's id therefore changes with how its root is spelled: runs show jobs/pair/ '~a-m-1' works, pair~a-m-1 does not.
Reproduction
A Harbor job folder jobs/pair whose config.json lists two agents.
nullius runs list jobs/pair/.
Expected
The same ids with or without the slash.
Acceptance
runs list and runs show give pair~... for jobs/pair/.
Activity