Skip to content

only filter keys if jsonschema will complain#137

Merged
OwenPriceSkelly merged 2 commits intomainfrom
owen/filtering-keys-fix
Apr 6, 2026
Merged

only filter keys if jsonschema will complain#137
OwenPriceSkelly merged 2 commits intomainfrom
owen/filtering-keys-fix

Conversation

@OwenPriceSkelly
Copy link
Copy Markdown
Member

dogfooding against the polaris endpoint, ran into the following scenario: the endpoint schema was just the permissive default with additionalProperties: true and did not actually enumerate the keys it required, like queue or walltime. this meant that groundhog was dropping the keys silently (since they didn't match the schema), which is correct for anvil but not for others. This changes the behavior to only filter out unexpected keys if the schema will complain

@OwenPriceSkelly OwenPriceSkelly merged commit 1a6c8b7 into main Apr 6, 2026
2 checks passed
@OwenPriceSkelly OwenPriceSkelly deleted the owen/filtering-keys-fix branch April 6, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant