PR 319, run five

rancher/rancher-ai-ui, torchiaf. Approved by you at 88cd74c9, then 39b4eabf and bbfb6a28. Process B (our process, a fresh reviewer), every point then rerun. 2026-11-24.

Preview: https://rancheraipr319r.mf-created-dashboard.ui.rancher.space/dashboard/ - built from bbfb6a28, backend rancher.13.48.147.135.sslip.io

Suggested: Approve. Your four points are settled (three fixed, one answered). Nothing the two new commits break was found. One optional point is left, and it is not worth holding the PR.

Points

Fixed 1. A plan that ends in the message it started in
useChatMessageComposable.ts:845-848 · Comment on GitHub · See it in the tour

First step fails with approval off: "Plan failed" and the dot. A retry that fails again: "Plan failed". A step 2 failure still sends it once. The new unit test fails when the fix is removed (process B).

88cd74c9: nothing
88cd74c9: nothing
bbfb6a28
bbfb6a28
bbfb6a28: dot
bbfb6a28: dot
Answered 2. Notifications replace each other
channel/index.ts:84 · Comment on GitHub · See it in the tour

"This is intended, We don't want to pollute the OS with a ton of notifications.Replaces Plan completed is also fine, the last message usually takes some seconds to finish after the planning. The user will have the time to read "Plan completed"" (torchiaf). The tag is unchanged.

Plan ends
Plan ends
Final answer, in its place
Final answer, in its place
Fixed 3. Replies in a new chat while a plan runs
useChatMessageComposable.ts:931, store/chat.ts:221 · review body · See it in the tour

The plan of the old chat is cleared when the chat changes. Replies there notify again, the "needs your input" text is gone, and a new plan ends with "Plan completed" instead of the "null (reading 'role')" error.

88cd74c9: nothing
88cd74c9: nothing
bbfb6a28
bbfb6a28
bbfb6a28: dot
bbfb6a28: dot
Fixed 4. The description
review body · See it in the tour

It no longer says notifications close after 5 seconds, are opt-in or are cleared before unload.

Optional, reproduced 5. An interrupted plan, same chat
useChatMessageComposable.ts:484 · See it in the tour

After a step's sign-in is canceled, an error or a dropped connection during a plan, later plain replies in the same chat send no notification and no dot. A new chat clears it. Needs planning on, which is off by default. Same cause as point 3, and the author only meant plans of other chats.

bbfb6a28: a reply after a canceled sign-in
bbfb6a28: a reply after a canceled sign-in
Not reproduced 6. A second notification may not alert
channel/index.ts:81-86 · See it in the tour

Process B, from the Notifications standard and Chromium's source: a notification with the same tag and no renotify replaces the first one silently on macOS and Windows. Rerun in a real Chromium here: once the first popup was gone, the second one showed up again, the same as the control with renotify. Chromium's own popups have no notification center, so this does not settle macOS or Windows. It can be checked on a Mac with two replies in the background, without touching the first notification.

Dropped

CI at bbfb6a28

All green: unit, lint, i18n and e2e. The e2e passed on its third attempt: the first died downloading k3s, the second failed only the hooks "sliding badges" test, which also failed on main.

If you post

Approve, with no new comment:

Thanks, the failed plan and the new chat notify now, and the description matches.

Not checked