-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic in all_mutually_exclusive
-> resolve
(circleci config schema)
#679
Comments
First: 100% this is a bug in typify. We've seen this sort of construction in a few other JSON schema (e.g. #299) and OpenAPI documents (a bit like oxidecomputer/progenitor#591). Rather than having a flat list of $ pbpaste | jq '.definitions.builtinSteps | keys'
[
"configuration",
"documentation"
]
$ pbpaste | jq '.definitions.builtinSteps.configuration | keys'
[
"add_ssh_keys",
"attach_workspace",
"checkout",
"deploy",
"persist_to_workspace",
"restore_cache",
"run",
"save_cache",
"setup_remote_docker",
"store_artifacts",
"store_test_results",
"unless",
"when"
]
$ pbpaste | jq '.definitions.builtinSteps.documentation | keys'
[
"add_ssh_keys",
"attach_workspace",
"checkout",
"deploy",
"persist_to_workspace",
"restore_cache",
"run",
"save_cache",
"setup_remote_docker",
"store_artifacts",
"store_test_results",
"unless",
"when"
] Unforunately there isn't a simple workaround; see #579. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hitting a panic in
all_mutually_exclusive
->resolve
util.rs:566minimal repro:
extracted minimal repro from circleci json schema (src)
The text was updated successfully, but these errors were encountered: