Skip to content

chore: Update metric length limits #94

chore: Update metric length limits

chore: Update metric length limits #94

Triggered via pull request January 29, 2024 17:20
Status Failure
Total duration 17m 25s
Artifacts 2

dry-run.yml

on: pull_request
dry-run  /  Build browser-test-tools
1m 41s
dry-run / Build browser-test-tools
dry-run  /  Build documenter
1m 1s
dry-run / Build documenter
dry-run  /  Build global-styles
25s
dry-run / Build global-styles
dry-run  /  Build collection-hooks
44s
dry-run / Build collection-hooks
dry-run  /  Build jest-preset
22s
dry-run / Build jest-preset
dry-run  /  Build component-toolkit
1m 7s
dry-run / Build component-toolkit
dry-run  /  Build theming-core
56s
dry-run / Build theming-core
dry-run  /  Build test-utils
53s
dry-run / Build test-utils
dry-run  /  Build components
3m 34s
dry-run / Build components
Matrix: dry-run / Components accessibility tests shard
dry-run  /  Build board components
2m 2s
dry-run / Build board components
dry-run  /  Components unit tests
3m 39s
dry-run / Components unit tests
dry-run  /  Components integration tests
10m 32s
dry-run / Components integration tests
dry-run  /  Components accessibility tests
0s
dry-run / Components accessibility tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 37 warnings
Client Metrics support › sendMetric › when window.AWSC.Clog.log is defined › Metric name validation › logs an error when invalid metric name used (123456789_123456789_123456789_123): src/internal/utils/__tests__/metrics.test.ts#L142
expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid metric name: 123456789_123456789_123456789_123" Number of calls: 0 at Object.<anonymous> (src/internal/utils/__tests__/metrics.test.ts:142:32)
Client Metrics support › sendMetric › when window.AWSC.Clog.log is defined › Metric detail validation › throws an error when detail is too long: src/internal/utils/__tests__/metrics.test.ts#L170
expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Detail for metric metricName is too long: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" Number of calls: 0 at Object.<anonymous> (src/internal/utils/__tests__/metrics.test.ts:170:30)
Client Metrics support › sendPanoramaMetric › when panorama is defined › Metric detail validation › throws an error when detail is too long: src/internal/utils/__tests__/metrics.test.ts#L384
expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Detail for metric is too long: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" Number of calls: 0 at Object.<anonymous> (src/internal/utils/__tests__/metrics.test.ts:384:30)
dry-run / Components unit tests
Process completed with exit code 1.
dry-run / Build jest-preset
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build global-styles
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build collection-hooks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build documenter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build browser-test-tools
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build test-utils
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build theming-core
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build component-toolkit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build components
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Components accessibility tests shard (4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Components accessibility tests shard (1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "className" is forbidden on Components
dry-run / Build board components
Prop "className" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Components unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Components accessibility tests shard (2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Components accessibility tests shard (3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Components accessibility tests shard (6)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Components accessibility tests shard (5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Demos tests
'Link' is defined but never used
dry-run / Demos tests
React Hook useEffect has a missing dependency: 'loadCallback'. Either include it or remove the dependency array. If 'loadCallback' changes too often, find the parent component that defines it and wrap that definition in useCallback
dry-run / Demos tests
'React' is defined but never used
dry-run / Demos tests
'Alert' is defined but never used
dry-run / Demos tests
'Box' is defined but never used
dry-run / Demos tests
'ExternalLink' is defined but never used
dry-run / Demos tests
'setVisible' is assigned a value but never used
dry-run / Demos tests
'Link' is defined but never used
dry-run / Demos tests
React Hook useEffect has a missing dependency: 'updateDirty'. Either include it or remove the dependency array. If 'updateDirty' changes too often, find the parent component that defines it and wrap that definition in useCallback
dry-run / Demos tests
'Link' is defined but never used
dry-run / Components integration tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
components-package Expired
89.8 MB
dependencies Expired
330 KB