Repository navigation
Conversation
Runbooks 0.30 passes an `options` string straight to the dropdown, which throws "(variable.options ?? []).map is not a function". The docs are published from main, so they described the feature before any release had it. Name the version, and point to the front-matter requirement that makes an earlier version refuse the runbook instead of crashing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
Why
A user on 0.30.0 followed the options from a block's output docs and got:
The feature (#466) merged after v0.30.0 was tagged. The docs are published from
main, so they described it before any release had it. 0.30.0 passes anoptionsstring straight to the dropdown, which throws. Onmain, the user's runbook works: the options come from the output, and a value that isn't one of them is refused.What
In
authoring/boilerplate.mdx:{ value, label }) are also new in feat: let dropdown and multi-select options come from a block's output #466, so the sentence that introduces them says "from Runbooks 0.31".This assumes the next release is 0.31.0. If it ends up with another number, these two lines change with it.
The
output-optionsdemo runbook still has norunbooks:requirement on purpose.package.jsononly changes at release time, so dev builds and CI onmainreport 0.30.0 and would refuse a>= 0.31requirement.🤖 Generated with Claude Code
Summary by CodeRabbit