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
Coder Tasks presets not set correctly when switching between templates #20465
When switching between templates with presets in the Coder Tasks UI, the presets don't get populated correctly. The presets sometimes don't show up, but when switching back and forth they may intermittently appear.
Reproduction
Have at least two templates with presets configured
Navigate to Coder Tasks UI and switch between templates
Observe that presets don't consistently populate when switching
Additional Context
Originally reported on v2.26.1-devel+65335bc7d (on ai.coder.com)
Cian reproduced similar behavior on v2.27.1-devel+7bad7e35a showing presets not populating correctly when switching between templates
Jullian also observed that for normal users (non-admin view), the preset may never appear until the page is refreshed
Network logs show different behavior on newer versions (only invoking external-auth)
The UI has changed quite a bit between versions, but wonkiness still persists
Activity
fix(site): fix disappearing preset selector when switching template
fix(site): fix disappearing preset selector when switching task templ…
fix(site): fix disappearing preset selector when switching task templ…