GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(rails): add binds to ActiveRecord logs by solnic · Pull Request #2761 · getsentry/sentry-ruby

Conversation

@solnic

@solnic solnic commented Oct 28, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Arc 2025-10-29 11 30 26

Closes #2758

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sentry[bot] reacted with hooray emoji
All reactions
  • 🎉 1 reaction
@solnic
feat(rails): add binds to ActiveRecord logs
7c22df6
@solnic solnic linked an issue Oct 28, 2025 that may be closed by this pull request
query params for activerecord logs #2758
Closed
@github-actions

github-actions Bot commented Oct 28, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 20e7090

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codecov

codecov Bot commented Oct 28, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.25%. Comparing base (f951c95) to head (20e7090).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2761   +/-   ##
=======================================
  Coverage   97.24%   97.25%           
=======================================
  Files         130      130           
  Lines        5229     5240   +11     
=======================================
+ Hits         5085     5096   +11     
  Misses        144      144           
Components Coverage Δ
sentry-ruby 97.54% <ø> (ø)
sentry-rails 96.78% <100.00%> (+0.04%) ⬆️
sentry-sidekiq 95.05% <ø> (ø)
sentry-resque 94.44% <ø> (ø)
sentry-delayed_job 94.68% <ø> (ø)
sentry-opentelemetry 99.31% <ø> (ø)
Files with missing lines Coverage Δ
.../rails/log_subscribers/active_record_subscriber.rb 95.77% <100.00%> (+0.77%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@solnic
Update CHANGELOG
cdd9895
@solnic
solnic force-pushed the 2758-query-params-for-activerecord-logs branch from 73c96a6 to cdd9895 Compare October 28, 2025 13:32
@solnic
solnic marked this pull request as ready for review October 28, 2025 13:32
@solnic
solnic requested a review from sl0thentr0py October 28, 2025 13:32
cursor[bot]

This comment was marked as outdated.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sl0thentr0py
sl0thentr0py requested changes Oct 28, 2025
View reviewed changes
Comment thread sentry-rails/lib/sentry/rails/log_subscribers/active_record_subscriber.rb Resolved

Uh oh!

There was an error while loading. Please reload this page.

@solnic
Binds could be nil so don't crash if they are
d043393
cursor[bot]

This comment was marked as outdated.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@solnic
Follow conventions for db.query.params attributes
28d141e
cursor[bot]

This comment was marked as outdated.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@solnic
solnic requested a review from sl0thentr0py October 28, 2025 15:10
sl0thentr0py
sl0thentr0py approved these changes Oct 28, 2025
View reviewed changes
@solnic
Make it work under jruby too
20e7090
@solnic
solnic merged commit d643fcd into master Oct 29, 2025
@solnic
solnic deleted the 2758-query-params-for-activerecord-logs branch October 29, 2025 10:34
@solnic

solnic commented Oct 29, 2025

Copy link
Copy Markdown
Collaborator Author

@sl0thentr0py I merged it but with an extra commit fixing jruby compat 20e7090

sl0thentr0py reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

Reviewers

@cursor cursor[bot] cursor[bot] left review comments
@sl0thentr0py sl0thentr0py sl0thentr0py approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

query params for activerecord logs

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@solnic @sl0thentr0py
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.