Skip to content

test: remove dead symbols in onboarding e2e spec#1046

Draft
tellaho wants to merge 1 commit into
mainfrom
tho/lint-dead-symbols-onboarding-spec
Draft

test: remove dead symbols in onboarding e2e spec#1046
tellaho wants to merge 1 commit into
mainfrom
tho/lint-dead-symbols-onboarding-spec

Conversation

@tellaho

@tellaho tellaho commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

Category: fix

User Impact: None user-facing — this is CI hygiene that unblocks PRs from merging.

Problem: main carries two unused symbols in desktop/tests/e2e/onboarding.spec.tsconst FIRST_RUN_KENNY and function getMockProfile. biome's noUnusedVariables flags both. Because biome has vcs.enabled: true, push builds (main) see the file as unchanged and soften the finding to a warning, so main stays green. But pull_request builds escalate the same finding to an error, failing the Desktop Core (biome check .) gate. Net result: main is quietly red under PR rules, blocking PR #1044.

Solution: Remove the two dead symbols. Nothing else touched. biome check . now passes under PR context.

File changes

desktop/tests/e2e/onboarding.spec.ts
Removed the unused FIRST_RUN_KENNY constant and the unused getMockProfile helper function. Both had zero references in the file or repo-wide. 25 deletions, no other changes.

Reproduction Steps

  1. Check out this branch.
  2. Run pnpm check from the repo root.
  3. Confirm biome check . passes clean for both web and desktop workspaces (666 desktop files checked, no errors).

PR authored by Bart 🤖

biome noUnusedVariables flagged two unused symbols in onboarding.spec.ts (const FIRST_RUN_KENNY, function getMockProfile). Under pull_request builds biome escalates these to errors, failing Desktop Core (biome check .). Removing them clears the gate.

Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
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