Skip to content

Show intent batch wait countdown#40

Merged
KristjanPikhof merged 2 commits into
mainfrom
feat/list-intent-wait-countdown
May 28, 2026
Merged

Show intent batch wait countdown#40
KristjanPikhof merged 2 commits into
mainfrom
feat/list-intent-wait-countdown

Conversation

@KristjanPikhof
Copy link
Copy Markdown
Owner

Summary

Adds intent batch-wait timing to acd list so pending-only repos show when the age trigger will commit. Compact output now shows a countdown on wait rows, while verbose and JSON output expose the same wait details in a more explicit form.

Changes

  • Show wait <duration> in compact acd list output when intent mode is waiting for ACD_INTENT_MIN_PENDING or ACD_INTENT_MAX_PENDING_AGE.
  • Add JSON fields for intent_wait_seconds, intent_visible_pending, and intent_min_pending.
  • Add verbose status text explaining the active intent batch wait.
  • Update README, capture/replay docs, and the Unreleased changelog note.

Testing

  • cleanenv go test ./internal/cli -run 'TestList_IntentBatchWaitShowsCountdown|TestList_PendingOnlyShowsWaitingNotBlocked|TestListStatusCompact' -count=1\n- cleanenv make lint\n- cleanenv make test\n\n## Notes\n\nThis keeps acd list lightweight by reading only the intent wait data needed for the dashboard instead of loading the full status/diagnose observability report.

- Show how long intent-mode wait rows have left before age-triggered
  commits.
- Surface the countdown in compact, verbose, and JSON list output.
- Document the new wait display so operators know what "waiting" means.
- Keep agent guidance aligned with the current fix behavior

- Mention failed rows in the explicit force recovery path
@KristjanPikhof KristjanPikhof self-assigned this May 28, 2026
@KristjanPikhof KristjanPikhof marked this pull request as ready for review May 28, 2026 22:01
@KristjanPikhof KristjanPikhof merged commit ad0a768 into main May 28, 2026
5 checks passed
@KristjanPikhof KristjanPikhof deleted the feat/list-intent-wait-countdown branch May 28, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant