Skip to content

Conversation

@legobeat
Copy link
Contributor

@legobeat legobeat commented May 30, 2024

Description

Related issues

Manual testing steps

  1. Introduce change in Podfile
  2. Push to new branch on your fork and open PR on your fork repo
  3. Observe CI fail
  4. Revert Podfile change and push
  5. Observe CI pass

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). 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.

@github-actions
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@legobeat legobeat added devtools area-testSuite team-application-security Application security team No QA Needed Apply this label when your PR does not need any QA effort. No E2E Smoke Needed labels May 30, 2024
@legobeat legobeat force-pushed the ci-lint-podfile-lock branch 5 times, most recently from dc86200 to 3481e51 Compare May 30, 2024 00:48
@legobeat legobeat force-pushed the ci-lint-podfile-lock branch 4 times, most recently from b6624ce to 84bd73a Compare May 30, 2024 02:27
@codecov-commenter
Copy link

codecov-commenter commented May 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.24%. Comparing base (b013c71) to head (4e3967d).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9789   +/-   ##
=======================================
  Coverage   47.24%   47.24%           
=======================================
  Files        1370     1370           
  Lines       33304    33304           
  Branches     3586     3586           
=======================================
  Hits        15736    15736           
  Misses      16607    16607           
  Partials      961      961           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@socket-security
Copy link

socket-security bot commented May 30, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] environment +16 503 kB cenk1cenk2

🚮 Removed packages: npm/[email protected]

View full report↗︎

legobeat and others added 12 commits June 3, 2024 17:49
- Makes linting fail if `Podfile.lock` is out of sync.

- chore(ci): install ruby for lint job
…by versions

    fix: script phases warning (#35594)

stderr output:

  warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
  warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.

Upstream-commit: 48966ebce1fe1a5a7b5f9ce6b9224b751ee0d98b (#35594)

Co-authored-by: Ricky Hanlon <[email protected]>
@legobeat legobeat force-pushed the ci-lint-podfile-lock branch from de1cd9d to 3214e9f Compare June 3, 2024 08:49
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 3, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2024

This PR has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions.

@github-actions github-actions bot added the stale Issues that have not had activity in the last 90 days label Sep 1, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Sep 8, 2024

This PR was closed because there has been no follow up activity in 7 days. Thank you for your contributions.

@github-actions github-actions bot closed this Sep 8, 2024
@Cal-L Cal-L mentioned this pull request Sep 18, 2024
9 tasks
github-merge-queue bot pushed a commit that referenced this pull request Sep 24, 2024
## **Description**

This PR refactors setup.mjs file with the purpose of:
1. Moves Gemfile into iOS directory, which is where it belongs since it
only relates to iOS. We also updated everywhere that calls bundle
install or exec so it's calling it in the ios directory
2. Run pod install in CI for detecting diffs in Podfile.lock

Because we're now running pod install in the CI, the total `ci.yml` job
time will take longer. However, it still completes before some other
tasks such as unit tests. And since it runs in parallel to those, we
should not see an increase in total CI run time.

## **Related issues**

- #11293
- #9789

## **Manual testing steps**

- Running `yarn setup` still works normally when run locally
- CI passes when run
- CI fails when Podfile.lock is changed when pod install runs in the CI

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

Example of pod file diff detected

https://github.com/MetaMask/metamask-mobile/actions/runs/10746121351/job/29806449687?pr=10880

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.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-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [x] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [x] 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.

---------

Co-authored-by: legobt <[email protected]>
Co-authored-by: legobeat <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-testSuite devtools No QA Needed Apply this label when your PR does not need any QA effort. stale Issues that have not had activity in the last 90 days team-application-security Application security team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants