Repository navigation
[Telemetry] Adding hpc-toolkit-dev-2 to testProjects - #6288
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request updates the telemetry collection logic to correctly identify 'hpc-toolkit-dev-2' as a test environment. By adding this project to the test projects list, the system ensures that telemetry data generated from these test runs is properly flagged, preventing the skewing of production metrics. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request adds a new test project ID, "hpc-toolkit-dev-2", to the list of test projects in pkg/telemetry/collector.go and includes a corresponding unit test case in pkg/telemetry/collector_test.go to verify its identification. There are no review comments, and I have no feedback to provide.
16727a1
into
GoogleCloudPlatform:develop
…form#6288) Co-authored-by: Ishita Chail <ishitachail@google.com>
[Telemetry] Adding
hpc-toolkit-dev-2totestProjectsOverview
The integration and daily test suites were migrated to run in
hpc-toolkit-dev-2. Previously, onlyhpc-toolkit-devwas recognized intestProjects, causing test runs inhpc-toolkit-dev-2to reportCLUSTER_TOOLKIT_IS_TEST_DATA = "false"and skew production telemetry metrics.Changes
hpc-toolkit-dev-2totestProjectsinpkg/telemetry/collector.goto ensure blueprints running in the new daily test project are identified withCLUSTER_TOOLKIT_IS_TEST_DATA = "true".hpc-toolkit-dev-2inTestGetIsTestData(pkg/telemetry/collector_test.go) to validate test project detection.Submission Checklist
NOTE: Community submissions can take up to 2 weeks to be reviewed.
Please take the following actions before submitting this pull request.