Skip to content

fix(worker): skip non-directory paths in file-based git connection config #283

fix(worker): skip non-directory paths in file-based git connection config

fix(worker): skip non-directory paths in file-based git connection config #283

Triggered via pull request March 26, 2026 05:56
Status Failure
Total duration 1m 37s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
test
Process completed with exit code 1.
src/repoCompileUtils.test.ts > compileGenericGitHostConfig_file > should decode URL-encoded characters in origin url pathname: packages/backend/src/repoCompileUtils.test.ts#L160
AssertionError: expected [] to have a length of 1 but got +0 - Expected + Received - 1 + 0 ❯ src/repoCompileUtils.test.ts:160:33
src/repoCompileUtils.test.ts > compileGenericGitHostConfig_file > should return warnings for invalid repos and success for valid ones: packages/backend/src/repoCompileUtils.test.ts#L141
AssertionError: expected [] to have a length of 1 but got +0 - Expected + Received - 1 + 0 ❯ src/repoCompileUtils.test.ts:141:33
src/repoCompileUtils.test.ts > compileGenericGitHostConfig_file > should include port in repo name when origin url has a port: packages/backend/src/repoCompileUtils.test.ts#L115
AssertionError: expected [] to have a length of 1 but got +0 - Expected + Received - 1 + 0 ❯ src/repoCompileUtils.test.ts:115:33
src/repoCompileUtils.test.ts > compileGenericGitHostConfig_file > should successfully compile when valid git repo is found: packages/backend/src/repoCompileUtils.test.ts#L97
AssertionError: expected [] to have a length of 1 but got +0 - Expected + Received - 1 + 0 ❯ src/repoCompileUtils.test.ts:97:33
src/repoCompileUtils.test.ts > compileGenericGitHostConfig_file > should return warning when git repo has no origin url: packages/backend/src/repoCompileUtils.test.ts#L81
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/repoCompileUtils.test.ts:81:86
src/repoCompileUtils.test.ts > compileGenericGitHostConfig_file > should return warning when path is not a valid git repo: packages/backend/src/repoCompileUtils.test.ts#L63
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/repoCompileUtils.test.ts:63:79
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/