Validate config that gets imported from modules or the recipe's config directory

Created on 15 November 2023, 7 months ago
Updated 20 March 2024, 3 months ago

Problem/Motivation

This is spun off from #3390919-12: Create a config storage backend that can set "checkpoints", recording the changes to config that happen in between them β†’ .

Right now, when a recipe imports config (either from modules or from its own config directory), that config is not validated in any way.

Proposed resolution

RecipeConfigInstaller should validate each piece of config it imports, through the typed config manager, after actually creating it. If there are any violations, an exception should be thrown and the recipe should be rolled back to the backup checkpoint.

Remaining tasks

Implement that, with tests.

User interface changes

None, although a recipe might fail mid-way with a different message/exception.

API changes

Potentially. A new exception will likely be introduced.

πŸ“Œ Task
Status

Fixed

Version

10.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024