Skip to content

ci: add /wizard-snapshots comment trigger#728

Open
gewenyu99 wants to merge 2 commits into
mainfrom
ci/wizard-snapshots-comment-trigger
Open

ci: add /wizard-snapshots comment trigger#728
gewenyu99 wants to merge 2 commits into
mainfrom
ci/wizard-snapshots-comment-trigger

Conversation

@gewenyu99

@gewenyu99 gewenyu99 commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Adds a /wizard-snapshots <app> [wizard_ref] PR-comment trigger.

Companion to PostHog/wizard-workbench#2012 — the snapshot feature and the SNAPSHOTS switch that receives this. Both must merge for the comment path to work end to end.

It fires the same wizard-ci-trigger repository_dispatch as the /wizard-ci eval handler, just with snapshots: true in the payload — so wizard-workbench's single SNAPSHOTS branch in wizard-ci.yml runs the real-TUI review instead of the evaluator (no separate workflow, no untrusted checkout).

Mirror the /wizard-ci eval handler: a /wizard-snapshots <app> [wizard_ref]
PR comment fires a wizard-snapshots-trigger repository_dispatch to
wizard-workbench, which runs the real-TUI snapshots and opens a review PR.
Like the eval handler, it only parses the comment and dispatches — it never
checks out untrusted PR code. ref defaults to the PR's branch.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@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/cicd-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-nested-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-single-stage-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-gitlab-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-monorepo-pnpm-node-react
  • /wizard-ci error-tracking-upload-source-maps/cicd-monorepo-raw-node-react
  • /wizard-ci error-tracking-upload-source-maps/cicd-ssh-vps-node-raw
  • /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.

Fold into the single wizard-ci switch instead of a separate dispatch type
and standalone workflow. /wizard-snapshots now fires the same
wizard-ci-trigger as /wizard-ci with snapshots:true, so wizard-ci.yml's
one SNAPSHOTS branch runs the snapshots. Reuses the eval handler's
notify-back path too.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gewenyu99 gewenyu99 requested a review from a team June 25, 2026 18:42

@edwinyjlim edwinyjlim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🖼️

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.

2 participants