Repository navigation
chore(deps): weekly dependency batch — Rails 8.1.4, Sentry 11, Mantine 9.6.3, redis 6 - #382
Merged
Merged
Conversation
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]>
This was referenced Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
readuntilfix and an optionallimit:. The timeout classes and our rescues are unchanged.subscriptions/listenchanged. We run statelessStreamableHTTPTransport.--conservativere-resolve took the newer release: TransferManager leak fixes and one Inventory field.no-wildcard-exportsis off. fsd still reports no problems.signRequest→{url, key}with the signer's key winning,generateObjectKey,onSuccess({location, key}).<dialog>; Mantine modals are divs. Saved layouts keep their key and shape."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_teardownhooks in the parent process too, with no worker argument (Parallelization.run_cleanup_hooks.each(&:call)after every worker exits).SimpleCov.resultthere, which stopsCoverageearly.minimum_coveragecheck, exit 0.coverage was requested but no summary file was produced.A minimal repro (2 workers, floor 90%, actual coverage 38%) shows it:
Fixed twice over:
SimpleCov.result if COVERAGE_ENABLED && worker, so the parent behaves exactly as it did before 8.1.4.code-check.ymltreated 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 thetscfailure on #378). Two of its defaults change behaviour without any type error:dataCollectionunset, v11 collects user info, cookies, headers and bodies, and infers the IP. We now set the v10sendDefaultPii: falsebaseline explicitly, copied from the v11 migration guide.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
beforeSendSpanon streamed spans. Streamed spans carry URLs in attributes:url.fullandurl.pathon the pageload segment, andurl.fullandurl.queryon everyhttp.clientchild. The hook scrubs the span name, everyurl.*attribute andsentry.segment.name.url.queryis a bare query string, so it gets the query scrub on its own.beforeSendTransactionis gone.The new
initSentrytest runs the real SDK on a page whose URL carries an invitation token and an OAuthcode. It reads the error and span envelopes the SDK POSTs through thefetchseam, and checks that:/invitations/[token]?code=%5Bfiltered%5D;infer_ipisnever;It fails without
beforeSendSpan: the token goes out.Behaviour that shifts with no code change needed:
unhandled.Mantine 9.6.3 broke one test (test-only fix)
mantinedev/mantine#9215 makes a non-searchable
Selectclose its dropdown on blur.JiraConnectModal.test.tsxclicked 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 theredismajor ignore independabot.ymlis gone. A redis 7 bump is still caught bytest/config/action_cable_redis_test.rb, which loads the adapter.What redis-rb 6 changes for us:
HELLO 3).CLIENT SETINFO, a command Redis only has from 7.2. Prod ElastiCache runs 7.1, staging runs 7.4, dev runs 7.2.redis-clientto 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(noCLIENT SETINFO, standing in for 7.1),7.2and7.4. On each server:CLIENT KILL TYPE pubsub, what a failover does).RedisCacheStoreread/write/fetch/read_multi/increment/decrement/expiry/delete/delete_matched work, and the Rack::Attack throttle counter counts 1, 2, 3.dependabot.yml
typescript >= 7. It stops the weekly npm job from failing (run 36782250770):typescript <6.1.0.lib/_tsc.js, which TS 7 doesn't ship.Left out
docker/base)docker/*image, so it is verified by a full base + 7-agent build and smoke test.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
yarn install --mode=update-lockfileinnode:24-alpine, from develop's lock.yarn install --immutablepasses.yarn explain peer-requirementsdiff is empty).@sentry/core@npm:10,@mantine/core@npm:9.6.2,vitest@npm:5.0.1,steiger@npm:0.6,vite@npm:8.3.0each count 0.Gemfile.lock
bundle lock --update … --conservativeinruby: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 fromBUNDLED WITH, kept at develop's 4.0.11).bundle installpasses against a read-only mount.RAILS_ENV=productioneager-load boots.Go
golang:1.27-alpine:go build,vet,test,mod verify,mod tidy(no diff) andgovulncheck(no vulnerabilities).docker build docker/otlp-ingestsucceeds.Run locally
tscpasses.eslinthas 0 errors and 22 warnings, the same as develop.steigerreports no problems.sentry.test.ts,JiraConnectModal.test.tsxandAppCrashFallback.rubocopreports no offenses.brakemanreports 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