-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Convert experimental env into globalOnly experimentalFlags
#27879
Comments
There are some variables in this list which don't have the prefix |
Do you mean we store all these variables and values in # .env
RENOVATE_X_HARD_EXIT=false new // config.js
"exprimentalFlags": {
"HARD_EXIT": false
} |
I was going to keep them as an array. If they need a value then it could be like abc=10. One like this could be turned around such as "softExit" or "exitCodeZero" |
There are some options such as |
How many of those are there? I guess we need to keep them |
Ok keep them as is for now |
I think we are clear on the requirements. Here's the implementation plan I came up with: First make necessary changes in initial PR (ideally also convert 2,3 env vars to flags as examples). Then in many follow up PRs convert all the env vars to flags. For this it would be best to create a new branch from the Changes to be included in the initial PR:
I've put together this PR as a starting point. I've tried to implement the necessary logic to handle the exeperimental flags. I have also converted 2 env vars to flags in this PR as examples. More details in the PR description. |
@viceice @secustor what if we drop the "experimental" naming and instead use "globalFlags" or "adminFlags"? We can always flag individual flags as experimental if we want to consider removing them. Part of using flags here was to reduce the volume of unique config options when many of them are simply boolean and need little more than a one-sentence description. |
IMO it make sense to have If that is not the intend we can migrate all flags to config options with the experimental setting. 🤷 |
ok |
Except the following experimental env vars all the others have either been converted to their own config option, or to experimental flags. Some of the vars have also been removed.
|
Hey there, related: |
No. The main reason this feature was made opt-in was because it doesn't work with app tokens |
Describe the proposed change(s).
Remove all
RENOVATE_X_
logic in code, convert instead to a new admin optionexperimentalFlags
. Convert docs accordingly (all should be documented and it enforced with type checking).The text was updated successfully, but these errors were encountered: