Skip to content

Bump vulnerable dependencies flagged by Dependabot - #547

Merged
FarhanAliRaza merged 3 commits into
mainfrom
farhan/lucid-hamilton-naveea
Nov 4, 2026
Merged

FarhanAliRaza merged 3 commits into
mainfrom
farhan/lucid-hamilton-naveea

Conversation

@FarhanAliRaza

@FarhanAliRaza FarhanAliRaza commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Upgrades the dependencies behind the open Dependabot alerts whose lockfiles still exist in the repo. Only lockfiles, dependency floors and package.json change. Nothing under python/, src/ or js/ changes, so this needs the skip-changelog label.

Changes

Lockfile Upgrade Advisories
uv.lock aiohttp 3.14.3 → 3.14.5, certifi 2026.10.18 → 2026.10.23, yarl 1.24.5 → 1.25.1 (needed by aiohttp) GHSA-2g87-pp6c-29x5, GHSA-9xw5-w5jj-pvcg, GHSA-5wr8-gcqf-gqf3 (fixed in 3.14.4); GHSA-6q48-6c7w-9gw2
pyproject.toml dev minimum raised to aiohttp>=3.14.4 —
docs/app/uv.lock virtualenv 21.9.0 → 21.15.5, certifi 2026.10.19 → 2026.10.23 GHSA-5vjq-rrrf-7h2q, GHSA-c978-59m8-c77v, GHSA-8rjx-v5ww-45pp, GHSA-vxj4-q4g9-crj7, GHSA-c947-3pg5-gm8q (all fixed by ≤ 21.14.13)
package.json / package-lock.json vite ^8.1.5 → ^8.3.5 (includes launch-editor 2.14.2), source-map-js 1.2.1 → 1.2.2, nanoid → 3.3.20 launch-editor fs.existsSync() bypass, GHSA-68fv-2mgg-jv7q, GHSA-2v37-7h3g-55p8
docs/app/reflex.lock vite 8.3.2 → 8.3.5, plus bun audit fix (source-map-js, browserslist, brace-expansion, nanoid) same as above, plus GHSA-73wf-gq98-2v4g

The Python locks were regenerated with uv 0.13.5, the version CI pins, so the lockfile format (revision = 5) and the docs app's Reflex git revision stay the same.

Testing

  • pre-commit run --all-files, ruff check ., ruff format --check .: pass
  • pytest tests/reflex_adapter: 251 passed, run against aiohttp 3.14.5
  • node js/build.mjs and scripts/render_smoke_nonumpy.py: pass with vite 8.3.5
  • npm audit: 0 vulnerabilities

Not covered here

  • Alerts on python/reflex-xy/uv.lock point at a file that no longer exists on main, so they're stale. The root uv.lock alerts for the same aiohttp issues are fixed here.
  • Tornado alerts on benchmarks/launch_baselines/* are left alone. benchmarks/README.md says these recorded benchmark environments must never be overwritten, and tornado is only pinned there to reproduce benchmark runs. I suggest dismissing them as "vulnerable code not used".
  • minimatch (moderate) is still flagged in the docs app. It comes through @react-router/fs-routes, which accepts only ^10, and the fix is in 11.0.1, so fixing it would need an override that crosses a major version.

Generated by Claude Code

View guided diff Turn on auto-fix

Summary by CodeRabbit

  • Chores
    • Updated development tooling and the Binder build environment to newer versions. No user-facing changes are included in this update.

Python (uv 0.13.5, matching CI; lock format unchanged):
- uv.lock: aiohttp 3.14.3 -> 3.14.5 (GHSA-2g87-pp6c-29x5,
  GHSA-9xw5-w5jj-pvcg, GHSA-5wr8-gcqf-gqf3; fixed in 3.14.4), certifi
  2026.10.18 -> 2026.10.23 (GHSA-6q48-6c7w-9gw2), yarl 1.24.5 -> 1.25.1
  (required by aiohttp). Dev floor raised to aiohttp>=3.14.4.
- docs/app/uv.lock: virtualenv 21.9.0 -> 21.15.5 (GHSA-5vjq-rrrf-7h2q,
  GHSA-c978-59m8-c77v, GHSA-8rjx-v5ww-45pp, GHSA-vxj4-q4g9-crj7,
  GHSA-c947-3pg5-gm8q), certifi 2026.10.19 -> 2026.10.23.

npm:
- package-lock.json: vite ^8.1.5 -> ^8.3.5 (bundles launch-editor
  2.14.2), source-map-js 1.2.1 -> 1.2.2 (GHSA-68fv-2mgg-jv7q), nanoid
  -> 3.3.20 (GHSA-2v37-7h3g-55p8). npm audit: 0 vulnerabilities.
- docs/app/reflex.lock: vite 8.3.2 -> 8.3.5, plus `bun audit fix`
  (source-map-js, browserslist, brace-expansion, nanoid).
@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Development dependency versions changed for Vite, PostCSS, and aiohttp. The Binder Rust toolchain pin changed to 1.99.*, with corresponding documentation and test updates.

Changes: Development dependency updates

Layer / File(s) Summary
Update development dependency versions
package.json, docs/app/reflex.lock/package.json, pyproject.toml
The Vite range changes from ^8.1.5 to ^8.3.5, and its lockfile version changes from 8.3.2 to 8.3.5. The PostCSS override changes from ^8.5.23 to ^8.5.32. The aiohttp development dependency minimum changes from 3.14.3 to 3.14.4.

Binder Rust toolchain

Layer / File(s) Summary
Update Binder Rust toolchain pin
.binder/environment.yml, spec/design-dossier.md, tests/test_binder_config.py
The Binder Rust pin changes from 1.88.* to 1.99.*. Comments identify the stable CI toolchain and the Rust 1.89 minimum for argminmax 0.7.1. The design dossier and test expectation use 1.99.*.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

  • reflex-dev/xy#539: Updates the CI Rust toolchain to 1.99.1, which the Binder pin is stated to track.
  • reflex-dev/xy#535: Adds argminmax 0.7.1, whose Rust 1.89 requirement is cited in the Binder pin comments.

Suggested reviewers: masenf, alek99

Merge Risk: Minimal · up to cc225

The dependency and Binder updates are consistent with the repository’s current build and configuration contracts, with no identified merge-blocking risk.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the primary dependency updates in the pull request. It is concise and specific, although it does not mention the related Binder Rust toolchain change.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 1 files. (2 skipped: 2 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches
Generate docstrings
  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fb2c194f-1467-4111-8d10-54abfb7e93b6
Commits

Reviewing files that changed from the base of the PR and between 7109bcf and cc2252e.

Files selected for processing: 3
  • .binder/environment.yml
  • spec/design-dossier.md
  • tests/test_binder_config.py

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 7 files

View guided diff | Turn on auto-fix | Re-trigger cubic

@greptile-apps

greptile-apps Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no new actionable issues were found.

Summary

Updates dependency versions and raises Binder’s Rust pin to match CI.

  • The root Python development environment uses refreshed aiohttp and yarl versions.
  • The docs app’s Python environment uses refreshed virtualenv and certifi versions.
  • The root JavaScript build tools use refreshed Vite and PostCSS versions.
  • The docs app’s JavaScript tools use Vite 8.3.5 and refreshed supporting packages.
  • Binder builds use Rust 1.99 to match the current native build requirements.

Reviews (3) · Last reviewed commit: "Track CI's stable Rust (1.99) in the Bin..." · Reviewed by Greptile

Comment thread package-lock.json Resolved
@codspeed

codspeed Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

1 warning, 1 note

⚠️ 11 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

ℹ️ 109 benchmarks have no flamegraph

The flamegraph wasn't generated: the symbols of the profiling trace could not be resolved, because no information about the language frames was collected.

See affected benchmarks

✅ 109 untouched benchmarks
⏩ 2 skipped benchmarks1


Comparing farhan/lucid-hamilton-naveea (cc2252e) with main (5e58b12)

Open in CodSpeed

Footnotes

  1. 2 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

vite 8.3.5 declares postcss@^8.5.30, but the root override (^8.5.23) kept
the lock on 8.5.25. Raise the override to the current release and refresh
package-lock.json.
argminmax 0.7.1 (added in #535) declares rust-version 1.89, but
.binder/environment.yml still pinned rust=1.88.*, so the repo2docker
image's `cargo build --release` fails. The Binder workflow only runs on
.binder/, pyproject.toml and hatch_build.py changes, so the break stayed
latent on main until this PR touched pyproject.toml.

Pin rust=1.99.* to match the stable toolchain ci.yml builds with, which
also clears every rust-version in Cargo.lock. Update the config test and
the dossier's Binder contract to match.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread .binder/environment.yml Resolved
@FarhanAliRaza
FarhanAliRaza merged commit ae06191 into main Nov 4, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant