Skip to content

feat: SQLite-based package cache #51123

feat: SQLite-based package cache

feat: SQLite-based package cache #51123

Triggered via pull request January 15, 2024 17:12
Status Cancelled
Total duration 1m 35s
Artifacts 1

build.yml

on: pull_request
lint-docs
23s
lint-docs
Matrix: prefetch
lint-eslint
36s
lint-eslint
lint-prettier
20s
lint-prettier
lint-other
43s
lint-other
build-docs
0s
build-docs
Matrix: test
test-e2e
0s
test-e2e
coverage
0s
coverage
test-success
0s
test-success
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

51 errors
lint-docs
Process completed with exit code 1.
lint-eslint: lib/util/cache/package/sqlite.ts#L1
Unable to resolve path to module 'better-sqlite3'.
lint-eslint
Process completed with exit code 1.
test (13/16)
Process completed with exit code 1.
test (12/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (12/16)
Process completed with exit code 1.
test (14/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (14/16)
The operation was canceled.
lint-other: lib/util/cache/package/sqlite.ts#L1
Cannot find module 'better-sqlite3' or its corresponding type declarations.
lint-other: lib/util/cache/package/sqlite.ts#L2
Cannot find module 'better-sqlite3' or its corresponding type declarations.
lint-other
Process completed with exit code 1.
test (9/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (9/16)
The operation was canceled.
test (9/16)
Process completed with exit code 1.
build: lib/util/cache/package/sqlite.ts#L1
Cannot find module 'better-sqlite3' or its corresponding type declarations.
build: lib/util/cache/package/sqlite.ts#L2
Cannot find module 'better-sqlite3' or its corresponding type declarations.
build
Process completed with exit code 1.
test (10/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (10/16)
The operation was canceled.
test (11/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (11/16)
The operation was canceled.
test (8/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (8/16)
The operation was canceled.
test (16/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (16/16)
The operation was canceled.
test (2/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (2/16)
The operation was canceled.
test (1/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (1/16)
The operation was canceled.
test (5/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (5/16)
The operation was canceled.
test (15/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (15/16)
The operation was canceled.
test (3/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (3/16)
The operation was canceled.
test (6/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (6/16)
The operation was canceled.
test (7/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
modules/platform/bitbucket/index › initPlatform() › should throw if no token or username/password: lib/util/cache/package/sqlite.ts#L1
Cannot find module 'better-sqlite3' from 'lib/util/cache/package/sqlite.ts' Require stack: lib/util/cache/package/sqlite.ts lib/util/cache/package/index.ts lib/modules/datasource/index.ts lib/util/exec/docker/index.ts lib/util/exec/index.ts lib/util/git/private-key.ts lib/util/git/index.ts at Resolver._throwModNotFoundError (node_modules/.pnpm/[email protected]/node_modules/jest-resolve/build/resolver.js:427:11) at Object.require (lib/util/cache/package/sqlite.ts:1:1) at Object.require (lib/util/cache/package/index.ts:5:1) at Object.require (lib/modules/datasource/index.ts:8:1) at Object.require (lib/util/exec/docker/index.ts:5:1) at Object.require (lib/util/exec/index.ts:8:1) at Object.require (lib/util/git/private-key.ts:7:1) at Object.require (lib/util/git/index.ts:51:1) at Object.require (lib/modules/platform/bitbucket/index.ts:7:1) at lib/modules/platform/bitbucket/index.spec.ts:33:17 at Object.<anonymous> (lib/modules/platform/bitbucket/index.spec.ts:33:17)
modules/platform/bitbucket/index › initPlatform() › should show warning message if custom endpoint: lib/modules/platform/bitbucket/index.spec.ts#L36
TypeError: Cannot read properties of undefined (reading 'mockReturnValue') at Object.<anonymous> (lib/modules/platform/bitbucket/index.spec.ts:36:22)
modules/platform/bitbucket/index › initPlatform() › should init with username/password: lib/modules/platform/bitbucket/index.spec.ts#L36
TypeError: Cannot read properties of undefined (reading 'mockReturnValue') at Object.<anonymous> (lib/modules/platform/bitbucket/index.spec.ts:36:22)
modules/platform/bitbucket/index › initPlatform() › should init with only token: lib/modules/platform/bitbucket/index.spec.ts#L36
TypeError: Cannot read properties of undefined (reading 'mockReturnValue') at Object.<anonymous> (lib/modules/platform/bitbucket/index.spec.ts:36:22)
modules/platform/bitbucket/index › initPlatform() › should warn for missing "profile" scope: lib/modules/platform/bitbucket/index.spec.ts#L36
TypeError: Cannot read properties of undefined (reading 'mockReturnValue') at Object.<anonymous> (lib/modules/platform/bitbucket/index.spec.ts:36:22)
modules/platform/bitbucket/index › getRepos() › returns repos: lib/modules/platform/bitbucket/index.spec.ts#L36
TypeError: Cannot read properties of undefined (reading 'mockReturnValue') at Object.<anonymous> (lib/modules/platform/bitbucket/index.spec.ts:36:22)
modules/platform/bitbucket/index › initRepo() › works with username and password: lib/modules/platform/bitbucket/index.spec.ts#L36
TypeError: Cannot read properties of undefined (reading 'mockReturnValue') at Object.<anonymous> (lib/modules/platform/bitbucket/index.spec.ts:36:22)
modules/platform/bitbucket/index › initRepo() › works with only token: lib/modules/platform/bitbucket/index.spec.ts#L36
TypeError: Cannot read properties of undefined (reading 'mockReturnValue') at Object.<anonymous> (lib/modules/platform/bitbucket/index.spec.ts:36:22)
modules/platform/bitbucket/index › bbUseDevelopmentBranch › not enabled: defaults to using main branch: lib/modules/platform/bitbucket/index.spec.ts#L36
TypeError: Cannot read properties of undefined (reading 'mockReturnValue') at Object.<anonymous> (lib/modules/platform/bitbucket/index.spec.ts:36:22)
modules/platform/bitbucket/index › bbUseDevelopmentBranch › enabled: uses development branch when development branch exists: lib/modules/platform/bitbucket/index.spec.ts#L36
TypeError: Cannot read properties of undefined (reading 'mockReturnValue') at Object.<anonymous> (lib/modules/platform/bitbucket/index.spec.ts:36:22)
test (4/16)
The job was canceled because "ubuntu-latest_true_tes_13" failed.
test (4/16)
The operation was canceled.
test-success
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
coverage Expired
12.6 MB