Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main with latest dev #97

Merged
merged 81 commits into from
Jun 27, 2024
Merged

Update main with latest dev #97

merged 81 commits into from
Jun 27, 2024

Conversation

prateeksen
Copy link
Contributor

No description provided.

kaylareopelle and others added 30 commits May 8, 2023 13:20
This workflow includes:
* Rubocop, with a todo file to get the linter passing
* Unit tests running on each supported Ruby version
* Simplecov report, with threshold numbers adjusted for the current
coverage on the repo and the test directory excluded from coverage
numbers
* fix for NR-116469(rails4 sqlite3_adapter and postgresql_adapter support)

* fix for NR-116468(rails4 application routes extraction)

* fix for NR-117826(regression)

* added active log message for QA automation

* updated support matrix for rails
* use NR's log_file_path for log writing

* fix for NR-118308
* fix-NR-100839 - websocket retry fixes

* added fix for Errno::ECONNRESET: Connection reset by peer

* update init log message

* fix for exception in health sending when conn not established

* fix for IO error when stream closed while communication
* Created unit tests for sqlite3, mongo, pg, mysql2

* Provided fixes for unit tests run warnings

* Created unit tests for Sinatra

* Created unit tests for Rails, sqlite3_adapter and postgresql_adapter

* minor changes

* fix for sqlite3_adapter & postgresql_adapter test

* Added servers for pg, mysql2, mongo, postgresql_adapter

* Updated .gitignore

* updated test setup
* Created unit tests for sqlite3, mongo, pg, mysql2

* Provided fixes for unit tests run warnings

* Created unit tests for Sinatra

* Created unit tests for Rails, sqlite3_adapter and postgresql_adapter

* minor changes

* fix for sqlite3_adapter & postgresql_adapter test

* Added servers for pg, mysql2, mongo, postgresql_adapter

* Updated .gitignore

* updated test setup

* Updated Gemfile_test

---------

Co-authored-by: Manoj Yadav <manojy@k2io.com>
Co-authored-by: manoj-k2 <myadav@newrelic.com>
* Created unit tests for sqlite3, mongo, pg, mysql2

* Provided fixes for unit tests run warnings

* Created unit tests for Sinatra

* Created unit tests for Rails, sqlite3_adapter and postgresql_adapter

* minor changes

* fix for sqlite3_adapter & postgresql_adapter test

* Added servers for pg, mysql2, mongo, postgresql_adapter

* Updated .gitignore

* updated test setup

* Updated Gemfile_test

* enable simplecov

---------

Co-authored-by: prateek-ap <psen@newrelic.com>
* fix for NR-122228

* separate handling for ruby below 2.7 and above

* updated rubocop_todo
* Created unit tests for sqlite3, mongo, pg, mysql2

* Provided fixes for unit tests run warnings

* Created unit tests for Sinatra

* Created unit tests for Rails, sqlite3_adapter and postgresql_adapter

* minor changes

* fix for sqlite3_adapter & postgresql_adapter test

* Added servers for pg, mysql2, mongo, postgresql_adapter

* Updated .gitignore

* updated test setup

* Updated Gemfile_test

* enable simplecov

* event count fix in mongo test

* minor changes in test helper

* changed testcontainers to docker api

* db image pull fix

* assertion fix for mongo new hooks

* updated rubocop_todo for mongo

* minor change in mongo

* fix for Ruby 2.4.x in postgresql_adapter, sqlite3_adapter, excon

* updated rubocop_todo

---------

Co-authored-by: prateek-ap <psen@newrelic.com>
prateeksen and others added 27 commits April 19, 2024 12:21
* fix for jruby bug: NR-158981

* fix for rails 5 bug: NR-116027

* fix for license_key priniting in logs: NR-138768
* update gha for checkout version & ruby version and remove scorecard workflow

* update repolinter workflow

* commented needs: to run unit_test and code_coverage till release

* Revert "commented needs: to run unit_test and code_coverage till release"

This reverts commit 0392e08.

* run unit_test and code_coverage always till release

* update sequence

* fix for rails and sinatra test

* test commit for BUNDLE_GEMFILE var

* add railties for require rails

* update sqlite3 gem in Gemfile_test
* update gha for checkout version & ruby version and remove scorecard workflow

* update repolinter workflow

* commented needs: to run unit_test and code_coverage till release

* Revert "commented needs: to run unit_test and code_coverage till release"

This reverts commit 0392e08.

* run unit_test and code_coverage always till release

* update sequence

* fix for rails and sinatra test

* test commit for BUNDLE_GEMFILE var

* add railties for require rails

* update sqlite3 gem in Gemfile_test

* update action/upload-artifact versio

* update action/github-scripts version
* update gha for checkout version & ruby version and remove scorecard workflow

* update repolinter workflow

* commented needs: to run unit_test and code_coverage till release

* Revert "commented needs: to run unit_test and code_coverage till release"

This reverts commit 0392e08.

* run unit_test and code_coverage always till release

* update sequence

* fix for rails and sinatra test

* test commit for BUNDLE_GEMFILE var

* add railties for require rails

* update sqlite3 gem in Gemfile_test

* update action/upload-artifact versio

* update action/github-scripts version

* fix for gha hangs in ruby 3.0.6

* changed rails version for Gemfile_test

* changed rails version for Gemfile_test

* fix for duplicate artifact error after v4 upgrade

* more fix for duplicate artifact error after v4 upgrade
* update gha for checkout version & ruby version and remove scorecard workflow

* update repolinter workflow

* commented needs: to run unit_test and code_coverage till release

* Revert "commented needs: to run unit_test and code_coverage till release"

This reverts commit 0392e08.

* run unit_test and code_coverage always till release

* update sequence

* fix for rails and sinatra test

* test commit for BUNDLE_GEMFILE var

* add railties for require rails

* update sqlite3 gem in Gemfile_test

* update action/upload-artifact versio

* update action/github-scripts version

* fix for gha hangs in ruby 3.0.6

* changed rails version for Gemfile_test

* changed rails version for Gemfile_test

* fix for duplicate artifact error after v4 upgrade

* more fix for duplicate artifact error after v4 upgrade

* update code coverage workflow

* separate workflow for rubocop

* fix for wrong filename of coverage report

* debug

* debug 2

* final fix

* more debug

* final fixx
* implemented functionality for replay header decryption

* update apiId format to '<case_type>-<apiId>'

* added log for QA testing ease
* added support for httprb http client

* added unit test cases for httprb

* added local sample server in test suite for rest client tests

* update assertion
* sending application url mappings json to validator

* minor changes for rubocop
* added support for httpx http client

* add unit test cases for httpx

* update httpx tests

* update httpx tests for event count

* update case type check for httpx
* Typhoeus http client support

* add unit test cases for typhoeus

* update typhoeus unit tests
* add support for async-http http client

* add unit test cases for asyn-http

* update async-http unit tests

* fix for ensure_error in ruby 2.4 for async-http unit tests
* added support for ethon http client

* add unit test cases for ethon

* update ethon tests

* fix for ethon mutli failing cases

* update logic for event count check

* update test

* update test
* removed typhoeus instrumentation, add setup and teardown

* update sqlite3 hook(replace prepare hook with initialize hook) and test cases

* minor code clean for postgresql_adapter

* update unit tests removed @@vars, event_list clear in setup, add filter event method, use assert_nil

* update count as previous

* fix for ldap tests failing in chain hooking

* fix for async-http tests failing in chain hooking

* rename httprb test class

* more changes to unit test architecture

* minor changes
* removed typhoeus instrumentation, add setup and teardown

* update sqlite3 hook(replace prepare hook with initialize hook) and test cases

* minor code clean for postgresql_adapter

* update unit tests removed @@vars, event_list clear in setup, add filter event method, use assert_nil

* update count as previous

* fix for ldap tests failing in chain hooking

* fix for async-http tests failing in chain hooking

* rename httprb test class

* more changes to unit test architecture

* minor changes

* test commit for instrumentation-method based gha

* test commit

* test commit2

* revert test commit

* skipping failing postgresql tests for now

* update branch coverage threshold to 30%
* fix for NR-255708

* fix for NR-256408

* fix for NR-256426

* Fix for NR-233114 & NR-233125

* fix for NR-256451

* Update reconnect sequence & require 'resolv-replace'

* update http client test for casetype based count check

* update event count for http client tests

* reverted unit tests related fixes

* fix for regression issue: NR-264721

* fix for regression due to last fix
* Added unit test cases for padrino framework

* url_not_found test name change

* test suite name change
* Added unit tests for grape framework

* added unit tests for roda framework

* fix for rails test failing for route

* update coverage threshold
* removed dormant code - fuzz fail event

* sending route in event http request for provable security

* Remove typhoeus instrumentation files, as this is Ethon based client. Ethon instrumentation is already supported
* fix for NR-261529

* fix for NR-261928

* fix for NR-261533

* fix for NR-261883

* fix for NR-260742

* fix for NR-259970 & NR-259970

* added nil check

* minor fix
…now exceeds 70% (#85)

* improved test coverage for chain

* pick NR_CSEC_INSTRUMENTATION_METHOD from env only

* test commit

* excon test update

* update excon test

* skipping few methods for ruby 2.4.10 and chain instrumentation

* removed stdout and commented code
* added instrumentation for grpc simple http request-response

* added server_streamer, client_streamer & bidi_streamer hooks

* modified directory structure for grpc client

* grpc server instrumentation for request_response, client_streamer and server_streamer

* IAST gRPC client implementation

* grpc iast client complete

* fix for NR-265928
* fix for NR-265939

* fix for NR-264828 https iast client

* fix for NR-265667

* fix for regression due to https support in iast client

* fir for NR-264739

* fix for NR-264078

* fix for NR-265209

* fix for NR-265934

* fix for NR-265681
* fix for NR-272436

* fix for NR-272487

* fix for NR-261530

* fix for NR-267812

* fix for NR-260759

* fix for NR-264065(windows)

* fix for NR-124606

* Remove snapshot file functionality from Ruby SA(NR-274548/NR-118461)
* fix for file vulnerability not detected for grpc

* minor fix missed from last commit

* fix for event counter in grpc

* fix for Failing grape UT because of recently update grape gem 2.1.0

* fix to support routes in grape gem for lower and upper both versions
* fix for NR-276233

* fix for NR-265209

* fix for failing UTs

* fix for NR-276241

* fix for NR-268790

* fix for failing UTs

* fix for NR-270763
@prateeksen prateeksen requested a review from manoj-k2 June 27, 2024 09:20
@prateeksen prateeksen merged commit 1640836 into main Jun 27, 2024
18 of 19 checks passed
Copy link

SimpleCov Report

Coverage Threshold
Line 69.52% 44%
Branch 33.56% 33%

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.

3 participants