Skip to content

Refresh ws to 8.23.1 - #32472

Open
BOHEUS wants to merge 1 commit into
twentyhq:mainfrom
BOHEUS:chore/bump-ws
Open

BOHEUS wants to merge 1 commit into
twentyhq:mainfrom
BOHEUS:chore/bump-ws

Conversation

@BOHEUS

@BOHEUS BOHEUS commented Dec 5, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

Dependabot flags ws below 8.23.0 (GHSA-37g9-w4hg-h9qr, high: memory exhaustion via unbounded automatic pong responses). In the root lockfile the ^8.18.0, ^8.19.0, ^8.21.0, ^8.21.1 and ^8.21.3 ranges still resolved to 8.21.0 or 8.22.0.

Fix

Lockfile-only refresh (yarn up -R ws). Every ws ^8 range now resolves to 8.23.1, and the 8.22.0 entry is gone.

Not covered

  • miniflare 5.20261117.0-beta (via wrangler 4.164.0 in twenty-website) exact-pins ws 8.21.0. wrangler 4.171.0 pins miniflare 5.20261201.0-beta, which uses ws 8.23.1, but it was published 2026-12-03 and is still inside the 3-day npmMinimalAgeGate. 4.170.0 still ships ws 8.21.0. Bumping wrangler to ^4.171.0 should follow once the gate clears.
  • @nestjs/graphql 14.2.2 is out and pins ws 8.23.0, but our local schema-scoping patch doesn't apply to it cleanly (4 hunks fail). The existing @nestjs/graphql/ws resolution already covers it.

Testing

Checked with yarn why ws: only miniflare still resolves 8.21.0. No install or test run locally, so CI is the check.

View guided diff

Moves every ws ^8 range in the root lockfile off 8.21.0/8.22.0 (GHSA-37g9-w4hg-h9qr). miniflare still pins 8.21.0 until wrangler 4.171.0 clears the age gate.
Copilot AI balanced review requested due to automatic review settings December 5, 2026 11:51

Copilot AI 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.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

@twenty-ci-bot-public

Copy link
Copy Markdown

🤖 PR Review

Check Result
🔍 Build safety ⏭️ skipped — external-only
🧭 Triage ⏭️ skipped — external-only
📐 Quality ✅ passed
🛡️ Security ✅ passed
🚦 Auto-approve ✅ passed — complexity low
🔐 Permissions ⏭️ skipped: no endpoint permission change

🛡️ Security Review

✅ No high-severity vulnerabilities detected.


🚦 Auto-approve

✅ Eligible for auto-approval — low-complexity, no high-blast-radius paths.

  • 🧠 Complexity: low
  • 📏 Size: +2 / -17 lines across 1 file(s)

View details

Automated pre-review — human approval still required.

@twenty-ci-bot-public

Copy link
Copy Markdown

✅ Quality review · no findings

Safe to merge — no high-level findings

High-level — This PR only changes yarn.lock: it moves every caret ws range (^8.18.0 through ^8.23.0) onto the existing 8.23.1 entry and drops the now-unused 8.22.0 entry, which matches the root @nestjs/graphql/ws: 8.23.1 resolution, with no product, architecture or rollout impact (miniflare's existing exact ws 8.21.0 pin is untouched and predates this PR).
Low-level — No rule violations found — 0 rule questions over 0 piece(s) of 0 file(s)


Reviewed against the pr-review standard — high-level then low-level. Advisory; human review still required. Run details.

@CoreTeamTwenty CoreTeamTwenty left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

✅ Auto-approved — cleared automated quality and security review and is low-complexity.

  • Quality: passed
  • Security: passed
  • Auto-approve: passed — complexity low

Automated approval — a human still merges, and this is re-evaluated on every push.

@twenty-ci-bot-public

Copy link
Copy Markdown

🔍 Visual Regression Review — twenty-ui

✅ No visual changes to review.

Changed: 3 · Added: 0 · Removed: 0 · Unchanged: 1539

Changed stories
Story Diff %
ui-components-datepicker-interactions--css-variable-spacing 0%
ui-components-datepicker-interactions--external-month-change 0%
ui-icon-icon--constrained-rows 0%

View run details · advisory mode

@twenty-ci-bot-public

Copy link
Copy Markdown

🔍 Visual Regression Review — twenty-front

✅ 18 visual change(s) reviewed — all explained by this PR.

Changed: 26 · Added: 0 · Removed: 0 · Unchanged: 2153

18 item(s) to double-check (uncertain / low confidence)
Story Verdict Confidence Explained by
🟡 modules-sidepanel-snoozeaichat--day-and-time-picker uncertain 60% none (lockfile-only PR)
🟡 ui-data-field-input-richtextfieldinput--default uncertain 60% none (lockfile-only PR)
🟡 modules-objectrecord-recordform-recordformfieldinputs--address uncertain 60% none (lockfile-only PR)
🟡 modules-ai-aichataddmenu--ignore-enter-on-outdated-records uncertain 50% none (lockfile-only PR)
🟡 modules-ai-aichattab--open-original-from-reply uncertain 50% none (lockfile-only PR)
🟡 modules-settings-applications-settingsapplicationiframemediapermissionssection--… uncertain 50% none (lockfile-only PR)
🟡 ui-input-internal-date-datepicker--clear-selection uncertain 50% none (lockfile-only PR)
🟡 modules-pagelayout-widgets-recordpagenotewidget--dashboard-selection uncertain 50% none (lockfile-only PR)
🟡 modules-pagelayout-widgets-recordpagenotewidget--select-and-format-text uncertain 50% none (lockfile-only PR)
🟡 modules-pagelayout-widgets-recordpagenotewidget--align-text uncertain 50% none (lockfile-only PR)
🟡 modules-sidepanel-recordcreationflow--retry-after-failed-creation uncertain 50% none (lockfile-only PR)
🟡 modules-sidepanel-recordcreationflow--submit-with-command-enter uncertain 50% none (lockfile-only PR)
🟡 modules-sidepanel-recordcreationflow--submit-with-control-enter uncertain 50% none (lockfile-only PR)
🟡 modules-sidepanel-recordcreationflow--submit-with-button uncertain 50% none (lockfile-only PR)
🟡 modules-logconsole-logconsole--record-deletion uncertain 50% none (lockfile-only PR)
🟡 modules-ai-aichattab--new-chat-suggested-prompt uncertain 50% none (lockfile-only PR)
🟡 modules-objectrecord-recordcalendar-grid--week uncertain 50% none (lockfile-only PR)
🟡 modules-objectrecord-recordcalendar-grid--day uncertain 50% none (lockfile-only PR)
Changed stories
Story Diff %
modules-sidepanel-snoozeaichat--day-and-time-picker 19%
ui-data-field-input-richtextfieldinput--default 16%
modules-objectrecord-recordform-recordformfieldinputs--address 11%
modules-ai-aichataddmenu--ignore-enter-on-outdated-records 4%
modules-ai-aichattab--open-original-from-reply 3%
modules-pagelayout-widgets-recordpagenotewidget--dashboard-selection 1%
modules-pagelayout-widgets-recordpagenotewidget--select-and-format-text 1%
modules-settings-applications-settingsapplicationiframemediapermissionssection--approves-only-reviewed-additional-access 1%
ui-input-internal-date-datepicker--clear-selection 1%
modules-pagelayout-widgets-recordpagenotewidget--align-text 1%
modules-objectrecord-recordcalendar-grid--week 0%
modules-objectrecord-recordcalendar-grid--month 0%
modules-sidepanel-composerpages--calendar-event-without-account-permission 0%
modules-sidepanel-composerpages--calendar-event-without-accounts 0%
modules-ai-aichattab--new-chat-suggested-prompt 0%
modules-sidepanel-recordcreationflow--retry-after-failed-creation 0%
modules-sidepanel-recordcreationflow--submit-with-command-enter 0%
modules-sidepanel-recordcreationflow--submit-with-control-enter 0%
modules-sidepanel-recordcreationflow--submit-with-button 0%
modules-logconsole-logconsole--record-deletion 0%
modules-objectrecord-recordcalendar-grid--day 0%
modules-sidepanel-composerpages--calendar-event 0%
modules-activities-emails-chatthreadmessagegroup--voice-note 0%
modules-activity-taskgroups--empty 0%
modules-ai-aichattab--reply-to-teammate 0%
modules-activities-files-videopreview--player 0%

View run details · advisory mode

This branch has not been deployed

No deployments
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.

3 participants