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

add docs on potential conflicting gems with the collector #2513

Conversation

jasmine-q
Copy link
Contributor

Adding a small note to the ruby collectors to require potential conflicting gems before the TA test collector gem

Investigation and write up in Basecamp
Resolved Github issue

@github-actions github-actions bot added the test-analytics Pull requests that update content related to Test Analytics label Oct 5, 2023
@buildkite-docs-bot
Copy link
Contributor

Preview URL: https://2513--bk-docs-preview.netlify.app

@@ -32,7 +32,7 @@ Before you start, make sure RSpec runs with access to [CI environment variables]
bundle
```

3. Add the Test Analytics code to your application in `spec/spec_helper.rb`, and set the BUILDKITE_ANALYTICS_TOKEN [securely](/docs/pipelines/secrets) on your agent or agents.
3. Add the Test Analytics code to your application in `spec/spec_helper.rb`, and set the BUILDKITE_ANALYTICS_TOKEN [securely](/docs/pipelines/secrets) on your agent or agents. Please ensure gems that patch `Net::HTTP` like `httplog` and `sniffer` are required before `buildkite/test_collector` to avoid conflicts.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there links we could provide to the httplog and sniffer gems? That would help confirm what we're talking about for people.

There are also a couple of commas missing:

Suggested change
3. Add the Test Analytics code to your application in `spec/spec_helper.rb`, and set the BUILDKITE_ANALYTICS_TOKEN [securely](/docs/pipelines/secrets) on your agent or agents. Please ensure gems that patch `Net::HTTP` like `httplog` and `sniffer` are required before `buildkite/test_collector` to avoid conflicts.
3. Add the Test Analytics code to your application in `spec/spec_helper.rb`, and set the BUILDKITE_ANALYTICS_TOKEN [securely](/docs/pipelines/secrets) on your agent or agents. Please ensure gems that patch `Net::HTTP`, like `httplog` and `sniffer`, are required before `buildkite/test_collector` to avoid conflicts.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there are links we can include, I'd recommend using them and removing the inline code formatting for the gem names.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback, I've made changes to include your suggestions! 😄

pages/test_analytics/ruby_collectors.md Outdated Show resolved Hide resolved
Copy link
Contributor

@mbelton-buildkite mbelton-buildkite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 😊

@jasmine-q jasmine-q merged commit d3be07c into main Oct 17, 2023
1 check passed
@jasmine-q jasmine-q deleted the pie-1493-write-documentation-on-what-to-do-for-potential-conflicting branch October 17, 2023 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test-analytics Pull requests that update content related to Test Analytics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants