-
Notifications
You must be signed in to change notification settings - Fork 270
Closed
Labels
Description
We tried upgrading from 2.1.0 -> 2.3.0 but had to rollback after seeing lots of these errors in the logs:
{"L":"INFO","T":"2025-10-28T22:08:48Z","M":"finished streaming call with code NotFound","server":"grpc","grpc.start_time":"2025-10-28T22:08:48Z","system":"grpc","span.kind":"server","grpc.service":"evaluation.ClientEvaluationService","grpc.method":"EvaluationSnapshotNamespaceStream","peer.address":"0","error":"rpc error: code = NotFound desc = environment: \"default\" not found","grpc.code":"NotFound","grpc.time_ms":0.436}
{"L":"DEBUG","T":"2025-10-28T22:08:48Z","M":"skipping authentication for server","server":"grpc","method":"/evaluation.ClientEvaluationService/EvaluationSnapshotNamespaceStream"}
I think previously it'd default to the default environment, in our case this was "dev" environment:
environments:
dev:
name: dev
directory: dev
default: true # <- mark dev as default environment
storage: github-flipt-statebut now it seems to be defaulting to a environment that doesn't exist (named "default")
Possible issue / solution
I wonder if it's caused by this change: 4d02b95
Since it's no longer using GetFromContext, it no longer applies the correct defaulting logic?
I noticed that EvaluationSnapshotNamespace falls back to GetFromContext:
Perhaps EvaluationSnapshotNamespaceStream also needs to do that fallback?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done