Revision 3d84c988cd8325b8c0db91a9dccfa33f07cd3dc4 authored by iteriani on 18 April 2024, 22:26:45 UTC, committed by Alex Rickabaugh on 23 April 2024, 18:05:44 UTC
The change in the index is to allow the framework to add a type to the object that is passed from the contract to the dispatcher. ie

registerDispatcher(contract, (eventInfo: EventInfoWrapper) => ...).

The latter is to return the event contract so that tests can clean it up.

PR Close #55411
1 parent f84d7dd
Raw File
bazel-payload-size.sh
#!/usr/bin/env bash

set -eu -o pipefail

# Source optional CI environment variables which are sandboxed out
# of the environment when running integration tests under Bazel
readonly bazelVarEnv="/tmp/bazel-ci-env.sh"
if [[ -f "$bazelVarEnv" ]]; then
  source $bazelVarEnv
fi

# If running locally, at a minimum set PROJECT_ROOT
if [[ -z "${PROJECT_ROOT:-}" ]]; then
  PROJECT_ROOT=$(cd $(dirname $0)/../..; pwd)
fi

# Bazel payload size tracking should always be treated as if this runs as part of
# a pull request. i.e. the results are not uploaded. This is necessary as Bazel test
# targets do not necessarily run for every commit, and cached results might originate
# from RBE-built pull requests. We will overhaut size-tracking anyway..
export CI_PULL_REQUEST="true"

source ${PROJECT_ROOT}/scripts/ci/payload-size.sh
trackPayloadSize "$@"
back to top