fix(typecheck): unblock main — unused symbols from #450 - #473
Conversation
…s red PR #450 (449-auto-import-credentials) landed three TS6133s: writeOnboardingConfig (unused import in credential_scanner), writeWelcomeShown (unused import in extension), importSection (dead local in onboarding_webview). All three are genuinely unreferenced — imports trimmed / dead local removed; no behavior change. CI runs pnpm -r run typecheck, so main was red for every new PR until this.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe change removes unused references from extension onboarding code and updates the credential scan test to skip its live assertion when no credentials are available. ChangesOnboarding cleanup
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This PR removes unused symbols to restore typechecking and does not change runtime behavior. No actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
…I break The same #450 carried an e2e test asserting THIS machine has real opencode credentials (unconditional length>0). It passed on dev machines and failed on every clean CI runner — #450's fast check was red when it merged. Same skip idiom as the sibling testConnection case: zero credentials → log + return, dev machines still assert fully.
PR #450 landed three TS6133 unused-symbol errors; CI runs
pnpm -r run typecheck, so main is currently red for every new PR. All three symbols are genuinely unreferenced (checked call sites — no dropped calls, comment-only references):writeOnboardingConfigimport incredential_scanner.ts,writeWelcomeShownimport inextension.ts,importSectionlocal inonboarding_webview.ts. Mechanical removals, no behavior change. Full suite green on top of the fix.Summary by CodeRabbit