Merged
Conversation
Contributor
There was a problem hiding this comment.
👍 Looks good to me! Reviewed everything up to 574501d in 11 seconds
More details
- Looked at
21lines of code in1files - Skipped
0files when reviewing. - Skipped posting
2drafted comments based on config settings.
1. hamilton/telemetry.py:54
- Draft comment:
ReducingMAX_COUNT_SESSIONfrom 100 to 10 aligns with the goal of reducing telemetry data sent. Ensure this change is intended and tested for any potential impact on data collection. - Reason this comment was not posted:
Confidence changes required:50%
The change in MAX_COUNT_SESSION from 100 to 10 is consistent with the PR's goal to reduce telemetry. This change will limit the number of events collected per session, effectively reducing the amount of telemetry data sent.
2. hamilton/telemetry.py:155
- Draft comment:
Avoid hardcoding API keys in the code. Consider using environment variables or a secure vault to manage sensitive information. This applies to the API_KEY variable. - Reason this comment was not posted:
Comment was not on a valid diff hunk.
Workflow ID: wflow_nFgvM4I8tBgfqIj4
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.
Need to set event count to higher since it seems to impact running tests.
Contributor
There was a problem hiding this comment.
❌ Changes requested. Incremental review on 5bd0151 in 30 seconds
More details
- Looked at
44lines of code in2files - Skipped
0files when reviewing. - Skipped posting
2drafted comments based on config settings.
1. tests/test_telemetry.py:13
- Draft comment:
Settingtelemetry.MAX_COUNT_SESSION = 100globally can affect other tests. Consider using a fixture to set and reset this value to avoid side effects. - Reason this comment was not posted:
Marked as duplicate.
2. tests/test_hamilton_driver.py:237
- Draft comment:
Avoid hardcoding sensitive information like API keys in the codebase. Consider using environment variables or a secure vault to store them. - Reason this comment was not posted:
Comment was not on a valid diff hunk.
Workflow ID: wflow_ukyVQKf9eBqpEyPR
Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.
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.
reduces telemetry
Changes
How I tested this
Notes
Checklist