Archived
feat(cli): add retry columns to barn status output
Surface retryCount and retryAt fields in the human table format for barn status, so retrying jobs are distinguishable from freshly queued jobs. Also add retryAt to the single job detail view. - Add RETRIES and NEXT RETRY columns to StatusCommand and HumanFormatter - Add retryAt display to HumanFormatter single job detail - Update README and testing-manual docs with new columns - Add tests for retry display in StatusCommand, HumanFormatter, and XmlFormatter Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
14bb82fc9d
commit
b53b4a3287
7 files changed
+123
-10
No files matched your search
@@ -503,6 +503,7 @@ retry_delay_seconds = 5
|
||||
|
||||
**Expected:**
|
||||
- Job retries automatically
|
||||
- `barn status` shows retry count in **RETRIES** column and next retry time in **NEXT RETRY** column
|
||||
- Eventually succeeds on 3rd attempt
|
||||
- retry_count file shows retry history
|
||||
|
||||
@@ -523,7 +524,8 @@ retry_delay_seconds = 5
|
||||
|
||||
**Expected:**
|
||||
- Job state is "failed"
|
||||
- retry_count equals max_retries
|
||||
- **RETRIES** column shows retry count equal to max_retries
|
||||
- **NEXT RETRY** column shows `-` (no further retries)
|
||||
- No more retry attempts
|
||||
|
||||
---
|
||||
@@ -538,7 +540,7 @@ barn status
|
||||
```
|
||||
|
||||
**Expected:**
|
||||
- Formatted table or list
|
||||
- Formatted table with columns: ID, STATE, LOAD, TAG, CREATED, EXIT, PID, RETRIES, NEXT RETRY
|
||||
- Human-readable timestamps
|
||||
- Clear column headers
|
||||
|
||||
|
||||
Reference in new issue
Block a user