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

key_values.json has missing values at start of service #5750

Open
Tracked by #5694 ...
wvangeit opened this issue Apr 26, 2024 · 3 comments
Open
Tracked by #5694 ...

key_values.json has missing values at start of service #5750

wvangeit opened this issue Apr 26, 2024 · 3 comments
Assignees
Labels
bug buggy, it does not work as expected

Comments

@wvangeit
Copy link
Contributor

wvangeit commented Apr 26, 2024

A dynamic service receives some of its input values, like integers/strings etc from the key_values.json in the input directory.
Sometimes these values are only partially filled in at the start of the service. To make things more stable for the user, it would be good that at least easy to retrieve variables, like parameters, are immediately available at the start of the service.

In my own service I have worked around this by polling the file until everything I need is available, but this is not ideal.

If this is really a fundamental issue that can't really be solved, it would be good that we at least provide the users an api to standardize the polling etc (i.e. an api to retreive the input values)

@wvangeit
Copy link
Contributor Author

@pcrespov FYI, as discussed earlier today. Feel free to assign

@wvangeit wvangeit added the bug buggy, it does not work as expected label Apr 26, 2024
@wvangeit
Copy link
Contributor Author

And @pcrespov , this is not an issue for my service anymore atm, because i have expanded the polling.

@wvangeit
Copy link
Contributor Author

This is affecting usability again, because there are studies runs where these values never appear (although the inputs are coming from integer/string parameters that are not changed compared to runs that did work)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug buggy, it does not work as expected
Projects
None yet
Development

No branches or pull requests

3 participants