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
Currently, coderd/metricscache/metricscache_test.go runs tests against the dbmem implementation only. This is an issue as the implementation of GetTemplateAverageBuildTime has diverged between dbmem and Postgres.
The divergence occurred here #14576, when dbmem moved to a continuous percentile instead of a discrete percentile. It is worth noting that the original dbmem implementation also exhibited slightly different behavior than Postgres as it calculated the discrete percentile slightly differently, although this likely wasn't spotted as the test wasn't ran on Postgres.
The text was updated successfully, but these errors were encountered:
Currently,
coderd/metricscache/metricscache_test.go
runs tests against thedbmem
implementation only. This is an issue as the implementation ofGetTemplateAverageBuildTime
has diverged betweendbmem
and Postgres.The divergence occurred here #14576, when
dbmem
moved to a continuous percentile instead of a discrete percentile. It is worth noting that the originaldbmem
implementation also exhibited slightly different behavior than Postgres as it calculated the discrete percentile slightly differently, although this likely wasn't spotted as the test wasn't ran on Postgres.The text was updated successfully, but these errors were encountered: