Repository navigation
[3694 by Claude Opus 5.5] Maintenance lists follow-ups whose agent is running right now as "In recovery" - #3706
Conversation
…s Running, with the label linking to its task. In recovery now only appears for follow-ups that are being recovered. The new tests, the existing Maintenance tests, typecheck and lint all pass. No API change was needed. The follow-up handoff list already includes a `liveness` field, and the server only checks it for follow-ups in the `active` state. So the screen can tell the two cases apart: - `active`, agent running: shows Running, links to the task, and the reason reads "Its agent is working on this request." The next step stays "Wait for its agent to finish." - `active`, any other liveness (agent stopped or gone, or liveness couldn't be checked): stays In recovery, as before. - Held and released follow-ups keep their existing labels. Changes: - `propr-ui/src/pages/SettingsPage/heldFollowupText.ts`: new `isRunningFollowup` and `followupStateLabel`, and the running case added to `reasonLabel`. - `propr-ui/src/pages/SettingsPage/MaintenanceSection.tsx`: each row's state comes from `followupStateLabel`, and Running is a link to `/tasks/<taskId>`. - `propr-ui/src/pages/SettingsPage/MaintenanceSection.running.test.tsx` (new): unit tests for the mapping (running versus stopped, gone or unknown, and held or released), plus a render test with one running row and one recovering row. These are in a separate file because adding them to `MaintenanceSection.test.tsx` broke the 400-line lint limit. I captured desktop and mobile previews of the Maintenance list using a temporary Playwright spec, which I deleted afterwards.
|
/ultrafix goal=8 max=3 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 3) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationMerge-ready within the reviewed scope, conditional on pending checks completing successfully. The change implements the requested Running label and task link without changing API contracts or maintenance actions. ✅ Correct state mapping — Running requires both ✅ Consistent task navigation — Both task links use the same URL-encoded task path, matching the existing ✅ Focused regression coverage — Added tests cover liveness fallbacks, held and released statuses, and rendering running and recovering rows together. Review was based on the supplied code and context; no commands or tests were run. Current checks report no failures, with five pending. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to No suggestions. ScoreThe implementation is focused, consistent with the supplied server contract, and supported by relevant tests. Final merge readiness remains conditional on the pending checks. 🤖 Review Details
🤖 Review by ProPR |
AI Implementation Summary
Closes #3694
Branch:
3694/claude-opus-5-5-maintenance-lists-follow--20261118-1132-17aCommits: ✅ Changes committed (ee7d20d)
AI Processing Completed
Execution Details:
Summary:
Settings → Maintenance now shows a follow-up whose agent is running as Running, with the label linking to its task. In recovery now only appears for follow-ups that are being recovered. The new tests, the existing Maintenance tests, typecheck and lint all pass.
No API change was needed. The follow-up handoff list already includes a
livenessfield, and the server only checks it for follow-ups in theactivestate. So the screen can tell the two cases apart:active, agent running: shows Running, links to the task, and the reason reads "Its agent is working on this request." The next step stays "Wait for its agent to finish."active, any other liveness (agent stopped or gone, or liveness couldn't be checked): stays In recovery, as before.Changes:
propr-ui/src/pages/SettingsPage/heldFollowupText.ts: newisRunningFollowupandfollowupStateLabel, and the running case added toreasonLabel.propr-ui/src/pages/SettingsPage/MaintenanceSection.tsx: each row's state comes fromfollowupStateLabel, and Running is a link to/tasks/<taskId>.propr-ui/src/pages/SettingsPage/MaintenanceSection.running.test.tsx(new): unit tests for the mapping (running versus stopped, gone or unknown, and held or released), plus a render test with one running row and one recovering row. These are in a separate file because adding them toMaintenanceSection.test.tsxbroke the 400-line lint limit.I captured desktop and mobile previews of the Maintenance list using a temporary Playwright spec, which I deleted afterwards.
Review digest
Risk-tiered paths
propr-ui/src/pages/SettingsPage/MaintenanceSection.tsx(+6/−3)propr-ui/src/pages/SettingsPage/heldFollowupText.ts(+15/−1)propr-ui/src/pages/SettingsPage/MaintenanceSection.running.test.tsx(added, +80/−0)Diff size: 3 files changed, +101/−4 lines
View task for the run's logs and conversation.
This PR was created automatically by ProPR after processing issue #3694.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!
Visual preview
Running follow-up — 1440px
Settings → Maintenance: the follow-up whose agent is running now shows “Running” (linked to its task) with “Its agent is working on this request.”; the one being recovered after a failed publish keeps “In recovery”.
Full-size original
Running follow-up — 390px
The same list at mobile width.
Full-size original