Issue
Currently decisions do not undergo any validation in TOMLs. Actions must be one of stop_receiving, unblock or proceed, but Decisions can be anything.
For example the following Region Decision -> Action will fail
[[Region]]
no_map = "banter"
But this will succeed
[[Region]]
banter = "stop_receiving"
Proposal
Propose we also check the contents of the Region using cattrs
Testing TOML
I've attached a testing toml that should fail. All these validations should happen before testing the plugins, so we should be able to test without updating the path to the index/caller. Suggest using --no-check-plugins and --no-describe during testing.
human_chr_selection.txt
Issue
Currently decisions do not undergo any validation in TOMLs.
Actionsmust be one ofstop_receiving,unblockorproceed, but Decisions can be anything.For example the following Region Decision -> Action will fail
But this will succeed
Proposal
Propose we also check the contents of the Region using
cattrsTesting TOML
I've attached a testing
tomlthat should fail. All these validations should happen before testing the plugins, so we should be able to test without updating the path to the index/caller. Suggest using--no-check-pluginsand--no-describeduring testing.human_chr_selection.txt