[Bug]: Chrome 151 profile import always fails with failure_reason 62 — all data types except history, deterministic, fresh-profile repro
Affected component
ego lite browser app
What happened?
Importing from Google Chrome fails permanently with the generic UI message "Import failed. Try again." — across UI retries, CLI retries, a full macOS reboot, and even a completely fresh ego profile directory (simulating a clean reinstall). The failure is 100% deterministic on this machine.
CLI reproduction returns failure_reason: 62:
$ ego-browser import list
{"browser_sources":[{"browser_source":"chrome","display_name":"Chrome","is_default_browser":false,"profiles":[{"dir_name":"Default","display_name":"world","email":"[email protected]","is_default":true}]}],"success":true}
$ ego-browser import --browser chrome --profile Default --no-default
{"browser":"chrome","browsers":["chrome"],"failure_reason":62,"new_profile_dirs":[],"restarting":false,"success":false}
$ ego-browser import --browser chrome --profile Default --overwrite --no-default
{"browser":"chrome","browsers":["chrome"],"failure_reason":62,"new_profile_dirs":[],"restarting":false,"success":false}Local State records ego.onboarding_imported_result: 62 after each failed onboarding attempt.
Reading of failure_reason as a Chromium importer::ImportItem bitmask (HISTORY=1, FAVORITES=2, COOKIES=4, PASSWORDS=8, SEARCH_ENGINES=16, AUTOFILL_FORM_DATA=32): 62 = every data type except HISTORY failed. This is consistent with #196 reporting failure_reason: 7 (= HISTORY|FAVORITES|COOKIES) for a different failure mode — suggesting failure_reason is a per-item failure mask, which would make it a useful diagnostic if documented.
Suspected root cause: the source Chrome profile is version 151.0.7922.110 while ego lite 0.4.6.12 embeds Chromium 150.0.7871.101. Passwords/Cookies (Keychain-encrypted stores) and Web Data (schema-versioned SQLite) from a newer Chrome may be unreadable by the older importer, and the importer fails silently instead of reporting which item failed and why.
Ruled out (verified on this machine):
- Chrome running / locked source DBs — Chrome fully quit;
PRAGMA quick_checkon History, Login Data, Web Data all returnok - Stale
*.ego_data_import_stageartifacts (#144) — none exist anywhere under the ego profile dir - Target profile conflict —
--overwriteproduces the same result - macOS privacy permission — ego lite granted Full Disk Access; source files readable
- Corrupt local ego state — reproduced with a fresh profile dir (moved
~/Library/Application Support/Citro Labs/ego liteaside, relaunched, import in onboarding failed with the sameonboarding_imported_result: 62) - Outdated build — 0.4.6.12 is the latest; EgoUpdater is current
Silent failure makes this undebuggable for users: launched with --enable-logging=stderr --v=1 --vmodule="*import*=3,*profile*=2,*migration*=3", the entire import attempt produces zero import-related log lines — only a kClearingBrowsingData keep-alive pair. The UI offers nothing beyond "Import failed. Try again."
Steps to reproduce
1. Have a Chrome 151 profile (Chrome updated to 151.0.7922.110 and launched once so the profile is stamped 151).
2. Fresh-install ego lite 0.4.6.12 on macOS.
3. Onboarding → Import from another browser → Chrome → select the profile → Import.
4. Observe "Import failed. Try again." — retries never succeed.
5. CLI confirms: ego-browser import --browser chrome --profile Default --no-default → failure_reason: 62.Expected behavior
- Import succeeds, or at minimum imports the data types that are readable (skip-and-continue instead of all-or-nothing, related: #196).
- When an item fails, log a specific greppable reason (e.g. "Login Data schema version X unsupported", "keychain access denied") — the current silent failure leaves users with no path forward.
- The UI should distinguish failure classes (source browser running / unsupported source version / permission denied) instead of a generic "Try again".
- Document the
failure_reasonbitmask values in the CLI--helpor docs.
Version
- ego (lite) version: 0.4.6.12 (Chromium 150.0.7871.101)
- Source: Google Chrome 151.0.7922.110 (profile stamped 151.0.7922.110)
Environment
macOS (Darwin 24.6.0, Apple Silicon)
Logs or screenshots
# Full import attempt at max verbosity — note the complete absence of import-related lines:
$ "/Applications/ego lite.app/Contents/MacOS/ego lite" --enable-logging=stderr --v=1 --vmodule="*import*=3,*profile*=2,*migration*=3"
$ ego-browser import --browser chrome --profile Default --no-default
# only output during the attempt:
VERBOSE1:chrome/browser/profiles/profile_manager.cc:1407] AddKeepAlive(Default, kClearingBrowsingData). keep_alives=[kBrowserWindow (2), kClearingBrowsingData (1)]
VERBOSE1:chrome/browser/profiles/profile_manager.cc:1468] RemoveKeepAlive(Default, kClearingBrowsingData). keep_alives=[kBrowserWindow (2)]Additional context
Related open import issues: #144 (stale staging artifacts), #195 (profile dropdown), #196 (all-or-nothing multi-profile, failure_reason 7), #256 (imported profile not selected). This report is a distinct failure mode: single profile, clean state, unlocked source DBs, deterministic failure_reason 62.
One more gap worth noting: Chrome extensions are not covered by the import flow at all (no importable item for them). For a browser positioned to let agents reuse the user's existing Chrome environment, carrying over installed extensions (or at least listing them with one-click reinstall links to the Chrome Web Store) would make migration substantially smoother.
Happy to run any instrumented build or provide additional diagnostics (e.g. Chrome profile schema versions) if that helps.
Before submitting
- I searched the existing issues and did not find a duplicate.
- I removed secrets and sensitive browsing data from this report.
Source: citrolabs/ego-lite