generated from coulomb/repo-seed
Expose retained runs through service API
This commit is contained in:
@@ -164,6 +164,15 @@ Fetch reports after the job status is `succeeded`:
|
||||
curl -sf http://127.0.0.1:8080/runs/JOB_ID/reports | python3 -m json.tool
|
||||
```
|
||||
|
||||
Inspect retained run history, including runs produced before the current
|
||||
service process started:
|
||||
|
||||
```sh
|
||||
curl -sf "http://127.0.0.1:8080/retained-runs?runs_dir=runs" | python3 -m json.tool
|
||||
curl -sf "http://127.0.0.1:8080/retained-runs/latest?runs_dir=runs" | python3 -m json.tool
|
||||
curl -sf "http://127.0.0.1:8080/retained-runs/RUN_ID/artifact-manifest?runs_dir=runs" | python3 -m json.tool
|
||||
```
|
||||
|
||||
Service job state is currently in memory for the running service process. Run
|
||||
artifacts are durable in the output directory and can still be inspected after a
|
||||
service restart. See `docs/SERVICE-JOB-DURABILITY.md` for the restart and
|
||||
|
||||
Reference in New Issue
Block a user