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

k6 Studio use default settings as fallback without informing the user #567

Open
going-confetti opened this issue Mar 14, 2025 · 0 comments
Labels
bug Something isn't working needs-triage

Comments

@going-confetti
Copy link
Collaborator

Steps to reproduce the problem

I don't know the exact steps, but I've stumbled upon it multiple times during development. Perhaps, saving a copy of your settings file and intentionally corrupting it may work?

In any case, when the file cannot be parsed, the default values will be used instead (incl. usage reporting preference)

Expected behaviour

The user should be informed about using default settings as a fallback.

Currently, It's also technically possible to access settings in code before the settings file is loaded. Consider improving the approach for loading settings to prevent this.

Actual behaviour

Default settings are used, but it may not be clear to the user.

Grafana k6 Studio version

any

OS

any

@going-confetti going-confetti added bug Something isn't working needs-triage labels Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant