schema updates automated #629
Labels
No labels
0 points
0.5 points
1 point
13 points
2 points
21 points
3 points
34 points
5 points
55 points
8 points
ambition
application-offering
ambition
configure-applications
ambition
front-end
ambition/install-applications
ambition
security
ambition
switch-host
ambition
update-applications
ambition
user-management
api service
blocked
component: fediversity panel
component: nixops4
documentation
estimation high: >3d
estimation low: <2h
estimation mid: <8h
infinite points
productisation
project-management
question
role: application developer
role: application operator
role: hosting provider
role: maintainer
security
technical debt
testing
type unclear
type: bug
type: deliverable
type: key result
type: objective
type: task
type: user story
user experience
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#289 key features improving user experience supported
fediversity/fediversity
#610 Configure applications
fediversity/fediversity
Reference
fediversity/fediversity#629
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As a Fediversity developer,
I want to use available information on option changes,
so that I may use these to facilitate schema updates (#159).
notes
preserving data across schema version migrations requires:
we need to keep a human (-> Fediversity maintainer) in the loop to tracking identity, or verify how to handle potential removal of parts of state, if maintaining everything turns out not viable.
since identity tracking cannot be inferred, version migration actions should likely be published through a repo on our end.
identify candidate matches on renames requires calculating string similarity across the addition/removal grid for option key paths and options' type definitions.
implementation notes
ideas to tackle this:
fuzz.token_sort_ratiojson-schema-difflibraries:enumtypes not unlike correlating and migrating option keys - maybe having some markers like for aliasing nix options on rename?NixOS option modules
- ~~[ ] [NixOS option modules](github.com/NixOS/nixpkgs@511f22afbf/lib/modules.nix (L2203-L2226)): warns or errors about changes - errors of which should likely be caught in tests, presuming proper coverage, failing which we may need to keep track of service module changes.~~ - ~~we may be able to figure out what part of NixOS configurations we use, such as to get a sense of what changes to a schema (/ options modules) may be relevant for us.~~kiara referenced this issue2025-12-03 16:56:32 +01:00
use schemas to facilitate schema updatesto schema updates automatedkiara referenced this issue2025-12-03 17:29:34 +01:00
kiara referenced this issue2025-12-03 21:50:56 +01:00
kiara referenced this issue2025-12-04 13:41:28 +01:00