You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: Workspace settings parameters cycle between changed and default values when dynamic parameters enabled #21433
I have a template that has been updated to use dynamic parameters. When I enable dynamic parameters for the template and navigate to an existing workspaces settings page, parameter values with a default value will continually flip back and forth between the workspace's current value and the default setting. In other words, if I have a disk size parameter that defaults to 100 GB, and I've updated my workspace to use 200GB, I will see the disk size parameter repeatedly flip back and forth between 200GB and 100GB. This is causing unpredictable updates for our users.
The behavior is not consistent. Sometimes, the values remain static with the customized settings. Other times, they will flip to defaults and remain static with the defaults. Usually, if I refresh the page when it is cycling or stuck on the defaults, that will fix the issue, but sometimes it required multiple refreshes.
There have been a few bug fixes related to dynamic parameters that seemed relevant, but they appear to have no effect on this strange behavior. I don't see any errors in the console output and all network requests, e.g. websockets seem to be working. Naively thinking about the problem, it feels like there is some race condition in play here but I haven't tried to debug further.
Relevant Log Output
Expected Behavior
No response
Steps to Reproduce
Enable dynamic parameters on an existing template that has parameters with default values
Navigate to an existing workspace that has parameters that have been changed from the defaults
Open the settings page and switch to the parameters tab
More often than not, the values will cycle between the changed and default values
Environment
Host OS: EKS with Bottlerocket on the node and the official coder image for the container
We are still observing this behavior which blocks updating our templates to use dynamic parameters. One additional symptom, if I change a value on the form when it's stuck in this cycling state, the change is not registered with the form. The value for the field will flip back to the default, then back to the current workspace parameter value.
Hey! This was addressed by another PR #26357 which is in v2.35.0 and above. If you upgrade and still see this, can you reopen the issue? Not sure why this wasn't linked before then.
Activity
brent-at-aam commentedon Jan 20, 2026
We are still observing this behavior which blocks updating our templates to use dynamic parameters. One additional symptom, if I change a value on the form when it's stuck in this cycling state, the change is not registered with the form. The value for the field will flip back to the default, then back to the current workspace parameter value.
bpmct commentedon Aug 17, 2026
Hey! This was addressed by another PR #26357 which is in v2.35.0 and above. If you upgrade and still see this, can you reopen the issue? Not sure why this wasn't linked before then.