Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Commit b222e35

Browse files
committed
Release 3.0.0 (2023-12-14)
### ⚠ BREAKING CHANGES * turn on metric noise (a minimum of 5 QPS is recommended for noised metric) * require consented token min length 6 ### Features * Add metric attribute for B&A release version * Add metric attribute for operator name * Add perf-test-helpers library * add sfe metric for request with win ad * **component auction:** Adds test for component auction support in secure invoke * **dep:** Update build-system to release-0.52.0 * Import perfgate exporter and uploader tars * require consented token min length 6 * turn on metric noise (a minimum of 5 QPS is recommended for noised metric) * Update perf environment to use custom Otel Collector * Use hardcoded adtech code and kv mock from e2e-testing env in perf env ### Bug Fixes * Auction service parses adMetadata object * Consider non-positive desirability ads as rejected * Fixes broken test * Log JS errors conditionally * Make the error message compatible with deterministic CBOR * minimize secure_invoke reliance on default arguments * Remove rejected ads from consideration in scoring * Update B&A to integrate RomaService Changes Bug: N/A GitOrigin-RevId: 4a7348359f42f69995c783d46466647ef352e2de Change-Id: Iebc8e54c385cb3176d17120aab785a638f5a135a
1 parent 06bf6ed commit b222e35

113 files changed

Lines changed: 2274 additions & 1214 deletions

File tree

Some content is hidden

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

.bazelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ build:clang --client_env=CC=clang
1818
build:clang --cxxopt=-std=c++17
1919
build:clang --host_cxxopt=-std=c++17
2020
build:clang --client_env=BAZEL_CXXOPTS=-std=c++17
21-
build:clang --linkopt=-rdynamic
21+
#disable the "int conversion" warning for external/nitrokmscli_aws_c_http/source/websocket_decoder.c
22+
build:clang --per_file_copt=external/nitrokmscli_.*\.c@-Wno-int-conversion
2223

2324
test --test_verbose_timeout_warnings
2425

BUILD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,9 @@ config_setting(
150150
},
151151
visibility = ["//visibility:public"],
152152
)
153+
154+
filegroup(
155+
name = "version_data",
156+
srcs = ["version.txt"],
157+
visibility = ["//services/common/telemetry:__pkg__"],
158+
)

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,40 @@
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+
## 3.0.0 (2023-12-14)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* turn on metric noise (a minimum of 5 QPS is recommended for noised metric)
11+
* require consented token min length 6
12+
13+
### Features
14+
15+
* Add metric attribute for B&A release version
16+
* Add metric attribute for operator name
17+
* Add perf-test-helpers library
18+
* add sfe metric for request with win ad
19+
* **component auction:** Adds test for component auction support in secure invoke
20+
* **dep:** Update build-system to release-0.52.0
21+
* Import perfgate exporter and uploader tars
22+
* require consented token min length 6
23+
* turn on metric noise (a minimum of 5 QPS is recommended for noised metric)
24+
* Update perf environment to use custom Otel Collector
25+
* Use hardcoded adtech code and kv mock from e2e-testing env in perf env
26+
27+
28+
### Bug Fixes
29+
30+
* Auction service parses adMetadata object
31+
* Consider non-positive desirability ads as rejected
32+
* Fixes broken test
33+
* Log JS errors conditionally
34+
* Make the error message compatible with deterministic CBOR
35+
* minimize secure_invoke reliance on default arguments
36+
* Remove rejected ads from consideration in scoring
37+
* Update B&A to integrate RomaService Changes
38+
539
## 2.8.0 (2023-12-07)
640

741

WORKSPACE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ python_deps("//builders/bazel")
77

88
http_archive(
99
name = "google_privacysandbox_servers_common",
10-
# commit 5adea70 2023-11-27
11-
sha256 = "307527d32534b2b77a70eff78ce405bcc749a31b90e4fbe4ca867634bcd6b2ca",
12-
strip_prefix = "data-plane-shared-libraries-5adea7007167fc0bbff27f58217530e9f84ba333",
10+
# commit 2023-12-13
11+
sha256 = "c45a8a7a714b5fc1f4e31a7fe6691eeee5817f91d29f786affc37fbeafc6e13d",
12+
strip_prefix = "data-plane-shared-libraries-578c988ad077fa46056335fd07d316c26f452285",
1313
urls = [
14-
"https://github.com/privacysandbox/data-plane-shared-libraries/archive/5adea7007167fc0bbff27f58217530e9f84ba333.zip",
14+
"https://github.com/privacysandbox/data-plane-shared-libraries/archive/578c988ad077fa46056335fd07d316c26f452285.zip",
1515
],
1616
)
1717

builders/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
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.52.0 (2023-12-02)
6+
7+
8+
### Features
9+
10+
* add python3.9 dev to bazel-debian
11+
12+
## 0.51.0 (2023-11-30)
13+
14+
15+
### Bug Fixes
16+
17+
* Clean go build cache at the end of image build script
18+
19+
20+
### Dependencies
21+
22+
* **deps:** Upgrade bazelisk to 1.19.0
23+
24+
## 0.50.0 (2023-11-06)
25+
26+
27+
### Features
28+
29+
* Add openssh-client to build-debian image
30+
531
## 0.49.1 (2023-10-30)
632

733

builders/images/build-amazonlinux2/install_apps

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ function install_clang() {
8686
clang --version
8787
}
8888

89+
function cleanup() {
90+
cd /
91+
go clean -cache
92+
}
93+
8994
if [[ ${VERBOSE} -eq 1 ]]; then
9095
printf "=== SHELL ENVIRONMENT ===\n"
9196
env
@@ -99,3 +104,4 @@ install_golang "${BUILD_ARCH}"
99104
install_gcc
100105
install_packer
101106
install_python
107+
cleanup

builders/images/build-amazonlinux2023/install_apps

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ function install_clang() {
8585
clang --version
8686
}
8787

88+
function cleanup() {
89+
cd /
90+
go clean -cache
91+
}
92+
8893
if [[ ${VERBOSE} -eq 1 ]]; then
8994
printf "=== SHELL ENVIRONMENT ===\n"
9095
env
@@ -98,3 +103,4 @@ install_clang
98103
install_golang "${BUILD_ARCH}"
99104
install_gcc
100105
install_packer
106+
cleanup

builders/images/build-debian/install_apps

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function apt_update() {
4545

4646
function install_python() {
4747
DEBIAN_FRONTEND=noninteractive apt-get --quiet install -y --no-install-recommends \
48-
python3.9-venv="3.9.*"
48+
python3.9-venv="3.9.*" python3.9-dev
4949
mkdir -p /opt/bin
5050
update-alternatives \
5151
--force \
@@ -70,12 +70,13 @@ function install_misc() {
7070
chrpath="0.16-*" \
7171
libcurl4="7.68.*" \
7272
curl="7.68.*" \
73-
file="1:5*" \
73+
file="1:5.*" \
7474
gettext="0.19.*" \
7575
git="1:2.25.*" \
7676
gnupg="2.2.*" \
7777
locales="2.31-*" \
7878
lsb-release="11.1.*" \
79+
openssh-client="1:8.2*" \
7980
patch="2.7.*" \
8081
rename="1.10-*" \
8182
software-properties-common="0.99.*" \
@@ -121,11 +122,13 @@ function install_docker() {
121122
apt-get --quiet install -y --no-install-recommends docker-ce docker-ce-cli containerd.io
122123
}
123124

124-
function clean_debian() {
125+
function cleanup() {
125126
apt-get --quiet autoremove -y
126127
apt-get autoclean
127128
apt-get clean
128129
rm -rf /var/lib/apt/lists
130+
cd /
131+
go clean -cache
129132
}
130133

131134
if [[ ${VERBOSE} -eq 1 ]]; then
@@ -139,4 +142,4 @@ install_clang
139142
install_golang "${BUILD_ARCH}"
140143
install_docker "${BUILD_ARCH}"
141144
install_python # should run after other install_*
142-
clean_debian
145+
cleanup

builders/images/install_golang_apps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ while [[ $# -gt 0 ]]; do
3131
done
3232

3333
function install_bazelisk() {
34-
go install github.com/bazelbuild/bazelisk@v1.13.2
34+
go install github.com/bazelbuild/bazelisk@v1.19.0
3535
BAZELISK="$(go env GOPATH)"/bin/bazelisk
3636
if [[ -n ${BAZEL_PATH} ]] && [[ -d ${BAZEL_PATH} ]]; then
3737
ln -s "${BAZELISK}" "${BAZEL_PATH}"/bazel

builders/images/presubmit/install_apps

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ while [[ $# -gt 0 ]]; do
3737
set -o xtrace
3838
shift
3939
;;
40-
-h | --help)
41-
usage 0
42-
break
43-
;;
40+
-h | --help) usage 0 ;;
4441
*) usage 0 ;;
4542
esac
4643
done
@@ -102,11 +99,13 @@ function install_precommit() {
10299
rm -rf "${GIT_REPO}"
103100
}
104101

105-
function clean_debian() {
102+
function cleanup() {
106103
apt-get --quiet autoremove -y
107104
apt-get autoclean
108105
apt-get clean
109106
rm -rf /var/lib/apt/lists
107+
cd /
108+
go clean -cache
110109
}
111110

112111
if [[ ${VERBOSE} -eq 1 ]]; then
@@ -126,4 +125,4 @@ install_packages
126125
install_golang "${ARCH}"
127126
install_docker
128127
install_precommit
129-
clean_debian
128+
cleanup

0 commit comments

Comments
 (0)