Repository navigation
chore(deps): upgrade to jackson 2.18.8 - #6152
Conversation
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6152 +/- ##
============================================
+ Coverage 59.79% 59.84% +0.05%
- Complexity 3295 3303 +8
============================================
Files 1131 1131
Lines 43770 43770
Branches 4745 4745
============================================
+ Hits 26172 26195 +23
+ Misses 16171 16154 -17
+ Partials 1427 1421 -6
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🔴 | bs=10 sw=10 sl=64 | 375 | 0.229 | 24,592/37,053/37,053 us | 🔴 -12.0% / 🔴 +144.7% |
| 🔴 | bs=100 sw=10 sl=64 | 824 | 0.503 | 121,888/135,381/135,381 us | 🟢 -26.2% / 🔴 +25.4% |
| ⚪ | bs=1000 sw=10 sl=64 | 955 | 0.583 | 1,045,322/1,074,719/1,074,719 us | ⚪ within ±5% / 🔴 -6.0% |
Baseline details
Latest main 95684eb from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 375 tuples/sec | 426 tuples/sec | 776.36 tuples/sec | -12.0% | -51.7% |
| bs=10 sw=10 sl=64 | MB/s | 0.229 MB/s | 0.26 MB/s | 0.474 MB/s | -11.9% | -51.7% |
| bs=10 sw=10 sl=64 | p50 | 24,592 us | 23,068 us | 12,636 us | +6.6% | +94.6% |
| bs=10 sw=10 sl=64 | p95 | 37,053 us | 34,762 us | 15,143 us | +6.6% | +144.7% |
| bs=10 sw=10 sl=64 | p99 | 37,053 us | 34,762 us | 18,954 us | +6.6% | +95.5% |
| bs=100 sw=10 sl=64 | throughput | 824 tuples/sec | 832 tuples/sec | 985.33 tuples/sec | -1.0% | -16.4% |
| bs=100 sw=10 sl=64 | MB/s | 0.503 MB/s | 0.508 MB/s | 0.601 MB/s | -1.0% | -16.4% |
| bs=100 sw=10 sl=64 | p50 | 121,888 us | 115,503 us | 101,671 us | +5.5% | +19.9% |
| bs=100 sw=10 sl=64 | p95 | 135,381 us | 183,364 us | 107,939 us | -26.2% | +25.4% |
| bs=100 sw=10 sl=64 | p99 | 135,381 us | 183,364 us | 113,798 us | -26.2% | +19.0% |
| bs=1000 sw=10 sl=64 | throughput | 955 tuples/sec | 953 tuples/sec | 1,016 tuples/sec | +0.2% | -6.0% |
| bs=1000 sw=10 sl=64 | MB/s | 0.583 MB/s | 0.581 MB/s | 0.62 MB/s | +0.3% | -6.0% |
| bs=1000 sw=10 sl=64 | p50 | 1,045,322 us | 1,050,817 us | 989,693 us | -0.5% | +5.6% |
| bs=1000 sw=10 sl=64 | p95 | 1,074,719 us | 1,092,014 us | 1,028,327 us | -1.6% | +4.5% |
| bs=1000 sw=10 sl=64 | p99 | 1,074,719 us | 1,092,014 us | 1,059,969 us | -1.6% | +1.4% |
Raw CSV
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,532.94,200,128000,375,0.229,24592.37,37052.67,37052.67
1,100,10,64,20,2425.91,2000,1280000,824,0.503,121888.33,135380.57,135380.57
2,1000,10,64,20,20950.31,20000,12800000,955,0.583,1045321.98,1074718.58,1074718.58|
@Yicong-Huang Would someone in Texera team be able to take this on? It looks like your build blows up over some issue with the license text. But it is important to uptake new dependency releases to avoid security issues. |
|
@pjfanning We will take it over. Thanks for helping! |
Jackson 2.18.8 jars ship updated META-INF NOTICE content, so the generated NOTICE-binary files move and reword the Jackson section. Applied from the CI generator diff for all seven affected modules. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Pushed 0cba832 to this branch (maintainer edit): the The |
### What changes were proposed in this PR? Backport of #6152 to `release/v1.2`: bump Jackson 2.18.6 → 2.18.8 (`jacksonVersion` in the root `build.sbt`), update the jar entries in each service's `LICENSE-binary`, and regenerate the `NOTICE-binary` files for the updated `META-INF` NOTICE content shipped in the 2.18.8 jars. Motivation is security: seven jackson-databind CVEs disclosed on 2026-06-22 (CVE-2026-54512 … 54518) are all fixed in 2.18.8, including two PolymorphicTypeValidator allowlist bypasses that allow arbitrary class instantiation when polymorphic deserialization is enabled ([CVE-2026-54512](GHSA-j3rv-43j4-c7qm), [CVE-2026-54513](https://nvd.nist.gov/vuln/detail/CVE-2026-54513)). See #6152 for details. Differences from the mainline PR: the `notebook-migration-service/` changes are dropped — that module does not exist on `release/v1.2` (this is why the label-driven backport check on #6152 could not pass). ### Any related issues, documentation, discussions? Backport of #6152. ### How was this PR tested? Existing test cases via the label-gated CI stacks; dependency bump only, no code change. The binary licensing check verifies LICENSE-binary/NOTICE-binary against the built distributables. ### Was this PR authored or co-authored using generative AI tooling? The original dependency bump was authored by @pjfanning (no AI declaration). The cherry-pick, NOTICE-binary regeneration, and this description were prepared with generative AI tooling: Generated-by: Claude Code (Claude Fable 5). --------- Co-authored-by: PJ Fanning <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
|
@pjfanning Thank you for your help! |
### What changes were proposed in this PR? Add `.github/workflows/dependency-graph.yml`: on every push to `main`, resolve the sbt build and submit the full dependency graph (all modules, transitive dependencies included) to GitHub via the Dependency Submission API, using [scalacenter/sbt-dependency-submission](https://github.com/scalacenter/sbt-dependency-submission). GitHub cannot parse `build.sbt`, so today Dependabot alerts cover only the npm/pip manifests and Scala dependencies are invisible — the jackson-databind CVE batch fixed in apache#6152 never appeared in the security tab and was caught by hand. With the graph submitted, Scala dependencies (Jackson, Pekko, …) get Dependabot alerts like npm/pip. Alerts only — no automatic PRs (Dependabot security updates do not support sbt). Notes for review: - The third-party actions are pinned to full commit SHAs per the [ASF GitHub Actions policy](https://infra.apache.org/github-actions-policy.html); `sbt/setup-sbt` and `coursier/cache-action` reuse the exact pins already used elsewhere in this repo. The same submission action (same SHA) is used by apache/pekko and 7 other ASF repos. - `configs-ignore` drops test/provided/optional/tooling scopes so alerts reflect what ships. - The job is guarded with `if: github.repository == 'apache/texera'` and only triggers on push to `main`, so it never runs on forks or PRs. ### Any related issues, documentation, discussions? Closes apache#6162 ### How was this PR tested? The workflow itself only runs post-merge on `apache/texera` `main` (see guard above), so it cannot be exercised by PR CI. Verified locally by running the underlying sbt plugin against this build: ``` sbt --addPluginSbtFile=<plugin.sbt> \ 'githubGenerateSnapshot {"ignoredConfigs":["provided","optional","test","compile-internal","runtime-internal","scala-tool","scala-doc-tool"]}' ``` completes with `[success]` and writes a snapshot containing 577 resolved packages across all modules, including `com.fasterxml.jackson.core:jackson-databind:2.18.8` and `org.apache.pekko:pekko-actor_2.13:1.6.0`. (It also surfaces a stale transitive `jackson-databind:2.12.3` in the tree — exactly the kind of finding this graph will make visible as an alert.) ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Fable 5) Co-authored-by: Claude Fable 5 <[email protected]>
### What changes were proposed in this PR? Add `.github/dependabot.yml` to enable weekly Dependabot **version updates** — the complementary half of apache#6163 (which feeds security *alerts*): alerts flag vulnerable dependencies, version updates keep dependencies current so alerts rarely fire. | Ecosystem | Directory | Notes | | --- | --- | --- | | `sbt` | `/` (root build, all modules) | New Dependabot ecosystem (beta, 2026-05); first use in the ASF org | | `npm` | `/frontend`, `/pyright-language-service` | Angular majors ignored — they need a guided `ng update` migration with framework/CLI lines moving together (see apache#6155) | | `bun` | `/agent-service` | agent-service is a Bun project (`bun.lock`) | | `npm` | `/bin/y-websocket-server` | Single-dependency utility, no lockfile | | `pip` | `/amber` | Covers `pyproject.toml` and all `*requirements*.txt` in the directory (`requirements`, `operator-requirements`, `dev-requirements`) — same detection the dependency graph already uses for alerts | | `github-actions` | `/` | Commit prefix `ci` per repo convention | Noise control: **weekly** schedule, **patch bumps grouped into a single PR per ecosystem** (bug-fix only, low risk); **minor and major bumps come as individual PRs** — a failed group PR cannot be bisected by the bot, so anything that can carry behavior changes passes or fails CI on its own. ≤5 open PRs per ecosystem bounds the volume. (github-actions stays fully grouped: SHA/tag bumps, ci-only blast radius.) Commit/PR-title prefixes are split by dependency semantics (and AGENTS.md is updated to record the convention): runtime/production bumps get `fix(deps, <module>)` — they ship to users — while dev/toolchain bumps get `chore(deps, <module>)` via `prefix-development` (npm devDependencies, pip `dev-requirements.txt`, bun devDependencies), with the module as second scope per the repo convention (`pyamber`, `frontend`, `agent-service`, …; the cross-module sbt entry stays plain `fix(deps)`); GitHub Actions bumps use `ci`. All types pass the PR title check. 267 ASF repos already use `dependabot.yml`. Notes for review: - Local schema validation passes except the `sbt` enum value — schemastore still lags the 2026-05 beta; GitHub's changelog ([Dependabot version updates now support the sbt ecosystem](https://github.blog/changelog/2026-05-26-dependabot-version-updates-now-support-the-sbt-ecosystem/)) is authoritative for the key. After merge, any config error would surface under Insights → Dependency graph → Dependabot. - The sbt ecosystem is beta: it may not follow every `build.sbt` pattern (e.g. version `val`s), so missed sbt updates are expected at first, not misconfiguration. - `.asf.yaml`'s `dependabot_updates` (automatic security-*fix* PRs) is deliberately left `false` to avoid a burst of bot PRs for the existing alert backlog while apache#6152/apache#6155 are in flight; it can be flipped separately later. ### Any related issues, documentation, discussions? Closes apache#6164. Related: apache#6162 / apache#6163 (sbt dependency graph for alerts). ### How was this PR tested? Config-only change; Dependabot runs server-side after merge, so it cannot be exercised by PR CI. Validated locally: - `yaml.safe_load` parses the file. - `check-jsonschema --builtin-schema vendor.dependabot` passes for all entries except the not-yet-in-schema `sbt` ecosystem value (see note above). ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Fable 5) --------- Co-authored-by: Claude Fable 5 <[email protected]>
What changes were proposed in this PR?
Bump Jackson from 2.18.6 to 2.18.8:
jacksonVersionin the rootbuild.sbt(shared by all sbt modules) plus the corresponding jar entries in each service'sLICENSE-binary.Motivation is security: seven jackson-databind CVEs were disclosed on 2026-06-22, all fixed in 2.18.8 (CVE-2026-54512 through CVE-2026-54518). The two most severe are PolymorphicTypeValidator allowlist bypasses that allow arbitrary class instantiation when polymorphic deserialization is enabled:
ArrayList<com.evil.Gadget>passes when onlyArrayListis allow-listed)allowIfSubTypeIsArray()— array types approved without validating the component typeNote: Dependabot does not scan sbt builds, so there are no repo Dependabot alerts to link for these.
Jackson 2.18.8 jars also ship updated
META-INFNOTICE content, so the seven*/NOTICE-binaryfiles need regeneration (bin/licensing/generate_notice_binary.py) to pass the binary-licensing CI check.Any related issues, documentation, discussions?
Advisory batch write-up: 7 new vulnerabilities in Jackson in one day
How was this PR tested?
Existing test cases via the label-gated CI stacks (
engine,platform,common); no code change, dependency bump only. The binary licensing check additionally verifies LICENSE-binary/NOTICE-binary against the built distributables.Was this PR authored or co-authored using generative AI tooling?
The dependency bump was authored by @pjfanning (no AI declaration). This PR description and the NOTICE-binary regeneration were prepared with generative AI tooling: Generated-by: Claude Code (Claude Fable 5).