feat(cli): add run-scoped --script and --source-language to workflows run#79
Merged
Conversation
… run Pass run-scoped script inputs on `onepin workflows run` — the text overrides the saved script for that run only (POST /runs body: script_text/source_language, shipped in donut-be #387). Until the generated runs.start() gains the params on the next spec regen, they ride as request_options additional_body_parameters — identical wire format, so the code keeps working after the regen too. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Three cases: both flags ride as additional_body_parameters, --script alone sends only script_text, and no flags means no request_options. Clears the diff-cover 90% gate that failed CI. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
kj-podonos
approved these changes
Jul 10, 2026
sbpodonos
pushed a commit
that referenced
this pull request
Jul 10, 2026
🤖 I have created a release *beep* *boop* --- ## [0.10.0](v0.9.0...v0.10.0) (2026-07-10) ### Features * **cli:** add run-scoped --script and --source-language to workflows run ([#79](#79)) ([54593f0](54593f0)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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.
What
onepin workflows rungains run-scoped script inputs:--script TEXT— overrides the saved script for this run only--source-language CODE— BCP-47 language of the script (optional; defaults to the saved language)Wire format is
POST /runsbody{script_text, source_language}(donut-be #387). Until the generatedruns.start()gains these params on the next spec regen, they ride asrequest_optionsadditional_body_parameters— identical bytes on the wire, so the code keeps working unchanged after the regen.Tests
CLI manifest snapshot regenerated; full CLI + unit suites green.
Notes
🤖 Generated with Claude Code