Skip to content

refactor(logger): replace internal capturing with read/write streams #1414

refactor(logger): replace internal capturing with read/write streams

refactor(logger): replace internal capturing with read/write streams #1414

Triggered via pull request December 18, 2024 15:20
Status Failure
Total duration 1m 51s
Artifacts

pull-request.yaml

on: pull_request
Matrix: tasks-sharding
Matrix: tasks
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 18 warnings
oneRepo shard 2/3
Process completed with exit code 1.
oneRepo shard 1/3: modules/logger/src/index.ts#L7
'prefix' is defined but never used. (@typescript-eslint/no-unused-vars)
oneRepo shard 1/3
Process completed with exit code 1.
v20 one lint --all --no-fix, one format --check: modules/logger/src/index.ts#L7
'prefix' is defined but never used. (@typescript-eslint/no-unused-vars)
v18 one lint --all --no-fix, one format --check: modules/logger/src/index.ts#L7
'prefix' is defined but never used. (@typescript-eslint/no-unused-vars)
v18 one test -a: modules/onerepo/src/core/codeowners/__tests__/__fixtures__/repo/.github/CODEOWNERS#L1
Code owners file (/home/runner/work/onerepo/onerepo/modules/onerepo/src/core/codeowners/__tests__/__fixtures__/repo/.github/CODEOWNERS) was manually modified, but is a generated file. Please run the following and commit the change to fix this issue: root-bin codeowners sync --add
v18 one test -a: modules/onerepo/src/core/codeowners/__tests__/__fixtures__/repo/.gitlab/CODEOWNERS#L1
Code owners file is not up to date. Please run the following and commit the changes to fix this issue: root-bin codeowners sync --add
src/__tests__/LogStep.test.ts > LogStep > can be piped: modules/logger/src/__tests__/LogStep.test.ts#L39
AssertionError: expected [] to deeply equal [ { type: 'start', …(3) }, …(1) ] - Expected + Received - Array [ - Object { - "contents": "tacos", - "group": "tacos", - "type": "start", - "verbosity": 3, - }, - Object { - "contents": StringContaining "ms", - "group": "tacos", - "hasError": false, - "type": "end", - "verbosity": 3, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:39:15
src/__tests__/LogStep.test.ts > LogStep > verbosity = 1 writes ["info","error"]: modules/logger/src/__tests__/LogStep.test.ts#L85
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": "some information", - "group": "tacos", - "type": "info", - "verbosity": 1, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:85:17
src/__tests__/LogStep.test.ts > LogStep > verbosity = 2 writes ["info","error","warn"]: modules/logger/src/__tests__/LogStep.test.ts#L85
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": "some information", - "group": "tacos", - "type": "info", - "verbosity": 2, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:85:17
src/__tests__/LogStep.test.ts > LogStep > verbosity = 3 writes ["info","error","warn","log"]: modules/logger/src/__tests__/LogStep.test.ts#L85
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": "some information", - "group": "tacos", - "type": "info", - "verbosity": 3, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:85:17
src/__tests__/LogStep.test.ts > LogStep > verbosity = 4 writes ["info","error","warn","log","debug"]: modules/logger/src/__tests__/LogStep.test.ts#L85
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": "some information", - "group": "tacos", - "type": "info", - "verbosity": 4, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:85:17
src/__tests__/LogStep.test.ts > LogStep > verbosity = 5 writes ["info","error","warn","log","debug","timing"]: modules/logger/src/__tests__/LogStep.test.ts#L85
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": "some information", - "group": "tacos", - "type": "info", - "verbosity": 5, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:85:17
src/__tests__/LogStep.test.ts > LogStep > can stringify function: modules/logger/src/__tests__/LogStep.test.ts#L131
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": StringContaining "function foo(asdf) {", - "group": "tacos", - "type": "log", - "verbosity": 3, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:131:15
src/__tests__/LogStep.test.ts > LogStep > can stringify function with zero arguments are executed: modules/logger/src/__tests__/LogStep.test.ts#L131
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": "tacos", - "group": "tacos", - "type": "log", - "verbosity": 3, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:131:15
v20 one test -a: modules/onerepo/src/core/codeowners/__tests__/__fixtures__/repo/.github/CODEOWNERS#L1
Code owners file (/home/runner/work/onerepo/onerepo/modules/onerepo/src/core/codeowners/__tests__/__fixtures__/repo/.github/CODEOWNERS) was manually modified, but is a generated file. Please run the following and commit the change to fix this issue: root-bin codeowners sync --add
v20 one test -a: modules/onerepo/src/core/codeowners/__tests__/__fixtures__/repo/.gitlab/CODEOWNERS#L1
Code owners file is not up to date. Please run the following and commit the changes to fix this issue: root-bin codeowners sync --add
src/__tests__/LogStep.test.ts > LogStep > can be piped: modules/logger/src/__tests__/LogStep.test.ts#L39
AssertionError: expected [] to deeply equal [ { type: 'start', …(3) }, …(1) ] - Expected + Received - Array [ - Object { - "contents": "tacos", - "group": "tacos", - "type": "start", - "verbosity": 3, - }, - Object { - "contents": StringContaining "ms", - "group": "tacos", - "hasError": false, - "type": "end", - "verbosity": 3, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:39:15
src/__tests__/LogStep.test.ts > LogStep > verbosity = 1 writes ["info","error"]: modules/logger/src/__tests__/LogStep.test.ts#L85
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": "some information", - "group": "tacos", - "type": "info", - "verbosity": 1, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:85:17
src/__tests__/LogStep.test.ts > LogStep > verbosity = 2 writes ["info","error","warn"]: modules/logger/src/__tests__/LogStep.test.ts#L85
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": "some information", - "group": "tacos", - "type": "info", - "verbosity": 2, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:85:17
src/__tests__/LogStep.test.ts > LogStep > verbosity = 3 writes ["info","error","warn","log"]: modules/logger/src/__tests__/LogStep.test.ts#L85
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": "some information", - "group": "tacos", - "type": "info", - "verbosity": 3, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:85:17
src/__tests__/LogStep.test.ts > LogStep > verbosity = 4 writes ["info","error","warn","log","debug"]: modules/logger/src/__tests__/LogStep.test.ts#L85
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": "some information", - "group": "tacos", - "type": "info", - "verbosity": 4, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:85:17
src/__tests__/LogStep.test.ts > LogStep > verbosity = 5 writes ["info","error","warn","log","debug","timing"]: modules/logger/src/__tests__/LogStep.test.ts#L85
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": "some information", - "group": "tacos", - "type": "info", - "verbosity": 5, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:85:17
src/__tests__/LogStep.test.ts > LogStep > can stringify function: modules/logger/src/__tests__/LogStep.test.ts#L131
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": StringContaining "function foo(asdf) {", - "group": "tacos", - "type": "log", - "verbosity": 3, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:131:15
src/__tests__/LogStep.test.ts > LogStep > can stringify function with zero arguments are executed: modules/logger/src/__tests__/LogStep.test.ts#L131
AssertionError: expected [] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - Object { - "contents": "tacos", - "group": "tacos", - "type": "log", - "verbosity": 3, - }, - ] + Array [] ❯ src/__tests__/LogStep.test.ts:131:15
setup
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
oneRepo shard 2/3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
oneRepo shard 1/3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v20 one change verify
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v20 one graph verify
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v18 one change verify
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
oneRepo shard 3/3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v18 one graph verify
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v20 one lint --all --no-fix, one format --check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v18 one jest -a
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v18 one lint --all --no-fix, one format --check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v20 one jest -a
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v18 one tsc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v20 one tsc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v18 one test -a
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v20 one test -a
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v18 one build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
v20 one build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636