Conversation
| # frozen_string_literal: true | ||
|
|
||
| source 'https://rubygems.org' | ||
| source 'http://rubygems.org' |
Check failure
Code scanning / CodeQL
Dependency download using unencrypted communication channel High test
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 9 days ago
In general, the fix is to ensure that all gem sources (and any other dependency repositories) use encrypted protocols such as HTTPS instead of HTTP. For Ruby Gemfiles, that means replacing any source 'http://...' entries with source 'https://...'.
For this specific file, the best fix without changing existing functionality is to modify line 3 of test/perfverse/rails7/Gemfile to use HTTPS: change source 'http://rubygems.org' to source 'https://rubygems.org'. No additional code changes, imports, or configuration are required; Bundler and RubyGems already support HTTPS for rubygems.org. The rest of the file (Ruby version and gem declarations) remains unchanged.
| @@ -1,6 +1,6 @@ | ||
| # frozen_string_literal: true | ||
|
|
||
| source 'http://rubygems.org' | ||
| source 'https://rubygems.org' | ||
|
|
||
| ruby '3.3.3' | ||
|
|
There was a problem hiding this comment.
This is only a temporary workaround to get Docker to run on my machine.
Avoid SSL errors
This prevents `:` characters within valid config values from being cut off.
6f404f9 to
be0d084
Compare
SimpleCov Report
|
|
Using the git tag/env vars didn't behave as expected. We need unique git tags for every run, since the git tag is used for the column name in the output graph. Instead, the git tags created to run these tests were:
|
Goals to run:
version 1 - no otel
hybrid-agentversion 2 - otel enabled, but instrumentation only from NR
hybrid-agent:NEW_RELIC_OPENTELEMETRY_ENABLED=trueversion 3 - otel enabled, otel instrumentation included, nr instrumentation for same library disabled
hybrid-agent:NEW_RELIC_OPENTELEMETRY_ENABLED=true;NEW_RELIC_OPENTELEMETRY_TRACES_INCLUDE="OpenTelemetry::Instrumentation::HTTP::Instrumentation";NEW_RELIC_INSTRUMENTATION_HTTP=disabled