Steven Masley
9b6eadab77
fix: drop N+1 db query on template ACL available ( #25465 )
...
Fixes
[PLAT-149](https://linear.app/codercom/issue/PLAT-149/template-permissions-search-is-extremely-slow-with-many-groups ).
`/acl/available` ran a db query per group. A deployment with >5,000
groups made this route extremely slow.
2026-05-20 22:40:50 +00:00
Steven Masley
9b5d49967c
chore: refactor dynamic parameters into dedicated package ( #18420 )
...
This PR extracts dynamic parameter rendering logic from
coderd/parameters.go into a new coderd/dynamicparameters package. Partly
for organization and maintainability, but primarily to be reused in
`wsbuilder` to be leveraged as validation.
2025-06-20 13:00:39 -05:00
Jaayden Halko
9a432b8d9f
fix: add workspace owner id as query param to websocket ( #18363 )
...
Co-authored-by: Steven Masley <stevenmasley@gmail.com >
2025-06-13 14:49:32 -04:00
Jaayden Halko
f126931219
chore: remove dynamic-parameters experiment ( #18290 )
...
Co-authored-by: blink-so[bot] <211532188+blink-so[bot]@users.noreply.github.com>
Co-authored-by: jaaydenh <1858163+jaaydenh@users.noreply.github.com >
Co-authored-by: Steven Masley <stevenmasley@gmail.com >
2025-06-12 12:15:05 -04:00
Steven Masley
b4531c4218
feat: make dynamic parameters respect owner in form ( #18013 )
...
Closes https://github.com/coder/coder/issues/18012
---------
Co-authored-by: Jaayden Halko <jaayden.halko@gmail.com >
2025-05-27 15:43:00 -05:00
Steven Masley
a123900fe8
chore: remove coder/preview dependency from codersdk ( #17939 )
2025-05-20 10:45:12 -05:00
Steven Masley
f36fb67f57
chore: use static params when dynamic param metadata is missing ( #17836 )
...
Existing template versions do not have the metadata (modules + plan) in
the db. So revert to using static parameter information from the
original template import.
This data will still be served over the websocket.
2025-05-16 11:47:59 -05:00