Skip to content

chore: Update metrics reporting #11783

chore: Update metrics reporting

chore: Update metrics reporting #11783

Triggered via pull request January 30, 2025 12:32
Status Failure
Total duration 16m 28s
Artifacts 4

dry-run.yml

on: pull_request
dry-run  /  Create build tree
2s
dry-run / Create build tree
dry-run  /  Build browser-test-tools
2s
dry-run / Build browser-test-tools
dry-run  /  Build documenter
4s
dry-run / Build documenter
dry-run  /  Build global-styles
4s
dry-run / Build global-styles
dry-run  /  Build build-tools
4s
dry-run / Build build-tools
dry-run  /  Build collection-hooks
5s
dry-run / Build collection-hooks
dry-run  /  Build jest-preset
2s
dry-run / Build jest-preset
dry-run  /  Build component-toolkit
5s
dry-run / Build component-toolkit
dry-run  /  Build test-utils
3s
dry-run / Build test-utils
dry-run  /  Build theming-core
2s
dry-run / Build theming-core
dry-run  /  Build components
3m 7s
dry-run / Build components
dry-run  /  Build board components
2m 2s
dry-run / Build board components
dry-run  /  Build code view components
1m 3s
dry-run / Build code view components
dry-run  /  Build chat components
1m 2s
dry-run / Build chat components
Matrix: dry-run / Components accessibility tests shards
Matrix: dry-run / Components integration tests shards
dry-run  /  Components unit tests
3m 48s
dry-run / Components unit tests
dry-run  /  Components motion tests
1m 15s
dry-run / Components motion tests
dry-run  /  Components accessibility tests
0s
dry-run / Components accessibility tests
dry-run  /  Components integration tests
0s
dry-run / Components integration tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 24 warnings
asynchronous rendering › warns if registerReplacement called after unmounting: src/alert/__tests__/runtime-content.test.tsx#L307
expect(jest.fn()).toBeCalledWith(...expected) Expected: {"eventDetail": {"component": "alert-content-replacer", "message": "\"hideHeader\" called after component unmounted", "version": Any<String>}, "eventName": "awsui-runtime-api-warning"} Received 1 Object { + "eventContext": "awsui-runtime-api-warning", "eventDetail": Object { "component": "alert-content-replacer", - "message": "\"hideHeader\" called after component unmounted", - "version": Any<String>, + "message": "\"replaceContent\" called after component unmounted", + "version": "3.0.0 (bc569d93)", }, - "eventName": "awsui-runtime-api-warning", }, 2 Object { + "eventContext": "awsui-runtime-api-warning", "eventDetail": Object { "component": "alert-content-replacer", "message": "\"hideHeader\" called after component unmounted", - "version": Any<String>, + "version": "3.0.0 (bc569d93)", }, - "eventName": "awsui-runtime-api-warning", }, 3 Object { + "eventContext": "awsui-runtime-api-warning", "eventDetail": Object { "component": "alert-content-replacer", - "message": "\"hideHeader\" called after component unmounted", - "version": Any<String>, + "message": "\"restoreHeader\" called after component unmounted", + "version": "3.0.0 (bc569d93)", }, - "eventName": "awsui-runtime-api-warning", }, Number of calls: 7 Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> at assertWarningLogged (src/alert/__tests__/runtime-content.test.tsx:307:39) at src/alert/__tests__/runtime-content.test.tsx:316:7 at runWithExpensiveErrorDiagnosticsDisabled (node_modules/@testing-library/dom/dist/config.js:52:12) at checkCallback (node_modules/@testing-library/dom/dist/wait-for.js:141:77) at checkRealTimersCallback (node_modules/@testing-library/dom/dist/wait-for.js:133:16) at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
can only register a single provider: src/alert/__tests__/runtime-content.test.tsx#L376
expect(jest.fn()).toHaveBeenCalledWith(...expected) - Expected + Received Object { + "eventContext": "awsui-runtime-api-warning", "eventDetail": Object { "component": "alert-flash-content", - "message": StringContaining "Cannot call `registerContentReplacer` with new provider: provider with id \"plugin-1\" already registered.", - "version": Any<String>, + "message": "Cannot call `registerContentReplacer` with new provider: provider with id \"plugin-1\" already registered.", + "version": "3.0.0 (bc569d93)", }, - "eventName": "awsui-runtime-api-warning", }, Number of calls: 1 at Object.<anonymous> (src/alert/__tests__/runtime-content.test.tsx:376:33)
asynchronous rendering › warns if registerReplacement called after unmounting: src/flashbar/__tests__/runtime-content.test.tsx#L302
expect(jest.fn()).toBeCalledWith(...expected) Expected: {"eventDetail": {"component": "flash-content-replacer", "message": "\"hideHeader\" called after component unmounted", "version": Any<String>}, "eventName": "awsui-runtime-api-warning"} Received 1 Object { + "eventContext": "awsui-runtime-api-warning", "eventDetail": Object { "component": "flash-content-replacer", - "message": "\"hideHeader\" called after component unmounted", - "version": Any<String>, + "message": "\"replaceContent\" called after component unmounted", + "version": "3.0.0 (bc569d93)", }, - "eventName": "awsui-runtime-api-warning", }, 2 Object { + "eventContext": "awsui-runtime-api-warning", "eventDetail": Object { "component": "flash-content-replacer", "message": "\"hideHeader\" called after component unmounted", - "version": Any<String>, + "version": "3.0.0 (bc569d93)", }, - "eventName": "awsui-runtime-api-warning", }, 3 Object { + "eventContext": "awsui-runtime-api-warning", "eventDetail": Object { "component": "flash-content-replacer", - "message": "\"hideHeader\" called after component unmounted", - "version": Any<String>, + "message": "\"restoreHeader\" called after component unmounted", + "version": "3.0.0 (bc569d93)", }, - "eventName": "awsui-runtime-api-warning", }, Number of calls: 7 Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> at assertWarningLogged (src/flashbar/__tests__/runtime-content.test.tsx:302:39) at src/flashbar/__tests__/runtime-content.test.tsx:311:7 at runWithExpensiveErrorDiagnosticsDisabled (node_modules/@testing-library/dom/dist/config.js:52:12) at checkCallback (node_modules/@testing-library/dom/dist/wait-for.js:141:77) at checkRealTimersCallback (node_modules/@testing-library/dom/dist/wait-for.js:133:16) at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
console warnings › warns if multiple change listeners attempted to register: src/internal/plugins/controllers/__tests__/drawers.test.ts#L118
expect(jest.fn()).toHaveBeenCalledWith(...expected) - Expected + Received Object { + "eventContext": "awsui-runtime-api-warning", "eventDetail": Object { "component": "app-layout-drawers", - "message": StringMatching /multiple app layout instances detected/, - "version": Any<String>, + "message": "multiple app layout instances detected when calling onDrawersRegistered", + "version": "3.0.0 (bc569d93)", }, - "eventName": "awsui-runtime-api-warning", }, Number of calls: 1 at Object.<anonymous> (src/internal/plugins/controllers/__tests__/drawers.test.ts:118:35)
console warnings › warns if multiple drawers with same id got registered: src/internal/plugins/controllers/__tests__/drawers.test.ts#L138
expect(jest.fn()).toHaveBeenCalledWith(...expected) - Expected + Received Object { + "eventContext": "awsui-runtime-api-warning", "eventDetail": Object { "component": "app-layout-drawers", - "message": StringMatching /drawer with id "drawerA" is already registered/, - "version": Any<String>, + "message": "drawer with id \"drawerA\" is already registered", + "version": "3.0.0 (bc569d93)", }, - "eventName": "awsui-runtime-api-warning", }, Number of calls: 1 at Object.<anonymous> (src/internal/plugins/controllers/__tests__/drawers.test.ts:138:35)
usage metrics › reports usage metric only once: src/internal/plugins/__tests__/api.test.ts#L83
expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: ObjectContaining {"eventName": "awsui-runtime-api-loaded"} Received: {"eventContext": "awsui-runtime-api-loaded", "eventDetail": {"version": "3.0.0 (bc569d93)"}} Number of calls: 1 at Object.<anonymous> (src/internal/plugins/__tests__/api.test.ts:83:35)
dry-run / Components unit tests
Process completed with exit code 1.
dry-run / Build chat components
Prop "id" is forbidden on Components
dry-run / Build chat components
Prop "id" is forbidden on Components
dry-run / Build chat components
Prop "id" is forbidden on Components
dry-run / Build chat components
Prop "id" is forbidden on Components
dry-run / Build chat components
Prop "className" is forbidden on Components
dry-run / Build chat components
Unexpected any. Specify a different type
dry-run / Build chat components
Unexpected any. Specify a different type
dry-run / Build chat components
Unexpected any. Specify a different type
dry-run / Build chat components
Unexpected any. Specify a different type
dry-run / Build chat components
Unexpected any. Specify a different type
dry-run / Build code view components
Prop "id" is forbidden on Components
dry-run / Build code view components
Prop "className" is forbidden on Components
dry-run / Build code view components
Unexpected any. Specify a different type
dry-run / Build code view components
Unexpected any. Specify a different type
dry-run / Build code view components
Unexpected any. Specify a different type
RETRY 1: Sticky scrollbar › is hidden: src/table/__integ__/sticky-scrollbar.test.ts#L68
expect(received).resolves.toEqual(expected) // deep equality Expected: false Received: true at Object.toEqual (node_modules/expect/build/index.js:174:22) at src/table/__integ__/sticky-scrollbar.test.ts:68:77 at src/table/__integ__/sticky-scrollbar.test.ts:24:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
dry-run / Demos tests
Unexpected any. Specify a different type
dry-run / Demos tests
A file with name '/home/runner/work/components/components/src/common/columnDefinitionsHelper.ts' does not match kebab-case. Should rename to 'column-definitions-helper.ts'
dry-run / Demos tests
A file with name '/home/runner/work/components/components/src/common/localStorage.ts' does not match kebab-case. Should rename to 'local-storage.ts'
dry-run / Demos tests
Use JSX file extension as needed
dry-run / Demos tests
Use JSX file extension as needed
dry-run / Demos tests
Use JSX file extension as needed
dry-run / Demos tests
Use JSX file extension as needed
dry-run / Demos tests
No files were found with the provided path: lib/*.tgz. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
cloudscape-design-board-components
280 KB
cloudscape-design-chat-components
59.7 KB
cloudscape-design-code-view
37.1 KB
cloudscape-design-components
7.99 MB