Skip to content

chore(deps): weekly dependency batch — Rails 8.1.4, Sentry 11, Mantine 9.6.3, redis 6 - #382

Merged
artempartos merged 7 commits into
developfrom
chore/deps-2026-10-01
Oct 1, 2026
Merged

artempartos merged 7 commits into
developfrom
chore/deps-2026-10-01

Conversation

@artempartos

@artempartos artempartos commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

This PR combines this week's Dependabot PRs into one, so CI runs once instead of six times. It includes five of the six; the sixth (Node 26 for the agent images) is #384. Three of the five needed a code change that their own PRs didn't have. It also takes redis 6, which Rails 8.1.4 unblocked, and closes the CI gap that let one of those problems go green. Both lockfiles are regenerated from develop, not merged from the Dependabot branches.

Included

PR Package From → to Verdict Note
#376 rails (all components) 8.1.3.1 → 8.1.4 Safe with change Coverage floor fix below. Not a security release.
#376 simplecov 1.3.0 → 1.3.2 Safe with change Dependabot picked 1.3.1. 1.3.2 is needed with Rails 8.1.4 (see below).
#376 net-protocol 0.2.2 → 0.4.0 Safe readuntil fix and an optional limit:. The timeout classes and our rescues are unchanged.
#376 mcp 1.6.0 → 1.6.1 Safe Only client OAuth and subscriptions/listen changed. We run stateless StreamableHTTPTransport.
#376 aws-sdk-s3 1.232.1 → 1.233.0 Safe --conservative re-resolve took the newer release: TransferManager leak fixes and one Inventory field.
#376 aws-partitions, io-console, net-imap, net-smtp, pagy, rdoc, regexp_parser patch Safe
— redis (+ redis-client 0.30.1) 5.4.1 → 6.0.0 Safe, checked by hand Unblocked by Action Cable 8.1.4. See below.
#378 @sentry/react (+7 transitive @sentry/*) 10.75.1 → 11.0.0 Safe with change Privacy defaults, see below.
#375 @mantine/* (all 6 + @mantine/store) 9.6.2 → 9.6.3 Safe with change Test-only fix, see below.
#377 steiger 0.6.0 → 0.7.0 Safe Same 17 recommended rules, and the new no-wildcard-exports is off. fsd still reports no problems.
#377 @uppy/aws-s3, @uppy/core 6.1.0 → 6.2.0, 6.0.1 → 6.0.2 Safe Checked against the plugin source, because Vitest stubs Uppy. Contracts unchanged: signRequest → {url, key} with the signer's key winning, generateObjectKey, onSuccess({location, key}).
#377 react-resizable-panels 4.13.2 → 4.14.1 Safe 4.13.3 ignores drags inside a native modal <dialog>; Mantine modals are divs. Saved layouts keep their key and shape.
#377 @rails/actioncable 8.1.301 → 8.1.400 Safe Only the version string changed. Matches Rails 8.1.4.
#377 vite, vitest, @vitest/coverage-v8, prettier, sass-embedded, @tabler/icons-react, @uiw/* patch/minor Safe
#373 google.golang.org/protobuf 1.36.11 → 1.36.12 Safe protojson now rejects quoted numbers with trailing junk ("12,x"). Valid OTLP JSON is unaffected.

Rails 8.1.4 had silently turned off the backend coverage floor

Rails 8.1.4 now runs parallelize_teardown hooks in the parent process too, with no worker argument (Parallelization.run_cleanup_hooks.each(&:call) after every worker exits).

A minimal repro (2 workers, floor 90%, actual coverage 38%) shows it:

Rails simplecov Result
8.1.3.1 1.3.1 exit 2 (floor enforced)
8.1.4 1.3.1 exit 0, no report
8.1.4 1.3.2 exit 2

Fixed twice over:

  • simplecov 1.3.2.
  • SimpleCov.result if COVERAGE_ENABLED && worker, so the parent behaves exactly as it did before 8.1.4.

code-check.yml treated a missing coverage summary as a warning, which is why #376 went green. It is now an error: if coverage was requested and no summary file exists, the check fails.

Sentry 11 would have sent more data and leaked tokens in span names

v11 removes sendDefaultPii (that was the tsc failure on #378). Two of its defaults change behaviour without any type error:

  1. Data collection. With dataCollection unset, v11 collects user info, cookies, headers and bodies, and infers the IP. We now set the v10 sendDefaultPii: false baseline explicitly, copied from the v11 migration guide.
  2. Span streaming. v11 streams spans by default, and in that mode it never calls beforeSendTransaction. That hook is what turned /invitations/<token> and /share/<token> into [token]. With only the option dropped, the raw token was sent in the span's name and attributes.

Rather than hold the static transaction mode (which the migration guide marks for removal), the scrub now runs in beforeSendSpan on streamed spans. Streamed spans carry URLs in attributes: url.full and url.path on the pageload segment, and url.full and url.query on every http.client child. The hook scrubs the span name, every url.* attribute and sentry.segment.name. url.query is a bare query string, so it gets the query scrub on its own. beforeSendTransaction is gone.

The new initSentry test runs the real SDK on a page whose URL carries an invitation token and an OAuth code. It reads the error and span envelopes the SDK POSTs through the fetch seam, and checks that:

  • the URL arrives as /invitations/[token]?code=%5Bfiltered%5D;
  • infer_ip is never;
  • neither secret appears anywhere.

It fails without beforeSendSpan: the token goes out.

Behaviour that shifts with no code change needed:

  • Browser sessions now last per page load, not per Inertia navigation, so release-health numbers will move.
  • Crashed sessions are reported as unhandled.

Mantine 9.6.3 broke one test (test-only fix)

mantinedev/mantine#9215 makes a non-searchable Select close its dropdown on blur. JiraConnectModal.test.tsx clicked the Select in the same tick the modal opened. The modal's focus trap then moved focus to its close button on a timer, which closed the dropdown. Without the fix the test fails 5/5 on 9.6.3 and passes 5/5 on 9.6.2.

The test now waits for focus to settle before clicking. App code is unaffected: no user can click within that tick. All 7 @mantine/* entries are on 9.6.3, with no 9.6.2 left in the lock.

redis 6

Action Cable 8.1.4 changed its Redis adapter to gem "redis", ">= 4", "< 7" ("Allow redis-rb 6", rails CHANGELOG). The Gemfile now follows that range, and the redis major ignore in dependabot.yml is gone. A redis 7 bump is still caught by test/config/action_cable_redis_test.rb, which loads the adapter.

What redis-rb 6 changes for us:

  • It negotiates RESP3 (HELLO 3).
  • It sends CLIENT SETINFO, a command Redis only has from 7.2. Prod ElastiCache runs 7.1, staging runs 7.4, dev runs 7.2.
  • It pins redis-client to exactly 0.30.1, whose change is hiredis-only.

CI never runs cable pub/sub, so I checked by hand with this lock against redis:7.0-alpine (no CLIENT SETINFO, standing in for 7.1), 7.2 and 7.4. On each server:

  • The cable adapter subscribes, delivers a UTF-8 broadcast, serves a second channel and stops delivering after unsubscribe.
  • It resubscribes and delivers again after the server kills its pub/sub connection (CLIENT KILL TYPE pubsub, what a failover does).
  • RedisCacheStore read/write/fetch/read_multi/increment/decrement/expiry/delete/delete_matched work, and the Rack::Attack throttle counter counts 1, 2, 3.
  • All three negotiated protocol 3.

dependabot.yml

  • redis ignore removed, see above.
  • New ignore: typescript >= 7. It stops the weekly npm job from failing (run 36782250770):
    • typescript-eslint 8.71.0 requires typescript <6.1.0.
    • Yarn's built-in TypeScript patch looks for lib/_tsc.js, which TS 7 doesn't ship.
    • 6.x can still be proposed.

Left out

PR Package Reason Recheck
#374 node 24-slim → 26-slim (docker/base) Own PR: it moves every agent image to Node 26 and Debian bookworm → trixie, and PR CI builds no docker/* image, so it is verified by a full base + 7-agent build and smoke test. #384
— typescript 7 typescript-eslint peer range and Yarn's patch, see above. When typescript-eslint's peer range includes 7.

Follow-up: vitest 5.0.3, sass-embedded 1.105.1 and @uppy/* 6.2.x are inside the 3-day npmMinimalAgeGate. Take them next round.

Lock verification

yarn.lock

  • Regenerated with yarn install --mode=update-lockfile in node:24-alpine, from develop's lock.
  • yarn install --immutable passes.
  • The single YN0086 peer warning is identical to develop's (yarn explain peer-requirements diff is empty).
  • No old versions left: @sentry/core@npm:10, @mantine/core@npm:9.6.2, vitest@npm:5.0.1, steiger@npm:0.6, vite@npm:8.3.0 each count 0.
  • The diff only touches the bumped families and their transitive deps. New ones: steiger → globby 16, cosmiconfig 10, js-yaml 5, vscode-languageserver; Sentry → web-vitals (Apache-2.0); @uppy/core → nanoid 6 (MIT); vitest → why-is-node-running 3.

Gemfile.lock

  • Regenerated with bundle lock --update … --conservative in ruby:4.0.7-alpine. After rebasing onto fix(deps): swap license_finder for rubyzip-3 fork (GHSA-47m2-wp7j-p9vc) #379 it is identical to a fresh regeneration on top of develop's lock (apart from BUNDLED WITH, kept at develop's 4.0.11).
  • Frozen bundle install passes against a read-only mount.
  • Action Cable's Redis adapter loads with redis 5.4.1, and RAILS_ENV=production eager-load boots.

Go

  • In golang:1.27-alpine: go build, vet, test, mod verify, mod tidy (no diff) and govulncheck (no vulnerabilities).
  • docker build docker/otlp-ingest succeeds.

Run locally

  • tsc passes. eslint has 0 errors and 22 warnings, the same as develop. steiger reports no problems.
  • Vitest passes for sentry.test.ts, JiraConnectModal.test.tsx and AppCrashFallback.
  • rubocop reports no offenses. brakeman reports 0 warnings.

Redis: live cable and cache checks against Redis 7.0, 7.2 and 7.4, see above.

CI: the full suites are green on the first push, and the Backend job printed Line coverage: 93.46%, so the floor is enforced again. The later commits (span scrub, redis 6, coverage error) are verified by CI on this push.

🤖 Generated with Claude Code

artempartos and others added 7 commits October 1, 2026 11:30
Supersedes #373.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
Supersedes #376, with two changes on top of it.

Rails 8.1.4 runs parallelize_teardown hooks in the parent process too.
Ours took SimpleCov.result there, which stops Coverage early, and
simplecov 1.3.1 then skips its exit tasks: no report and no
minimum_coverage check, with a zero exit. #376's backend job was green
with "coverage was requested but no summary file was produced". Take
simplecov 1.3.2 (fixes simplecov#1308) and only take the result in a
worker, which is what the hook did before 8.1.4.

Action Cable 8.1.4 relaxes its Redis adapter to redis < 7, so the
"until Rails 8.2" reason on the redis pin is no longer true. The pin
stays (redis 6 defaults to RESP3, which CI never exercises against cable
pub/sub); the comments now say so.

The lock is regenerated with --conservative, not taken from #376; it
also picks aws-sdk-s3 1.233.0.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
…tch group

Supersedes #375, #377 and #378. The lock is regenerated from develop's,
not merged from the three PRs.

Sentry 11 drops `sendDefaultPii`, and two of its new defaults change our
behaviour without a type error:

- With `dataCollection` unset it collects user info, cookies, headers and
  bodies. We now set the v10 `sendDefaultPii: false` baseline explicitly,
  as the v11 migration guide gives it.
- Span streaming is the default, and under it `beforeSendTransaction` is
  never called, so the scrub that keeps invitation and share tokens out of
  transaction names stopped running. `traceLifecycle: 'static'` keeps the
  transaction path; moving the scrub to `beforeSendSpan` is a follow-up
  before a later major removes the static mode.

The new initSentry test drives the real SDK and reads what it POSTs. It
passes on Sentry 10, and fails on Sentry 11 without this change (the raw
token goes out in the span name).

Mantine 9.6.3 (mantinedev/mantine#9215) closes a non-searchable Select
on blur. The Jira projects test clicked the Select in the same tick the
modal opened, before the modal's focus trap moved focus to its close
button, so the dropdown closed under it (fails 5/5 on 9.6.3, 0/5 on
9.6.2). App code is unaffected: no user can click within that tick.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
The weekly npm update job fails on typescript 7.0.2: typescript-eslint
8.71.0 accepts typescript <6.1.0, and Yarn's built-in TypeScript patch
looks for lib/_tsc.js, which the native compiler package does not ship.
Only 7 and up are ignored, so a 6.x bump can still be proposed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
Requested coverage with no summary file means no floor was checked
either. It was a warning, so the Rails 8.1.4 / simplecov 1.3.1 pairing
ran the backend suite with no floor and still went green.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
Move to Sentry 11's default span streaming instead of holding the
static transaction lifecycle, which the migration guide marks for
removal in a later major.

Streamed spans carry the page and request URLs as attributes:
url.full and url.path on the pageload segment, url.full and url.query on
every http.client child. beforeSendSpan now scrubs the span name, every
url.* attribute and sentry.segment.name with the same rules as before;
url.query is a bare query string, so it gets the query scrub alone.
beforeSendTransaction is gone: streaming never calls it.

The initSentry test now loads a page whose URL carries an invitation
token and an OAuth code, and checks that neither appears in any error or
span envelope the real SDK posts. Without beforeSendSpan it fails.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
Action Cable 8.1.4 accepts redis < 7 in its Redis adapter, so the pin
that held us below 6 is gone; the Gemfile now follows the adapter's
range, and the dependabot ignore goes with it. A redis 7 bump stays
caught by test/config/action_cable_redis_test.rb, which loads the
adapter.

redis-rb 6 switches the connection to RESP3 and sends CLIENT SETINFO,
which Redis only knows from 7.2 (prod ElastiCache runs 7.1). CI never
runs cable pub/sub (the test env's adapter is `test`), so this was
checked by hand against redis 7.0, 7.2 and 7.4 servers, with this lock:
the cable adapter subscribes, delivers a UTF-8 broadcast, serves a
second channel, stops after unsubscribe, and resubscribes after the
server kills its pub/sub connection; RedisCacheStore read/write/fetch/
read_multi/increment/expiry/delete and the Rack::Attack throttle
counter behave as before. All three negotiated protocol 3.

redis-client moves 0.30.0 -> 0.30.1 with it (exact pin in redis 6; the
change is hiredis-only).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
@artempartos artempartos changed the title chore(deps): weekly dependency batch — Rails 8.1.4, Sentry 11, Mantine 9.6.3 chore(deps): weekly dependency batch — Rails 8.1.4, Sentry 11, Mantine 9.6.3, redis 6 Oct 1, 2026
@artempartos
artempartos merged commit 87a080c into develop Oct 1, 2026
8 checks passed
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