Skip to content

Upgrade the UI from Node 22 to Node 26 before Node 22 end of life (2027-04-30) #38794

Backlog

Description

@harsh-vador

Why

Both UIs run on Node 22: openmetadata-ui/.nvmrc and collate-ui/.nvmrc are v22.23.5, and CI reads its Node version from those files.

Node Status today End of life
22 (current) Maintenance 2027-04-30
24 Maintenance since 2026-10-20 2028-04-30
26 Active LTS since 2026-10-28 2029-04-30

Source: https://github.com/nodejs/Release/blob/main/schedule.json

Target Node 26. Moving to 24 now would mean a second upgrade within a year.

Related: #38456 (@types/node 22 → 26) was closed without merging, because the types would have been ahead of the Node 22 runtime. @types/node should move together with the runtime.

Blocker: @windmillcode/quill-emoji

  • @windmillcode/quill-emoji@2.0.3000 declares engines.node: "18.x || 20.x || 22.x". On Node 24 or later, yarn install (yarn 1) fails with a hard engines error.
  • The package hasn't been published since 2024-12, so no upstream fix is coming.
  • --ignore-engines / .yarnrc ignore-engines is not an option: it also turns off our own engines.node floor.
  • Its only use is components/ActivityFeed/FeedEditor/FeedEditor.tsx, which registers TextAreaEmoji as the emoji-textarea Quill module (toolbar emoji panel), plus the outside-click handler and quill-emoji.css. The test mocks are in FeedEditor.test.tsx and FeedEditorDuplicateId.test.tsx.
  • Emoji reactions don't depend on it: ActivityFeed/Reactions/* uses @github/g-emoji-element.

Options to evaluate:

  1. Drop the toolbar emoji panel. Users can still enter emoji through the OS picker (macOS Ctrl+Cmd+Space, Windows Win+.). This deletes code, adds no dependency, and needs a product sign-off.
  2. Build a small picker as a custom Quill toolbar handler, reusing the emoji data and components we already ship.
  3. Switch to a maintained picker library (e.g. emoji-mart). This adds a dependency, so check bundle size.

quill-emoji-new is a rewrite, not a drop-in replacement.

Plan

  1. Remove the quill-emoji blocker in OSS (one of the options above). Collate lists the package only so the mirror resolves, so it drops it in the same change.
  2. Audit on Node 26, OSS and Collate: yarn install, jest, vite build, tsc:check / tsc:playwright, lint, and the Playwright smoke tests. A Node 24 audit on 2026-11-19 found quill-emoji as the only blocker; Node 26 hasn't been tested yet.
  3. Bump Node together in both repos: .nvmrc, engines.node and @types/node ^26. Merge OSS first, then the Collate companion. The nightly UI dependency-major alignment check fails if @types/node majors drift apart between the two repos.

Target: before the end of January 2027, leaving buffer before Node 22 reaches end of life.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    UI

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions