Skip to content

fix(evolution): cancel is not an error#120

Open
Cas Linden (CasLinden) wants to merge 2 commits into
developfrom
cas/cancel-no-error
Open

fix(evolution): cancel is not an error#120
Cas Linden (CasLinden) wants to merge 2 commits into
developfrom
cas/cancel-no-error

Conversation

@CasLinden
Copy link
Copy Markdown
Contributor

trivial

Summary

Stop setting cancellation as an error in the frontend, while keeping it in the backend so backup mechanism triggers.

Test Plan

cancel an evolution (given that the server is up / authorization works)

Docs

  • No docs update needed

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

Warnings
⚠️ Please assign this PR to someone (usually yourself).

📋 PR Overview

Lines changed 24 (+15 / -9)
Files 0 added, 1 modified, 0 deleted
Draft / WIP no
Has Test Plan yes
New UI components no
New Storybook stories no
New Rust modules no
New TS source files no
New tests no
package.json touched no
Cargo.toml touched no
Infra / CI touched no

Generated by 🚫 dangerJS against 0a3e7a4

@github-actions
Copy link
Copy Markdown
Contributor

nixmac Peekaboo E2E: ❌ FAIL

const msg = (e as Error)?.message || String(e);
// User-initiated cancellation isn't an error — backup still ran, so refresh
// the change map but skip the red banner.
const isCancelled = msg.toLowerCase().includes("cancelled by user");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest this should be a const. (Looking at the related Rust code, it definitely should be there, too.)

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.

2 participants