Skip to content

Make accept-chrome --all registry-agnostic: --profile, a fixture Chrome for C3, data-driven default-home checks - #5

Merged
SSFSKIM merged 3 commits into
mainfrom
fix/accept-chrome-registry-agnostic
Oct 5, 2026
Merged

SSFSKIM merged 3 commits into
mainfrom
fix/accept-chrome-registry-agnostic

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Found on the second Mac: --all hard-coded the owner's registry (personal/work/school → Default/Profile 8/Profile 6, live profile personal), so C2/C3/C5/C6 failed there although every underlying behaviour and both live reports (17/17) were correct.

  • --profile <key> (default personal) names the live profile; C2/C6 compare the reports against it and require it registered and bound; C3 requires it ready; C5 checks its doctor row.
  • C3's scratch run uses a fixture Chrome user-data tree under a scratch HOME (Local State with three profiles, the extension manifest in one), so no real Chrome directory is assumed; the fixture is verified unchanged and removed.
  • Default-home checks are derived from the actual registry: every key's readiness must agree with its doctor row; at least one ready key and the --profile key ready (BLOCKED with the fix otherwise).

npm test 401/401. Owner-shaped and second-Mac-shaped fake registries covered; a second-Mac rerun follows.

@SSFSKIM

SSFSKIM commented Oct 5, 2026

Copy link
Copy Markdown
Owner Author

reviewer-medium: one P2 (the data-driven consistency check never tested row.ready against its reason, so a ready row with extension_not_installed passed) — fixed in f89f0db: readiness shape validated first (ready ⇒ no reason + binding; not ready ⇒ known reason), contradictions FAIL before the doctor comparison and before BLOCKED handling; tests for every reason. Self-verified. Suite 402/402. Second-Mac rerun of --all --profile school with both live reports: C1–C7 PASS.

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