Skip to content

fix(wizard): Fix wizard workbench runs against local MCP/repo#641

Merged
sortafreel merged 8 commits into
mainfrom
wizard/add-logs-fix-local-rins
Jun 11, 2026
Merged

fix(wizard): Fix wizard workbench runs against local MCP/repo#641
sortafreel merged 8 commits into
mainfrom
wizard/add-logs-fix-local-rins

Conversation

@sortafreel

@sortafreel sortafreel commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Problem

  • Not enough logs
  • pnpm try doesn't support require and was dying instantly with no log trace

CleanShot 2026-06-11 at 16.13.19.png

CleanShot 2026-06-11 at 16.15.06.png

  • Local MCP falsely mark as inaccessible

CleanShot 2026-06-11 at 16.12.50.png

Changes

  • More logs
  • Replace require if not available
  • Local MCP detected properly

Test plan

@github-actions

Copy link
Copy Markdown

🧙 Wizard CI

Run the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands:

Test all apps:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci basic-integration
  • /wizard-ci error-tracking-upload-source-maps
  • /wizard-ci misc
  • /wizard-ci revenue

Test an individual app:

  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
Show more apps
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /wizard-ci basic-integration/javascript-node
  • /wizard-ci basic-integration/javascript-web
  • /wizard-ci basic-integration/laravel
  • /wizard-ci basic-integration/next-js
  • /wizard-ci basic-integration/nuxt
  • /wizard-ci basic-integration/python
  • /wizard-ci basic-integration/rails
  • /wizard-ci basic-integration/react-native
  • /wizard-ci basic-integration/react-router
  • /wizard-ci basic-integration/sveltekit
  • /wizard-ci basic-integration/swift
  • /wizard-ci basic-integration/tanstack-router
  • /wizard-ci basic-integration/tanstack-start
  • /wizard-ci basic-integration/vue
  • /wizard-ci error-tracking-upload-source-maps/android
  • /wizard-ci error-tracking-upload-source-maps/flutter
  • /wizard-ci error-tracking-upload-source-maps/ios
  • /wizard-ci error-tracking-upload-source-maps/next
  • /wizard-ci error-tracking-upload-source-maps/next-no-posthog
  • /wizard-ci error-tracking-upload-source-maps/node-raw
  • /wizard-ci error-tracking-upload-source-maps/node-rollup
  • /wizard-ci error-tracking-upload-source-maps/node-rollup-typescript-plugin
  • /wizard-ci error-tracking-upload-source-maps/node-webpack
  • /wizard-ci error-tracking-upload-source-maps/nuxt-3-6
  • /wizard-ci error-tracking-upload-source-maps/nuxt-4-3
  • /wizard-ci error-tracking-upload-source-maps/react-native
  • /wizard-ci error-tracking-upload-source-maps/react-vite
  • /wizard-ci error-tracking-upload-source-maps/rust
  • /wizard-ci misc/quack-quack
  • /wizard-ci revenue/stripe

Results will be posted here when complete.

sortafreel commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

@sortafreel sortafreel changed the title chore: add logs fix(wizard): Fix wizard workbench runs against local MCP/repo Jun 11, 2026
@sortafreel sortafreel marked this pull request as ready for review June 11, 2026 14:13
Copilot AI review requested due to automatic review settings June 11, 2026 14:13
@sortafreel sortafreel requested review from a team and removed request for Copilot June 11, 2026 14:15

@sarahxsanders sarahxsanders left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pnpm try strikes again

@sortafreel sortafreel force-pushed the wizard/add-logs-fix-local-rins branch from 9fcc815 to 6f1c211 Compare June 11, 2026 14:22
@sortafreel sortafreel merged commit 96e4621 into main Jun 11, 2026
18 checks passed

Copy link
Copy Markdown
Contributor Author

Merge activity

@sortafreel sortafreel deleted the wizard/add-logs-fix-local-rins branch June 11, 2026 14:25
console.error('TUI init failed:', err);
}
// File-log first — the cleanup below can throw or exit.
logToFile('[run-wizard] FATAL:', err);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will say to carefully consider what we log to the log file vs. just capture as a error using error tracking. Some of this shouldn't really be seen by an end user. There's nothing they can do with that info, and we can always get more info in error tracking, anyway.

(I think this is one example)

// The console.error below is wiped with the alt screen; this survives.
logToFile('[screen-error-boundary]', error);
// eslint-disable-next-line no-console
console.error('[ScreenErrorBoundary]', error.message, error.stack);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate?

Maybe we should add error tracking to PostHog, too (or instead of the console log)

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.

3 participants