chore: remove ai tasks from experiment (#18511)

Closes https://github.com/coder/internal/issues/661
This commit is contained in:
Hugo Dutka
2025-06-24 16:24:01 +02:00
committed by GitHub
parent 45ab265df2
commit 4ff2254e5f
9 changed files with 8 additions and 27 deletions

View File

@ -10,7 +10,6 @@ import (
"github.com/coder/coder/v2/coderd/httpmw"
"github.com/coder/coder/v2/coderd/proxyhealth"
"github.com/coder/coder/v2/codersdk"
)
func TestCSP(t *testing.T) {
@ -50,9 +49,7 @@ func TestCSP(t *testing.T) {
r := httptest.NewRequest(http.MethodGet, "/", nil)
rw := httptest.NewRecorder()
httpmw.CSPHeaders(codersdk.Experiments{
codersdk.ExperimentAITasks,
}, false, func() []*proxyhealth.ProxyHost {
httpmw.CSPHeaders(false, func() []*proxyhealth.ProxyHost {
return proxyHosts
}, map[httpmw.CSPFetchDirective][]string{
httpmw.CSPDirectiveMediaSrc: expectedMedia,