metamask-extension
                                
                                 metamask-extension copied to clipboard
                                
                                    metamask-extension copied to clipboard
                            
                            
                            
                        ci(action): GH action to validate PR title against conventional commit standard
Description
Added a GH action step to validate the PR title against the Conventional Commit standard https://www.conventionalcommits.org/en/v1.0.0/
Related issues
Manual testing steps
Screenshots/Recordings
Pre-merge author checklist
- [x] I’ve followed MetaMask Coding Standards.
- [x] I've clearly explained what problem this PR is solving and how it is solved.
- [ ] I've linked related issues
- [ ] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using JSDoc format if applicable
- [x] I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
- [x] I’ve properly set the pull request status:
- [ ] In case it's not yet "ready for review", I've set it to "draft".
- [x] In case it's "ready for review", I've changed it from "draft" to "non-draft".
 
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.
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.
Builds ready [5d8bc08]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (1658 ± 57 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) | 
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 96 | 172 | 124 | 19 | 9 | 
| domContentLoaded | 1483 | 1933 | 1641 | 114 | 55 | ||
| load | 1483 | 1933 | 1658 | 119 | 57 | ||
| domInteractive | 1483 | 1932 | 1641 | 114 | 55 | 
Bundle size diffs
- background: 0 bytes
- ui: 0 bytes
- common: 0 bytes
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
ef9e63a) 68.48% compared to head (540349d) 68.48%.
Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #19229   +/-   ##
========================================
  Coverage    68.48%   68.48%           
========================================
  Files         1089     1089           
  Lines        43015    43015           
  Branches     11462    11462           
========================================
  Hits         29455    29455           
  Misses       13560    13560           
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Builds ready [6386423]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (1531 ± 37 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) | 
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 104 | 149 | 125 | 13 | 6 | 
| domContentLoaded | 1419 | 1719 | 1531 | 76 | 37 | ||
| load | 1419 | 1719 | 1531 | 76 | 37 | ||
| domInteractive | 1419 | 1719 | 1531 | 76 | 37 | 
Bundle size diffs
- background: 0 bytes
- ui: 0 bytes
- common: 0 bytes
I will do so within the next day or two and push a commit to this branch
so I did not do that within a day or two
This PR has been automatically marked as stale because it has not had recent activity in the last 60 days. It will be closed in 14 days. Thank you for your contributions.
This PR was closed because there has been no follow up activity in the last 14 days. Thank you for your contributions.
I don't think this GitHub Action would run at the correct time.  It's set to run only on master and develop.  I believe it needs to run on any branch.
Also, let's update the library to 5.4.0
Builds ready [292e1c3]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (769 ± 23 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) | 
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 81 | 151 | 106 | 16 | 8 | 
| domContentLoaded | 9 | 45 | 20 | 8 | 4 | ||
| load | 671 | 848 | 769 | 49 | 23 | ||
| domInteractive | 9 | 45 | 20 | 8 | 4 | 
Bundle size diffs
- background: 0 Bytes (0.00%)
- ui: 0 Bytes (0.00%)
- common: 0 Bytes (0.00%)
Builds ready [c38f13f]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (836 ± 27 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) | 
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 80 | 161 | 115 | 23 | 11 | 
| domContentLoaded | 10 | 63 | 24 | 15 | 7 | ||
| load | 752 | 944 | 836 | 57 | 27 | ||
| domInteractive | 10 | 63 | 24 | 15 | 7 | 
Bundle size diffs
- background: 0 Bytes (0.00%)
- ui: 0 Bytes (0.00%)
- common: 0 Bytes (0.00%)
@danjm @brad-decker Someone with admin access needs to add amannn/[email protected] to the allowed actions for this PR to work
Builds ready [8655319]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (901 ± 121 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) | 
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 87 | 326 | 121 | 62 | 30 | 
| domContentLoaded | 9 | 71 | 18 | 18 | 9 | ||
| load | 740 | 1552 | 901 | 252 | 121 | ||
| domInteractive | 9 | 71 | 18 | 18 | 9 | 
Bundle size diffs
- background: 0 Bytes (0.00%)
- ui: 0 Bytes (0.00%)
- common: 0 Bytes (0.00%)
Builds ready [f4bc43e]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (953 ± 60 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) | 
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 112 | 277 | 180 | 37 | 18 | 
| domContentLoaded | 9 | 69 | 25 | 22 | 11 | ||
| load | 815 | 1393 | 953 | 124 | 60 | ||
| domInteractive | 9 | 69 | 25 | 22 | 11 | 
Bundle size diffs
- background: 0 Bytes (0.00%)
- ui: 0 Bytes (0.00%)
- common: 0 Bytes (0.00%)
Builds ready [927c314]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (1027 ± 27 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) | 
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 112 | 337 | 200 | 42 | 20 | 
| domContentLoaded | 16 | 97 | 37 | 27 | 13 | ||
| load | 913 | 1119 | 1027 | 57 | 27 | ||
| domInteractive | 16 | 97 | 37 | 27 | 13 | 
Bundle size diffs
- background: 0 Bytes (0.00%)
- ui: 0 Bytes (0.00%)
- common: 0 Bytes (0.00%)
Builds ready [540349d]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (1062 ± 55 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) | 
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 112 | 371 | 204 | 63 | 30 | 
| domContentLoaded | 15 | 119 | 44 | 27 | 13 | ||
| load | 875 | 1295 | 1062 | 115 | 55 | ||
| domInteractive | 15 | 119 | 44 | 27 | 13 | 
Bundle size diffs
- background: 0 Bytes (0.00%)
- ui: 0 Bytes (0.00%)
- common: 0 Bytes (0.00%)
Is this working?
@davidmurdoch I think you're right, I think it's not working 100% of the time. Some of this may be PRs that were opened before this merged.
EDIT: I think I know... it only runs on [opened, edited, reopened].  So it won't catch an old PR until you edit the title.  This also may be acceptable.