Support confdb filters
Metadata
Current evaluation
Confdb filter parameters were added by merged PR #6406 (commit c1cd30347) and included in Snapcraft 9.2.
Resolution: closed resolved
Reason: PR #6406 added parameters and filters to confdb schemas, resolving the requested model support and spread-test coverage. The maintainer confirmed it was included in Snapcraft 9.2.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### Check existing issues
- [x] I've verified that this request isn't described by any existing issues.
### Request
The confdb pydantic model needs support for filters with a new `parameters` entry.
Example:
```yaml
type: confdb-schema
account-id: system
name: snaps
views:
observe-plugs:
parameters:
status:
summary: "Allows filtering snaps by status"
presence: required-on-write
plug:
presence: optional
```
Where
- `parameters` is optional
- `summary` is optional
- `presence` is optional and can be:
- `required` - the parameter value must always be provided
- `required-on-read` - must always be provided when reading
- `required-on-write` - must always be provided when writing
- `optional` - the parameter can be unconstrained in any request. This is the default value.
- The confdb spread test should specify a simple filter to ensure it can be handled.
- The snapd team should be asked to test before landing.
source: [SD208](https://docs.google.com/document/d/1ykcf_J084vo_sAFA3kWO5UOvndOBhXs-gGx7Y_IvzoY/edit?tab=t.0)
### The problem it solves
Allows filtering in confdb schemas.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Confdb filter parameters were added by merged PR #6406 (commit c1cd30347) and included in Snapcraft 9.2. | |
| stealth/space-bunny-alpha | — | closed resolved | Added confdb schema filters and parameters support in PR #6406, merged for Snapcraft 9.2. | |
| stealth/space-bunny-alpha | — | closed resolved | Added confdb filter parameters in merged PR #6406, commit c1cd3034, targeting Snapcraft 9.2. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Added confdb filter parameters support to the pydantic model. Merged in #6406 and included in Snapcraft 9.2. | |
| qwen/qwen3.8-27b |
Impact:
50
Quick Win:
32
Staleness:
20
Complexity:
35
Confidence:
80
Support Request:
0
|
keep open | Request to add filter parameters (with presence constraints) to the confdb-schema pydantic model. Triaged by maintainer; staging store now supports parameters and it was scheduled for the next pulse. PR #6406 'feat(confdb-schemas): add parameters' appears to have landed in main. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
20
Complexity:
45
Confidence:
90
Support Request:
10
|
keep open | Enhancement to add parameters support for filtering in the confdb pydantic model. Currently triaged, unblocked by staging store updates, and scheduled for the next sprint by the maintainer. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
45
Complexity:
35
Confidence:
90
Support Request:
0
|
keep open | Enhancement to add parameters support to confdb pydantic models for filtering. Triaged and unblocked by staging store updates; maintainer added it to the next development pulse. |
Update history
| Date | Change |
|---|---|
| closed |
Related work
-
Likely Fixed By:
snapcraft#6406
(confidence 100%)
Merged PR implementing confdb filter parameters; its commit is c1cd30347.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #6406 feat(confdb-schemas): add filters and parameters | snapcraft | merged | Merged #6406 (c1cd30347) added ConfDB schema filters and parameters, closing #5955 and shipping in Snapcraft 9.2. |