Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
blathers-crl[bot] authored Nov 15, 2024
1 parent 3444226 commit c90f979
Show file tree
Hide file tree
Showing 4,370 changed files with 140,041 additions and 302,769 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
12 changes: 7 additions & 5 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,18 @@ build --flag_alias=cross=//build/toolchains:cross_flag
build --flag_alias=dev=//build/toolchains:dev_flag
build --flag_alias=force_build_cdeps=//build/toolchains:force_build_cdeps_flag
build --flag_alias=heavy=//build/toolchains:heavy_flag
build --flag_alias=lintonbuild=//build/toolchains:nogo_flag
build --flag_alias=nolintonbuild=//build/toolchains:nonogo_explicit_flag

build:crdb_test_off --crdb_test_off
build:cross --cross
build:dev --dev
build:force_build_cdeps --force_build_cdeps
build:heavy --heavy
build:lintonbuild --run_validations
build:nolintonbuild --norun_validations
build:lintonbuild --lintonbuild
build:nolintonbuild --nolintonbuild
# Note: nonogo is classically the name of the nolintonbuild configuration.
build:nonogo --config nolintonbuild
build:nonogo --nolintonbuild
build:test --crdb_test

# Basic settings.
Expand Down Expand Up @@ -63,7 +65,7 @@ test:race --heavy
# CI uses a custom timeout for enormous targets.
test:use_ci_timeouts --test_timeout=60,300,900,900
# CI should always run with `--config=ci`.
build:cibase --config=lintonbuild
build:cibase --lintonbuild
# Set `-test.v` in Go tests.
# Ref: https://github.com/bazelbuild/rules_go/pull/2456
test:cibase --test_env=GO_TEST_WRAP_TESTV=1
Expand All @@ -89,7 +91,7 @@ build:crosslinuxfips '--workspace_status_command=./build/bazelutil/stamp.sh x86_
build:crosslinuxfips --config=crosslinuxfipsbase
build:crosslinuxfipsbase --platforms=//build/toolchains:cross_linux
build:crosslinuxfipsbase --config=cross
build:crosslinuxfipsbase --@io_bazel_rules_go//go/toolchain:sdk_version=1.22.8fips
build:crosslinuxfipsbase --@io_bazel_rules_go//go/toolchain:sdk_version=1.22.5fips
build:crosswindows '--workspace_status_command=./build/bazelutil/stamp.sh x86_64-w64-mingw32'
build:crosswindows --config=crosswindowsbase
build:crosswindowsbase --platforms=//build/toolchains:cross_windows
Expand Down
74 changes: 36 additions & 38 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,10 @@
/pkg/sql/importer/ @cockroachdb/sql-queries-prs
/pkg/ccl/importerccl/ @cockroachdb/sql-queries-prs

/pkg/sql/appstatspb @cockroachdb/obs-prs
/pkg/sql/execstats/ @cockroachdb/obs-prs
/pkg/sql/scheduledlogging/ @cockroachdb/obs-prs
/pkg/sql/sqlstats/ @cockroachdb/obs-prs
/pkg/sql/tablemetadatacache/ @cockroachdb/obs-prs
/pkg/sql/appstatspb @cockroachdb/obs-prs
/pkg/sql/execstats/ @cockroachdb/obs-prs
/pkg/sql/scheduledlogging/ @cockroachdb/obs-prs
/pkg/sql/sqlstats/ @cockroachdb/obs-prs
/pkg/ccl/testccl/sqlstatsccl/ @cockroachdb/obs-prs

/pkg/sql/sem/tree/ @cockroachdb/sql-syntax-prs
Expand All @@ -92,7 +91,7 @@

/pkg/sql/crdb_internal.go @cockroachdb/sql-foundations
/pkg/sql/pg_catalog.go @cockroachdb/sql-foundations
/pkg/sql/pgwire/ @cockroachdb/sql-foundations @cockroachdb/server-prs @cockroachdb/product-security
/pkg/sql/pgwire/ @cockroachdb/sql-foundations @cockroachdb/server-prs
/pkg/sql/pgwire/auth.go @cockroachdb/sql-foundations @cockroachdb/server-prs @cockroachdb/prodsec
/pkg/sql/sem/builtins/ @cockroachdb/sql-foundations
/pkg/sql/vtable/ @cockroachdb/sql-foundations
Expand Down Expand Up @@ -131,8 +130,8 @@
# functionality into sub-packages assigned to their respective teams.
#
#!/pkg/cli/ @cockroachdb/unowned
/pkg/cli/auth.go @cockroachdb/prodsec @cockroachdb/cli-prs @cockroachdb/product-security
/pkg/cli/cert*.go @cockroachdb/prodsec @cockroachdb/cli-prs @cockroachdb/product-security
/pkg/cli/auth.go @cockroachdb/prodsec @cockroachdb/cli-prs
/pkg/cli/cert*.go @cockroachdb/prodsec @cockroachdb/cli-prs
/pkg/cli/cli.go @cockroachdb/cli-prs
/pkg/cli/cli_debug*.go @cockroachdb/kv-prs @cockroachdb/cli-prs
/pkg/cli/cli_test.go @cockroachdb/cli-prs
Expand All @@ -146,19 +145,19 @@
/pkg/cli/convert_url* @cockroachdb/sql-foundations @cockroachdb/cli-prs
/pkg/cli/debug*.go @cockroachdb/kv-prs @cockroachdb/cli-prs
/pkg/cli/debug_job_trace*.go @cockroachdb/jobs-prs @cockroachdb/disaster-recovery
/pkg/cli/debug_logconfig.go @cockroachdb/obs-prs @cockroachdb/cli-prs @cockroachdb/obs-india-prs
/pkg/cli/debug_merge_logs*.go @cockroachdb/obs-prs @cockroachdb/cli-prs @cockroachdb/obs-india-prs
/pkg/cli/debug_logconfig.go @cockroachdb/obs-prs @cockroachdb/cli-prs
/pkg/cli/debug_merg_logs*.go @cockroachdb/obs-prs @cockroachdb/cli-prs
/pkg/cli/declarative_* @cockroachdb/sql-foundations
/pkg/cli/decode*.go @cockroachdb/kv-prs @cockroachdb/cli-prs
/pkg/cli/demo*.go @cockroachdb/sql-foundations @cockroachdb/server-prs @cockroachdb/cli-prs
/pkg/cli/democluster/ @cockroachdb/sql-foundations @cockroachdb/server-prs @cockroachdb/cli-prs
/pkg/cli/doctor*.go @cockroachdb/sql-foundations @cockroachdb/cli-prs
/pkg/cli/flags*.go @cockroachdb/cli-prs
/pkg/cli/import*.go @cockroachdb/sql-foundations @cockroachdb/cli-prs
/pkg/cli/inflight_trace_dump/ @cockroachdb/obs-prs @cockroachdb/cli-prs @cockroachdb/obs-india-prs
/pkg/cli/inflight_trace_dump/ @cockroachdb/obs-prs @cockroachdb/cli-prs
/pkg/cli/init.go @cockroachdb/kv-prs @cockroachdb/cli-prs
/pkg/cli/log*.go @cockroachdb/obs-prs @cockroachdb/cli-prs @cockroachdb/obs-india-prs
/pkg/cli/mt_cert* @cockroachdb/prodsec @cockroachdb/product-security
/pkg/cli/log*.go @cockroachdb/obs-prs @cockroachdb/cli-prs
/pkg/cli/mt_cert* @cockroachdb/prodsec
/pkg/cli/mt_proxy.go @cockroachdb/sqlproxy-prs @cockroachdb/server-prs
/pkg/cli/mt_start_sql.go @cockroachdb/sqlproxy-prs @cockroachdb/server-prs
/pkg/cli/mt_test_directory.go @cockroachdb/sqlproxy-prs @cockroachdb/server-prs
Expand All @@ -170,10 +169,10 @@
/pkg/cli/syncbench/ @cockroachdb/storage @cockroachdb/kv-prs
/pkg/cli/swappable_fs* @cockroachdb/storage
/pkg/cli/testutils.go @cockroachdb/test-eng
/pkg/cli/tsdump*.go @cockroachdb/obs-prs @cockroachdb/obs-india-prs
/pkg/cli/tsdump.go @cockroachdb/obs-prs
/pkg/cli/userfile.go @cockroachdb/disaster-recovery
/pkg/cli/workload* @cockroachdb/sql-foundations
/pkg/cli/zip*.go @cockroachdb/obs-prs @cockroachdb/cli-prs @cockroachdb/obs-india-prs
/pkg/cli/zip*.go @cockroachdb/obs-prs @cockroachdb/cli-prs

# Beware to not assign the entire server package directory to a single
# team, at least until we heavily refactor the package to extract
Expand All @@ -183,9 +182,8 @@
#!/pkg/server/ @cockroachdb/unowned
/pkg/server/admin*.go @cockroachdb/obs-prs @cockroachdb/server-prs
/pkg/server/api_v2*.go @cockroachdb/obs-prs @cockroachdb/server-prs
/pkg/server/api_v2_auth*.go @cockroachdb/obs-prs @cockroachdb/server-prs @cockroachdb/prodsec @cockroachdb/product-security
/pkg/server/application_api/ @cockroachdb/obs-prs
/pkg/server/authentication*.go @cockroachdb/prodsec @cockroachdb/server-prs @cockroachdb/product-security
/pkg/server/api_v2_auth*.go @cockroachdb/obs-prs @cockroachdb/server-prs @cockroachdb/prodsec
/pkg/server/authentication*.go @cockroachdb/prodsec @cockroachdb/server-prs
/pkg/server/clock_monotonicity.go @cockroachdb/kv-prs
/pkg/server/combined_statement_stats*.go @cockroachdb/obs-prs
/pkg/server/critical_nodes*.go @cockroachdb/obs-prs
Expand Down Expand Up @@ -225,7 +223,7 @@
/pkg/server/server_obs* @cockroachdb/obs-prs
/pkg/server/server_systemlog* @cockroachdb/obs-prs
/pkg/server/serverpb/ @cockroachdb/obs-prs @cockroachdb/server-prs
/pkg/server/serverpb/authentication* @cockroachdb/obs-prs @cockroachdb/prodsec @cockroachdb/server-prs @cockroachdb/product-security
/pkg/server/serverpb/authentication* @cockroachdb/obs-prs @cockroachdb/prodsec @cockroachdb/server-prs
/pkg/server/serverpb/index_reco* @cockroachdb/obs-prs
/pkg/server/serverrules/ @cockroachdb/obs-prs @cockroachdb/server-prs
/pkg/server/settings_cache*.go @cockroachdb/server-prs
Expand All @@ -244,7 +242,7 @@
/pkg/server/tenantsettingswatcher/ @cockroachdb/server-prs
/pkg/server/testserver*.go @cockroachdb/test-eng @cockroachdb/server-prs
/pkg/server/tracedumper/ @cockroachdb/obs-prs @cockroachdb/server-prs
/pkg/server/user*.go @cockroachdb/obs-prs @cockroachdb/server-prs @cockroachdb/prodsec @cockroachdb/product-security
/pkg/server/user*.go @cockroachdb/obs-prs @cockroachdb/server-prs @cockroachdb/prodsec
/pkg/server/version_cluster*.go @cockroachdb/dev-inf


Expand Down Expand Up @@ -386,23 +384,23 @@
/pkg/ccl/cmdccl/stub-schema-registry/ @cockroachdb/cdc-prs
/pkg/ccl/cmdccl/clusterrepl/ @cockroachdb/disaster-recovery
/pkg/ccl/gqpccl/ @cockroachdb/sql-queries-prs
/pkg/ccl/gssapiccl/ @cockroachdb/product-security
/pkg/ccl/jwtauthccl/ @cockroachdb/cloud-identity @cockroachdb/product-security
#!/pkg/ccl/gssapiccl/ @cockroachdb/unowned
/pkg/ccl/jwtauthccl/ @cockroachdb/cloud-identity
#!/pkg/ccl/kvccl/ @cockroachdb/kv-noreview
/pkg/ccl/kvccl/kvtenantccl/ @cockroachdb/server-prs
/pkg/ccl/ldapccl/ @cockroachdb/prodsec @cockroachdb/product-security
/pkg/ccl/ldapccl/ @cockroachdb/prodsec
#!/pkg/ccl/upgradeccl/ @cockroachdb/release-eng-prs @cockroachdb/upgrade-prs
#!/pkg/ccl/logictestccl/ @cockroachdb/sql-queries-noreview
#!/pkg/ccl/sqlitelogictestccl/ @cockroachdb/sql-queries-noreview
/pkg/ccl/multiregionccl/ @cockroachdb/sql-foundations
/pkg/ccl/multitenantccl/ @cockroachdb/server-prs
/pkg/ccl/multitenant/tenantcostclient/ @cockroachdb/sqlproxy-prs
/pkg/ccl/multitenant/tenantcostserver/ @cockroachdb/sqlproxy-prs
/pkg/ccl/oidcccl/ @cockroachdb/product-security
/pkg/ccl/oidcccl/ @cockroachdb/obs-prs
/pkg/ccl/partitionccl/ @cockroachdb/sql-foundations
/pkg/ccl/pgcryptoccl/ @cockroachdb/sql-foundations
/pkg/ccl/plpgsqlccl/ @cockroachdb/sql-queries-prs
/pkg/ccl/securityccl/ @cockroachdb/prodsec @cockroachdb/product-security

#!/pkg/ccl/serverccl/ @cockroachdb/unowned
/pkg/ccl/serverccl/diagnosticsccl/ @cockroachdb/obs-prs
/pkg/ccl/serverccl/server_sql* @cockroachdb/server-prs
Expand All @@ -415,7 +413,7 @@

/pkg/ccl/telemetryccl/ @cockroachdb/obs-prs

/pkg/ccl/testccl/authccl/ @cockroachdb/cloud-identity @cockroachdb/prodsec @cockroachdb/product-security
/pkg/ccl/testccl/authccl/ @cockroachdb/cloud-identity @cockroachdb/prodsec
/pkg/ccl/testccl/sqlccl/ @cockroachdb/sql-queries-prs
/pkg/ccl/testccl/workload/schemachange/ @cockroachdb/sql-foundations
#!/pkg/ccl/testutilsccl/ @cockroachdb/test-eng-noreview
Expand All @@ -424,7 +422,6 @@
/pkg/ccl/workloadccl/ @cockroachdb/test-eng #! @cockroachdb/sql-foundations-noreview
/pkg/ccl/benchccl/rttanalysisccl/ @cockroachdb/sql-foundations
#!/pkg/clusterversion/ @cockroachdb/dev-inf-noreview @cockroachdb/kv-prs-noreview @cockroachdb/test-eng-prs
/pkg/clusterversion/cockroach_versions.go @cockroachdb/release-eng-prs @cockroachdb/upgrade-prs
/pkg/cmd/allocsim/ @cockroachdb/kv-prs
/pkg/cmd/bazci/ @cockroachdb/dev-inf
/pkg/cmd/cloudupload/ @cockroachdb/dev-inf
Expand Down Expand Up @@ -467,6 +464,7 @@
/pkg/cmd/release/ @cockroachdb/dev-inf
/pkg/cmd/returncheck/ @cockroachdb/dev-inf
/pkg/cmd/roachprod/ @cockroachdb/test-eng
/pkg/cmd/roachprod/vm/azure/auth.go @cockroachdb/test-eng @cockroachdb/prodsec
/pkg/cmd/roachprod-microbench/ @cockroachdb/test-eng
/pkg/cmd/roachprod-stress/ @cockroachdb/test-eng
/pkg/cmd/roachtest/ @cockroachdb/test-eng
Expand Down Expand Up @@ -547,11 +545,12 @@
#!/pkg/roachpb/version* @cockroachdb/unowned
/pkg/roachprod/ @cockroachdb/test-eng
/pkg/rpc/ @cockroachdb/kv-prs
/pkg/rpc/auth.go @cockroachdb/kv-prs @cockroachdb/prodsec @cockroachdb/product-security
/pkg/rpc/auth_tenant.go @cockroachdb/server-prs @cockroachdb/prodsec @cockroachdb/product-security
/pkg/rpc/auth.go @cockroachdb/kv-prs @cockroachdb/prodsec
/pkg/rpc/auth_tenant.go @cockroachdb/server-prs @cockroachdb/prodsec
/pkg/scheduledjobs/ @cockroachdb/jobs-prs @cockroachdb/disaster-recovery
/pkg/security/ @cockroachdb/prodsec @cockroachdb/server-prs @cockroachdb/product-security
/pkg/security/clientsecopts/ @cockroachdb/sql-foundations @cockroachdb/prodsec @cockroachdb/product-security
/pkg/security/ @cockroachdb/prodsec @cockroachdb/server-prs
/pkg/security/clientsecopts/ @cockroachdb/sql-foundations @cockroachdb/prodsec
/pkg/ccl/securityccl/ @cockroachdb/prodsec
#!/pkg/settings/ @cockroachdb/unowned
/pkg/spanconfig/ @cockroachdb/kv-prs @cockroachdb/sql-foundations
/pkg/spanconfig/spanconfigbounds/ @cockroachdb/sql-foundations
Expand All @@ -577,15 +576,14 @@
/pkg/ts/catalog/ @cockroachdb/obs-prs
#!/pkg/util/ @cockroachdb/unowned
/pkg/util/addr/ @cockroachdb/obs-prs
/pkg/util/admission/ @cockroachdb/admission-control
/pkg/util/goschedstats @cockroachdb/admission-control
/pkg/util/log/ @cockroachdb/obs-prs
/pkg/util/metric/ @cockroachdb/obs-prs
/pkg/util/tracing @cockroachdb/obs-prs
/pkg/util/stop/ @cockroachdb/kv-prs
/pkg/util/grunning/ @cockroachdb/admission-control
/pkg/util/log/ @cockroachdb/obs-prs @cockroachdb/obs-india-prs
/pkg/util/metric/ @cockroachdb/obs-prs @cockroachdb/obs-india-prs
/pkg/util/mon @cockroachdb/sql-queries-prs
/pkg/util/admission/ @cockroachdb/admission-control
/pkg/util/schedulerlatency/ @cockroachdb/admission-control
/pkg/util/stop/ @cockroachdb/kv-prs
/pkg/util/tracing @cockroachdb/obs-prs @cockroachdb/obs-india-prs
/pkg/util/mon @cockroachdb/sql-queries-prs
/pkg/workload/ @cockroachdb/test-eng #! @cockroachdb/sql-foundations-noreview
/pkg/obs/ @cockroachdb/obs-prs
/pkg/ccl/auditloggingccl @cockroachdb/obs-prs
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/add-issues-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Add issues to project boards

on:
issues:
types: [opened, labeled]

jobs:
add-to-project:
name: Add issues to project boards
runs-on: ubuntu-latest
steps:
# NOTE: when adding a new mapping, clone the following block, and fill in
# the blanks.
#- uses: actions/[email protected]
# with:
# # URL of the project to add issues to
# project-url: https://github.com/orgs/cockroachdb/projects/XXX
# github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
# # A comma-separated list of labels to use as a filter for issue to be added
# labeled: A-foo,T-bar
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/cockroachdb/projects/32
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: A-admission-control,T-admission-control
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/cockroachdb/projects/38
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: T-cdc
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/cockroachdb/projects/35
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: T-jobs
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/cockroachdb/projects/45
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: T-sql-queries
2 changes: 0 additions & 2 deletions .github/workflows/check-pebble-dep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Check Pebble deps
shell: bash
Expand Down
53 changes: 0 additions & 53 deletions .github/workflows/github-actions-essential-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,56 +345,3 @@ jobs:
- name: clean up
run: ./build/github/cleanup-engflow-keys.sh
if: always()
cockroach-microbench-ci:
runs-on: [ self-hosted, basic_runner_group ]
# TODO(sambhav-jain-16): enable this for pull requests also
if: ${{ github.event_name == 'push' }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1 # Fetch only the latest commit

- name: Get the latest commit of the target branch
id: get_latest_commit_target_branch
run: |
# Get the target branch name
TARGET_BRANCH=${{ github.event.pull_request.base.ref }}
# Fetch the latest commit of the target branch
git fetch origin $TARGET_BRANCH --depth=1
# Get the latest commit hash of the target branch
LATEST_COMMIT=$(git rev-parse FETCH_HEAD)
# Output the latest commit hash
echo "Latest commit on target branch ($TARGET_BRANCH): $LATEST_COMMIT"
# Set the latest commit hash as an output variable
echo "latest_commit=$LATEST_COMMIT" >> $GITHUB_OUTPUT
if: ${{ github.event_name != 'push' }}
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: compute metadata
run: echo GITHUB_ACTIONS_BRANCH=${{ github.event.pull_request.number || github.ref_name}} >> "$GITHUB_ENV"
- run: ./build/github/get-engflow-keys.sh
- run: ./build/github/prepare-summarize-build.sh
- name: run scripts
run: ./build/github/cockroach-microbench-ci.sh
env:
COMPARE_THRESHOLD: "5.00"
PUSH_STEP: ${{ github.event_name == 'push' && env.GITHUB_ACTIONS_BRANCH != 'staging' }}
BASE_SHA: ${{ steps.get_latest_commit_target_branch.outputs.latest_commit }}

# TODO(sambhav-jain-16): add Performance note check and use this flag. Currently set to false (https://github.com/cockroachdb/cockroach/issues/106661)
SKIP_COMPARISON: ${{ env.GITHUB_ACTIONS_BRANCH == 'staging' }}
- name: upload build results
run: ./build/github/summarize-build.sh bes.bin
if: always()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: clean up
run: ./build/github/cleanup-engflow-keys.sh
if: always()

8 changes: 1 addition & 7 deletions .github/workflows/update_releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,7 @@ jobs:
environment: ${{ github.ref_name == 'master' && 'master' || null }}
strategy:
matrix:
branch:
- "master"
- "release-23.1"
- "release-23.2"
- "release-24.1"
- "release-24.2"
- "release-24.3"
branch: ["master", "release-23.1", "release-23.2", "release-24.1"]
name: Update pkg/testutils/release/cockroach_releases.yaml on ${{ matrix.branch }}
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ work-Fuzz*
/vendor
# vendoring by `go mod vendor` may produce this file temporarily
/.vendor.tmp.*
# The Workload Binary
/workload
# Instrumentation artifacts.
/instrument*
.instrumentor_exclusions.tmp
Expand All @@ -40,8 +38,6 @@ customenv.mk
# Generated files containing include paths.
zcgo_flags*.go
build/Railroad.jar
# Legacy `make` content.
build/variables.mk

# Bazel generated symlinks
/_bazel
Expand Down
Loading

0 comments on commit c90f979

Please sign in to comment.