Skip to content

Commit 50b7366

Browse files
committed
Committing to resolve merge conflicts when syncing.
2 parents f47c560 + 5de65a6 commit 50b7366

509 files changed

Lines changed: 23214 additions & 6786 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.

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ jobs:
99
name: "Gradle wrapper validation"
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: gradle/wrapper-validation-action@v1
12+
- uses: actions/checkout@v4
13+
- uses: gradle/actions/wrapper-validation@v4

.github/workflows/lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
lock:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: dessant/lock-threads@v4
16+
- uses: dessant/lock-threads@v5
1717
with:
1818
github-token: ${{ github.token }}
1919
issue-inactive-days: 90

.github/workflows/testing.yml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
fail-fast: false # Should swap to true if we grow a large matrix
2222

2323
steps:
24-
- uses: actions/checkout@v3
25-
- uses: actions/setup-java@v3
24+
- uses: actions/checkout@v4
25+
- uses: actions/setup-java@v4
2626
with:
2727
java-version: ${{ matrix.jre }}
2828
distribution: 'temurin'
2929

3030
- name: Gradle cache
31-
uses: actions/cache@v3
31+
uses: actions/cache@v4
3232
with:
3333
path: |
3434
~/.gradle/caches
@@ -37,7 +37,7 @@ jobs:
3737
restore-keys: |
3838
${{ runner.os }}-gradle-
3939
- name: Maven cache
40-
uses: actions/cache@v3
40+
uses: actions/cache@v4
4141
with:
4242
path: |
4343
~/.m2/repository
@@ -46,7 +46,7 @@ jobs:
4646
restore-keys: |
4747
${{ runner.os }}-maven-
4848
- name: Protobuf cache
49-
uses: actions/cache@v3
49+
uses: actions/cache@v4
5050
with:
5151
path: /tmp/protobuf-cache
5252
key: ${{ runner.os }}-maven-${{ hashFiles('buildscripts/make_dependencies.sh') }}
@@ -55,7 +55,7 @@ jobs:
5555
run: buildscripts/kokoro/unix.sh
5656
- name: Post Failure Upload Test Reports to Artifacts
5757
if: ${{ failure() }}
58-
uses: actions/upload-artifact@v3
58+
uses: actions/upload-artifact@v4
5959
with:
6060
name: Test Reports (JRE ${{ matrix.jre }})
6161
path: |
@@ -71,23 +71,25 @@ jobs:
7171
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
7272
run: ./gradlew :grpc-all:coveralls -PskipAndroid=true -x compileJava
7373
- name: Codecov
74-
uses: codecov/codecov-action@v3
74+
uses: codecov/codecov-action@v4
75+
with:
76+
token: ${{ secrets.CODECOV_TOKEN }}
7577

7678
bazel:
7779
runs-on: ubuntu-latest
7880
env:
7981
USE_BAZEL_VERSION: 6.0.0
8082

8183
steps:
82-
- uses: actions/checkout@v3
84+
- uses: actions/checkout@v4
8385

8486
- name: Check versions match in MODULE.bazel and repositories.bzl
8587
run: |
8688
diff -u <(sed -n '/GRPC_DEPS_START/,/GRPC_DEPS_END/ {/GRPC_DEPS_/! p}' MODULE.bazel) \
8789
<(sed -n '/GRPC_DEPS_START/,/GRPC_DEPS_END/ {/GRPC_DEPS_/! p}' repositories.bzl)
8890
8991
- name: Bazel cache
90-
uses: actions/cache@v3
92+
uses: actions/cache@v4
9193
with:
9294
path: |
9395
~/.cache/bazel/*/cache
@@ -97,7 +99,17 @@ jobs:
9799
- name: Run bazel build
98100
run: bazelisk build //... --enable_bzlmod=false
99101

102+
- name: Run example bazel build
103+
run: bazelisk build //... --enable_bzlmod=false
104+
working-directory: ./examples
105+
100106
- name: Run bazel build (bzlmod)
101107
env:
102108
USE_BAZEL_VERSION: 7.0.0
103109
run: bazelisk build //... --enable_bzlmod=true
110+
111+
- name: Run example bazel build (bzlmod)
112+
env:
113+
USE_BAZEL_VERSION: 7.0.0
114+
run: bazelisk build //... --enable_bzlmod=true
115+
working-directory: ./examples

CONTRIBUTING.md

Lines changed: 25 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -30,43 +30,36 @@ style configurations are commonly useful. For IntelliJ 14, copy the style to
3030
`~/.IdeaIC14/config/codestyles/`, start IntelliJ, go to File > Settings > Code
3131
Style, and set the Scheme to `GoogleStyle`.
3232

33-
## Maintaining clean commit history
34-
35-
We have few conventions for keeping history clean and making code reviews easier
36-
for reviewers:
37-
38-
* First line of commit messages should be in format of
39-
40-
`package-name: summary of change`
41-
42-
where the summary finishes the sentence: `This commit improves gRPC to ____________.`
43-
44-
for example:
45-
46-
`core,netty,interop-testing: add capacitive duractance to turbo encabulators`
47-
48-
* Every time you receive a feedback on your pull request, push changes that
49-
address it as a separate one or multiple commits with a descriptive commit
50-
message (try avoid using vauge `addressed pr feedback` type of messages).
51-
52-
Project maintainers are obligated to squash those commits into one when
53-
merging.
54-
5533
## Guidelines for Pull Requests
5634
How to get your contributions merged smoothly and quickly.
5735

5836
- Create **small PRs** that are narrowly focused on **addressing a single concern**. We often times receive PRs that are trying to fix several things at a time, but only one fix is considered acceptable, nothing gets merged and both author's & review's time is wasted. Create more PRs to address different concerns and everyone will be happy.
5937

60-
- For speculative changes, consider opening an issue and discussing it first. If you are suggesting a behavioral or API change, consider starting with a [gRFC proposal](https://github.com/grpc/proposal).
61-
62-
- Provide a good **PR description** as a record of **what** change is being made and **why** it was made. Link to a github issue if it exists.
63-
64-
- Don't fix code style and formatting unless you are already changing that line to address an issue. PRs with irrelevant changes won't be merged. If you do want to fix formatting or style, do that in a separate PR.
65-
66-
- Unless your PR is trivial, you should expect there will be reviewer comments that you'll need to address before merging. We expect you to be reasonably responsive to those comments, otherwise the PR will be closed after 2-3 weeks of inactivity.
67-
68-
- Maintain **clean commit history** and use **meaningful commit messages**. See [maintaining clean commit history](#maintaining-clean-commit-history) for details.
69-
38+
- For speculative changes, consider opening an issue and discussing it to avoid
39+
wasting time on an inappropriate approach. If you are suggesting a behavioral
40+
or API change, consider starting with a [gRFC
41+
proposal](https://github.com/grpc/proposal).
42+
43+
- Follow [typical Git commit message](https://cbea.ms/git-commit/#seven-rules)
44+
structure. Have a good **commit description** as a record of **what** and
45+
**why** the change is being made. Link to a GitHub issue if it exists. The
46+
commit description makes a good PR description and is auto-copied by GitHub if
47+
you have a single commit when creating the PR.
48+
49+
If your change is mostly for a single module (e.g., other module changes are
50+
trivial), prefix your commit summary with the module name changed. Instead of
51+
"Add HTTP/2 faster-than-light support to gRPC Netty" it is more terse as
52+
"netty: Add faster-than-light support".
53+
54+
- Don't fix code style and formatting unless you are already changing that line
55+
to address an issue. If you do want to fix formatting or style, do that in a
56+
separate PR.
57+
58+
- Unless your PR is trivial, you should expect there will be reviewer comments
59+
that you'll need to address before merging. Address comments with additional
60+
commits so the reviewer can review just the changes; do not squash reviewed
61+
commits unless the reviewer agrees. PRs are squashed when merging.
62+
7063
- Keep your PR up to date with upstream/master (if there are merge conflicts, we can't really merge your change).
7164

7265
- **All tests need to be passing** before your change can be merged. We recommend you **run tests locally** before creating your PR to catch breakages early on. Also, `./gradlew build` (`gradlew build` on Windows) **must not introduce any new warnings**.

MAINTAINERS.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ for general contribution guidelines.
1414
- [larry-safran](https://github.com/larry-safran), Google LLC
1515
- [markb74](https://github.com/markb74), Google LLC
1616
- [ran-su](https://github.com/ran-su), Google LLC
17-
- [sanjaypujare](https://github.com/sanjaypujare), Google LLC
1817
- [sergiitk](https://github.com/sergiitk), Google LLC
1918
- [temawi](https://github.com/temawi), Google LLC
2019
- [YifeiZhuang](https://github.com/YifeiZhuang), Google LLC
2120
- [zhangkun83](https://github.com/zhangkun83), Google LLC
2221

2322
## Emeritus Maintainers (in alphabetical order)
24-
- [carl-mastrangelo](https://github.com/carl-mastrangelo), Google LLC
25-
- [creamsoup](https://github.com/creamsoup), Google LLC
26-
- [dapengzhang0](https://github.com/dapengzhang0), Google LLC
27-
- [ericgribkoff](https://github.com/ericgribkoff), Google LLC
28-
- [jiangtaoli2016](https://github.com/jiangtaoli2016), Google LLC
29-
- [jtattermusch](https://github.com/jtattermusch), Google LLC
30-
- [louiscryan](https://github.com/louiscryan), Google LLC
31-
- [nicolasnoble](https://github.com/nicolasnoble), Google LLC
32-
- [nmittler](https://github.com/nmittler), Google LLC
33-
- [srini100](https://github.com/srini100), Google LLC
34-
- [voidzcy](https://github.com/voidzcy), Google LLC
35-
- [zpencer](https://github.com/zpencer), Google LLC
23+
- [carl-mastrangelo](https://github.com/carl-mastrangelo)
24+
- [creamsoup](https://github.com/creamsoup)
25+
- [dapengzhang0](https://github.com/dapengzhang0)
26+
- [ericgribkoff](https://github.com/ericgribkoff)
27+
- [jiangtaoli2016](https://github.com/jiangtaoli2016)
28+
- [jtattermusch](https://github.com/jtattermusch)
29+
- [louiscryan](https://github.com/louiscryan)
30+
- [nicolasnoble](https://github.com/nicolasnoble)
31+
- [nmittler](https://github.com/nmittler)
32+
- [sanjaypujare](https://github.com/sanjaypujare)
33+
- [srini100](https://github.com/srini100)
34+
- [voidzcy](https://github.com/voidzcy)
35+
- [zpencer](https://github.com/zpencer)

MODULE.bazel

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,52 +2,56 @@ module(
22
name = "grpc-java",
33
compatibility_level = 0,
44
repo_name = "io_grpc_grpc_java",
5-
version = "0",
5+
version = "1.68.0-SNAPSHOT", # CURRENT_GRPC_VERSION
66
)
77

88
# GRPC_DEPS_START
99
IO_GRPC_GRPC_JAVA_ARTIFACTS = [
1010
"com.google.android:annotations:4.1.1.4",
1111
"com.google.api.grpc:proto-google-common-protos:2.29.0",
12-
"com.google.auth:google-auth-library-credentials:1.22.0",
13-
"com.google.auth:google-auth-library-oauth2-http:1.22.0",
14-
"com.google.auto.value:auto-value-annotations:1.10.4",
15-
"com.google.auto.value:auto-value:1.10.4",
12+
"com.google.auth:google-auth-library-credentials:1.23.0",
13+
"com.google.auth:google-auth-library-oauth2-http:1.23.0",
14+
"com.google.auto.value:auto-value-annotations:1.11.0",
15+
"com.google.auto.value:auto-value:1.11.0",
1616
"com.google.code.findbugs:jsr305:3.0.2",
17-
"com.google.code.gson:gson:2.10.1",
18-
"com.google.errorprone:error_prone_annotations:2.23.0",
17+
"com.google.code.gson:gson:2.11.0",
18+
"com.google.errorprone:error_prone_annotations:2.28.0",
1919
"com.google.guava:failureaccess:1.0.1",
20-
"com.google.guava:guava:32.1.3-android",
20+
"com.google.guava:guava:33.2.1-android",
2121
"com.google.re2j:re2j:1.7",
22-
"com.google.truth:truth:1.1.5",
22+
"com.google.truth:truth:1.4.2",
2323
"com.squareup.okhttp:okhttp:2.7.5",
2424
"com.squareup.okio:okio:2.10.0", # 3.0+ needs swapping to -jvm; need work to avoid flag-day
25-
"io.netty:netty-buffer:4.1.100.Final",
26-
"io.netty:netty-codec-http2:4.1.100.Final",
27-
"io.netty:netty-codec-http:4.1.100.Final",
28-
"io.netty:netty-codec-socks:4.1.100.Final",
29-
"io.netty:netty-codec:4.1.100.Final",
30-
"io.netty:netty-common:4.1.100.Final",
31-
"io.netty:netty-handler-proxy:4.1.100.Final",
32-
"io.netty:netty-handler:4.1.100.Final",
33-
"io.netty:netty-resolver:4.1.100.Final",
34-
"io.netty:netty-tcnative-boringssl-static:2.0.61.Final",
35-
"io.netty:netty-tcnative-classes:2.0.61.Final",
36-
"io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.100.Final",
37-
"io.netty:netty-transport-native-unix-common:4.1.100.Final",
38-
"io.netty:netty-transport:4.1.100.Final",
25+
"io.netty:netty-buffer:4.1.110.Final",
26+
"io.netty:netty-codec-http2:4.1.110.Final",
27+
"io.netty:netty-codec-http:4.1.110.Final",
28+
"io.netty:netty-codec-socks:4.1.110.Final",
29+
"io.netty:netty-codec:4.1.110.Final",
30+
"io.netty:netty-common:4.1.110.Final",
31+
"io.netty:netty-handler-proxy:4.1.110.Final",
32+
"io.netty:netty-handler:4.1.110.Final",
33+
"io.netty:netty-resolver:4.1.110.Final",
34+
"io.netty:netty-tcnative-boringssl-static:2.0.65.Final",
35+
"io.netty:netty-tcnative-classes:2.0.65.Final",
36+
"io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.110.Final",
37+
"io.netty:netty-transport-native-unix-common:4.1.110.Final",
38+
"io.netty:netty-transport:4.1.110.Final",
3939
"io.opencensus:opencensus-api:0.31.0",
4040
"io.opencensus:opencensus-contrib-grpc-metrics:0.31.0",
41-
"io.perfmark:perfmark-api:0.26.0",
41+
"io.perfmark:perfmark-api:0.27.0",
4242
"junit:junit:4.13.2",
4343
"org.apache.tomcat:annotations-api:6.0.53",
4444
"org.checkerframework:checker-qual:3.12.0",
45-
"org.codehaus.mojo:animal-sniffer-annotations:1.23",
45+
"org.codehaus.mojo:animal-sniffer-annotations:1.24",
4646
]
4747
# GRPC_DEPS_END
4848

49+
bazel_dep(name = "bazel_skylib", version = "1.7.1")
4950
bazel_dep(name = "googleapis", repo_name = "com_google_googleapis", version = "0.0.0-20240326-1c8d509c5")
51+
# CEL Spec may be removed when cncf/xds MODULE is no longer using protobuf 27.x
52+
bazel_dep(name = "cel-spec", repo_name = "dev_cel", version = "0.15.0")
5053
bazel_dep(name = "grpc", repo_name = "com_github_grpc_grpc", version = "1.56.3.bcr.1")
54+
bazel_dep(name = "grpc-proto", repo_name = "io_grpc_grpc_proto", version = "0.0.0-20240627-ec30f58")
5155
bazel_dep(name = "protobuf", repo_name = "com_google_protobuf", version = "23.1")
5256
bazel_dep(name = "rules_cc", version = "0.0.9")
5357
bazel_dep(name = "rules_java", version = "5.3.5")
@@ -61,15 +65,13 @@ use_repo(
6165
non_module_deps,
6266
"com_github_cncf_xds",
6367
"envoy_api",
64-
"io_grpc_grpc_proto",
6568
)
6669

6770
grpc_repo_deps_ext = use_extension("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_repo_deps_ext")
6871

6972
use_repo(
7073
grpc_repo_deps_ext,
7174
"com_envoyproxy_protoc_gen_validate",
72-
"com_github_cncf_udpa",
7375
"opencensus_proto",
7476
)
7577

@@ -203,5 +205,3 @@ maven.override(
203205
switched_rules = use_extension("@com_google_googleapis//:extensions.bzl", "switched_rules")
204206

205207
switched_rules.use_languages(java = True)
206-
207-
use_repo(switched_rules, "com_google_googleapis_imports")

0 commit comments

Comments
 (0)