Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
8e8dac8
build(bazel): add cloud-tasks maven closure and grpc-java to the root…
balajinvda Jul 22, 2026
6ab9b12
build(bazel): regenerate nv-boot NOTICE after the cloud-tasks re-pin
balajinvda Jul 22, 2026
8e5f501
feat(cloud-tasks): add the Java cloud-tasks service under Bazel
balajinvda Jul 22, 2026
04e75eb
chore(cloud-tasks): drop internal Maven server ref from the public pom
balajinvda Jul 22, 2026
b530721
fix(cloud-tasks): exclude docker integration tests from CI + index NO…
balajinvda Jul 22, 2026
0a9c9bc
ci(bazel): run integration tests in a DinD lane instead of skipping them
balajinvda Jul 22, 2026
db5ec4d
ci(bazel): run the integration lane on the bare runner, not container…
balajinvda Jul 22, 2026
39ad99a
fix(cloud-tasks): materialize compose assets so the Cassandra schema …
balajinvda Jul 22, 2026
03ee728
fix(cloud-tasks): address the two CodeQL alerts
balajinvda Jul 22, 2026
4368ee2
fix(cloud-tasks): sync OpenAPI schema annotations from upstream 4c6f57c9
balajinvda Jul 23, 2026
5994724
test(cloud-tasks): normalize extraction base so the zip-slip guard is…
balajinvda Jul 23, 2026
7436dec
feat(java): standalone nvcf_java_rules + nv_boot_parent Bazel modules
balajinvda Jul 23, 2026
c2c656e
Merge branch 'main' of https://github.com/NVIDIA/nvcf into consolidate
balajinvda Jul 23, 2026
a1bcbb5
fix(java): use the image-local JDK 25 instead of a hermetic remotejdk…
balajinvda Jul 23, 2026
257a536
fix(java): align cloud-tasks + nv-boot-parent to the canonical single…
balajinvda Jul 23, 2026
1d83ba9
Merge commit '006718bb840cd90d4a9f55b7f95199393669bab1' into verify343
balajinvda Jul 23, 2026
5c7cfc8
refactor(java): fold nv-boot-parent + cloud-tasks into the single roo…
balajinvda Jul 23, 2026
60b5516
ci(bazel): add root-scoped lane mode; give Java its own matrix rows
balajinvda Jul 23, 2026
5ceb1e4
ci(bazel): give the integration lane a JDK 25 for local_jdk
balajinvda Jul 23, 2026
5ec0a38
fix(ci): resolve cloud-tasks test failures in the GHA bazel lanes
balajinvda Jul 23, 2026
b449d03
ci(bazel): validate nv-boot-parent consumers on framework changes
balajinvda Jul 23, 2026
32b34c6
ci(bazel): run the full test matrix on every PR (no change-aware skip…
balajinvda Jul 23, 2026
934158a
ci(bazel): per-service Docker lanes so no subtree lane runs zero tests
balajinvda Jul 23, 2026
dacf015
ci(bazel): rename per-service Docker lanes to bazel (<id>)
balajinvda Jul 23, 2026
833220b
build(bazel): enforce root Java module ownership
sanjay-saxena Jul 23, 2026
36911cd
Complete Cloud Tasks Bazel parity validation
sanjay-saxena Jul 23, 2026
8b33aec
feat(bazel): formalize layered Java NOTICE generation
sanjay-saxena Jul 24, 2026
c8caf29
Automate Java Bazel CI registration and artifacts
sanjay-saxena Jul 24, 2026
3a0dcba
docs(bazel): complete monorepo Java guidance
sanjay-saxena Jul 24, 2026
6934b8c
build: make Zig toolchain root-only
sanjay-saxena Jul 24, 2026
bfb3976
Preserve nvct-core fixture resources for external consumers
sanjay-saxena Jul 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .bazelignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@
# with our bzlmod setup. Re-enable per-subtree as Phase B brings each subtree
# native.
src/compute-plane-services
src/control-plane-services
# src/control-plane-services is carved out per-subtree: cloud-tasks is native
# (Phase B) and must stay loadable, while these siblings still carry nested
# MODULE.bazel / WORKSPACE-style BUILD files that conflict with bzlmod.
src/control-plane-services/function-autoscaler
src/control-plane-services/helm-reval
src/control-plane-services/nats-auth-callout
src/invocation-plane-services
src/libraries/python
# stargate rolled back to authoritative_source: upstream in !413; its
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
helm-reval|src/control-plane-services/helm-reval|false'
# Paths that affect the root-module workspace build (native
# root subtrees, Go and Java, plus the shared Bazel scaffold).
ROOT_GLOBS=(MODULE.bazel .bazelrc .bazelversion BUILD.bazel rules/ platforms/ tools/ ci/ src/clis/ src/libraries/ .github/bazel-root-test-quarantine.txt)
ROOT_GLOBS=(MODULE.bazel .bazelrc .bazelversion BUILD.bazel rules/ platforms/ tools/ ci/ src/clis/ src/libraries/ src/control-plane-services/cloud-tasks/ .github/bazel-root-test-quarantine.txt)

run_all=false
changed=""
Expand Down
116 changes: 115 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,77 @@ bazel_dep(name = "rules_java", version = "9.3.0")
bazel_dep(name = "rules_jvm_external", version = "7.0")
bazel_dep(name = "contrib_rules_jvm", version = "0.33.0")

# gRPC-Java codegen. rules_proto_grpc_java drives the protoc-gen-grpc-java
Comment thread
balajinvda marked this conversation as resolved.
# plugin (fetched as native binaries below) to generate Java gRPC stubs for
# Java services that expose or consume gRPC. protobuf/com_google_protobuf and
# rules_java are already declared above.
bazel_dep(name = "rules_proto_grpc", version = "5.8.0")
bazel_dep(name = "rules_proto_grpc_java", version = "5.8.0")

# The gRPC generator is a native executable, not a Java dependency. Keep it
# outside the shared Maven hub so fetch_sources applies only to Java artifacts.
GRPC_VERSION = "1.63.0"

http_file = use_repo_rule(
"@bazel_tools//tools/build_defs/repo:http.bzl",
"http_file",
)

http_file(
name = "grpc_java_plugin_linux_aarch_64",
downloaded_file_path = "protoc-gen-grpc-java.exe",
executable = True,
sha256 = "471427565ad82b3caac5e19dba2d15fb75b81042503ea32357630312d1f074b4",
urls = [
"https://maven-central.storage-download.googleapis.com/maven2/io/grpc/protoc-gen-grpc-java/%s/protoc-gen-grpc-java-%s-linux-aarch_64.exe" % (GRPC_VERSION, GRPC_VERSION),
"https://repo.maven.apache.org/maven2/io/grpc/protoc-gen-grpc-java/%s/protoc-gen-grpc-java-%s-linux-aarch_64.exe" % (GRPC_VERSION, GRPC_VERSION),
],
)

http_file(
name = "grpc_java_plugin_linux_x86_64",
downloaded_file_path = "protoc-gen-grpc-java.exe",
executable = True,
sha256 = "0e3e8db80ba1fbddeed97ea3220b52cfaa95764ff8bf00716df7322883ce47e8",
urls = [
"https://maven-central.storage-download.googleapis.com/maven2/io/grpc/protoc-gen-grpc-java/%s/protoc-gen-grpc-java-%s-linux-x86_64.exe" % (GRPC_VERSION, GRPC_VERSION),
"https://repo.maven.apache.org/maven2/io/grpc/protoc-gen-grpc-java/%s/protoc-gen-grpc-java-%s-linux-x86_64.exe" % (GRPC_VERSION, GRPC_VERSION),
],
)

http_file(
name = "grpc_java_plugin_osx_aarch_64",
downloaded_file_path = "protoc-gen-grpc-java.exe",
executable = True,
sha256 = "28290117a2ee9ea60f50f94273ab139dc2b3be4b8f2a557bef7e6efefee5b363",
urls = [
"https://maven-central.storage-download.googleapis.com/maven2/io/grpc/protoc-gen-grpc-java/%s/protoc-gen-grpc-java-%s-osx-aarch_64.exe" % (GRPC_VERSION, GRPC_VERSION),
"https://repo.maven.apache.org/maven2/io/grpc/protoc-gen-grpc-java/%s/protoc-gen-grpc-java-%s-osx-aarch_64.exe" % (GRPC_VERSION, GRPC_VERSION),
],
)

http_file(
name = "grpc_java_plugin_osx_x86_64",
downloaded_file_path = "protoc-gen-grpc-java.exe",
executable = True,
sha256 = "28290117a2ee9ea60f50f94273ab139dc2b3be4b8f2a557bef7e6efefee5b363",
urls = [
"https://maven-central.storage-download.googleapis.com/maven2/io/grpc/protoc-gen-grpc-java/%s/protoc-gen-grpc-java-%s-osx-x86_64.exe" % (GRPC_VERSION, GRPC_VERSION),
"https://repo.maven.apache.org/maven2/io/grpc/protoc-gen-grpc-java/%s/protoc-gen-grpc-java-%s-osx-x86_64.exe" % (GRPC_VERSION, GRPC_VERSION),
],
)

http_file(
name = "grpc_java_plugin_windows_x86_64",
downloaded_file_path = "protoc-gen-grpc-java.exe",
executable = True,
sha256 = "c3e9aaefd825a6ea9a252e153e0998d7ef36a7b27c2156867a98c71edf9c18a1",
urls = [
"https://maven-central.storage-download.googleapis.com/maven2/io/grpc/protoc-gen-grpc-java/%s/protoc-gen-grpc-java-%s-windows-x86_64.exe" % (GRPC_VERSION, GRPC_VERSION),
"https://repo.maven.apache.org/maven2/io/grpc/protoc-gen-grpc-java/%s/protoc-gen-grpc-java-%s-windows-x86_64.exe" % (GRPC_VERSION, GRPC_VERSION),
],
)

maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
name = "nv_third_party_deps",
Expand Down Expand Up @@ -224,6 +295,46 @@ maven.install(
"org.junit.jupiter:junit-jupiter-engine",
"org.junit.platform:junit-platform-launcher",
"org.junit.platform:junit-platform-reporting",
# cloud-tasks service closure. Version-less coordinates are managed by
Comment thread
balajinvda marked this conversation as resolved.
Outdated
# the BOMs above (spring-boot 4.0.7 / spring-cloud 2025.1.2 /
# testcontainers 2.0.5 / shedlock 7.7.0). Explicit versions match the
# cloud-tasks standalone module; io.grpc pins track GRPC_VERSION.
"com.bucket4j:bucket4j_jdk17-core:8.19.0",
"com.github.ben-manes.caffeine:caffeine",
"com.google.protobuf:protobuf-java:4.33.4",
"com.google.protobuf:protobuf-java-util:4.33.4",
"io.grpc:grpc-api:%s" % GRPC_VERSION,
"io.grpc:grpc-protobuf:%s" % GRPC_VERSION,
"io.grpc:grpc-stub:%s" % GRPC_VERSION,
"io.micrometer:micrometer-registry-prometheus",
"io.projectreactor.netty:reactor-netty-core",
"io.projectreactor.netty:reactor-netty-http",
"javax.annotation:javax.annotation-api:1.3.2",
"net.devh:grpc-server-spring-boot-starter:3.1.0.RELEASE",
"net.javacrumbs.shedlock:shedlock-provider-cassandra",
"net.javacrumbs.shedlock:shedlock-spring",
"org.assertj:assertj-core",
"org.awaitility:awaitility",
"org.junit.jupiter:junit-jupiter-params",
"org.mockito:mockito-core",
"org.mockito:mockito-junit-jupiter",
"org.ow2.asm:asm:9.9",
"org.ow2.asm:asm-commons:9.9",
"org.ow2.asm:asm-tree:9.9",
"org.springframework:spring-context-support",
"org.springframework:spring-webflux",
"org.springframework.boot:spring-boot-actuator",
"org.springframework.boot:spring-boot-loader",
"org.springframework.boot:spring-boot-micrometer-metrics",
"org.springframework.boot:spring-boot-micrometer-tracing",
"org.springframework.boot:spring-boot-opentelemetry",
"org.springframework.boot:spring-boot-starter-aspectj",
"org.springframework.boot:spring-boot-starter-security",
"org.springframework.boot:spring-boot-starter-webmvc",
"org.springframework.cloud:spring-cloud-starter-kubernetes-client-config",
"org.springframework.retry:spring-retry",
"org.testcontainers:testcontainers",
"org.testcontainers:testcontainers-localstack",
],
boms = [
"net.javacrumbs.shedlock:shedlock-bom:7.7.0",
Expand All @@ -233,7 +344,10 @@ maven.install(
],
fail_on_missing_checksum = True,
fetch_sources = True,
known_contributing_modules = ["protobuf"],
known_contributing_modules = [
"protobuf",
"rules_proto_grpc_java",
],
lock_file = "//:maven_install.json",
repositories = [
# Public Central mirrors only. This is the public GitHub mirror; its
Expand Down
Loading
Loading