Skip to content

fix(ci): replace perf.send command with new API end point for performance data submission DEVPROD-19866 #2510

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

Merged
merged 1 commit into from
Jul 24, 2025

Conversation

MAhmadShah
Copy link
Contributor

The perf.send command is no longer being maintained and will be decommissioned soon. Users can now submit performance data using the "raw_perf_results" end point provided by the performance-monitoring-api. This PR migrates the mongosh evergreen project over to that API.

@Copilot Copilot AI review requested due to automatic review settings July 24, 2025 18:33
@MAhmadShah MAhmadShah requested a review from a team as a code owner July 24, 2025 18:33
@MAhmadShah
Copy link
Contributor Author

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR migrates from the deprecated perf.send command to the new performance-monitoring-api endpoint for submitting performance data. The change is motivated by the upcoming decommissioning of the perf.send command.

  • Replaces perf.send command with custom shell script using curl to POST to the raw_perf_results endpoint
  • Adds logic to determine mainline vs non-mainline runs based on the requester expansion
  • Implements proper error handling and response validation for the API call

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.evergreen/evergreen.yml.in Template file updated with new performance data submission logic
.evergreen.yml Generated file with identical changes applied
Comments suppressed due to low confidence (3)

@addaleax addaleax changed the title fix: replace perf.send command with new API end point for performance data submission DEVPROD-19866 fix(ci): replace perf.send command with new API end point for performance data submission DEVPROD-19866 Jul 24, 2025
@addaleax addaleax merged commit 38d9116 into mongodb-js:main Jul 24, 2025
106 of 109 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants