Skip to content

fix: Ensure has_marketing_consent user trait are correctly set and sent after participateInMetaMetrics is set to true #57341

fix: Ensure has_marketing_consent user trait are correctly set and sent after participateInMetaMetrics is set to true

fix: Ensure has_marketing_consent user trait are correctly set and sent after participateInMetaMetrics is set to true #57341

Triggered via pull request February 5, 2025 15:40
Status Failure
Total duration 22m 2s
Artifacts 9

main.yml

on: pull_request
Wait for CircleCI workflow status  /  Wait for CircleCI workflow status
21m 37s
Wait for CircleCI workflow status / Wait for CircleCI workflow status
Build storybook  /  Build storybook
2m 51s
Build storybook / Build storybook
Build beta  /  Build beta
7s
Build beta / Build beta
Matrix: Run tests / Unit tests
Matrix: Validate lavamoat policy webapp / Validate lavamoat policy webapp
Lint workflows  /  Lint workflows
7s
Lint workflows / Lint workflows
Test lint shellcheck  /  Test lint shellcheck
7s
Test lint shellcheck / Test lint shellcheck
Test lint  /  Test lint
6m 23s
Test lint / Test lint
Test lint changelog  /  Test lint changelog
1m 31s
Test lint changelog / Test lint changelog
Test lint lockfile  /  Test lint lockfile
2m 5s
Test lint lockfile / Test lint lockfile
Test yarn dedupe  /  Test yarn dedupe
1m 34s
Test yarn dedupe / Test yarn dedupe
Test deps depcheck  /  Test deps depcheck
1m 55s
Test deps depcheck / Test deps depcheck
Test storybook  /  Test storybook
8m 16s
Test storybook / Test storybook
Validate lavamoat allow scripts  /  Validate lavamoat allow scripts
1m 31s
Validate lavamoat allow scripts / Validate lavamoat allow scripts
Validate lavamoat policy build  /  Validate lavamoat policy build
2m 49s
Validate lavamoat policy build / Validate lavamoat policy build
Run tests  /  Webpack tests
2m 2s
Run tests / Webpack tests
Run tests  /  Integration tests
3m 54s
Run tests / Integration tests
Test circular deps  /  Test circular dependencies
1m 50s
Test circular deps / Test circular dependencies
Test deps audit  /  Test deps audit
1m 51s
Test deps audit / Test deps audit
Runway  /  Runway
Runway / Runway
Publish prerelease  /  Publish prerelease
Publish prerelease / Publish prerelease
Run tests  /  Report coverage
1m 45s
Run tests / Report coverage
All jobs completed
0s
All jobs completed
All jobs pass
0s
All jobs pass
Log merge group failure  /  Log merge group failure
Log merge group failure / Log merge group failure
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 warnings
Test lint / Test lint: test/e2e/tests/metrics/segment-user-traits.spec.ts#L11
Replace `"../../page-objects/pages/header-navbar"` with `'../../page-objects/pages/header-navbar'`
Test lint / Test lint: test/e2e/tests/metrics/segment-user-traits.spec.ts#L12
Replace `"../../page-objects/pages/settings/settings-page"` with `'../../page-objects/pages/settings/settings-page'`
Test lint / Test lint: test/e2e/tests/metrics/segment-user-traits.spec.ts#L13
Replace `"../../page-objects/pages/settings/privacy-settings"` with `'../../page-objects/pages/settings/privacy-settings'`
Test lint / Test lint: test/e2e/tests/metrics/segment-user-traits.spec.ts#L189
'mockedEndpoints' is defined but never used. Allowed unused args must match /[_]+/u
Test lint / Test lint: test/e2e/tests/metrics/segment-user-traits.spec.ts#L190
'events' is assigned a value but never used
Test lint / Test lint: test/e2e/tests/metrics/segment-user-traits.spec.ts#L190
'events' is never reassigned. Use 'const' instead
Test lint / Test lint: test/e2e/tests/metrics/segment-user-traits.spec.ts#L195
'privacySettings' is assigned a value but never used
Test lint / Test lint
Process completed with exit code 1.
Wait for CircleCI workflow status / Wait for CircleCI workflow status
Workflow status is 'canceled'. Exiting with error.
Wait for CircleCI workflow status / Wait for CircleCI workflow status
Process completed with exit code 1.
All jobs pass
Process completed with exit code 1.
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1265
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1286
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1306
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1390
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1406
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1429
Some tests seem to be commented
Test lint / Test lint: test/e2e/flask/solana/common-solana.ts#L91
'#fb9f18' Hex color values are not allowed. Consider using design tokens instead. For support reach out to the design system team #metamask-design-system on Slack
Test lint / Test lint: ui/components/app/detected-token/detected-token.js#L117
React Hook useEffect has a missing dependency: 'tokensListDetected'. Either include it or remove the dependency array
Test lint / Test lint: ui/components/app/name/name.stories.tsx#L129
Named exports should not use the name annotation if it is redundant to the name that would be generated by the export name
Test lint / Test lint: ui/components/app/snaps/snap-home-page/snap-home-renderer.js#L49
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array

Artifacts

Produced during runtime
Name Size
coverage-integration
795 KB
coverage-unit-1
1.06 MB
coverage-unit-2
1.06 MB
coverage-unit-3
1.07 MB
coverage-unit-4
1.08 MB
coverage-unit-5
1.05 MB
coverage-unit-6
1.07 MB
coverage-webpack
14.2 KB
lcov.info
328 KB