Skip to content

Commit

Permalink
fix: lint-lockfile flaky job by changing resources from medium to med…
Browse files Browse the repository at this point in the history
…ium-plus (#27950)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

The lint-lockfile job is flaky. It seems it's under-resourced peaking
max cpu and ram values, as @Gudahtt pointed out:


![Screenshot from 2024-10-18
09-14-33](https://github.com/user-attachments/assets/bf9c4d06-31c5-47e0-885a-dde85e49def2)


[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27950?quickstart=1)

## **Related issues**

Fixes: #27806

## **Manual testing steps**

1. Check lint-lockfile job

## **Screenshots/Recordings**
Increasing resources from medium to medium-plus
https://circleci.com/pricing/price-list/

![Screenshot from 2024-10-18
09-39-13](https://github.com/user-attachments/assets/d473d8f5-8c9d-442e-8267-71deca2834dc)

Resource usage after the change:

![Screenshot from 2024-10-18
09-33-41](https://github.com/user-attachments/assets/0e8dfd50-275c-4c1e-a33e-169923cda987)


## **Pre-merge author checklist**

- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
  • Loading branch information
seaona authored Oct 18, 2024
1 parent 9b370bd commit c44fb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ jobs:
command: ./development/shellcheck.sh

test-lint-lockfile:
executor: node-browsers-medium
executor: node-browsers-medium-plus
steps:
- run: *shallow-git-clone-and-enable-vnc
- run: sudo corepack enable
Expand Down

0 comments on commit c44fb0b

Please sign in to comment.