Skip to content

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

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

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

Triggered via pull request April 7, 2024 22:25
Status Failure
Total duration 1m 44s
Artifacts

pull-request.yaml

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

Annotations

37 errors and 18 warnings
oneRepo shard 2/3
Process completed with exit code 1.
oneRepo shard 1/3: modules/logger/src/__tests__/LogStep.test.ts#L1
'PassThrough' is defined but never used. (@typescript-eslint/no-unused-vars)
oneRepo shard 1/3: modules/logger/src/__tests__/LogStep.test.ts#L2
'pc' is defined but never used. (@typescript-eslint/no-unused-vars)
oneRepo shard 1/3: modules/logger/src/__tests__/LogStep.test.ts#L3
'LogStep' is defined but never used. (@typescript-eslint/no-unused-vars)
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: modules/logger/src/index.ts#L153
'encoding' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
oneRepo shard 1/3
Process completed with exit code 1.
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/commands/__tests__/prettier.test.ts > handler > annotates github for file errors: plugins/prettier/src/commands/__tests__/prettier.test.ts#L175
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'The following files were not properly…' - Expected + Received - The following files were not properly formatted + ➤ + ┌ Filtering ignored files + └ ✔ 0ms + ❯ src/commands/__tests__/prettier.test.ts:175:3
src/core/codeowners/__tests__/verify.test.ts > codeowners verify > errors on invalid contents: modules/onerepo/src/core/codeowners/__tests__/verify.test.ts#L30
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'Code owners file is not up to date' - Expected + Received - Code owners file is not up to date + ➤ + ┌ Verify signature + └ ✔ 0ms + ❯ src/core/codeowners/__tests__/verify.test.ts:30:3
src/core/dependencies/__tests__/verify.test.ts > verify > can verify the dependencies in loose mode: modules/onerepo/src/core/dependencies/__tests__/verify.test.ts#L30
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'Version mismatches found in "menu"' - Expected + Received - Version mismatches found in "menu" + ➤ + ┌ Get Workspaces from inputs + └ ✔ 0ms + ❯ src/core/dependencies/__tests__/verify.test.ts:30:3
src/core/dependencies/__tests__/verify.test.ts > verify > can verify the dependencies in strict mode: modules/onerepo/src/core/dependencies/__tests__/verify.test.ts#L40
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'Version mismatches found in "menu"' - Expected + Received - Version mismatches found in "menu" + ➤ + ┌ Get Workspaces from inputs + └ ✔ 0ms + ❯ src/core/dependencies/__tests__/verify.test.ts:40:3
src/core/dependencies/__tests__/verify.test.ts > verify > verifies local versions (regression #678): modules/onerepo/src/core/dependencies/__tests__/verify.test.ts#L54
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'Dependency "@acme/foo@1.0.0" expected…' - Expected + Received - Dependency "@acme/foo@1.0.0" expected to match "2.0.0" + ➤ + ┌ Get Workspaces from inputs + │ LOG `all` requested + │ LOG Root Workspace included in requested list. Assuming all Workspaces. + └ ✔ 0ms + ❯ src/core/dependencies/__tests__/verify.test.ts:54:3
src/core/dependencies/__tests__/verify.test.ts > verify > verifies local dependencies are public (regression #682): modules/onerepo/src/core/dependencies/__tests__/verify.test.ts#L62
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'Dependency "@acme/foo" is a private w…' - Expected + Received - Dependency "@acme/foo" is a private workspace + ➤ + ┌ Get Workspaces from inputs + │ LOG `all` requested + │ LOG Root Workspace included in requested list. Assuming all Workspaces. + └ ✔ 0ms + ❯ src/core/dependencies/__tests__/verify.test.ts:62:3
src/core/graph/__tests__/verify.test.ts > verify > can verify cjson (eg tsconfigs): modules/onerepo/src/core/graph/__tests__/verify.test.ts#L41
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to deeply equal 'must be equal to constant' - Expected + Received - must be equal to constant + ➤ + ┌ Validating dependency trees + └ ✔ 0ms + ❯ src/core/graph/__tests__/verify.test.ts:41:3
src/core/graph/__tests__/verify.test.ts > verify > can verify js (eg jest.config, etc): modules/onerepo/src/core/graph/__tests__/verify.test.ts#L48
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'must have required property \'display…' - Expected + Received - must have required property 'displayName' + ➤ + ┌ Validating dependency trees + └ ✔ 0ms + ❯ src/core/graph/__tests__/verify.test.ts:48:3
v18 one lint --all --no-fix, one format --check: modules/logger/src/__tests__/LogStep.test.ts#L1
'PassThrough' is defined but never used. (@typescript-eslint/no-unused-vars)
v18 one lint --all --no-fix, one format --check: modules/logger/src/__tests__/LogStep.test.ts#L2
'pc' is defined but never used. (@typescript-eslint/no-unused-vars)
v18 one lint --all --no-fix, one format --check: modules/logger/src/__tests__/LogStep.test.ts#L3
'LogStep' 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 lint --all --no-fix, one format --check: modules/logger/src/index.ts#L153
'encoding' is assigned a value 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/commands/__tests__/prettier.test.ts > handler > annotates github for file errors: plugins/prettier/src/commands/__tests__/prettier.test.ts#L175
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'The following files were not properly…' - Expected + Received - The following files were not properly formatted + ➤ + ┌ Filtering ignored files + └ ✔ 0ms + ❯ src/commands/__tests__/prettier.test.ts:175:3
src/core/codeowners/__tests__/verify.test.ts > codeowners verify > errors on invalid contents: modules/onerepo/src/core/codeowners/__tests__/verify.test.ts#L30
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'Code owners file is not up to date' - Expected + Received - Code owners file is not up to date + ➤ + ┌ Verify signature + └ ✔ 0ms + ❯ src/core/codeowners/__tests__/verify.test.ts:30:3
src/core/dependencies/__tests__/verify.test.ts > verify > can verify the dependencies in loose mode: modules/onerepo/src/core/dependencies/__tests__/verify.test.ts#L30
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'Version mismatches found in "menu"' - Expected + Received - Version mismatches found in "menu" + ➤ + ┌ Get Workspaces from inputs + └ ✔ 0ms + ❯ src/core/dependencies/__tests__/verify.test.ts:30:3
src/core/dependencies/__tests__/verify.test.ts > verify > can verify the dependencies in strict mode: modules/onerepo/src/core/dependencies/__tests__/verify.test.ts#L40
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'Version mismatches found in "menu"' - Expected + Received - Version mismatches found in "menu" + ➤ + ┌ Get Workspaces from inputs + └ ✔ 0ms + ❯ src/core/dependencies/__tests__/verify.test.ts:40:3
src/core/dependencies/__tests__/verify.test.ts > verify > verifies local versions (regression #678): modules/onerepo/src/core/dependencies/__tests__/verify.test.ts#L54
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'Dependency "@acme/foo@1.0.0" expected…' - Expected + Received - Dependency "@acme/foo@1.0.0" expected to match "2.0.0" + ➤ + ┌ Get Workspaces from inputs + │ LOG `all` requested + │ LOG Root Workspace included in requested list. Assuming all Workspaces. + └ ✔ 0ms + ❯ src/core/dependencies/__tests__/verify.test.ts:54:3
src/core/dependencies/__tests__/verify.test.ts > verify > verifies local dependencies are public (regression #682): modules/onerepo/src/core/dependencies/__tests__/verify.test.ts#L62
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'Dependency "@acme/foo" is a private w…' - Expected + Received - Dependency "@acme/foo" is a private workspace + ➤ + ┌ Get Workspaces from inputs + │ LOG `all` requested + │ LOG Root Workspace included in requested list. Assuming all Workspaces. + └ ✔ 0ms + ❯ src/core/dependencies/__tests__/verify.test.ts:62:3
src/core/graph/__tests__/verify.test.ts > verify > can verify cjson (eg tsconfigs): modules/onerepo/src/core/graph/__tests__/verify.test.ts#L41
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to deeply equal 'must be equal to constant' - Expected + Received - must be equal to constant + ➤ + ┌ Validating dependency trees + └ ✔ 0ms + ❯ src/core/graph/__tests__/verify.test.ts:41:3
src/core/graph/__tests__/verify.test.ts > verify > can verify js (eg jest.config, etc): modules/onerepo/src/core/graph/__tests__/verify.test.ts#L48
AssertionError: expected '\u001b[1m\u001b[2m➤ \u001b[22m\u001b[…' to match 'must have required property \'display…' - Expected + Received - must have required property 'displayName' + ➤ + ┌ Validating dependency trees + └ ✔ 0ms + ❯ src/core/graph/__tests__/verify.test.ts:48:3
v20 one lint --all --no-fix, one format --check: modules/logger/src/__tests__/LogStep.test.ts#L1
'PassThrough' is defined but never used. (@typescript-eslint/no-unused-vars)
v20 one lint --all --no-fix, one format --check: modules/logger/src/__tests__/LogStep.test.ts#L2
'pc' is defined but never used. (@typescript-eslint/no-unused-vars)
v20 one lint --all --no-fix, one format --check: modules/logger/src/__tests__/LogStep.test.ts#L3
'LogStep' is defined but never used. (@typescript-eslint/no-unused-vars)
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)
v20 one lint --all --no-fix, one format --check: modules/logger/src/index.ts#L153
'encoding' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
setup
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
oneRepo shard 2/3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
oneRepo shard 1/3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v20 one change verify
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
oneRepo shard 3/3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v18 one change verify
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v20 one graph verify
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v18 one graph verify
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v20 one jest -a
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v20 one test -a
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v18 one jest -a
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v18 one tsc
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v18 one lint --all --no-fix, one format --check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v20 one tsc
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v18 one test -a
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v20 one lint --all --no-fix, one format --check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v20 one build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
v18 one build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.