Repository navigation
Syncing development branch with main branch - #7
Merged
Merged
Conversation
[development]: Changes for polling result status and skeletons for chunk downloader
gopalldb
approved these changes
Aug 2, 2023
gopalldb
added a commit
that referenced
this pull request
May 11, 2026
Major fixes: - #1: Use 2-thread pool instead of single-thread to prevent one blocked heartbeat RPC from starving others on the same connection - #3: Fix getStoppedFlag() leak — use get() + ALREADY_STOPPED sentinel instead of computeIfAbsent() which re-created a false flag after stopHeartbeat() removed it, causing RPCs after stop Minor fixes: - #2: Increase awaitTermination from 5s to 10s with explanatory comment - #4: Add comment about client capture retaining session reference - #5: Document reactive vs proactive heartbeat stop limitation - #6, #7, #9, #10, #11: Acknowledged as correct/acceptable per reviewer Co-authored-by: Isaac Signed-off-by: Gopal Lal <[email protected]>
11 tasks done
6 of 8 tasks
vikrantpuppala
added a commit
that referenced
this pull request
May 20, 2026
Removes the OWASP step, NVD database cache, and OWASP findings parsing
from securityScan.yml. OSV-Scanner now drives the gate alone.
Motivation:
- OSV's database is a strict superset of NVD's (federates GHSA, NVD,
PyPA, RustSec, Go vuln DB). We've already seen two real CVEs OSV
catches that OWASP misses entirely -- CVE-2025-66566 in lz4 and
CVE-2026-5598 in bouncycastle, both GHSA-only with no NVD CPE.
- The release pipeline at databricks/secure-public-registry-releases-eng
already skips OWASP (every Maven step has -Ddependency-check.skip=true)
and runs its own artifact-level scan via databricks/gh-action-scan.
So removing OWASP from this repo's CI does not disturb release gating.
- OWASP's NVD database (~150-700 MB), the NVD_API_KEY secret, and the
cache machinery added minutes per run for coverage we don't actually
use any more.
The OWASP plugin block stays in jdbc-core/pom.xml and owasp-suppressions.xml
stays in the repo, because the disabled-anyway in-repo release.yml /
release-thin.yml workflows still reference them. Cleaning those up is a
separate change.
Also addresses these from the PR review:
#1 (SBOM existence guard): the OSV step now explicitly checks
target/bom.json exists before scanning, and that osv-scanner
produced a non-empty output. Build failures now surface with a
clear ::error:: instead of a downstream jq error.
#3 (set -uo pipefail without -e): added a comment explaining that -e
is dropped intentionally because osv-scanner exits 1 on any
finding regardless of severity; the severity >= 7 filter below is
the real gate.
#4 (severity filter silently treats malformed scores as 0): the
Collect findings step now logs total_findings alongside
high_count, so a mismatch (e.g. "10 total / 0 high") would be
visible in the step summary and warn ops about OSV format drift.
#5 (suppressions are CVE-id global, not package-scoped): OSV-Scanner
v2.3.8 does not actually support per-package CVE-id ignores
(verified against internal/config/config.go -- PackageOverrides
has no per-CVE field). Documented the trade-off explicitly in
osv-scanner.toml's header so future readers understand the
scoping model and the acceptable-risk reasoning.
#7 (fork PR maven config): added a comment in the workflow explaining
that fork PRs work even with JFrog OIDC skipped, because all of
the driver's direct dependencies are published to public Maven
Central. JFrog is just a mirror, not a source.
Verified locally: OSV reports the same 2 unsuppressed CVSS>=7 findings
(bouncycastle CVE-2026-5598 + libthrift cluster) as before, with no
schema errors against the corrected osv-scanner.toml.
Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <[email protected]>
vikrantpuppala
added a commit
that referenced
this pull request
May 21, 2026
Removes the OWASP step, NVD database cache, and OWASP findings parsing
from securityScan.yml. OSV-Scanner now drives the gate alone.
Motivation:
- OSV's database is a strict superset of NVD's (federates GHSA, NVD,
PyPA, RustSec, Go vuln DB). We've already seen two real CVEs OSV
catches that OWASP misses entirely -- CVE-2025-66566 in lz4 and
CVE-2026-5598 in bouncycastle, both GHSA-only with no NVD CPE.
- The release pipeline at databricks/secure-public-registry-releases-eng
already skips OWASP (every Maven step has -Ddependency-check.skip=true)
and runs its own artifact-level scan via databricks/gh-action-scan.
So removing OWASP from this repo's CI does not disturb release gating.
- OWASP's NVD database (~150-700 MB), the NVD_API_KEY secret, and the
cache machinery added minutes per run for coverage we don't actually
use any more.
The OWASP plugin block stays in jdbc-core/pom.xml and owasp-suppressions.xml
stays in the repo, because the disabled-anyway in-repo release.yml /
release-thin.yml workflows still reference them. Cleaning those up is a
separate change.
Also addresses these from the PR review:
#1 (SBOM existence guard): the OSV step now explicitly checks
target/bom.json exists before scanning, and that osv-scanner
produced a non-empty output. Build failures now surface with a
clear ::error:: instead of a downstream jq error.
#3 (set -uo pipefail without -e): added a comment explaining that -e
is dropped intentionally because osv-scanner exits 1 on any
finding regardless of severity; the severity >= 7 filter below is
the real gate.
#4 (severity filter silently treats malformed scores as 0): the
Collect findings step now logs total_findings alongside
high_count, so a mismatch (e.g. "10 total / 0 high") would be
visible in the step summary and warn ops about OSV format drift.
#5 (suppressions are CVE-id global, not package-scoped): OSV-Scanner
v2.3.8 does not actually support per-package CVE-id ignores
(verified against internal/config/config.go -- PackageOverrides
has no per-CVE field). Documented the trade-off explicitly in
osv-scanner.toml's header so future readers understand the
scoping model and the acceptable-risk reasoning.
#7 (fork PR maven config): added a comment in the workflow explaining
that fork PRs work even with JFrog OIDC skipped, because all of
the driver's direct dependencies are published to public Maven
Central. JFrog is just a mirror, not a source.
Verified locally: OSV reports the same 2 unsuppressed CVSS>=7 findings
(bouncycastle CVE-2026-5598 + libthrift cluster) as before, with no
schema errors against the corrected osv-scanner.toml.
Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[development]: Changes for polling result status and skeletons for chunk downloader