Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

EVG-20704: Save patch trigger aliases with new success status #2121

Merged
merged 3 commits into from
Nov 2, 2023

Conversation

sophstad
Copy link
Contributor

EVG-20704

Description

Save patch trigger aliases with "success" status.

After deploying this change, the following operation will be run, first on staging, to convert all patch trigger aliases from "succeeded" to "success" status:

db.project_ref.updateMany(
  { "patch_trigger_aliases": { $exists: true } },
  { $set: { "patch_trigger_aliases.$[elem].status": "success" } },
  { arrayFilters: [ { "elem.status": "succeeded" } ] }
)

Testing

Validated DB command on local database, ensured that patch trigger aliases with either string function as expected.

@cypress
Copy link

cypress bot commented Oct 30, 2023

Passing run #13522 ↗︎

0 601 7 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Update src/pages/projectSettings/tabs/PatchAliasesTab/transformers.ts
Project: Spruce Commit: 236338bf45
Status: Passed Duration: 19:00 💡
Started: Oct 31, 2023 4:32 PM Ended: Oct 31, 2023 4:51 PM

Review all test suite changes for PR #2121 ↗︎

@sophstad sophstad requested review from ablack12 and a team October 30, 2023 19:09
@sophstad sophstad marked this pull request as ready for review October 30, 2023 19:09
Copy link
Contributor

@ablack12 ablack12 left a comment

Choose a reason for hiding this comment

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

🚀

@sophstad sophstad merged commit dff7d57 into evergreen-ci:main Nov 2, 2023
2 checks passed
@sophstad sophstad deleted the EVG-20704 branch November 2, 2023 13:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants