Repository navigation
Pass the project option ID as a string in project-metadata - #436
Merged
Merged
Conversation
gh -F casts an all-digit value to an integer, so a single-select option ID such as 69897712 failed the updateProjectV2ItemFieldValue mutation with 'Variable $option of type String! was provided invalid value'. Use -f so the ID always stays a string. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
elastic-docs-skills#169 merged after #432, so the docs-review lock no longer matched what the compiler produces and the pre-commit compile hook failed. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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.
Project-metadata failed on one issue in docs-content-internal (run 40307027423, issue #2080) with
Variable $option of type String! was provided invalid value.The cause is
gh api graphql -F option=....-Fcasts a value that looks like a number to an integer, and the option ID of "Streams: Central Mgmt" is all digits (69897712). The mutation expects aString!, so GitHub rejected it. Any option whose ID has only digits fails the same way, which is why it showed up only now and a rerun on another issue passed.This changes that one argument to
-f, so the ID always goes through as a string, and recompiles the lock. I checked the other-Farguments in the workflow: they carry owner, repo, issue number, project number and node IDs, which are not affected. Nothing to do with the Agent Router move.No tracking issue exists for this change, at the user's request.
The pre-commit job also failed on a stale docs-review lock, unrelated to the option ID. elastic-docs-skills#169 merged after docs-actions#432, so the compiler now produces a different lock. The second commit recompiles it, with no source change.
🤖 Generated with Claude Code