-
Notifications
You must be signed in to change notification settings - Fork 4
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
[CIVIS-2985] upgrade guide for 1.0 #163
Conversation
…guide for users upgrading from ddtrace
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #163 +/- ##
=======================================
Coverage 99.05% 99.05%
=======================================
Files 196 196
Lines 9340 9340
Branches 404 404
=======================================
Hits 9252 9252
Misses 88 88 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Mostly nitpicks
Co-authored-by: Juan Antonio Fernández de Alba <juan.fernandezdealba@datadoghq.com>
Co-authored-by: Juan Antonio Fernández de Alba <juan.fernandezdealba@datadoghq.com>
Co-authored-by: Juan Antonio Fernández de Alba <juan.fernandezdealba@datadoghq.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me. I tried reviewing it from the "I'm a newbie to all this" angle, but I'm not sure I'm great at that. :)
README.md
Outdated
@@ -212,15 +201,15 @@ VCR.configure do |config| | |||
|
|||
# when using agentless mode | |||
# note to use the correct datadog site (e.g. datadoghq.eu, etc) | |||
config.ignore_hosts "citestcycle-intake.datadoghq.com", "api.datadoghq.com" | |||
config.ignore_hosts "citestcycle-intake.datadoghq.com", "api.datadoghq.com", "citestcov-intake.datadoghq.com" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just out of curiosity, how does this interact with our staging endpoints?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our users do not hit staging endpoints so there is no need to include it in the docs. When I use open source porject that uses VCR, I add all the endpoints I need to ignore in project's configs.
docs/UpgradeGuide.md
Outdated
```ruby | ||
VCR.configure do |config| | ||
# note to use the correct datadog site (e.g. datadoghq.eu, etc) | ||
config.ignore_hosts "citestcycle-intake.datadoghq.com", "api.datadoghq.com", "citestcov-intake.datadoghq.com" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL... maybe I can use this in Python if vcrpy
uses it. :D
docs/UpgradeGuide.md
Outdated
|
||
## Change WebMock or VCR configuration | ||
|
||
We work on adding new features to the test visibility product in Ruby (intelligent test runner, git metadata upload, code coverage support) that require new endpoints being allowlisted by WebMock/VCR tools when using agentless mode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We work on adding new features to the test visibility product in Ruby (intelligent test runner, git metadata upload, code coverage support) that require new endpoints being allowlisted by WebMock/VCR tools when using agentless mode. | |
Ongoing work on new features to the test visibility product (intelligent test runner, git metadata upload, code coverage support) require new endpoints being allowlisted by WebMock/VCR tools when using agentless mode. |
What does this PR do?
Adds upgrade guide for users upgrading from ddtrace gem and updates readme.
Motivation
Next major release for Datadog ruby libraries is coming