Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@williammartin
Copy link
Member

Description

Fixes #10005

Implementation

The previous implementation was relying on the iteration order of a map when responding with a list of test artifacts from the fakePlatform, which resulted in flakiness. This PR makes use of a slice instead.

@williammartin williammartin requested a review from a team as a code owner December 4, 2024 12:04
@williammartin williammartin requested a review from BagToad December 4, 2024 12:04
@williammartin williammartin linked an issue Dec 4, 2024 that may be closed by this pull request
@williammartin williammartin requested a review from Copilot December 4, 2024 12:04
Copy link
Contributor

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.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no suggestions.

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

Copy link
Member

@andyfeller andyfeller left a comment

Choose a reason for hiding this comment

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

Oof, yeah makes sense with map being inconsistent 🀦 Thanks for knocking this out!

@andyfeller andyfeller merged commit 179f0c4 into trunk Dec 4, 2024
@andyfeller andyfeller deleted the 10005-fix-flaky-run-download-test branch December 4, 2024 13:13
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Dec 6, 2024
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [cli/cli](https://github.com/cli/cli) | patch | `v2.63.1` -> `v2.63.2` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>cli/cli (cli/cli)</summary>

### [`v2.63.2`](https://github.com/cli/cli/releases/tag/v2.63.2): GitHub CLI 2.63.2

[Compare Source](cli/cli@v2.63.1...v2.63.2)

#### What's Changed

-   Use consistent slice ordering in run download tests by [@&#8203;williammartin](https://github.com/williammartin) in cli/cli#10006
-   Fix bug when fetching bundles from OCI registry by [@&#8203;malancas](https://github.com/malancas) in cli/cli#10019
-   Use safepaths for run download by [@&#8203;williammartin](https://github.com/williammartin) in cli/cli#10009
-   Error for mutually exclusive json and watch flags by [@&#8203;andyfeller](https://github.com/andyfeller) in cli/cli#10016

**Full Changelog**: cli/cli@v2.63.1...v2.63.2

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

β™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Isra5050

This comment was marked as spam.

@Isra5050

This comment was marked as spam.

Isra5050

This comment was marked as spam.

@Isra5050

This comment was marked as spam.

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.

Fix flaky run download test

4 participants