Skip to content

chore(deps): align Angular packages, CLI toolchain to 21.2.18 - #6155

Merged
Yicong-Huang merged 3 commits into
apache:mainfrom
Yicong-Huang:chore/angular-cli-21.2.18
Jul 5, 2026
Merged

Yicong-Huang merged 3 commits into
apache:mainfrom
Yicong-Huang:chore/angular-cli-21.2.18

Conversation

@Yicong-Huang

@Yicong-Huang Yicong-Huang commented Jul 5, 2026 •

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Patch-level alignment of all Angular packages in frontend/, across the two Angular release lines:

Line Packages Before After
CLI toolchain @angular/cli, @angular-devkit/build-angular, @angular-devkit/core, @angular-devkit/schematics, @schematics/angular 21.2.8 21.2.18
Framework @angular/{core,common,compiler,compiler-cli,localize} 21.2.17 21.2.17 (unchanged)
Framework @angular/{animations,forms,router,platform-browser,platform-browser-dynamic} 21.2.10 21.2.17
CDK @angular/cdk 21.2.8 21.2.14

(The framework line has no 21.2.18 — 21.2.17 is its latest; CLI and framework version independently.)

The toolchain bump is security-motivated: 21.2.8 exact-pins several build-time dependencies with open advisories, which a plain lockfile refresh cannot move. 21.2.18 re-pins them all to patched versions:

Pinned dep Before After Dependabot alerts resolved
undici 7.24.4 7.28.0 #617 (high), #614 (high), #621, #613, #623, #616
vite 7.3.2 7.3.6 #591 (high), #594
piscina 5.1.4 5.2.0 #610 (high)
webpack-dev-server 5.2.3 5.2.5 #609, #518
esbuild 0.27.3 0.28.1 #555
postcss 8.5.6 8.5.12 #474

13 alerts total (4 high). Not covered here (separate lockfile copies of the same packages, planned as a follow-up refresh): undici ^6.25.0 (#622, #620, #615) and vite 8.x (#593, #590).

The framework/CDK alignment additionally clears the YN0060 incorrect-peer-dependency warnings printed on every yarn install (the tree previously mixed 21.2.10 and 21.2.17).

Diff is frontend/package.json + the corresponding yarn.lock re-resolution; no config or code changes.

Any related issues, documentation, discussions?

Closes #6154

How was this PR tested?

Existing test cases; no behavior change expected.

  • yarn build (production ng build) — succeeds, only pre-existing CommonJS warnings.
  • yarn test:ci — all suites pass (NX Successfully ran target test for project gui).

Both were run after each of the two commits (toolchain bump; framework/CDK alignment).

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Fable 5)

Patch upgrade of @angular-devkit/build-angular and @angular/cli from
21.2.8, moving their exact-pinned build deps to patched versions:
undici 7.28.0, vite 7.3.6, esbuild 0.28.1, piscina 5.2.0,
webpack-dev-server 5.2.5, postcss 8.5.12. Clears 15 open npm
security advisories that a plain lockfile refresh cannot reach.

Closes apache#6154

Co-Authored-By: Claude Fable 5 <[email protected]>
@github-actions github-actions Bot added dependencies Pull requests that update a dependency file frontend Changes related to the frontend GUI labels Jul 5, 2026
@github-actions

github-actions Bot commented Jul 5, 2026 •

Copy link
Copy Markdown
Contributor

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • Contributors with relevant context: @PG1204, @zyratlo
    You can notify them by mentioning @PG1204, @zyratlo in a comment.

@codecov-commenter

codecov-commenter commented Jul 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.88%. Comparing base (97ce29a) to head (7628e0f).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6155      +/-   ##
============================================
- Coverage     59.82%   58.88%   -0.95%     
  Complexity     3296     3296              
============================================
  Files          1131     1133       +2     
  Lines         43770    46065    +2295     
  Branches       4745     5232     +487     
============================================
+ Hits          26185    27124     +939     
- Misses        16157    17471    +1314     
- Partials       1428     1470      +42     
Flag Coverage Δ *Carryforward flag
access-control-service 70.00% <ø> (ø) Carriedforward from ac071c9
agent-service 44.59% <ø> (ø) Carriedforward from ac071c9
amber 64.79% <ø> (ø) Carriedforward from ac071c9
computing-unit-managing-service 0.00% <ø> (ø) Carriedforward from ac071c9
config-service 52.30% <ø> (ø) Carriedforward from ac071c9
file-service 62.81% <ø> (ø) Carriedforward from ac071c9
frontend 50.17% <ø> (-1.34%) ⬇️
notebook-migration-service 78.57% <ø> (ø) Carriedforward from ac071c9
pyamber 91.18% <ø> (ø) Carriedforward from ac071c9
workflow-compiling-service 55.14% <ø> (ø) Carriedforward from ac071c9

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Yicong-Huang Yicong-Huang added the release/v1.2 back porting to release/v1.2 label Jul 5, 2026
Complete the toolchain line at 21.2.18 (@angular-devkit/core,
@angular-devkit/schematics, @schematics/angular) and align the
framework line to its latest 21.2.17 (was mixed 21.2.10/21.2.17),
plus @angular/cdk 21.2.8 -> 21.2.14. Clears the YN0060 peer
dependency warnings on install.

Co-Authored-By: Claude Fable 5 <[email protected]>
@Yicong-Huang Yicong-Huang changed the title chore(deps): bump Angular CLI toolchain to 21.2.18 chore(deps): align Angular packages, CLI toolchain to 21.2.18 Jul 5, 2026
@Yicong-Huang
Yicong-Huang added this pull request to the merge queue Jul 5, 2026
Merged via the queue into apache:main with commit fd79073 Jul 5, 2026
27 checks passed
@Yicong-Huang
Yicong-Huang deleted the chore/angular-cli-21.2.18 branch July 5, 2026 09:54
Yicong-Huang added a commit that referenced this pull request Jul 5, 2026
### What changes were proposed in this PR?

Patch-level alignment of all Angular packages in `frontend/`, across the
two Angular release lines:

| Line | Packages | Before | After |
| --- | --- | --- | --- |
| CLI toolchain | `@angular/cli`, `@angular-devkit/build-angular`,
`@angular-devkit/core`, `@angular-devkit/schematics`,
`@schematics/angular` | 21.2.8 | 21.2.18 |
| Framework | `@angular/{core,common,compiler,compiler-cli,localize}` |
21.2.17 | 21.2.17 (unchanged) |
| Framework |
`@angular/{animations,forms,router,platform-browser,platform-browser-dynamic}`
| 21.2.10 | 21.2.17 |
| CDK | `@angular/cdk` | 21.2.8 | 21.2.14 |

(The framework line has no 21.2.18 — 21.2.17 is its latest; CLI and
framework version independently.)

The toolchain bump is security-motivated: 21.2.8 exact-pins several
build-time dependencies with open advisories, which a plain lockfile
refresh cannot move. 21.2.18 re-pins them all to patched versions:

| Pinned dep | Before | After | Dependabot alerts resolved |
| --- | --- | --- | --- |
| undici | 7.24.4 | 7.28.0 |
[#617](https://github.com/apache/texera/security/dependabot/617) (high),
[#614](https://github.com/apache/texera/security/dependabot/614) (high),
[#621](https://github.com/apache/texera/security/dependabot/621),
[#613](https://github.com/apache/texera/security/dependabot/613),
[#623](https://github.com/apache/texera/security/dependabot/623),
[#616](https://github.com/apache/texera/security/dependabot/616) |
| vite | 7.3.2 | 7.3.6 |
[#591](https://github.com/apache/texera/security/dependabot/591) (high),
[#594](https://github.com/apache/texera/security/dependabot/594) |
| piscina | 5.1.4 | 5.2.0 |
[#610](https://github.com/apache/texera/security/dependabot/610) (high)
|
| webpack-dev-server | 5.2.3 | 5.2.5 |
[#609](https://github.com/apache/texera/security/dependabot/609),
[#518](https://github.com/apache/texera/security/dependabot/518) |
| esbuild | 0.27.3 | 0.28.1 |
[#555](https://github.com/apache/texera/security/dependabot/555) |
| postcss | 8.5.6 | 8.5.12 |
[#474](https://github.com/apache/texera/security/dependabot/474) |

13 alerts total (4 high). Not covered here (separate lockfile copies of
the same packages, planned as a follow-up refresh): undici `^6.25.0`
([#622](https://github.com/apache/texera/security/dependabot/622),
[#620](https://github.com/apache/texera/security/dependabot/620),
[#615](https://github.com/apache/texera/security/dependabot/615)) and
vite 8.x
([#593](https://github.com/apache/texera/security/dependabot/593),
[#590](https://github.com/apache/texera/security/dependabot/590)).

The framework/CDK alignment additionally clears the `YN0060`
incorrect-peer-dependency warnings printed on every `yarn install` (the
tree previously mixed 21.2.10 and 21.2.17).

Diff is `frontend/package.json` + the corresponding `yarn.lock`
re-resolution; no config or code changes.

### Any related issues, documentation, discussions?

Closes #6154

### How was this PR tested?

Existing test cases; no behavior change expected.

- `yarn build` (production `ng build`) — succeeds, only pre-existing
CommonJS warnings.
- `yarn test:ci` — all suites pass (`NX Successfully ran target test for
project gui`).

Both were run after each of the two commits (toolchain bump;
framework/CDK alignment).

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Fable 5)

---------

(backported from commit fd79073)

Co-authored-by: Claude Fable 5 <[email protected]>
@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Backport to release/v1.2 succeeded as 8f2faef. Run

sshiv012 pushed a commit to sshiv012/texera that referenced this pull request Jul 6, 2026
### 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]>
kz930 pushed a commit to Nicoleee1108/texera_workflow_to_py that referenced this pull request Jul 24, 2026
…pache#6848)

### What changes were proposed in this PR?

Replace Dependabot version updates with Renovate (Mend "Forking
Renovate" app), as used by other ASF projects (Polaris, Fineract,
JMeter, Solr):

- Add `.github/renovate.json5` carrying over the `dependabot.yml`
semantics: weekly Monday cadence; patch and minor bumps grouped into
per-area PRs (except sbt minors, which stay individual so CI failures
remain attributable); majors as individual PRs; Angular majors excluded
(guided `ng update`, apache#6155), per-area conventional-commit scopes. Only
the previously covered ecosystems are enabled (`npm`, `bun`, `sbt`,
`pip_requirements`, `github-actions`).
- Pin `pandas` / `numpy` / `pyarrow` and the JVM `org.apache.arrow:*`
artifacts (Arrow IPC data path between the JVM engine and Python
workers; upgraded manually and in lockstep).
- Remove `.github/dependabot.yml`.

What Renovate adds that Dependabot cannot do:

1. PRs come from the bot's fork instead of `dependabot/...` branches in
this repo.
2. Security-fix PRs are typed `fix(...)` + `security` and `release/v1.2`
(backport marker) labels, while routine bumps are `chore(...)`
(Dependabot's `commit-message.prefix` cannot distinguish the two).
3. Vulnerability detection via OSV (`osvVulnerabilityAlerts`), so no
Dependabot-alerts read permission is needed.
4. Mature sbt support vs. Dependabot's beta.

Merge prerequisite: the Forking Renovate app must be enabled for this
repo (INFRA ticket, read-only app; no bot token or write access
involved). Until then this config is inert. Dependabot **alerts**
(detection in the Security tab; `.asf.yaml` `dependabot_alerts: true`)
are unaffected. Renovate takes over both version updates and
security-fix PRs (via OSV).
### Any related issues, documentation, discussions?

Closes apache#6847

INFRA ticket: https://issues.apache.org/jira/browse/INFRA-28167

### How was this PR tested?

- `renovate-config-validator` passes.
- Local dry-run (`renovate --platform=local`, debug log): all 5 managers
extract (675 deps, 52 files); patch/minor groups form per area while sbt
minors and majors stay individual; Angular majors filtered as disabled;
pinned Arrow-path packages produce no updates; OSV flags
torch/setuptools and keeps their fixes as separate vulnerability
branches.
- Final PR title/label rendering happens at branch-creation time, which
local mode skips; will be watched on the first real run after INFRA
enables the app.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (claude-fable-5)

---------

Signed-off-by: Yicong Huang <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file frontend Changes related to the frontend GUI release/v1.2 back porting to release/v1.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump Angular CLI toolchain to 21.2.18 to clear npm security alerts

3 participants