slnodejs 6.1.410 → 6.1.429
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser-agent/dist/browser-agent-all.js +33 -28
- package/browser-agent/dist/browser-agent-all.min.js +2 -2
- package/browser-agent/package.json +1 -1
- package/package.json +2 -2
- package/tsOutputs/api.js +32 -86
- package/tsOutputs/build-scanner/ast-utils.js +11 -11
- package/tsOutputs/build-scanner/ast-utils.js.map +1 -1
- package/tsOutputs/build-scanner/build-diff-process.js +36 -16
- package/tsOutputs/build-scanner/build-diff-process.js.map +1 -1
- package/tsOutputs/build-scanner/cia.js +2 -2
- package/tsOutputs/build-scanner/cia.js.map +1 -1
- package/tsOutputs/build-scanner/default-values-resolver.js +5 -7
- package/tsOutputs/build-scanner/default-values-resolver.js.map +1 -1
- package/tsOutputs/build-scanner/diagnostic/build-scan-diagnosis.js +101 -159
- package/tsOutputs/build-scanner/diagnostic/build-scan-diagnosis.js.map +1 -1
- package/tsOutputs/build-scanner/diagnostic/none-diagnosis.js +23 -55
- package/tsOutputs/build-scanner/diagnostic/none-diagnosis.js.map +1 -1
- package/tsOutputs/build-scanner/file-and-folder-utils.js +3 -3
- package/tsOutputs/build-scanner/file-and-folder-utils.js.map +1 -1
- package/tsOutputs/build-scanner/file-system/actual-file.js +3 -3
- package/tsOutputs/build-scanner/file-system/actual-file.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/browser-instrumenter.js +57 -60
- package/tsOutputs/build-scanner/instrumentation/browser-instrumenter.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/content-instrumenter.js +9 -10
- package/tsOutputs/build-scanner/instrumentation/content-instrumenter.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/files-instrumenter.js +80 -124
- package/tsOutputs/build-scanner/instrumentation/files-instrumenter.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/instrumentation-utils.js +3 -3
- package/tsOutputs/build-scanner/instrumentation/instrumentation-utils.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/instrumented-file-size-reducer.js +4 -4
- package/tsOutputs/build-scanner/instrumentation/instrumented-file-size-reducer.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/process-pool/instrumenter-spawn.js +15 -50
- package/tsOutputs/build-scanner/instrumentation/process-pool/instrumenter-spawn.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/process-pool/process-pool.js +84 -141
- package/tsOutputs/build-scanner/instrumentation/process-pool/process-pool.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/process-pool/split-by-transform-stream.js +15 -34
- package/tsOutputs/build-scanner/instrumentation/process-pool/split-by-transform-stream.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/process-pool/stop-by-condition-transform-stream.js +9 -27
- package/tsOutputs/build-scanner/instrumentation/process-pool/stop-by-condition-transform-stream.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/strategies/copy-as-is-strategy.js +8 -10
- package/tsOutputs/build-scanner/instrumentation/strategies/copy-as-is-strategy.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/strategies/js-instrumnetation-strategy.js +22 -54
- package/tsOutputs/build-scanner/instrumentation/strategies/js-instrumnetation-strategy.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/strategies/markup-instrumnetation-strategy.js +55 -107
- package/tsOutputs/build-scanner/instrumentation/strategies/markup-instrumnetation-strategy.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/file-signature.js +5 -6
- package/tsOutputs/build-scanner/js_diff/file-signature.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/files-mapping.js +6 -6
- package/tsOutputs/build-scanner/js_diff/files-mapping.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/generated-file-signature.js +3 -3
- package/tsOutputs/build-scanner/js_diff/generated-file-signature.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/guess-method-location.js +26 -27
- package/tsOutputs/build-scanner/js_diff/guess-method-location.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/method-signature.js +1 -1
- package/tsOutputs/build-scanner/js_diff/method-signature.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/sl-mapper.js +28 -79
- package/tsOutputs/build-scanner/js_diff/sl-mapper.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/source-data-enricher.js +3 -2
- package/tsOutputs/build-scanner/js_diff/source-data-enricher.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/source-files-notifier.js +1 -1
- package/tsOutputs/build-scanner/js_diff/source-files-notifier.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/ensure-files-handler.service.js +76 -149
- package/tsOutputs/build-scanner/mappings/ensure-files-handler.service.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/file-element-utils.js +9 -9
- package/tsOutputs/build-scanner/mappings/file-element-utils.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/file-enricher.js +71 -100
- package/tsOutputs/build-scanner/mappings/file-enricher.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/file-path-fixer.js +106 -0
- package/tsOutputs/build-scanner/mappings/file-path-fixer.js.map +1 -0
- package/tsOutputs/build-scanner/mappings/files-container.js +89 -0
- package/tsOutputs/build-scanner/mappings/files-container.js.map +1 -0
- package/tsOutputs/build-scanner/mappings/files-data-container.js +18 -23
- package/tsOutputs/build-scanner/mappings/files-data-container.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/source-path-mapper.js +15 -45
- package/tsOutputs/build-scanner/mappings/source-path-mapper.js.map +1 -1
- package/tsOutputs/build-scanner/markup-files-parser.js +1 -1
- package/tsOutputs/build-scanner/markup-files-parser.js.map +1 -1
- package/tsOutputs/build-scanner/scm/scm-file-fixer.js +27 -0
- package/tsOutputs/build-scanner/scm/scm-file-fixer.js.map +1 -0
- package/tsOutputs/build-scanner/scm/scm-files-container.js +9 -45
- package/tsOutputs/build-scanner/scm/scm-files-container.js.map +1 -1
- package/tsOutputs/build-scanner/sl-config-cia-cli.js +1 -1
- package/tsOutputs/build-scanner/sl-config-cia-cli.js.map +1 -1
- package/tsOutputs/build-scanner/utils.js +5 -5
- package/tsOutputs/build-scanner/utils.js.map +1 -1
- package/tsOutputs/cli-parse/agent-instance-data.js +2 -2
- package/tsOutputs/cli-parse/agent-instance-data.js.map +1 -1
- package/tsOutputs/cli-parse/child-process-wrapper.js +26 -60
- package/tsOutputs/cli-parse/child-process-wrapper.js.map +1 -1
- package/tsOutputs/cli-parse/cli.js +74 -191
- package/tsOutputs/cli-parse/cli.js.map +1 -1
- package/tsOutputs/cli-parse/constants/constants.js +9 -9
- package/tsOutputs/cli-parse/constants/constants.js.map +1 -1
- package/tsOutputs/cli-parse/contracts.d.ts +2 -0
- package/tsOutputs/cli-parse/contracts.js.map +1 -1
- package/tsOutputs/cli-parse/custom-commander.js +17 -18
- package/tsOutputs/cli-parse/custom-commander.js.map +1 -1
- package/tsOutputs/cli-parse/executors/base-executor.js +121 -236
- package/tsOutputs/cli-parse/executors/base-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/build-args-dto.js +11 -11
- package/tsOutputs/cli-parse/executors/build-args-dto.js.map +1 -1
- package/tsOutputs/cli-parse/executors/build-end-executor.js +34 -92
- package/tsOutputs/cli-parse/executors/build-end-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/build-executor.js +68 -132
- package/tsOutputs/cli-parse/executors/build-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/config-executor.js +35 -92
- package/tsOutputs/cli-parse/executors/config-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/base-data.js +29 -39
- package/tsOutputs/cli-parse/executors/dry-run/base-data.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/build-mapping-data.js +92 -177
- package/tsOutputs/cli-parse/executors/dry-run/build-mapping-data.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-executor.js +110 -194
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-validation.js +49 -83
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-validation.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/footprints-data.js +55 -113
- package/tsOutputs/cli-parse/executors/dry-run/footprints-data.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/helper-methods.js +24 -25
- package/tsOutputs/cli-parse/executors/dry-run/helper-methods.js.map +1 -1
- package/tsOutputs/cli-parse/executors/end-execution-executor.js +16 -64
- package/tsOutputs/cli-parse/executors/end-execution-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/integration-build-components-executor.js +29 -82
- package/tsOutputs/cli-parse/executors/integration-build-components-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/integration-build-delete-components-executor.js +12 -59
- package/tsOutputs/cli-parse/executors/integration-build-delete-components-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/integration-build-update-components-executor.js +9 -58
- package/tsOutputs/cli-parse/executors/integration-build-update-components-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/mocha-executor.js +41 -101
- package/tsOutputs/cli-parse/executors/mocha-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/nyc-report-executor.js +24 -83
- package/tsOutputs/cli-parse/executors/nyc-report-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/pr-config-executor.js +15 -63
- package/tsOutputs/cli-parse/executors/pr-config-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/run-executor.js +23 -75
- package/tsOutputs/cli-parse/executors/run-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/start-execution-executor.js +16 -64
- package/tsOutputs/cli-parse/executors/start-execution-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/test-executions-executor.js +9 -63
- package/tsOutputs/cli-parse/executors/test-executions-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/test-listener-executor.js +47 -117
- package/tsOutputs/cli-parse/executors/test-listener-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/upload-report-executor.js +23 -71
- package/tsOutputs/cli-parse/executors/upload-report-executor.js.map +1 -1
- package/tsOutputs/cli-parse/utils.js +10 -10
- package/tsOutputs/cli-parse/utils.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-events-controller.js +146 -251
- package/tsOutputs/common/agent-events/agent-events-controller.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-events-guard.js +12 -15
- package/tsOutputs/common/agent-events/agent-events-guard.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-instance-info-builder.js +22 -24
- package/tsOutputs/common/agent-events/agent-instance-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-start-info-builder.js +7 -8
- package/tsOutputs/common/agent-events/agent-start-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/browser-info-builder.js +9 -10
- package/tsOutputs/common/agent-events/browser-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/ci-info-builder.js +12 -13
- package/tsOutputs/common/agent-events/ci-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/cockpit-notifier.js +38 -87
- package/tsOutputs/common/agent-events/cockpit-notifier.js.map +1 -1
- package/tsOutputs/common/agent-events/dry-run-agent-events-controller.js +10 -27
- package/tsOutputs/common/agent-events/dry-run-agent-events-controller.js.map +1 -1
- package/tsOutputs/common/agent-events/machine-info-builder.js +21 -22
- package/tsOutputs/common/agent-events/machine-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/no-op-agent-events-controller.js +30 -84
- package/tsOutputs/common/agent-events/no-op-agent-events-controller.js.map +1 -1
- package/tsOutputs/common/agent-events/nodejs-env-info-builder.js +7 -8
- package/tsOutputs/common/agent-events/nodejs-env-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/sensitive-data-filter.js +3 -4
- package/tsOutputs/common/agent-events/sensitive-data-filter.js.map +1 -1
- package/tsOutputs/common/agent-instance-data.js +23 -28
- package/tsOutputs/common/agent-instance-data.js.map +1 -1
- package/tsOutputs/common/cli-progress.js +16 -19
- package/tsOutputs/common/cli-progress.js.map +1 -1
- package/tsOutputs/common/config-process/config-loader.js +23 -24
- package/tsOutputs/common/config-process/config-loader.js.map +1 -1
- package/tsOutputs/common/config-process/config-system.js +104 -131
- package/tsOutputs/common/config-process/config-system.js.map +1 -1
- package/tsOutputs/common/config-process/config.js +52 -73
- package/tsOutputs/common/config-process/config.js.map +1 -1
- package/tsOutputs/common/config-process/index.js +38 -57
- package/tsOutputs/common/config-process/index.js.map +1 -1
- package/tsOutputs/common/config-process/no-op-config-process.js +9 -29
- package/tsOutputs/common/config-process/no-op-config-process.js.map +1 -1
- package/tsOutputs/common/constants/constants.js +19 -25
- package/tsOutputs/common/constants/constants.js.map +1 -1
- package/tsOutputs/common/constants/sl-env-vars.js +125 -131
- package/tsOutputs/common/constants/sl-env-vars.js.map +1 -1
- package/tsOutputs/common/coverage-elements/file-element.js +66 -103
- package/tsOutputs/common/coverage-elements/file-element.js.map +1 -1
- package/tsOutputs/common/coverage-elements/istanbul-unique-id-converter.js +28 -47
- package/tsOutputs/common/coverage-elements/istanbul-unique-id-converter.js.map +1 -1
- package/tsOutputs/common/coverage-elements/new-id-resolver.js +17 -17
- package/tsOutputs/common/coverage-elements/new-id-resolver.js.map +1 -1
- package/tsOutputs/common/coverage-elements/original-module-loader.js +71 -79
- package/tsOutputs/common/coverage-elements/original-module-loader.js.map +1 -1
- package/tsOutputs/common/coverage-elements/unique-id-converter.js +90 -110
- package/tsOutputs/common/coverage-elements/unique-id-converter.js.map +1 -1
- package/tsOutputs/common/environment-data-service.js +10 -11
- package/tsOutputs/common/environment-data-service.js.map +1 -1
- package/tsOutputs/common/events-process/events-creator.js +20 -32
- package/tsOutputs/common/events-process/events-creator.js.map +1 -1
- package/tsOutputs/common/events-process/index.js +97 -186
- package/tsOutputs/common/events-process/index.js.map +1 -1
- package/tsOutputs/common/footprints-process/collection-interval.js +10 -11
- package/tsOutputs/common/footprints-process/collection-interval.js.map +1 -1
- package/tsOutputs/common/footprints-process/footprints-service-proxy.js +21 -22
- package/tsOutputs/common/footprints-process/footprints-service-proxy.js.map +1 -1
- package/tsOutputs/common/footprints-process/index.js +68 -102
- package/tsOutputs/common/footprints-process/index.js.map +1 -1
- package/tsOutputs/common/footprints-process/istanbul-to-footprints-contract.js +2 -5
- package/tsOutputs/common/footprints-process/istanbul-to-footprints-contract.js.map +1 -1
- package/tsOutputs/common/footprints-process/istanbul-to-footprints.js +160 -162
- package/tsOutputs/common/footprints-process/istanbul-to-footprints.js.map +1 -1
- package/tsOutputs/common/footprints-process/production-footprints-handler.js +103 -156
- package/tsOutputs/common/footprints-process/production-footprints-handler.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/base-browser-hits-converter.js +30 -48
- package/tsOutputs/common/footprints-process-v6/base-browser-hits-converter.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/browser-footprints-buffer.js +7 -25
- package/tsOutputs/common/footprints-process-v6/browser-footprints-buffer.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/buffer-size-helper.js +13 -14
- package/tsOutputs/common/footprints-process-v6/buffer-size-helper.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/collector-footprints-buffer.js +14 -32
- package/tsOutputs/common/footprints-process-v6/collector-footprints-buffer.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/collector-footprints-process.js +43 -109
- package/tsOutputs/common/footprints-process-v6/collector-footprints-process.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/contracts.js +2 -5
- package/tsOutputs/common/footprints-process-v6/contracts.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/footprints-buffer.js +55 -78
- package/tsOutputs/common/footprints-process-v6/footprints-buffer.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/hits-collector.js +89 -129
- package/tsOutputs/common/footprints-process-v6/hits-collector.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/hits-converter.js +70 -78
- package/tsOutputs/common/footprints-process-v6/hits-converter.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/index.js +204 -347
- package/tsOutputs/common/footprints-process-v6/index.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/location-formatter.js +2 -2
- package/tsOutputs/common/footprints-process-v6/location-formatter.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/relative-path-resolver.js +10 -11
- package/tsOutputs/common/footprints-process-v6/relative-path-resolver.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/remote-browser-hits-converter.js +5 -25
- package/tsOutputs/common/footprints-process-v6/remote-browser-hits-converter.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/remote-footprints-process.js +6 -57
- package/tsOutputs/common/footprints-process-v6/remote-footprints-process.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/remote-hits-collector.js +7 -27
- package/tsOutputs/common/footprints-process-v6/remote-hits-collector.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/source-map-data.js +14 -15
- package/tsOutputs/common/footprints-process-v6/source-map-data.js.map +1 -1
- package/tsOutputs/common/http/backend-proxy.js +222 -321
- package/tsOutputs/common/http/backend-proxy.js.map +1 -1
- package/tsOutputs/common/http/contracts.js +40 -116
- package/tsOutputs/common/http/contracts.js.map +1 -1
- package/tsOutputs/common/http/dry-run-proxy.js +68 -111
- package/tsOutputs/common/http/dry-run-proxy.js.map +1 -1
- package/tsOutputs/common/http/entities-mapper.js +6 -9
- package/tsOutputs/common/http/entities-mapper.js.map +1 -1
- package/tsOutputs/common/http/http-client.js +76 -86
- package/tsOutputs/common/http/http-client.js.map +1 -1
- package/tsOutputs/common/http/sl-routes.js +119 -122
- package/tsOutputs/common/http/sl-routes.js.map +1 -1
- package/tsOutputs/common/ignored-files-handler.js +48 -49
- package/tsOutputs/common/ignored-files-handler.js.map +1 -1
- package/tsOutputs/common/logger.js +66 -88
- package/tsOutputs/common/logger.js.map +1 -1
- package/tsOutputs/common/messages-formatter.js +9 -14
- package/tsOutputs/common/messages-formatter.js.map +1 -1
- package/tsOutputs/common/no-op-state-tracker.js +14 -37
- package/tsOutputs/common/no-op-state-tracker.js.map +1 -1
- package/tsOutputs/common/queue.js +18 -36
- package/tsOutputs/common/queue.js.map +1 -1
- package/tsOutputs/common/scm/git-cloner.js +30 -94
- package/tsOutputs/common/scm/git-cloner.js.map +1 -1
- package/tsOutputs/common/scm/git-format-builder.js +24 -25
- package/tsOutputs/common/scm/git-format-builder.js.map +1 -1
- package/tsOutputs/common/scm/git.js +192 -327
- package/tsOutputs/common/scm/git.js.map +1 -1
- package/tsOutputs/common/scm/none.js +58 -110
- package/tsOutputs/common/scm/none.js.map +1 -1
- package/tsOutputs/common/scm/scm-factory.js +6 -9
- package/tsOutputs/common/scm/scm-factory.js.map +1 -1
- package/tsOutputs/common/short-name-to-file-mapper.js +30 -33
- package/tsOutputs/common/short-name-to-file-mapper.js.map +1 -1
- package/tsOutputs/common/source-map-handler.js +76 -98
- package/tsOutputs/common/source-map-handler.js.map +1 -1
- package/tsOutputs/common/source-map-reader.js +35 -36
- package/tsOutputs/common/source-map-reader.js.map +1 -1
- package/tsOutputs/common/source-maps-utils.js +8 -11
- package/tsOutputs/common/source-maps-utils.js.map +1 -1
- package/tsOutputs/common/state-tracker-fpv6.js +15 -37
- package/tsOutputs/common/state-tracker-fpv6.js.map +1 -1
- package/tsOutputs/common/state-tracker.js +124 -212
- package/tsOutputs/common/state-tracker.js.map +1 -1
- package/tsOutputs/common/system-date.js +3 -3
- package/tsOutputs/common/system-date.js.map +1 -1
- package/tsOutputs/common/utils/abstract-data-builder.js +8 -9
- package/tsOutputs/common/utils/abstract-data-builder.js.map +1 -1
- package/tsOutputs/common/utils/build-session-data-builder.js +25 -79
- package/tsOutputs/common/utils/build-session-data-builder.js.map +1 -1
- package/tsOutputs/common/utils/dependency-utils.js +13 -16
- package/tsOutputs/common/utils/dependency-utils.js.map +1 -1
- package/tsOutputs/common/utils/env-var-parsing.js +10 -14
- package/tsOutputs/common/utils/env-var-parsing.js.map +1 -1
- package/tsOutputs/common/utils/files-utils.js +16 -19
- package/tsOutputs/common/utils/files-utils.js.map +1 -1
- package/tsOutputs/common/utils/process-utils.js +12 -25
- package/tsOutputs/common/utils/process-utils.js.map +1 -1
- package/tsOutputs/common/utils/test-runner-build-session-data-builder.js +16 -62
- package/tsOutputs/common/utils/test-runner-build-session-data-builder.js.map +1 -1
- package/tsOutputs/common/utils/test-utils/mock-server-utils/mock-server-proxy.js +120 -192
- package/tsOutputs/common/utils/test-utils/mock-server-utils/mock-server-proxy.js.map +1 -1
- package/tsOutputs/common/utils/timer-utils.js +4 -7
- package/tsOutputs/common/utils/timer-utils.js.map +1 -1
- package/tsOutputs/common/utils/token-data-builder.js +30 -50
- package/tsOutputs/common/utils/token-data-builder.js.map +1 -1
- package/tsOutputs/common/utils/validation-utils.js +7 -10
- package/tsOutputs/common/utils/validation-utils.js.map +1 -1
- package/tsOutputs/common/uuid.js +7 -10
- package/tsOutputs/common/uuid.js.map +1 -1
- package/tsOutputs/common/v8-utils.js +12 -50
- package/tsOutputs/common/v8-utils.js.map +1 -1
- package/tsOutputs/common/watchdog.js +35 -56
- package/tsOutputs/common/watchdog.js.map +1 -1
- package/tsOutputs/mocha-reporter/index.js +12 -12
- package/tsOutputs/mocha-reporter/index.js.map +1 -1
- package/tsOutputs/mocha-reporter/otel-agent.js +47 -118
- package/tsOutputs/mocha-reporter/otel-agent.js.map +1 -1
- package/tsOutputs/test-listener/SlNodeJsProxy.js +34 -35
- package/tsOutputs/test-listener/SlNodeJsProxy.js.map +1 -1
- package/tsOutputs/test-listener/UserMessageHelper.js +14 -19
- package/tsOutputs/test-listener/UserMessageHelper.js.map +1 -1
- package/tsOutputs/test-listener/agent-loader.js +42 -59
- package/tsOutputs/test-listener/agent-loader.js.map +1 -1
- package/tsOutputs/test-listener/agent.js +93 -150
- package/tsOutputs/test-listener/agent.js.map +1 -1
- package/tsOutputs/test-listener/api.js +36 -70
- package/tsOutputs/test-listener/api.js.map +1 -1
- package/tsOutputs/test-listener/base-proxy.js +25 -27
- package/tsOutputs/test-listener/base-proxy.js.map +1 -1
- package/tsOutputs/test-listener/bootstrap.js +6 -6
- package/tsOutputs/test-listener/bootstrap.js.map +1 -1
- package/tsOutputs/test-listener/child-process-patcher.js +10 -10
- package/tsOutputs/test-listener/child-process-patcher.js.map +1 -1
- package/tsOutputs/test-listener/cli.js +27 -30
- package/tsOutputs/test-listener/cli.js.map +1 -1
- package/tsOutputs/test-listener/coloring/http-coloring.js +30 -33
- package/tsOutputs/test-listener/coloring/http-coloring.js.map +1 -1
- package/tsOutputs/test-listener/coloring/listening-port.js +14 -17
- package/tsOutputs/test-listener/coloring/listening-port.js.map +1 -1
- package/tsOutputs/test-listener/command-line-arg-parser.js +12 -15
- package/tsOutputs/test-listener/command-line-arg-parser.js.map +1 -1
- package/tsOutputs/test-listener/config-process/config-loader.js +21 -22
- package/tsOutputs/test-listener/config-process/config-loader.js.map +1 -1
- package/tsOutputs/test-listener/config-process/config-system.js +100 -127
- package/tsOutputs/test-listener/config-process/config-system.js.map +1 -1
- package/tsOutputs/test-listener/config-process/index.js +38 -57
- package/tsOutputs/test-listener/config-process/index.js.map +1 -1
- package/tsOutputs/test-listener/config.js +38 -59
- package/tsOutputs/test-listener/config.js.map +1 -1
- package/tsOutputs/test-listener/entities/BasicConfigurationData.js +37 -64
- package/tsOutputs/test-listener/entities/BasicConfigurationData.js.map +1 -1
- package/tsOutputs/test-listener/entities/build-scanner/ConfigModeData.js +17 -42
- package/tsOutputs/test-listener/entities/build-scanner/ConfigModeData.js.map +1 -1
- package/tsOutputs/test-listener/entities/build-scanner/ScanModeData.js +19 -45
- package/tsOutputs/test-listener/entities/build-scanner/ScanModeData.js.map +1 -1
- package/tsOutputs/test-listener/environment-data-service.js +10 -11
- package/tsOutputs/test-listener/environment-data-service.js.map +1 -1
- package/tsOutputs/test-listener/execution-process/entities-mapper.js +11 -14
- package/tsOutputs/test-listener/execution-process/entities-mapper.js.map +1 -1
- package/tsOutputs/test-listener/execution-process/execution-service-proxy.js +54 -72
- package/tsOutputs/test-listener/execution-process/execution-service-proxy.js.map +1 -1
- package/tsOutputs/test-listener/execution-process/index.js +26 -26
- package/tsOutputs/test-listener/execution-process/index.js.map +1 -1
- package/tsOutputs/test-listener/factory.js +140 -175
- package/tsOutputs/test-listener/factory.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/footprints-service-proxy.js +17 -34
- package/tsOutputs/test-listener/footprints-process/footprints-service-proxy.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/index.js +53 -58
- package/tsOutputs/test-listener/footprints-process/index.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-base.js +49 -50
- package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-base.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-v3.js +98 -117
- package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-v3.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/ts-node-hits-collector.js +57 -141
- package/tsOutputs/test-listener/footprints-process/ts-node-hits-collector.js.map +1 -1
- package/tsOutputs/test-listener/integrations/SlGulp.js +25 -26
- package/tsOutputs/test-listener/integrations/SlGulp.js.map +1 -1
- package/tsOutputs/test-listener/logs-process/index.js +30 -35
- package/tsOutputs/test-listener/logs-process/index.js.map +1 -1
- package/tsOutputs/test-listener/logs-process/log-service-proxy.js +8 -25
- package/tsOutputs/test-listener/logs-process/log-service-proxy.js.map +1 -1
- package/tsOutputs/test-listener/nyc-report-executor-fpv6.js +53 -110
- package/tsOutputs/test-listener/nyc-report-executor-fpv6.js.map +1 -1
- package/tsOutputs/test-listener/nyc-report-executor.js +48 -85
- package/tsOutputs/test-listener/nyc-report-executor.js.map +1 -1
- package/tsOutputs/test-listener/otel-agent-loader.js +30 -33
- package/tsOutputs/test-listener/otel-agent-loader.js.map +1 -1
- package/tsOutputs/test-listener/queue.js +18 -36
- package/tsOutputs/test-listener/queue.js.map +1 -1
- package/tsOutputs/test-listener/remote-agent.js +97 -223
- package/tsOutputs/test-listener/remote-agent.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/AppNameResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/AppNameResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/ArgumentResolver.js +11 -12
- package/tsOutputs/test-listener/resolvers/ArgumentResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/BuildResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/BuildResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/BuildSessionIdFileResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/BuildSessionIdFileResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/BuildSessionIdResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/BuildSessionIdResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/ProxyResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/ProxyResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/TokenResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/TokenResolver.js.map +1 -1
- package/tsOutputs/test-listener/state-tracker-process/index.js +54 -74
- package/tsOutputs/test-listener/state-tracker-process/index.js.map +1 -1
- package/tsOutputs/test-listener/state-tracker-process/state-tracker-proxy.js +18 -37
- package/tsOutputs/test-listener/state-tracker-process/state-tracker-proxy.js.map +1 -1
- package/tsOutputs/test-listener/test-recommendation-handler.js +66 -109
- package/tsOutputs/test-listener/test-recommendation-handler.js.map +1 -1
- package/tsOutputs/test-listener/upload-report-handler.js +33 -35
- package/tsOutputs/test-listener/upload-report-handler.js.map +1 -1
- package/tsOutputs/test-listener/utils.js +13 -14
- package/tsOutputs/test-listener/utils.js.map +1 -1
- package/tsOutputs/test-listener/uuid.js +7 -10
- package/tsOutputs/test-listener/uuid.js.map +1 -1
- package/tsOutputs/test-listener/wait-for-multiple-callbacks.js +17 -19
- package/tsOutputs/test-listener/wait-for-multiple-callbacks.js.map +1 -1
- package/tsOutputs/test-listener/watchdog.js +32 -51
- package/tsOutputs/test-listener/watchdog.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/scm-file-fixer.js +0 -96
- package/tsOutputs/build-scanner/mappings/scm-file-fixer.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BufferSizeHelper = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
class BufferSizeHelper {
|
|
5
|
+
constructor() {
|
|
6
6
|
this.uniqueIdsLengthSum = 0;
|
|
7
7
|
this.testNamesCount = 0;
|
|
8
8
|
this.testNamesLengthSum = 0;
|
|
@@ -16,27 +16,26 @@ var BufferSizeHelper = /** @class */ (function () {
|
|
|
16
16
|
* Each uniqueId index in hit (methods/branches) - 8 bytes
|
|
17
17
|
(see https://docs.google.com/document/d/1KQXjKFTHlJXi_zKs6QE5wCuKY5B1t3pJCemEgBriOI4/edit?usp=sharing)
|
|
18
18
|
*/
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
calculateBufferSize() {
|
|
20
|
+
const sizeInBytes = (this.uniqueIdsCount * BufferSizeHelper.FOUR_BYTES + this.uniqueIdsLengthSum) +
|
|
21
21
|
(this.testNamesCount * BufferSizeHelper.FOUR_BYTES + this.testNamesLengthSum) +
|
|
22
22
|
(this.hitCount * BufferSizeHelper.APPROX_HIT_SIZE) +
|
|
23
23
|
(this.indicesCount * BufferSizeHelper.EIGHT_BYTES);
|
|
24
24
|
return sizeInBytes / BufferSizeHelper.BYTES_IN_MB;
|
|
25
|
-
}
|
|
26
|
-
|
|
25
|
+
}
|
|
26
|
+
incrementSizeCounters(testName, methodIndicesSize, branchIndicesSize) {
|
|
27
27
|
this.hitCount++;
|
|
28
28
|
this.indicesCount += (methodIndicesSize + branchIndicesSize);
|
|
29
29
|
if (testName) {
|
|
30
30
|
this.testNamesCount++;
|
|
31
31
|
this.testNamesLengthSum += testName.length;
|
|
32
32
|
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
BufferSizeHelper.EIGHT_BYTES = 8;
|
|
36
|
-
BufferSizeHelper.APPROX_HIT_SIZE = 128;
|
|
37
|
-
BufferSizeHelper.BYTES_IN_MB = 1024 * 1024;
|
|
38
|
-
BufferSizeHelper.BYTES_IN_GB = 1024 * 1024 * 1024;
|
|
39
|
-
return BufferSizeHelper;
|
|
40
|
-
}());
|
|
33
|
+
}
|
|
34
|
+
}
|
|
41
35
|
exports.BufferSizeHelper = BufferSizeHelper;
|
|
36
|
+
BufferSizeHelper.FOUR_BYTES = 4;
|
|
37
|
+
BufferSizeHelper.EIGHT_BYTES = 8;
|
|
38
|
+
BufferSizeHelper.APPROX_HIT_SIZE = 128;
|
|
39
|
+
BufferSizeHelper.BYTES_IN_MB = 1024 * 1024;
|
|
40
|
+
BufferSizeHelper.BYTES_IN_GB = 1024 * 1024 * 1024;
|
|
42
41
|
//# sourceMappingURL=buffer-size-helper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buffer-size-helper.js","sourceRoot":"","sources":["../../../common/footprints-process-v6/buffer-size-helper.ts"],"names":[],"mappings":";;;AAAA;
|
|
1
|
+
{"version":3,"file":"buffer-size-helper.js","sourceRoot":"","sources":["../../../common/footprints-process-v6/buffer-size-helper.ts"],"names":[],"mappings":";;;AAAA,MAAa,gBAAgB;IAczB;QACI,IAAI,CAAC,kBAAkB,GAAG,CAAC,CAAC;QAC5B,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC;QACxB,IAAI,CAAC,kBAAkB,GAAG,CAAC,CAAC;QAC5B,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;QACtB,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC;IAC5B,CAAC;IAED;;;;;MAKE;IACK,mBAAmB;QACtB,MAAM,WAAW,GAAG,CAAC,IAAI,CAAC,cAAc,GAAG,gBAAgB,CAAC,UAAU,GAAG,IAAI,CAAC,kBAAkB,CAAC;YAC7F,CAAC,IAAI,CAAC,cAAc,GAAG,gBAAgB,CAAC,UAAU,GAAG,IAAI,CAAC,kBAAkB,CAAC;YAC7E,CAAC,IAAI,CAAC,QAAQ,GAAG,gBAAgB,CAAC,eAAe,CAAC;YAClD,CAAC,IAAI,CAAC,YAAY,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;QACvD,OAAO,WAAW,GAAG,gBAAgB,CAAC,WAAW,CAAC;IACtD,CAAC;IAEM,qBAAqB,CAAC,QAAgB,EAAE,iBAAyB,EAAE,iBAAyB;QAC/F,IAAI,CAAC,QAAQ,EAAG,CAAC;QACjB,IAAI,CAAC,YAAY,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAC;QAC7D,IAAG,QAAQ,EAAC;YACR,IAAI,CAAC,cAAc,EAAG,CAAC;YACvB,IAAI,CAAC,kBAAkB,IAAI,QAAQ,CAAC,MAAM,CAAC;SAC9C;IACL,CAAC;;AA5CL,4CA6CC;AAtC2B,2BAAU,GAAG,CAAC,CAAC;AACf,4BAAW,GAAG,CAAC,CAAC;AAChB,gCAAe,GAAG,GAAG,CAAC;AACvB,4BAAW,GAAG,IAAI,GAAG,IAAI,CAAC;AAC1B,4BAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC"}
|
|
@@ -1,40 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.CollectorFootprintsBuffer = void 0;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
agentVersion: _this.agentInstanceData.agentVersion,
|
|
4
|
+
const agent_events_contracts_1 = require("../agent-events/agent-events-contracts");
|
|
5
|
+
const browser_footprints_buffer_1 = require("./browser-footprints-buffer");
|
|
6
|
+
class CollectorFootprintsBuffer extends browser_footprints_buffer_1.BrowserFootprintsBuffer {
|
|
7
|
+
constructor(agentInstanceData, agentConfig, footprintsMapping) {
|
|
8
|
+
super(agentInstanceData, agentConfig, footprintsMapping);
|
|
9
|
+
this.meta.agentConfig = {
|
|
10
|
+
agentId: this.agentInstanceData.agentId,
|
|
11
|
+
appName: this.agentConfig.appName.value,
|
|
12
|
+
build: this.agentConfig.build.value,
|
|
13
|
+
branch: this.agentConfig.branch.value,
|
|
14
|
+
buildSessionId: this.agentConfig.buildSessionId.value,
|
|
15
|
+
labId: this.agentConfig.labId.value,
|
|
16
|
+
agentVersion: this.agentInstanceData.agentVersion,
|
|
33
17
|
agentType: agent_events_contracts_1.AgentType.BROWSER_AGENT
|
|
34
18
|
};
|
|
35
|
-
return _this;
|
|
36
19
|
}
|
|
37
|
-
|
|
38
|
-
}(browser_footprints_buffer_1.BrowserFootprintsBuffer));
|
|
20
|
+
}
|
|
39
21
|
exports.CollectorFootprintsBuffer = CollectorFootprintsBuffer;
|
|
40
22
|
//# sourceMappingURL=collector-footprints-buffer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collector-footprints-buffer.js","sourceRoot":"","sources":["../../../common/footprints-process-v6/collector-footprints-buffer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"collector-footprints-buffer.js","sourceRoot":"","sources":["../../../common/footprints-process-v6/collector-footprints-buffer.ts"],"names":[],"mappings":";;;AAEA,mFAAiE;AAGjE,2EAAsE;AAEtE,MAAa,yBAA0B,SAAQ,mDAAuB;IAElE,YAAY,iBAAoC,EAAE,WAAwB,EAAE,iBAAqC;QAC7G,KAAK,CAAC,iBAAiB,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACzD,IAAI,CAAC,IAAI,CAAC,WAAW,GAAG;YACpB,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,OAAO;YACvC,OAAO,EAAE,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,KAAK;YACvC,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK;YACnC,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,KAAK;YACrC,cAAc,EAAE,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,KAAK;YACrD,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK;YACnC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC,YAAY;YACjD,SAAS,EAAE,kCAAS,CAAC,aAAa;SACrC,CAAA;IACL,CAAC;CACJ;AAfD,8DAeC"}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
3
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
4
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -23,105 +8,54 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
9
|
});
|
|
25
10
|
};
|
|
26
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
28
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
-
function step(op) {
|
|
31
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
33
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
-
switch (op[0]) {
|
|
36
|
-
case 0: case 1: t = op; break;
|
|
37
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
-
default:
|
|
41
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
-
if (t[2]) _.ops.pop();
|
|
46
|
-
_.trys.pop(); continue;
|
|
47
|
-
}
|
|
48
|
-
op = body.call(thisArg, _);
|
|
49
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
12
|
exports.CollectorFootprintsProcess = void 0;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
return _super.call(this, cfg, sendToServerWatchdog, keepaliveWatchdog, logger, hitsCollector, hitsConverter, footprintsBuffer, backendProxy, stateTracker) || this;
|
|
13
|
+
const _1 = require(".");
|
|
14
|
+
const no_op_state_tracker_1 = require("../no-op-state-tracker");
|
|
15
|
+
class CollectorFootprintsProcess extends _1.FootprintsProcess {
|
|
16
|
+
constructor(cfg, sendToServerWatchdog, keepaliveWatchdog, logger, hitsCollector, hitsConverter, footprintsBuffer, backendProxy, stateTracker) {
|
|
17
|
+
super(cfg, sendToServerWatchdog, keepaliveWatchdog, logger, hitsCollector, hitsConverter, footprintsBuffer, backendProxy, stateTracker);
|
|
61
18
|
}
|
|
62
|
-
|
|
63
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
this.ongoingRequestsCounter++;
|
|
74
|
-
_a.label = 1;
|
|
75
|
-
case 1:
|
|
76
|
-
_a.trys.push([1, 3, 4, 5]);
|
|
77
|
-
return [4 /*yield*/, this.backendProxy.submitFootprintsToCollector(packet, this.cfg.buildSessionId.value)];
|
|
78
|
-
case 2:
|
|
79
|
-
_a.sent();
|
|
80
|
-
this.logger.info("Footprints packet submitted successfully. packet contains ".concat(packet.methods.length, " methods, ").concat(packet.branches.length, " branches in ").concat(packet.executions.length, " executions"));
|
|
81
|
-
return [3 /*break*/, 5];
|
|
82
|
-
case 3:
|
|
83
|
-
e_1 = _a.sent();
|
|
84
|
-
this.logger.error("Error while submitting footprints '".concat(e_1, "'"));
|
|
85
|
-
return [3 /*break*/, 5];
|
|
86
|
-
case 4:
|
|
87
|
-
this.ongoingRequestsCounter--;
|
|
88
|
-
return [7 /*endfinally*/];
|
|
89
|
-
case 5: return [3 /*break*/, 7];
|
|
90
|
-
case 6:
|
|
91
|
-
this.logger.info('No hits collected nothing to submit');
|
|
92
|
-
_a.label = 7;
|
|
93
|
-
case 7: return [2 /*return*/];
|
|
19
|
+
submitQueuedFootprints() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
if (!this.shouldSubmitFootprints()) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
const packet = this.footprintsBuffer.createPacket();
|
|
25
|
+
if (packet) {
|
|
26
|
+
this.ongoingRequestsCounter++;
|
|
27
|
+
try {
|
|
28
|
+
yield this.backendProxy.submitFootprintsToCollector(packet, this.cfg.buildSessionId.value);
|
|
29
|
+
this.logger.info(`Footprints packet submitted successfully. packet contains ${packet.methods.length} methods, ${packet.branches.length} branches in ${packet.executions.length} executions`);
|
|
94
30
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
101
|
-
var currentTestIdentifier, testIdentifierParts;
|
|
102
|
-
return __generator(this, function (_a) {
|
|
103
|
-
switch (_a.label) {
|
|
104
|
-
case 0:
|
|
105
|
-
currentTestIdentifier = this.stateTracker.getCurrentTestIdentifier();
|
|
106
|
-
if (!currentTestIdentifier) return [3 /*break*/, 2];
|
|
107
|
-
testIdentifierParts = no_op_state_tracker_1.NoopStateTracker.splitTestIdToExecutionAndTestName(currentTestIdentifier);
|
|
108
|
-
this.logger.debug('Enqueue footprints interval - start enqueuing process. currentTestIdentifier: \'%s\'', currentTestIdentifier);
|
|
109
|
-
return [4 /*yield*/, this.enqueueCurrentFootprints(this.stateTracker.currentExecution, testIdentifierParts.testName, isFinalFootprints)];
|
|
110
|
-
case 1:
|
|
111
|
-
_a.sent();
|
|
112
|
-
return [3 /*break*/, 4];
|
|
113
|
-
case 2:
|
|
114
|
-
this.logger.debug('Enqueue footprints interval - start enqueuing process. anonymous footprints');
|
|
115
|
-
return [4 /*yield*/, this.enqueueCurrentFootprints(this.stateTracker.currentExecution, null, isFinalFootprints)];
|
|
116
|
-
case 3:
|
|
117
|
-
_a.sent();
|
|
118
|
-
_a.label = 4;
|
|
119
|
-
case 4: return [2 /*return*/];
|
|
31
|
+
catch (e) {
|
|
32
|
+
this.logger.error(`Error while submitting footprints '${e}'`);
|
|
33
|
+
}
|
|
34
|
+
finally {
|
|
35
|
+
this.ongoingRequestsCounter--;
|
|
120
36
|
}
|
|
121
|
-
}
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
this.logger.info('No hits collected nothing to submit');
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
flushCurrentFootprints(isFinalFootprints = false) {
|
|
44
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
45
|
+
const currentTestIdentifier = this.stateTracker.getCurrentTestIdentifier();
|
|
46
|
+
// Colored footprints
|
|
47
|
+
if (currentTestIdentifier) {
|
|
48
|
+
const testIdentifierParts = no_op_state_tracker_1.NoopStateTracker.splitTestIdToExecutionAndTestName(currentTestIdentifier);
|
|
49
|
+
this.logger.debug('Enqueue footprints interval - start enqueuing process. currentTestIdentifier: \'%s\'', currentTestIdentifier);
|
|
50
|
+
yield this.enqueueCurrentFootprints(this.stateTracker.currentExecution, testIdentifierParts.testName, isFinalFootprints);
|
|
51
|
+
}
|
|
52
|
+
// Anonymous footprints
|
|
53
|
+
else {
|
|
54
|
+
this.logger.debug('Enqueue footprints interval - start enqueuing process. anonymous footprints');
|
|
55
|
+
yield this.enqueueCurrentFootprints(this.stateTracker.currentExecution, null, isFinalFootprints);
|
|
56
|
+
}
|
|
122
57
|
});
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
}(_1.FootprintsProcess));
|
|
58
|
+
}
|
|
59
|
+
}
|
|
126
60
|
exports.CollectorFootprintsProcess = CollectorFootprintsProcess;
|
|
127
61
|
//# sourceMappingURL=collector-footprints-process.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collector-footprints-process.js","sourceRoot":"","sources":["../../../common/footprints-process-v6/collector-footprints-process.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"collector-footprints-process.js","sourceRoot":"","sources":["../../../common/footprints-process-v6/collector-footprints-process.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,wBAAsC;AACtC,gEAA0D;AAS1D,MAAa,0BAA2B,SAAQ,oBAAiB;IAI7D,YAAY,GAAgB,EAAE,oBAA8B,EAAE,iBAA2B,EAAE,MAAc,EACrG,aAA4B,EAAE,aAA4B,EAAE,gBAA2C,EACvG,YAA0B,EAAE,YAA8B;QAC1D,KAAK,CAAC,GAAG,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;IAC5I,CAAC;IAEY,sBAAsB;;YAC/B,IAAI,CAAC,IAAI,CAAC,sBAAsB,EAAE,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AC,6EAA6E,CAAC,CAAC;gBACjG,MAAM,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,YAAY,CAAC,gBAAgB,EAAE,IAAI,EAAE,iBAAiB,CAAC,CAAC;aACpG;QACL,CAAC;KAAA;CACJ;AA9CD,gEA8CC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IExtendedIstanbulMetrics = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
return IExtendedIstanbulMetrics;
|
|
8
|
-
}());
|
|
4
|
+
class IExtendedIstanbulMetrics {
|
|
5
|
+
}
|
|
9
6
|
exports.IExtendedIstanbulMetrics = IExtendedIstanbulMetrics;
|
|
10
7
|
//# sourceMappingURL=contracts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../../common/footprints-process-v6/contracts.ts"],"names":[],"mappings":";;;AAGA
|
|
1
|
+
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../../common/footprints-process-v6/contracts.ts"],"names":[],"mappings":";;;AAGA,MAAa,wBAAwB;CAMpC;AAND,4DAMC"}
|
|
@@ -1,90 +1,69 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.FootprintsBuffer = void 0;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
4
|
+
const cockpit_notifier_1 = require("../agent-events/cockpit-notifier");
|
|
5
|
+
const agent_events_contracts_1 = require("../agent-events/agent-events-contracts");
|
|
6
|
+
const events = require("events");
|
|
7
|
+
const buffer_size_helper_1 = require("./buffer-size-helper");
|
|
23
8
|
/**
|
|
24
9
|
* Holds the footprints hits data and builds the DTO for footprints packet
|
|
25
10
|
*/
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
agentId: _this.agentInstanceData.agentId,
|
|
11
|
+
class FootprintsBuffer extends events.EventEmitter {
|
|
12
|
+
constructor(agentInstanceData, agentConfig) {
|
|
13
|
+
super();
|
|
14
|
+
this.formatVersion = '6.0';
|
|
15
|
+
this.agentInstanceData = agentInstanceData;
|
|
16
|
+
this._agentConfig = agentConfig;
|
|
17
|
+
this.currentBufferSize = 0;
|
|
18
|
+
this.resetState();
|
|
19
|
+
this.meta = {
|
|
20
|
+
agentId: this.agentInstanceData.agentId,
|
|
37
21
|
intervals: {
|
|
38
|
-
timedFootprintsCollectionIntervalSeconds:
|
|
22
|
+
timedFootprintsCollectionIntervalSeconds: this._agentConfig.footprintsCollectIntervalSecs.value
|
|
39
23
|
},
|
|
40
|
-
labId:
|
|
24
|
+
labId: this._agentConfig.labId.value
|
|
41
25
|
};
|
|
42
|
-
return _this;
|
|
43
26
|
}
|
|
44
|
-
|
|
27
|
+
addHit(footprints, collectionInterval, executionId, testName, isInitFootprints, isFinalFootprints) {
|
|
45
28
|
cockpit_notifier_1.CockpitNotifier.sendEventOnce(agent_events_contracts_1.AgentEventCode.FIRST_TIME_COLLECTED_FP);
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
29
|
+
const methodIndices = this.addOrGetIndices(footprints.methods, true);
|
|
30
|
+
const branchIndices = this.addOrGetIndices(footprints.branches, false);
|
|
31
|
+
const executionIdx = this.addOrGetExecutionIndex(executionId);
|
|
49
32
|
this.executions[executionIdx].hits.push({
|
|
50
33
|
branches: branchIndices,
|
|
51
34
|
methods: methodIndices,
|
|
52
35
|
start: collectionInterval.start,
|
|
53
36
|
end: collectionInterval.end,
|
|
54
37
|
testName: testName,
|
|
55
|
-
isInitFootprints
|
|
56
|
-
isFinalFootprints
|
|
38
|
+
isInitFootprints,
|
|
39
|
+
isFinalFootprints
|
|
57
40
|
});
|
|
58
41
|
this.bufferSizeHelper.incrementSizeCounters(testName, methodIndices.length, branchIndices.length);
|
|
59
42
|
this.verifyBufferSize();
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
43
|
+
}
|
|
44
|
+
createPacket() {
|
|
45
|
+
const packet = this.toJson();
|
|
63
46
|
this.resetState();
|
|
64
47
|
return packet;
|
|
65
|
-
}
|
|
66
|
-
|
|
48
|
+
}
|
|
49
|
+
resetState() {
|
|
67
50
|
this.branches = [];
|
|
68
51
|
this.methods = [];
|
|
69
52
|
this.executions = [];
|
|
70
53
|
this.methodIdToIndex = new Map();
|
|
71
54
|
this.branchIdToIndex = new Map();
|
|
72
55
|
this.bufferSizeHelper = new buffer_size_helper_1.BufferSizeHelper();
|
|
73
|
-
}
|
|
74
|
-
|
|
56
|
+
}
|
|
57
|
+
hasHitsInBuffer() {
|
|
75
58
|
return this.executions.length > 0;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
enumerable: false,
|
|
85
|
-
configurable: true
|
|
86
|
-
});
|
|
87
|
-
FootprintsBuffer.prototype.toJson = function () {
|
|
59
|
+
}
|
|
60
|
+
get agentConfig() {
|
|
61
|
+
return this._agentConfig;
|
|
62
|
+
}
|
|
63
|
+
set agentConfig(value) {
|
|
64
|
+
this._agentConfig = value;
|
|
65
|
+
}
|
|
66
|
+
toJson() {
|
|
88
67
|
if (!this.executions || !this.executions.length) {
|
|
89
68
|
return null;
|
|
90
69
|
}
|
|
@@ -96,26 +75,25 @@ var FootprintsBuffer = /** @class */ (function (_super) {
|
|
|
96
75
|
methods: this.methods,
|
|
97
76
|
moduleName: this.moduleName
|
|
98
77
|
};
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
elementIds.forEach(function (id) {
|
|
78
|
+
}
|
|
79
|
+
addOrGetIndices(elementIds, isMethods) {
|
|
80
|
+
const map = isMethods ? this.methodIdToIndex : this.branchIdToIndex;
|
|
81
|
+
const arr = isMethods ? this.methods : this.branches;
|
|
82
|
+
const indices = [];
|
|
83
|
+
elementIds.forEach(id => {
|
|
106
84
|
if (!map.get(id)) {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
85
|
+
this.bufferSizeHelper.uniqueIdsLengthSum += id.length;
|
|
86
|
+
this.bufferSizeHelper.uniqueIdsCount++;
|
|
87
|
+
const position = arr.push(id);
|
|
110
88
|
map.set(id, position - 1);
|
|
111
89
|
}
|
|
112
90
|
indices.push(map.get(id));
|
|
113
91
|
});
|
|
114
92
|
return indices;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
this.executions.every(
|
|
93
|
+
}
|
|
94
|
+
addOrGetExecutionIndex(executionId) {
|
|
95
|
+
let index = -1;
|
|
96
|
+
this.executions.every((execution, idx) => {
|
|
119
97
|
if (executionId == execution.executionId) {
|
|
120
98
|
index = idx;
|
|
121
99
|
return false;
|
|
@@ -123,14 +101,13 @@ var FootprintsBuffer = /** @class */ (function (_super) {
|
|
|
123
101
|
return true;
|
|
124
102
|
});
|
|
125
103
|
return index != -1 ? index : this.executions.push({ executionId: executionId, hits: [] }) - 1;
|
|
126
|
-
}
|
|
127
|
-
|
|
104
|
+
}
|
|
105
|
+
verifyBufferSize() {
|
|
128
106
|
if (this.bufferSizeHelper.calculateBufferSize() >= this._agentConfig.footprintsBufferThresholdMb.value) {
|
|
129
107
|
this.emit(FootprintsBuffer.BUFFER_FULL);
|
|
130
108
|
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
return FootprintsBuffer;
|
|
134
|
-
}(events.EventEmitter));
|
|
109
|
+
}
|
|
110
|
+
}
|
|
135
111
|
exports.FootprintsBuffer = FootprintsBuffer;
|
|
112
|
+
FootprintsBuffer.BUFFER_FULL = 'bufferFull';
|
|
136
113
|
//# sourceMappingURL=footprints-buffer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footprints-buffer.js","sourceRoot":"","sources":["../../../common/footprints-process-v6/footprints-buffer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"footprints-buffer.js","sourceRoot":"","sources":["../../../common/footprints-process-v6/footprints-buffer.ts"],"names":[],"mappings":";;;AASA,uEAAiE;AACjE,mFAAsE;AACtE,iCAAkC;AAClC,6DAAsD;AAEtD;;GAEG;AAEH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,YAAY;IAkBrD,YAAY,iBAAoC,EAAE,WAAwB;QACtE,KAAK,EAAE,CAAC;QAhBJ,kBAAa,GAAG,KAAK,CAAC;QAiB1B,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,iBAAiB,GAAG,CAAC,CAAC;QAC3B,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,GAAG;YACR,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,OAAO;YACvC,SAAS,EAAE;gBACP,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