Skip to content

fix: upgrade packages to stable versions#1810

Open
gnPy wants to merge 2 commits into
langflow-ai:mainfrom
gnPy:fix_upgradeLibraryPy
Open

fix: upgrade packages to stable versions#1810
gnPy wants to merge 2 commits into
langflow-ai:mainfrom
gnPy:fix_upgradeLibraryPy

Conversation

@gnPy

@gnPy gnPy commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores

    • Bumped many framework and tooling dependencies (React, React DOM, Next, Docusaurus, Radix UI, TypeScript, Go/Kubernetes libraries, and other build/test tooling) for compatibility and maintenance.
    • Updated site and SDK package dependencies and dev tooling.
  • Style

    • Reordered exported component lists across UI modules for consistent module organization.

@github-actions github-actions Bot added community documentation 📘 Improvements or additions to documentation frontend 🟨 Issues related to the UI/UX labels Jun 9, 2026
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3d9945be-8793-4fc9-88e2-618fb86559d6

📥 Commits

Reviewing files that changed from the base of the PR and between 2fffbd0 and 3d3716a.

⛔ Files ignored due to path filters (4)
  • docs/package-lock.json is excluded by !**/package-lock.json
  • frontend/package-lock.json is excluded by !**/package-lock.json
  • kubernetes/operator/go.sum is excluded by !**/*.sum
  • sdks/typescript/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (20)
  • docs/package.json
  • frontend/app/api/queries/useGetSearchQuery.ts
  • frontend/app/onboarding/_components/onboarding-card.tsx
  • frontend/app/onboarding/_components/onboarding-content.tsx
  • frontend/components/ui/accordion.tsx
  • frontend/components/ui/alert.tsx
  • frontend/components/ui/avatar.tsx
  • frontend/components/ui/collapsible.tsx
  • frontend/components/ui/command.tsx
  • frontend/components/ui/dialog.tsx
  • frontend/components/ui/dropdown-menu.tsx
  • frontend/components/ui/popover.tsx
  • frontend/components/ui/select.tsx
  • frontend/components/ui/settings-tabs.tsx
  • frontend/components/ui/sheet.tsx
  • frontend/components/ui/tabs.tsx
  • frontend/components/ui/tooltip.tsx
  • frontend/package.json
  • kubernetes/operator/go.mod
  • sdks/typescript/package.json
✅ Files skipped from review due to trivial changes (12)
  • frontend/components/ui/popover.tsx
  • frontend/components/ui/tooltip.tsx
  • frontend/components/ui/avatar.tsx
  • frontend/components/ui/settings-tabs.tsx
  • frontend/components/ui/sheet.tsx
  • frontend/app/api/queries/useGetSearchQuery.ts
  • frontend/components/ui/alert.tsx
  • frontend/app/onboarding/_components/onboarding-card.tsx
  • frontend/components/ui/dropdown-menu.tsx
  • frontend/components/ui/select.tsx
  • frontend/components/ui/command.tsx
  • frontend/components/ui/accordion.tsx
🚧 Files skipped from review as they are similar to previous changes (6)
  • sdks/typescript/package.json
  • frontend/components/ui/tabs.tsx
  • frontend/components/ui/collapsible.tsx
  • docs/package.json
  • frontend/package.json
  • kubernetes/operator/go.mod

Walkthrough

This PR updates dependency versions across docs, frontend, and the Kubernetes operator; reorders named exports in many frontend UI modules without changing exported symbols; and makes small frontend code cleanups (truthiness checks and a blank-line insertion).

Changes

Dependency and Platform Updates

Layer / File(s) Summary
Documentation and frontend package updates
docs/package.json, frontend/package.json
Docusaurus/site and frontend dependency/devDependency version specifiers updated; @docusaurus/faster and @rspack/core added to docs deps; frontend deps/devDeps bumped across UI, tooling, and types.
Kubernetes operator Go module updates
kubernetes/operator/go.mod
Primary k8s packages and controller-runtime bumped; large refresh of indirect Go module dependency versions and removals.
TypeScript SDK development dependencies
sdks/typescript/package.json
DevDependencies updated: @types/node, tsup, typescript, and vitest version ranges changed.

UI Component Module Export Reorganization

Layer / File(s) Summary
Component export reordering
frontend/components/ui/accordion.tsx, frontend/components/ui/alert.tsx, frontend/components/ui/avatar.tsx, frontend/components/ui/collapsible.tsx, frontend/components/ui/command.tsx, frontend/components/ui/dialog.tsx, frontend/components/ui/dropdown-menu.tsx, frontend/components/ui/popover.tsx, frontend/components/ui/select.tsx, frontend/components/ui/settings-tabs.tsx, frontend/components/ui/sheet.tsx, frontend/components/ui/tabs.tsx, frontend/components/ui/tooltip.tsx
Reordered named export lists in many UI modules; exported identifiers remain unchanged.

Code Cleanup and Formatting

Layer / File(s) Summary
Truthiness checks and formatting
frontend/app/onboarding/_components/onboarding-card.tsx, frontend/app/onboarding/_components/onboarding-content.tsx, frontend/app/api/queries/useGetSearchQuery.ts
Replaced explicit !! boolean coercion with direct truthiness checks in onboarding files; inserted a blank line before an export in the search query module.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Suggested reviewers

  • lucaseduoli
  • mfortman11
  • zzzming
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ 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%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'fix: upgrade packages to stable versions' accurately describes the primary change: dependency version upgrades across multiple package.json and go.mod files to newer/stable versions.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added bug 🔴 Something isn't working. and removed documentation 📘 Improvements or additions to documentation labels Jun 9, 2026
@gnPy gnPy force-pushed the fix_upgradeLibraryPy branch from 2fffbd0 to 3d3716a Compare June 9, 2026 10:34
@github-actions github-actions Bot added documentation 📘 Improvements or additions to documentation bug 🔴 Something isn't working. and removed bug 🔴 Something isn't working. documentation 📘 Improvements or additions to documentation labels Jun 9, 2026

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🧹 Nitpick comments (1)
sdks/typescript/package.json (1)

50-53: Confirm dev dependency versions exist; keep a Vitest 4 compatibility check

  • Published versions exist for @types/node@25.9.2, typescript@5.7.3, vitest@4.1.8, and tsup@8.5.1.
  • Remaining risk is the Vitest major upgrade: ensure sdks/typescript/vitest.config.ts (and any test setup) is compatible with Vitest 4.x.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@sdks/typescript/package.json` around lines 50 - 53, Verify that the pinned
devDependency versions in package.json (`@types/node` 25.9.2, tsup 8.5.1,
typescript 5.7.3, vitest 4.1.8) are valid upstream (npm) and, importantly,
ensure test config and setup are compatible with Vitest v4 by opening
sdks/typescript/vitest.config.ts and any test setup files (e.g., test setup or
global-setup hooks) and updating deprecated APIs/option names to the Vitest 4.x
equivalents; run the test suite locally with vitest@4.1.8 to confirm no runtime
config errors and adjust configuration symbols (vite config export,
defineGlobals, setupFiles, reporters, etc.) in vitest.config.ts as needed.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@kubernetes/operator/go.mod`:
- Around line 7-12: You updated k8s dependencies in go.mod to k8s.io/* v0.36.1
and sigs.k8s.io/controller-runtime v0.24.1; verify compatibility by building and
running tests for the operator and ensure controller-runtime APIs used
(Reconcile, log.FromContext,
ctrl.NewControllerManagedBy(...).For(...).Owns(...).Complete, and client methods
Client.Get/Create/Update and Client.Status().Update) still compile and behave as
expected; if any signature or import issues appear, either align
controller-runtime and k8s.io/* versions to the officially supported pair
(controller-runtime v0.24.x with client-go v0.36.0) or adjust imports/usages to
match the updated patch-level APIs, then commit the go.mod update and
vendor/lock changes after the successful local build/tests.

---

Nitpick comments:
In `@sdks/typescript/package.json`:
- Around line 50-53: Verify that the pinned devDependency versions in
package.json (`@types/node` 25.9.2, tsup 8.5.1, typescript 5.7.3, vitest 4.1.8)
are valid upstream (npm) and, importantly, ensure test config and setup are
compatible with Vitest v4 by opening sdks/typescript/vitest.config.ts and any
test setup files (e.g., test setup or global-setup hooks) and updating
deprecated APIs/option names to the Vitest 4.x equivalents; run the test suite
locally with vitest@4.1.8 to confirm no runtime config errors and adjust
configuration symbols (vite config export, defineGlobals, setupFiles, reporters,
etc.) in vitest.config.ts as needed.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5a9b7200-3335-46b5-806b-2bd03235c50c

📥 Commits

Reviewing files that changed from the base of the PR and between cb3f5ed and 2fffbd0.

⛔ Files ignored due to path filters (4)
  • docs/package-lock.json is excluded by !**/package-lock.json
  • frontend/package-lock.json is excluded by !**/package-lock.json
  • kubernetes/operator/go.sum is excluded by !**/*.sum
  • sdks/typescript/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (20)
  • docs/package.json
  • frontend/app/api/queries/useGetSearchQuery.ts
  • frontend/app/onboarding/_components/onboarding-card.tsx
  • frontend/app/onboarding/_components/onboarding-content.tsx
  • frontend/components/ui/accordion.tsx
  • frontend/components/ui/alert.tsx
  • frontend/components/ui/avatar.tsx
  • frontend/components/ui/collapsible.tsx
  • frontend/components/ui/command.tsx
  • frontend/components/ui/dialog.tsx
  • frontend/components/ui/dropdown-menu.tsx
  • frontend/components/ui/popover.tsx
  • frontend/components/ui/select.tsx
  • frontend/components/ui/settings-tabs.tsx
  • frontend/components/ui/sheet.tsx
  • frontend/components/ui/tabs.tsx
  • frontend/components/ui/tooltip.tsx
  • frontend/package.json
  • kubernetes/operator/go.mod
  • sdks/typescript/package.json

Comment thread kubernetes/operator/go.mod
@github-actions github-actions Bot added bug 🔴 Something isn't working. and removed bug 🔴 Something isn't working. labels Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🔴 Something isn't working. community frontend 🟨 Issues related to the UI/UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants