New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 716675 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Implement dev-mode configuration overrides

Project Member Reported by robert...@chromium.org, Apr 29 2017

Issue description

We should have non-hacky way to test what a configuration change would do to production without:
  - Actually changing the versioned configuration.
  - Having to deploy hacked versions of code to test future changes of config.

One possibility that occurs to me is to create a DevConfigOverrides entity keyed by username and have waterfall_config determine based on the name of the version it's running if it's a dev deployment and the configuration needs to be overriden.

UI-wise we could change the config page to display a couple extra buttons when running on a dev deployment:
  - "Save as Dev Override": would save any changes to config to a DevConfigOverride entity associated with the running version name, instead of saving them to the wf_config.FinditConfig entity.
  - "Reset Overrides": Would remove the overrides, letting the production configuration take effect on the dev version.

Ideally, the DevConfigOverrides entity would only store the diff between the latest real configuration and the intended end configuration, so that the dev versions reflect the real configuration being used in production plus any overrides created for dev.
 
WDYT?

Comment 2 by st...@chromium.org, May 5 2017

Status: Available (was: Untriaged)
I'm wondering whether it is possible to trigger an analysis by our staging app id?
Or will ndb namespace help here if we still use the same id? https://cloud.google.com/appengine/docs/standard/python/multitenancy/multitenancy

If possible, we'd not deploy testing version to prod app id.
Project Member

Comment 3 by sheriffbot@chromium.org, May 7 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment