Skip to content

Commit

Permalink
Release 3.0.0 (2023-12-14)
Browse files Browse the repository at this point in the history
### ⚠ 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
  • Loading branch information
mihnjong-l committed Dec 18, 2023
1 parent 06bf6ed commit b222e35
Show file tree
Hide file tree
Showing 113 changed files with 2,274 additions and 1,214 deletions.
3 changes: 2 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ build:clang --client_env=CC=clang
build:clang --cxxopt=-std=c++17
build:clang --host_cxxopt=-std=c++17
build:clang --client_env=BAZEL_CXXOPTS=-std=c++17
build:clang --linkopt=-rdynamic
#disable the "int conversion" warning for external/nitrokmscli_aws_c_http/source/websocket_decoder.c
build:clang --per_file_copt=external/nitrokmscli_.*\.c@-Wno-int-conversion

test --test_verbose_timeout_warnings

Expand Down
6 changes: 6 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,9 @@ config_setting(
},
visibility = ["//visibility:public"],
)

filegroup(
name = "version_data",
srcs = ["version.txt"],
visibility = ["//services/common/telemetry:__pkg__"],
)
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,40 @@

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.

## 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

## 2.8.0 (2023-12-07)


Expand Down
8 changes: 4 additions & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ python_deps("//builders/bazel")

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

Expand Down
26 changes: 26 additions & 0 deletions builders/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,32 @@

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.

## 0.52.0 (2023-12-02)


### Features

* add python3.9 dev to bazel-debian

## 0.51.0 (2023-11-30)


### Bug Fixes

* Clean go build cache at the end of image build script


### Dependencies

* **deps:** Upgrade bazelisk to 1.19.0

## 0.50.0 (2023-11-06)


### Features

* Add openssh-client to build-debian image

## 0.49.1 (2023-10-30)


Expand Down
6 changes: 6 additions & 0 deletions builders/images/build-amazonlinux2/install_apps
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ function install_clang() {
clang --version
}

function cleanup() {
cd /
go clean -cache
}

if [[ ${VERBOSE} -eq 1 ]]; then
printf "=== SHELL ENVIRONMENT ===\n"
env
Expand All @@ -99,3 +104,4 @@ install_golang "${BUILD_ARCH}"
install_gcc
install_packer
install_python
cleanup
6 changes: 6 additions & 0 deletions builders/images/build-amazonlinux2023/install_apps
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ function install_clang() {
clang --version
}

function cleanup() {
cd /
go clean -cache
}

if [[ ${VERBOSE} -eq 1 ]]; then
printf "=== SHELL ENVIRONMENT ===\n"
env
Expand All @@ -98,3 +103,4 @@ install_clang
install_golang "${BUILD_ARCH}"
install_gcc
install_packer
cleanup
11 changes: 7 additions & 4 deletions builders/images/build-debian/install_apps
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function apt_update() {

function install_python() {
DEBIAN_FRONTEND=noninteractive apt-get --quiet install -y --no-install-recommends \
python3.9-venv="3.9.*"
python3.9-venv="3.9.*" python3.9-dev
mkdir -p /opt/bin
update-alternatives \
--force \
Expand All @@ -70,12 +70,13 @@ function install_misc() {
chrpath="0.16-*" \
libcurl4="7.68.*" \
curl="7.68.*" \
file="1:5*" \
file="1:5.*" \
gettext="0.19.*" \
git="1:2.25.*" \
gnupg="2.2.*" \
locales="2.31-*" \
lsb-release="11.1.*" \
openssh-client="1:8.2*" \
patch="2.7.*" \
rename="1.10-*" \
software-properties-common="0.99.*" \
Expand Down Expand Up @@ -121,11 +122,13 @@ function install_docker() {
apt-get --quiet install -y --no-install-recommends docker-ce docker-ce-cli containerd.io
}

function clean_debian() {
function cleanup() {
apt-get --quiet autoremove -y
apt-get autoclean
apt-get clean
rm -rf /var/lib/apt/lists
cd /
go clean -cache
}

if [[ ${VERBOSE} -eq 1 ]]; then
Expand All @@ -139,4 +142,4 @@ install_clang
install_golang "${BUILD_ARCH}"
install_docker "${BUILD_ARCH}"
install_python # should run after other install_*
clean_debian
cleanup
2 changes: 1 addition & 1 deletion builders/images/install_golang_apps
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ while [[ $# -gt 0 ]]; do
done

function install_bazelisk() {
go install github.com/bazelbuild/bazelisk@v1.13.2
go install github.com/bazelbuild/bazelisk@v1.19.0
BAZELISK="$(go env GOPATH)"/bin/bazelisk
if [[ -n ${BAZEL_PATH} ]] && [[ -d ${BAZEL_PATH} ]]; then
ln -s "${BAZELISK}" "${BAZEL_PATH}"/bazel
Expand Down
11 changes: 5 additions & 6 deletions builders/images/presubmit/install_apps
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ while [[ $# -gt 0 ]]; do
set -o xtrace
shift
;;
-h | --help)
usage 0
break
;;
-h | --help) usage 0 ;;
*) usage 0 ;;
esac
done
Expand Down Expand Up @@ -102,11 +99,13 @@ function install_precommit() {
rm -rf "${GIT_REPO}"
}

function clean_debian() {
function cleanup() {
apt-get --quiet autoremove -y
apt-get autoclean
apt-get clean
rm -rf /var/lib/apt/lists
cd /
go clean -cache
}

if [[ ${VERBOSE} -eq 1 ]]; then
Expand All @@ -126,4 +125,4 @@ install_packages
install_golang "${ARCH}"
install_docker
install_precommit
clean_debian
cleanup
2 changes: 1 addition & 1 deletion builders/tests/data/hashes/build-amazonlinux2
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1feb61b0cf40e2797fc6a3425c3e50ce928ca194f3338d9a7155e51a4917312a
b35ee4e2b6210bc66e97083805642945433b0ef648a9d297a2a4ccdfb518413f
2 changes: 1 addition & 1 deletion builders/tests/data/hashes/build-amazonlinux2023
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a1c165d019f546e1fcad06506da3b274094b61a9add5576bf3fed6e5a45fb8d4
7501f9f920a794ba6fa7c6cabb17d076ed3db0faf3fe5393e2904ce71978dec5
2 changes: 1 addition & 1 deletion builders/tests/data/hashes/build-debian
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a10495fe1e23472aea6770b0c9760e1cdfc011a4883ff5fb3d488774e6995ae6
5d35b75b008dc13b64cfdd3e9f49ff8b77a6fb8f7851d653b17c078214299c08
2 changes: 1 addition & 1 deletion builders/tests/data/hashes/presubmit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
40b437991cd3ec239fc0d0eef162005dc62784def9c40548f3ea235d99c2e5a0
79f2509c74607ab33bc5fe3f425f61ddf89e2f75efc299b1a5a7a3039367c90e
2 changes: 1 addition & 1 deletion builders/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.49.1
0.52.0
Loading

0 comments on commit b222e35

Please sign in to comment.