Skip to content

Commit d65103e

Browse files
lusayaaPrivacy Sandbox Team
and
Privacy Sandbox Team
authored
Release 0.9.0 (2023-04-10) (privacysandbox#36) (privacysandbox#37)
### Features * Add a total realtime QPS metric * Add aws supplied e2e latency * Add basic UDF functional tests for v2 * Add error counters for realtime updates * Add functional test stubs for v2 * Add target to generate delta for sample udf.js * Add test data artifacts to dist/test_data/deltas * Add UDF delta file generator tool. * Add UDF delta file upload through terraform config. * Add udf.js delta file to test set * Upgrade to build-system 0.22.0 and functionaltest-system 0.2.0 ### Bug Fixes * Add a dashboard for environments * Add documentation for editing dashboards * Change envoy log level to debug * Check that recovery function is valid before calling it. * Enable docker network cleanup * Ensure changelog notes use specific version * ignore interestGroupNames argument * MetricsRecorder no longer a singleton. * MetricsRecorder now optional for retry templates. * Return missing key error status from internal lookup server. * Upgrade gRPC and make lookup client a singleton * Use dynamic_cast to get metric_sdk::MeterProvider provider. ### Terraform * Add us-west-1 terraform ### Documentation * Add documentation on roma child processes. * Add instructions on realtime updates * Add note to use grpcurl for v2 since http has a bug. * Add v2 request JSON schema * AWS realtime update capabilities * Correct udf target name * Update documentation for building data cli. * Update realtime metrics querying docs Bug: 277075104 Change-Id: Ia95b7ff8f41f9d43ffe0f490b605ca31ed4073b8 GitOrigin-RevId: 755a69bbf847c152f2e3e4ddf0f42e6410884144 Co-authored-by: Privacy Sandbox Team <[email protected]>
1 parent 7f3710b commit d65103e

File tree

218 files changed

+6468
-906
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

218 files changed

+6468
-906
lines changed

.bazelignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
bazel-kv-server
2+
tools/wasm_example/

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ build --copt=-fno-exceptions
1010
# Grant exceptions to some dependencies so they can use exceptions
1111
build --per_file_copt=.*boost.*@-fexceptions
1212
build --per_file_copt=.*cc/aws/proxy.*@-fexceptions
13+
build --per_file_copt=.*cc/roma.*@-fexceptions
14+
build --per_file_copt=.*oneTBB.*@-fexceptions
1315

1416
build -c opt
1517
build --output_filter='^//((?!(third_party):).)*$'`
1618
build --color=yes
1719
build --@io_bazel_rules_docker//transitions:enable=false
1820
build --workspace_status_command="bash tools/get_workspace_status"
21+
build --copt=-Werror=thread-safety-analysis
1922

2023
test --test_output=errors
2124
# Disable ICU linking for googleurl.

.pre-commit-config.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ repos:
4141
- id: check-vcs-permalinks
4242
- id: check-executables-have-shebangs
4343
- id: detect-private-key
44-
- id: pretty-format-json
45-
args: ['--autofix']
46-
exclude: '^testing/functionaltest/test_cases/.*$'
4744

4845
- repo: https://github.com/jumanjihouse/pre-commit-hooks
4946
rev: 3.0.0
@@ -72,7 +69,7 @@ repos:
7269
- github.com/google/[email protected]
7370
always_run: false
7471
pass_filenames: true
75-
entry: addlicense -v
72+
entry: addlicense -v -ignore google_internal/third_party/**
7673
types_or:
7774
- text
7875

@@ -83,7 +80,7 @@ repos:
8380
- github.com/google/[email protected]
8481
always_run: false
8582
pass_filenames: true
86-
entry: addlicense -check
83+
entry: addlicense -check -ignore google_internal/third_party/**
8784
types_or:
8885
- text
8986

@@ -100,9 +97,10 @@ repos:
10097
rev: v2.7.1
10198
hooks:
10299
- id: prettier
103-
name: prettier markdown
104100
types_or:
105101
- markdown
102+
- json
103+
exclude: '^testing/functionaltest/test_cases/.*$'
106104

107105
- repo: https://github.com/DavidAnson/markdownlint-cli2
108106
rev: v0.6.0

CHANGELOG.md

Lines changed: 57 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,57 @@
22

33
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
44

5-
## [0.8.0](https://github.com/privacysandbox/fledge-key-value-service/compare/release-0.7.0...release-0.8.0) (2023-03-28)
5+
## Release 0.9.0 (2023-04-10)
6+
7+
8+
### Features
9+
10+
* Add a total realtime QPS metric
11+
* Add aws supplied e2e latency
12+
* Add basic UDF functional tests for v2
13+
* Add error counters for realtime updates
14+
* Add functional test stubs for v2
15+
* Add target to generate delta for sample udf.js
16+
* Add test data artifacts to dist/test_data/deltas
17+
* Add UDF delta file generator tool.
18+
* Add UDF delta file upload through terraform config.
19+
* Add udf.js delta file to test set
20+
* Upgrade to build-system 0.22.0 and functionaltest-system 0.2.0
21+
22+
23+
### Bug Fixes
24+
25+
* Add a dashboard for environments
26+
* Add documentation for editing dashboards
27+
* Change envoy log level to debug
28+
* Check that recovery function is valid before calling it.
29+
* Enable docker network cleanup
30+
* Ensure changelog notes use specific version
31+
* ignore interestGroupNames argument
32+
* MetricsRecorder no longer a singleton.
33+
* MetricsRecorder now optional for retry templates.
34+
* Return missing key error status from internal lookup server.
35+
* Upgrade gRPC and make lookup client a singleton
36+
* Use dynamic_cast to get metric_sdk::MeterProvider provider.
37+
38+
39+
### Terraform
40+
41+
* Add us-west-1 terraform
42+
43+
44+
### Documentation
45+
46+
* Add documentation on roma child processes.
47+
* Add instructions on realtime updates
48+
* Add note to use grpcurl for v2 since http has a bug.
49+
* Add v2 request JSON schema
50+
* AWS realtime update capabilities
51+
* Correct udf target name
52+
* Update documentation for building data cli.
53+
* Update realtime metrics querying docs
54+
55+
## Release 0.8.0 (2023-03-28)
656

757

858
### Features
@@ -72,7 +122,7 @@ All notable changes to this project will be documented in this file. See [commit
72122
* Convert tfvar files to json
73123
* Support Prometheus service running in a different region
74124

75-
## [0.7.0](https://github.com/privacysandbox/fledge-key-value-service/compare/release-0.6.0...release-0.7.0) (2023-02-16)
125+
## Release 0.7.0 (2023-02-16)
76126

77127

78128
### Features
@@ -134,7 +184,7 @@ All notable changes to this project will be documented in this file. See [commit
134184

135185
* Add docs for data loading library.
136186

137-
## [0.6.0](https://github.com/privacysandbox/fledge-key-value-service/compare/release-0.5.0...release-0.6.0) (2023-01-10)
187+
## Release 0.6.0 (2023-01-10)
138188

139189

140190
### Features
@@ -182,7 +232,7 @@ All notable changes to this project will be documented in this file. See [commit
182232
* Correct command to run server locally
183233
* Update ECR format and improve the AWS doc order
184234

185-
## [0.5.0](https://github.com/privacysandbox/fledge-key-value-service/compare/release-0.4.0...release-0.5.0) (2022-11-28)
235+
## Release 0.5.0 (2022-11-28)
186236

187237

188238
### Features
@@ -257,7 +307,7 @@ All notable changes to this project will be documented in this file. See [commit
257307
* recommend the use of native AWS CLI in documentation
258308
* Remove an unnecessary step in server doc
259309

260-
## [0.4.0](https://github.com/privacysandbox/fledge-key-value-service/compare/release-0.3.0...release-0.4.0) (2022-10-11)
310+
## Release 0.4.0 (2022-10-11)
261311

262312

263313
### Features
@@ -333,7 +383,7 @@ All notable changes to this project will be documented in this file. See [commit
333383
* Sugggest use of python virtualenv
334384
* Use concise form of passing env vars into docker container
335385

336-
## [0.3.0](https://github.com/privacysandbox/fledge-key-value-service/compare/release-0.2.0...release-0.3.0) (2022-09-14)
386+
## Release 0.3.0 (2022-09-14)
337387

338388

339389
### Features
@@ -352,7 +402,7 @@ All notable changes to this project will be documented in this file. See [commit
352402
* Invoke bash via /usr/bin/env
353403
* Propagate SKIP env var into pre-commit container
354404

355-
## [0.2.0](https://github.com/privacysandbox/fledge-key-value-service/compare/release-0.1.0...release-0.2.0) (2022-09-07)
405+
## Release 0.2.0 (2022-09-07)
356406

357407

358408
### Features

WORKSPACE

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ go_rules_dependencies()
6161

6262
### go_register_toolchains will be called by grpc_extra_deps
6363
# go_register_toolchains(go_version = "1.18")
64-
6564
### gRPC
6665
http_archive(
6766
name = "com_github_grpc_grpc",
@@ -144,6 +143,10 @@ load("//third_party:scp_deps.bzl", "scp_deps")
144143

145144
scp_deps()
146145

146+
load("@v8_python_deps//:requirements.bzl", install_v8_python_deps = "install_deps")
147+
148+
install_v8_python_deps()
149+
147150
load("//third_party:quiche.bzl", "quiche_dependencies")
148151

149152
quiche_dependencies()
@@ -157,6 +160,31 @@ load("//third_party:open_telemetry.bzl", "open_telemetry_dependencies")
157160

158161
open_telemetry_dependencies()
159162

163+
# emscripten
164+
165+
http_archive(
166+
name = "emsdk",
167+
sha256 = "d55e3c73fc4f8d1fecb7aabe548de86bdb55080fe6b12ce593d63b8bade54567",
168+
strip_prefix = "emsdk-3891e7b04bf8cbb3bc62758e9c575ae096a9a518/bazel",
169+
url = "https://github.com/emscripten-core/emsdk/archive/3891e7b04bf8cbb3bc62758e9c575ae096a9a518.tar.gz",
170+
)
171+
172+
load("@emsdk//:deps.bzl", emsdk_deps = "deps")
173+
174+
emsdk_deps()
175+
176+
load("@emsdk//:emscripten_deps.bzl", emsdk_emscripten_deps = "emscripten_deps")
177+
178+
emsdk_emscripten_deps(emscripten_version = "2.0.31")
179+
180+
# googleapis
181+
http_archive(
182+
name = "com_google_googleapis", # master branch from 26.04.2022
183+
sha256 = "3cbe0fcdad3ad7b2fdc58b0f297190c1e05b47b7c10fd14e3364501baa14177e",
184+
strip_prefix = "googleapis-f91b6cf82e929280f6562f6110957c654bd9e2e6",
185+
urls = ["https://github.com/googleapis/googleapis/archive/f91b6cf82e929280f6562f6110957c654bd9e2e6.tar.gz"],
186+
)
187+
160188
load("@io_opentelemetry_cpp//bazel:repository.bzl", "opentelemetry_cpp_deps")
161189

162190
opentelemetry_cpp_deps()

0 commit comments

Comments
 (0)