Skip to content

fix(platform): preserve newer cloud import picker selections - #3995

Merged
yannickmonney merged 1 commit into
mainfrom
fix/cloud-import-picker-handoff
Sep 30, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
fix/cloud-import-picker-handoff

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

An import that finishes after its picker was dismissed could close a newer picker, discard its selection and open Reconnect over it. Bind each result to the open interaction that started it: a background result now reports once without disturbing a later picker, while the original open picker retains its normal success and reconnect behavior. Update the EN/DE/FR import guidance and automated coverage reference.

Fixes #3992.

Checklist

  • Final normal hosted checks: all five attempt-1 workflows succeed at exact head 8a49025f284c92b1343246433eba6cd07bedcc8f (48 successful jobs, 10 expected conditional skips). Separate earlier draft cancellations are excluded.
  • SAST on the three changed production files: vendored Opengrep rules, 162 rules, zero findings. Final hosted SAST also ran 467 rules against 4165 files with zero findings.
  • Translations: reuse existing EN/DE/FR reconnect and imported-count strings, verified in all three locales; no new catalog or de-CH key needed.
  • Docs: EN/DE/FR Knowledge → Documents updated and rendered locally.
  • README: N/A; no setup, configuration, deployment or public API change.

Test plan

  • Temporarily restore the exact base provider handlers: 21 fail / 44 pass in the final 65-case outcome suite. Restore the fixed bytes: 94/94 pass across the five focused UI/hook/outcome suites.
  • Cover OneDrive, SharePoint and Google Drive replacement pickers, a different provider, late folder-walk grant failure, interrupted/completed/partial/failed background results, exactly one terminal report, retained checked selection, current-picker reconnect, close/reopen and organization/destination changes.
  • Actual local Chromium menu/picker/Dialog/toast controls: 4/4 pass, against 2 fail / 2 pass on the base. Synthetic action answers only; no production or provider calls. Retained Vitest/browser versions differ (4.1.11/4.1.10); both controls used the same environment and separate jsdom controls corroborate the result.
  • Toast/error guards 75/75, docs 200/200; EN wide and EN/DE/FR mobile docs render with no horizontal overflow.
  • Changed-file type-aware lint and formatting, manual/conflict guards and platform typecheck pass. Typecheck's default heap exhausted locally; the bounded 8 GiB retry passed in 58.72s. Final hosted platform typecheck executed and passed.
  • React Doctor: the same seven pre-existing warnings as the original picker source, no new hook/test finding.

Independent source review accepts 79/79 focused controls and 4/4 original local Chromium reproductions. Final normal Checks, E2E, Build, SAST and Commitlint all succeed. Actual checkout 3fe0a8a8742c5861be428624db0f28f0b14eb4a5 has the same whole tree as the reviewed head. UI (4921 tests), platform browser (302 tests), platform typecheck/build and E2E preview build executed fresh; Unit/lint and some docs tasks are disclosed cache replays. All 16 platform E2E shards passed.

Downstream immutable-image checks passed: 40 image assertions, 88 sandbox runtime assertions and 29 smoke checks. A separate inherited platform-pruner failure is reported in #3996: its Bun 1.3.12 production install failed but an ungrouped cleanup || true masked the error. Dockerfile/build inputs are base-equivalent; this is separate from the nine-file picker fix. These CI results do not establish a successful production-only install or authorize a release/deployment. That packaging proof remains a release gate.

@yannickmonney
yannickmonney marked this pull request as ready for review September 30, 2026 11:22
@yannickmonney

Copy link
Copy Markdown
Contributor Author

Independent source review accepts 8a49025f284c92b1343246433eba6cd07bedcc8f with no blocker. The shared interaction token gates only picker/Reconnect/selection callbacks; stale outcomes retain one translated report, while current import completion and partial retry remain effective.

Independent checks: 79/79 component/hook cases, including late rejected promises and overlapping results in both settlement orders; 4/4 actual local Chromium lifecycle/retry cases. Root also read the production delta. EN/DE/FR guidance matches the behavior. React Doctor has only seven inherited warnings; retained Vitest/browser version mismatch and the browser fixture's lack of product CSS remain disclosed. This is focused behavior/source proof, not broad layout/a11y or live-provider/backend certification.

The PR is now ready for review; normal full hosted checks remain required before merge. GH #3992's Tale follow-up import/assignment is still unconfirmed and is not represented as saved. No production test or deployment occurred.

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.

fix(platform): preserve newer cloud pickers after stale import results

1 participant