test: approve the workspace and pin perseveration fixture bytes

Workspace configuration only takes effect once the workspace is approved,
so the perseveration boot effect tests reached the real provider instead
of the registered stub.

The perseveration guard fixtures are byte-exact recordings; checking them
out with CRLF on Windows shifts every offset the test asserts.
This commit is contained in:
esengine committed 2026-09-28 19:54:36 -07:00
1 parent eaf665edff
commit 5c7f6f0801
2 files changed
+2

No files matched your search

+1
View File
@@ -27,3 +27,4 @@
*.yml text eol=lf
.githooks/** text eol=lf
benchmarks/**/*.sh text eol=lf
internal/runtime/agent/testdata/perseveration/** -text
@@ -108,6 +108,7 @@ kind = "`+kind+`"
model = "x"
`+providerExtra+`
`)
approveWorkspace(t, dir)
sink := &watchSink{}
ctrl, err := Build(context.Background(), Options{Sink: sink})
if err != nil {