ci: add /wizard-snapshots comment trigger#728
Open
gewenyu99 wants to merge 2 commits into
Open
Conversation
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>
🧙 Wizard CIRun 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:
Test all apps in a directory:
Test an individual app:
Show more apps
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
/wizard-snapshots <app> [wizard_ref]PR-comment trigger.Companion to PostHog/wizard-workbench#2012 — the snapshot feature and the
SNAPSHOTSswitch that receives this. Both must merge for the comment path to work end to end.It fires the same
wizard-ci-triggerrepository_dispatch as the/wizard-cieval handler, just withsnapshots: truein the payload — so wizard-workbench's singleSNAPSHOTSbranch inwizard-ci.ymlruns the real-TUI review instead of the evaluator (no separate workflow, no untrusted checkout).