Smoke Copilot: require dispatch_workflow.inputs.message for haiku-printer#40550
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix safe_outputs job failure in Smoke Copilot
Smoke Copilot: require Jun 21, 2026
dispatch_workflow.inputs.message for haiku-printer
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Smoke Copilot workflow prompt contract to prevent a known dispatch_workflow failure mode by explicitly requiring the haiku-printer dispatch to include a non-empty inputs.message.
Changes:
- Tightened test requirement #11 to require
dispatch_workflow.inputs.messagewhen dispatchinghaiku-printer. - Clarified that the haiku must be a non-empty testing/automation haiku.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/smoke-copilot.md |
Makes the haiku-printer dispatch requirement explicit by requiring inputs.message to avoid dispatch-time validation failures. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 1
Comment on lines
186
to
189
| 9. Artifact upload (only if build passes): stage `./gh-aw` at `$RUNNER_TEMP/gh-aw/safeoutputs/upload-artifacts/gh-aw` and call `upload_artifact` with `path: "gh-aw"`. | ||
| 10. Discussion create: call `create_discussion` in `announcements` with label `ai-generated`, title `copilot was here`, temp ID `aw_smoke_discussion`. | ||
| 11. Workflow dispatch: call `dispatch_workflow` for `haiku-printer` with an original testing/automation haiku. | ||
| 11. Workflow dispatch: call `dispatch_workflow` for `haiku-printer` and include `inputs.message` with an original testing/automation haiku (non-empty string). | ||
| 12. PR review tools: add 1-2 inline `create_pull_request_review_comment` comments, submit review with event `COMMENT`, then reply to most recent existing review comment ID when available. |
This was referenced Jun 21, 2026
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.
Smoke Copilot’s
safe_outputsjob can fail whendispatch_workflowtargetshaiku-printerwithout the requiredmessageinput, causing a 422 from the dispatch API and failing the whole safe-output processing step. This change removes that ambiguity at the source by making the required input explicit in the workflow prompt contract.Problem alignment
inputs.message(non-empty) when callingdispatch_workflowforhaiku-printer.Workflow prompt update (
.github/workflows/smoke-copilot.md)inputs.messageBehavioral impact
haiku-printer.yml’sworkflow_dispatch.inputs.message.required: truecontract, preventing this specific dispatch-time validation failure.