Commit 761dd55
authored
fix(coderd/database): sort template version variables and fix test flake (#21233)
Previously the GetTemplateVersionVariables query did not sort output,
relying on PostgreSQL on-disk ordering which is undeterministic.
Variables are now sorted by name because there is no alternative for
ordering.
Tests were adjusted to accommodate the new ordering, previously they
relied on data being written to disk in insert order.1 parent 498c565 commit 761dd55
File tree
3 files changed
+111
-128
lines changed- cli
- coderd/database
- queries
3 files changed
+111
-128
lines changed
0 commit comments