Skip to content

fix(native): clarify unattended sync helper recovery - #681

Draft
Farhan (fkb032) wants to merge 2 commits into
mainfrom
fix/helper-recovery
Draft

fix(native): clarify unattended sync helper recovery#681
Farhan (fkb032) wants to merge 2 commits into
mainfrom
fix/helper-recovery

Conversation

@fkb032

@fkb032 Farhan (fkb032) commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Companion draft: menu-bar popover/background attention #682. That PR is stacked on this branch.

Helper registration can show a persistent-looking warning while macOS is still settling, or lose a newer failure during concurrent checks. This gives approval, setup progress, active-sync waits, manual remediation and failure distinct states with matching actions.

Retry preserves the saved Enable/Disable decision, Busy observations keep the last meaningful status, and helper failure details remain available in the existing opt-in feedback snapshot. These recovery improvements apply to the normal window and popover alike.

A separate small cleanup removes the existing redundant .nixmacignore binding so strict Clippy can pass.

Test Plan

  • Standalone helper branch: focused Rust helper, permissions and feedback suites passed (166, 12 and 8 test executions respectively).
  • Standalone helper branch: 38 helper/repair frontend tests and TypeScript passed.
  • Standalone helper branch: strict all-target Clippy with codegen passed.
  • Final integrated implementation: 1,404 Rust tests passed (14 ignored), 440 frontend tests passed; strict workspace Clippy with codegen, TypeScript and production frontend build passed.
  • CI checks complete.
  • Final native smoke on the rebuilt combined app, including helper Retry/Disable and recovery behavior.

The earlier combined build received a manual smoke pass. The final feedback-diagnostic changes have regression coverage; the final native build has not been retested yet. Keeping this PR as a draft for that follow-up.

Docs

  • No docs update needed; this repairs existing helper recovery behavior.

@darkmatter

darkmatter Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

🎨 Storybook preview

Open Storybook preview

Updated for 48814e1


⚠️ Detected UI changes (5)

These stories' HTML snapshots changed. I've added screenshots + links to the changed stories below. Review them carefully then accept the changes to regenerate baselines and include them in this PR:

Flows/Evolve › Playground

Flows/Evolve › Playground

Flows/Evolve › 1. Begin (idle)

Flows/Evolve › 1. Begin (idle)

Flows/Evolve › 2. Evolving (progress)

Flows/Evolve › 2. Evolving (progress)

Flows/Evolve › Evolving With Error Event

Flows/Evolve › Evolving With Error Event

Flows/Evolve › 3. Review (changes generated)

Flows/Evolve › 3. Review (changes generated)


Accept UI changes

  • Click here to accept these changes

Alternatively, you can run bun run test:update-snapshots locally to re-generate the baselines and then push the changes to this PR.

What does this do?

The screenshots above show UI changes detected by the Storybook
snapshot tests run on this PR. Each image is the rendered output of
a Storybook story from the code in this PR branch; the snapshot
test compared it against the committed baseline in
__snapshots__/ and flagged the difference.

Checking the box tells the darkmatter[bot] to regenerate the
baselines from this PR's current code and commit them directly to
this branch. The new baselines become the source of truth for
future runs — only accept after confirming the visual changes are
intentional.

Comparison baseline: the committed __snapshots__/ files on this
PR branch (carried forward from develop). Accept updates them in
place on this branch.

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor
Warnings
⚠️

No Linear issue ID found in this PR's title, description, or branch name (expected something like ENG-123). Add one so this work is traceable in Linear, or add #no-linear to the PR description to acknowledge it's intentionally untracked.

⚠️ PR is marked WIP / draft — do not merge until ready for review.
⚠️ ❗ Big PR (1541 lines changed). Consider splitting it into smaller, focused changes.
Messages
📖 No docs update needed — acknowledged.

📋 PR Overview

Lines changed 1541 (+1329 / -212)
Files 0 added, 17 modified, 0 deleted
Draft / WIP yes
Has Test Plan yes
Linear issue no
No Test Plan Needed no
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

🔬 Coverage

Report Lines Statements Functions Branches
apps/native/coverage/coverage-summary.json 34.5% 34.0% 29.3% 29.9%

Generated by 🚫 dangerJS against 48814e1

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