Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–7 unchanged (7 lines)
8
9set -exuo pipefail
10
11dir="$(dirname $(dirname $(dirname $(dirname "${0}"))))"
12
13source "$dir/teamcity-support.sh" # For $root
14source "$dir/teamcity-bazel-support.sh" # For run_bazel
15
16BAZEL_SUPPORT_EXTRA_DOCKER_ARGS="-e LITERAL_ARTIFACTS_DIR=$root/artifacts -e BUILD_VCS_NUMBER -e CLOUD -e COCKROACH_DEV_LICENSE -e TESTS -e COUNT -e GITHUB_API_TOKEN -e GITHUB_ORG -e GITHUB_REPO -e GOOGLE_EPHEMERAL_CREDENTIALS -e SLACK_TOKEN -e TC_BUILDTYPE_ID -e TC_BUILD_BRANCH -e TC_BUILD_ID -e TC_SERVER_URL -e GRAFANA_SERVICE_ACCOUNT_JSON -e GRAFANA_SERVICE_ACCOUNT_AUDIENCE -e ARM_PROBABILITY -e USE_SPOT -e EXPORT_OPENMETRICS -e ROACHPERF_OPENMETRICS_CREDENTIALS -e DATADOG_ALWAYS_UPLOAD -e TEAMCITY_BUILD_PROPERTIES_FILE -e DD_API_KEY" \
17 run_bazel build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh
18

After

…lines 1–7 unchanged (7 lines)
8
9set -exuo pipefail
10
11dir="$(dirname $(dirname $(dirname $(dirname "${0}"))))"
12
13source "$dir/teamcity-support.sh" # For $root
14# All COCKROACH_* env vars are automatically captured and passed into the
15# Docker container by DOCKER_EXPORT_COCKROACH_VARS in teamcity-bazel-support.sh.
16# Any COCKROACH_* env vars you want captured must be set before this source.
17source "$dir/teamcity-bazel-support.sh" # For run_bazel
18
19BAZEL_SUPPORT_EXTRA_DOCKER_ARGS="-e LITERAL_ARTIFACTS_DIR=$root/artifacts -e BUILD_VCS_NUMBER -e CLOUD -e TESTS -e COUNT -e GITHUB_API_TOKEN -e GITHUB_ORG -e GITHUB_REPO -e GOOGLE_EPHEMERAL_CREDENTIALS -e SLACK_TOKEN -e TC_BUILDTYPE_ID -e TC_BUILD_BRANCH -e TC_BUILD_ID -e TC_SERVER_URL -e GRAFANA_SERVICE_ACCOUNT_JSON -e GRAFANA_SERVICE_ACCOUNT_AUDIENCE -e ARM_PROBABILITY -e USE_SPOT -e EXPORT_OPENMETRICS -e ROACHPERF_OPENMETRICS_CREDENTIALS -e DATADOG_ALWAYS_UPLOAD -e TEAMCITY_BUILD_PROPERTIES_FILE -e DD_API_KEY" \
20 run_bazel build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh
21

Before

program
comment "#!/usr/bin/env bash"
comment "# Copyright 2021 The Cockroach Authors."
comment "#"
comment "# Use of this software is governed by the CockroachDB Softwa"...
comment "# included in the /LICENSE file."
command
command_name
word "set"
word "-exuo"
word "pipefail"
variable_assignment (+37 nodes collapsed)
command
command_name
word "source"
string
" "\""
simple_expansion
$ "$"
variable_name "dir"
string_content "/teamcity-support.sh"
" "\""
comment "# For $root"
command
command_name
word "source"
string
" "\""
simple_expansion
$ "$"
variable_name "dir"
string_content "/teamcity-bazel-support.sh"
" "\""
comment "# For run_bazel"
command
variable_assignment
variable_name "BAZEL_SUPPORT_EXTRA_DOCKER_ARGS"
= "="
string
" "\""
string_content "-e LITERAL_ARTIFACTS_DIR="
simple_expansion
$ "$"
variable_name "root"
string_content "/artifacts -e BUILD_VCS_NUMBER -e CLOUD -e COCKROACH_DEV_LIC"...
" "\""
command_name
word "run_bazel"
word "build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh"

After

program
comment "#!/usr/bin/env bash"
comment "# Copyright 2021 The Cockroach Authors."
comment "#"
comment "# Use of this software is governed by the CockroachDB Softwa"...
comment "# included in the /LICENSE file."
command
command_name
word "set"
word "-exuo"
word "pipefail"
variable_assignment (+37 nodes collapsed)
command
command_name
word "source"
string
" "\""
simple_expansion
$ "$"
variable_name "dir"
string_content "/teamcity-support.sh"
" "\""
comment "# For $root"
comment "# All COCKROACH_* env vars are automatically captured and pa"...
comment "# Docker container by DOCKER_EXPORT_COCKROACH_VARS in teamci"...
comment "# Any COCKROACH_* env vars you want captured must be set bef"...
command
command_name
word "source"
string
" "\""
simple_expansion
$ "$"
variable_name "dir"
string_content "/teamcity-bazel-support.sh"
" "\""
comment "# For run_bazel"
command
variable_assignment
variable_name "BAZEL_SUPPORT_EXTRA_DOCKER_ARGS"
= "="
string
" "\""
string_content "-e LITERAL_ARTIFACTS_DIR="
simple_expansion
$ "$"
variable_name "root"
string_content "/artifacts -e BUILD_VCS_NUMBER -e CLOUD -e TESTS -e COUNT -e"...
" "\""
command_name
word "run_bazel"
word "build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh"