Skip to content

[3694 by Claude Opus 5.5] Maintenance lists follow-ups whose agent is running right now as "In recovery" - #3706

Merged
integry merged 1 commit into
3693-epic-0-9-4gafrom
3694/claude-opus-5-5-maintenance-lists-follow--20261118-1132-17a
Nov 18, 2026
Merged

integry merged 1 commit into
3693-epic-0-9-4gafrom
3694/claude-opus-5-5-maintenance-lists-follow--20261118-1132-17a

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3694

Branch: 3694/claude-opus-5-5-maintenance-lists-follow--20261118-1132-17a
Commits: ✅ 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 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.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (2 files)
    • propr-ui/src/pages/SettingsPage/MaintenanceSection.tsx (+6/−3)
    • propr-ui/src/pages/SettingsPage/heldFollowupText.ts (+15/−1)
  • Low risk (1 file)
    • 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

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

Running follow-up — 390px

The same list at mobile width.

Full-size original

…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.
@propr-dev

propr-dev Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

/ultrafix goal=8 max=3
Triggered automatically by the requested execution settings.

@propr-dev propr-dev Bot added the ultrafix label Nov 18, 2026
@propr-dev

propr-dev Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Ultrafix loop started (goal: 8/10, max cycles: 3)

First action: /review

💡 Tip: Remove the ultrafix label from this PR to stop further ultrafix cycles.

@propr-dev

propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

Merge-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 status === 'active' and liveness === 'running'; other active cases retain In recovery.

✅ Consistent task navigation — Both task links use the same URL-encoded task path, matching the existing /tasks/:taskId route.

✅ 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 blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

No suggestions.

Score

The implementation is focused, consistent with the supplied server contract, and supported by relevant tests. Final merge readiness remains conditional on the pending checks.
Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 12s
  • Tokens: 33,852 (33,580 in / 272 out)
  • Cost: $0.22

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

🤖 Review by ProPR

@propr-dev propr-dev Bot removed the ultrafix label Nov 18, 2026
@propr-dev propr-dev Bot changed the title 🔨 [3694 by Claude Opus 5.5] Maintenance lists follow-ups whose agent is running right now as "In recovery" ✅❾ [3694 by Claude Opus 5.5] Maintenance lists follow-ups whose agent is running right now as "In recovery" Nov 18, 2026
@integry
integry merged commit 6c949b8 into 3693-epic-0-9-4ga Nov 18, 2026
57 checks passed
@propr-dev propr-dev Bot changed the title ✅❾ [3694 by Claude Opus 5.5] Maintenance lists follow-ups whose agent is running right now as "In recovery" [3694 by Claude Opus 5.5] Maintenance lists follow-ups whose agent is running right now as "In recovery" Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant