Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config corruption #274

Open
mixmix opened this issue Oct 31, 2024 · 0 comments
Open

config corruption #274

mixmix opened this issue Oct 31, 2024 · 0 comments

Comments

@mixmix
Copy link
Contributor

mixmix commented Oct 31, 2024

We've see several instances of config corruption

It should not be possible, and if it happens (user or other program mutated config), then we should get more info.

To consider:

  • atomic read/ write (lockfile?)
  • write-lock in CLI code
  • validation of input to config.set
    • is it an object?
    • does it have required fields?
      • JSON schema
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

No branches or pull requests

1 participant