Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 18 additions & 13 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,21 @@ jobs:
- name: "Run WASM Tests"
# There's a whole bunch of vars in the environment that aren't needed for running this test, so we clear them out.
# NOTE: if you need to do this in the future, I recommend bashing into the container and running `env | sort | less`
run: |-
GOOS=js \
GOARCH=wasm \
cleanenv \
-remove-prefix GITHUB_ \
-remove-prefix ANDROID_ \
-remove-prefix JAVA_ \
-remove-prefix DOTNET_ \
-remove-prefix RUNNER_ \
-remove-prefix HOMEBREW_ \
-remove-prefix runner_ \
-- \
go test ./pkg/wasm/... -exec $(go env GOPATH)/bin/wasmbrowsertest
# NOTE: wasmbrowsertest can have flaky websocket timeouts, so we retry up to 3 times
uses: "nick-fields/retry@v3"
with:
max_attempts: 3
timeout_minutes: 5
command: |-
GOOS=js \
GOARCH=wasm \
cleanenv \
-remove-prefix GITHUB_ \
-remove-prefix ANDROID_ \
-remove-prefix JAVA_ \
-remove-prefix DOTNET_ \
-remove-prefix RUNNER_ \
-remove-prefix HOMEBREW_ \
-remove-prefix runner_ \
-- \
go test ./pkg/wasm/... -exec $(go env GOPATH)/bin/wasmbrowsertest
2 changes: 2 additions & 0 deletions internal/mcp/mcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,8 @@ func newSpiceDBServer(ctx context.Context) (server.RunnableServer, error) {
server.WithNamespaceCacheConfig(server.CacheConfig{Enabled: false, Metrics: false}),
server.WithClusterDispatchCacheConfig(server.CacheConfig{Enabled: false, Metrics: false}),
server.WithDatastore(ds),
// enable expiration support for relationships
server.WithEnableRelationshipExpiration(true),
}

return server.NewConfigWithOptionsAndDefaults(configOpts...).Complete(ctx)
Expand Down
Loading