Skip to content

build(deps): resolve compatible update backlog - #218

Merged
amanthanvi merged 1 commit into
mainfrom
codex/resolve-open-prs
Sep 3, 2026
Merged

build(deps): resolve compatible update backlog#218
amanthanvi merged 1 commit into
mainfrom
codex/resolve-open-prs

Conversation

@amanthanvi

@amanthanvi amanthanvi commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Summary

Intentionally excluded

Validation

  • corepack pnpm gate
  • corepack pnpm audit --audit-level moderate
  • corepack pnpm audit --prod --audit-level moderate
  • git diff --check

Summary by Sourcery

Resolve the compatible dependency update backlog while preserving supported toolchain compatibility and addressing the SearchPalette hook-lint issue.

Bug Fixes:

  • Restructure SearchPalette state handling so query changes and asynchronous results reset search state without violating the React hooks lint rule.

Enhancements:

  • Consolidate compatible dependency updates across the workspace, including React, Next.js, Geist, type definitions, Prettier, tsx, and globals.
  • Apply the formatting updates required by the newer Prettier release across application and tagging files.

Build:

  • Update the workspace lockfile for the consolidated dependency upgrades.
  • Add a pnpm override to remediate vulnerable versions of @humanfs/node.

Consolidate the compatible Dependabot updates on one tested lockfile, align React and Next package families, adopt the new Next lint rules without suppressions, format the affected tagging harnesses for Prettier 3.9, and pin the patched @humanfs/node release.
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
synac-web Ready Ready Preview Sep 3, 2026 3:36pm UTC

@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: f74705f5-248c-47b0-9de4-acdbc24e05b9


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.

@sourcery-ai sourcery-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.

Sorry @amanthanvi, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 4 days and 9 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Reviewer's Guide

This PR consolidates the compatible dependency backlog into one refreshed lockfile, applies the humanfs security override, and updates formatting/tooling. It also moves SearchPalette state resets out of an effect and into user-action and search-result paths to satisfy the hooks lint rule while preserving debounced search behavior.

Sequence diagram for SearchPalette debounced search and state resets

sequenceDiagram
    actor User
    participant SearchPalette
    participant SearchAPI

    User->>SearchPalette: updateQuery(value)
    SearchPalette->>SearchPalette: setEntries([])
    SearchPalette->>SearchPalette: setSearching(true)
    SearchPalette->>SearchAPI: fetch(/api/v1/search?q=...)
    SearchAPI-->>SearchPalette: results
    SearchPalette->>SearchPalette: setEntries(results.slice(0, 8))
    SearchPalette->>SearchPalette: setActiveIndex(0)
    SearchPalette->>SearchPalette: setSearching(false)
    User->>SearchPalette: close() or openPalette()
    SearchPalette->>SearchPalette: setEntries([])
    SearchPalette->>SearchPalette: setSearching(false)
    SearchPalette->>SearchPalette: setActiveIndex(0)
Loading

File-Level Changes

Change Details Files
Consolidate compatible dependency upgrades and refresh the lockfile, while adding a security override for the vulnerable humanfs package.
  • Align React and React DOM at 19.2.8 and Next and eslint-config-next at 16.3.4.
  • Upgrade Geist, React type definitions, Prettier, tsx, and globals across the relevant workspaces.
  • Add a pnpm override forcing @humanfs/node to a non-vulnerable release.
  • Regenerate pnpm-lock.yaml with the consolidated dependency graph; ESLint 10 and Node 26 types remain intentionally excluded.
apps/web/package.json
package.json
packages/shared/package.json
tools/content/package.json
tools/ingest/package.json
pnpm-lock.yaml
Restructure SearchPalette state management so query-driven resets occur in event and async-result paths instead of a state-setting effect.
  • Reset entries, loading state, and active selection when opening, closing, or changing the query.
  • Reset the active selection when search results resolve or an error clears results.
  • Remove the items-dependent active-index effect to satisfy react-hooks/set-state-in-effect without suppressing the rule.
  • Preserve debounced, abortable search behavior for queries of at least two characters.
apps/web/src/components/SearchPalette.tsx
Apply the updated Prettier formatting required by the tagging gate.
  • Reformat search palette JSX and expressions.
  • Reformat tagging test data and union type declarations.
apps/web/src/components/SearchPalette.tsx
experiments/tagging/production-backfill/local-review.test.ts
experiments/tagging/synthetic-reference/target-panel.ts
experiments/tagging/synthetic-reference/types.ts

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@greptile-apps

greptile-apps Bot commented Sep 3, 2026

Copy link
Copy Markdown

Greptile Summary

Updates compatible dependencies across the workspace and adjusts SearchPalette state resets for the newer React hooks linting behavior.

  • Aligns Next.js, React, React DOM, Geist, React types, Prettier, tsx, and globals versions.
  • Overrides vulnerable @humanfs/node releases and refreshes the pnpm lockfile.
  • Moves SearchPalette result, loading, and selection resets into event and request-completion paths.
  • Applies formatting-only changes to tagging experiment files.

Confidence Score: 5/5

The PR appears safe to merge, with no concrete changed-code defect identified.

The updated dependency graph satisfies the repository’s supported Node runtime and peer constraints, while the SearchPalette refactor preserves resets across query changes, request completion, closing, and reopening.

Important Files Changed

Filename Overview
apps/web/src/components/SearchPalette.tsx Reworks query, result, loading, and active-selection resets without leaving a newly introduced reachable state-consistency defect.
apps/web/package.json Aligns the web application’s compatible framework, runtime, lint, formatting, and type package versions.
package.json Updates globals and adds a targeted @humanfs/node security override compatible with the supported runtime.
pnpm-lock.yaml Resolves the declared dependency upgrades consistently, with compatible engine and peer constraints.
experiments/tagging/production-backfill/local-review.test.ts Contains only Prettier-driven formatting changes.
experiments/tagging/synthetic-reference/target-panel.ts Contains only Prettier-driven union-type formatting changes.
experiments/tagging/synthetic-reference/types.ts Contains only Prettier-driven union-type formatting changes.

Reviews (1): Last reviewed commit: "build(deps): resolve compatible update b..." | Re-trigger Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant