[Run Service] Ensure `WatchRunDetails` works expected
- Dominant language
- Go
- Stars
- 7.5k
- Forks
- 886
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 120
Description
### Command
```sh
RUN_NAME=run-1772757248 bash runs/test/scripts/watch_run_details.sh
```
### Response
| Field | Expected | Presented? | Need implement? |
|---|---|---|---|
| `details` | `RunDetails` | ✅ | ❌ |
| `details.run_spec` | `task.RunSpec` | ❌ | ✅ |
| `details.action` | `ActionDetails` | ❌ | ✅ |
| `details.action.id` | `ActionIdentifier` | ❌ | ✅ |
| `details.action.metadata` | `ActionMetadata` | ❌ | ✅ |
| `details.action.status` | `ActionStatus` | ❌ | ✅ |
| `details.action.status.phase` | `ActionPhase` | ❌ | ✅ |
| `details.action.status.start_time` | `Timestamp` | ❌ | ✅ |
| `details.action.status.end_time` | `optional Timestamp` | ❌ | ✅ (available when the action terminated) |
| `details.action.status.attempts` | `uint32` | ❌ | ✅ |
| `details.action.status.cache_status` | `CatalogCacheStatus` | ❌ | ✅ |
| `details.action.status.duration_ms` | `optional uint64` | ❌ | ✅ (available when the action terminated) |
| `details.action.error_info` | `oneof result` | ❌ | ✅ |
| `details.action.abort_info` | `oneof result` | ❌ | ✅ |
| `details.action.spec.task` | `oneof spec` | ❌ | ✅ |
| `details.action.spec.trace` | `oneof spec` | ❌ | ✅ |
| `details.action.attempts` | `repeated ActionAttempt` | ❌ | ✅ |
Contributor guide
Assessment
This issue has not been assessed yet.