feat: Rails Railtie, bundle-audit CI, and SchemaClient#40
Merged
Conversation
…ation - Rails::Railtie auto-installs AS::N bridge, OTel bridge (when gem present), and X-Request-Id propagation via Rack middleware + RequestIdInjector module - SchemaClient for controller-side introspection: list_tables, get_schema, get_table_config, table_exists?, column_types - bundle-audit security job in CI tests workflow - Release workflow bumped to actions/cache@v5 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #40 +/- ##
==========================================
+ Coverage 98.74% 99.45% +0.71%
==========================================
Files 25 27 +2
Lines 1034 1109 +75
==========================================
+ Hits 1021 1103 +82
+ Misses 13 6 -7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…e OTel happy path - Add tests for all pool-management rescue StandardError branches in HttpClient - Cover reaper.kill error rescue in HttpClient#close - Add railtie test for OTel happy path (gem already loaded) - Remove dead inner rescue blocks from response.rb get_int/get_long Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
lib/pinot/railtie.rb) — auto-installs ActiveSupport::Notifications bridge, OpenTelemetry bridge (when gem present), and X-Request-Id propagation (Rack middleware +RequestIdInjectorprepended toConnection). All three features opt-out viaconfig.pinot.notifications/open_telemetry/request_id = false.lib/pinot/schema_client.rb) — controller-side introspection:list_tables,get_schema,get_table_config,table_exists?,column_types. RaisesTableNotFoundErroron 404,TransportErroron other HTTP errors or invalid JSON.securityjob intests.ymlrunsbundle-audit update+bundle-audit checkon every push/PR.actions/cache@v4toactions/cache@v5.Test plan
bundle exec rspec spec/pinot/)🤖 Generated with Claude Code