bottlerocket-os / bottlerocket-os/bottlerocket-settings-sdk

Add the ability to validate extension configuration toml files.

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
5
Forks
36
Avg merge
4d 12h
Merged PRs (30d)
2

Description

An example file looks something like this:

```toml
[extension]
supported-versions = [
"v1"
]
default-version = "v1"

[v1]
[v1.validation.cross-validates]

[v1.templating]
helpers = []

[v1.generation.requires]
```

Each extension should have its own configuration file describing the exposed API. We should add the ability to run a config validator in tests.

Contributor guide

Open the contributing guide

Research direction

Start by locating the extension configuration handling and the existing test setup. Use the example TOML in the issue to determine the expected configuration shape, then make the tests run a validator against each extension configuration and confirm invalid configurations are rejected.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend-api-design, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.