Skip to content

fix(config): harden validation error paths - #752

Open
sylvesterkaczmarek wants to merge 2 commits into
NVIDIA:mainfrom
sylvesterkaczmarek:fix/config-validation-errors
Open

sylvesterkaczmarek wants to merge 2 commits into
NVIDIA:mainfrom
sylvesterkaczmarek:fix/config-validation-errors

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown

Summary

Fixes two deterministic config-validation defects:

  • missing embodiment_tag errors referenced nonexistent dataset_path instead of dataset_paths, causing AttributeError;
  • default ActionConfig entries were created with list multiplication, so all entries referenced the same mutable object.

Tests

Adds regression coverage for both behaviors

Signed-off-by: Sylvester Kaczmarek <assistant@SylvesterKaczmarek.com>
Signed-off-by: Sylvester Kaczmarek <assistant@SylvesterKaczmarek.com>
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