Skip to content

Commit 78c8fd5

Browse files
committed
Merge branch 'main' into feat/grpc-sync-addition
Signed-off-by: Simon Schrottner <[email protected]>
2 parents d77f75e + 80cff25 commit 78c8fd5

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ jobs:
9191
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
9292

9393
- name: Initialize CodeQL
94-
uses: github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3
94+
uses: github/codeql-action/init@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3
9595
with:
9696
languages: python
9797
config-file: ./.github/codeql-config.yml
9898

9999
- name: Perform CodeQL Analysis
100-
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3
100+
uses: github/codeql-action/analyze@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[submodule "providers/openfeature-provider-flagd/test-harness"]
66
path = providers/openfeature-provider-flagd/openfeature/test-harness
77
url = [email protected]:open-feature/flagd-testbed.git
8-
branch = v0.5.21
8+
branch = v2.2.0
99
[submodule "providers/openfeature-provider-flagd/spec"]
1010
path = providers/openfeature-provider-flagd/openfeature/spec
1111
url = https://github.com/open-feature/spec

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
default_stages: [commit]
22
repos:
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: v0.9.4
4+
rev: v0.9.5
55
hooks:
66
- id: ruff
77
args: [--fix]

providers/openfeature-provider-flagd/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The value is updated with every (re)connection to the sync implementation.
5353
This can be used to enrich evaluations with such data.
5454
If the `in-process` mode is not used, and before the provider is ready, the `getSyncMetadata` returns an empty map.
5555
-->
56-
#### Offline mode
56+
### File mode
5757

5858
In-process resolvers can also work in an offline mode.
5959
To enable this mode, you should provide a valid flag configuration file with the option `offlineFlagSourcePath`.
@@ -64,7 +64,7 @@ from openfeature.contrib.provider.flagd import FlagdProvider
6464
from openfeature.contrib.provider.flagd.config import ResolverType
6565

6666
api.set_provider(FlagdProvider(
67-
resolver_type=ResolverType.IN_PROCESS,
67+
resolver_type=ResolverType.FILE,
6868
offline_flag_source_path="my-flag.json",
6969
))
7070
```

providers/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd/resolvers/process/connector/grpc_watcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def listen(self) -> None:
178178
self.connected = True
179179

180180
if not self.active:
181-
logger.info("Terminating gRPC sync thread")
181+
logger.debug("Terminating gRPC sync thread")
182182
return
183183
except grpc.RpcError as e: # noqa: PERF203
184184
logger.error(f"SyncFlags stream error, {e.code()=} {e.details()=}")

0 commit comments

Comments
 (0)