Skip to content

feat: backfill repo dateCreated/lastModified via migration #10381

feat: backfill repo dateCreated/lastModified via migration

feat: backfill repo dateCreated/lastModified via migration #10381

Triggered via pull request August 20, 2026 10:38
Status Failure
Total duration 6m 31s
Artifacts

ci.yml

on: pull_request
Matrix: build-ubuntu
build-windows
6m 9s
build-windows
build result
13s
build result
Fit to window
Zoom out
Zoom in

Annotations

15 errors
build-ubuntu (24.x, 7.0)
Process completed with exit code 1.
test/db/db.test.ts > db > runMigrations > runs the registry against the configured backend sink: src/db/migrations/populateRepoDates.ts#L30
Error: [vitest] No "getRepos" export is defined on the "../../src/db/mongo" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../src/db/mongo"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ Object.up src/db/migrations/populateRepoDates.ts:30:30 ❯ runMigrations src/db/migrations/index.ts:42:21 ❯ test/db/db.test.ts:52:7
build-ubuntu (22.x, 8.0)
Process completed with exit code 1.
test/db/db.test.ts > db > runMigrations > runs the registry against the configured backend sink: src/db/migrations/populateRepoDates.ts#L30
Error: [vitest] No "getRepos" export is defined on the "../../src/db/mongo" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../src/db/mongo"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ Object.up src/db/migrations/populateRepoDates.ts:30:30 ❯ runMigrations src/db/migrations/index.ts:42:21 ❯ test/db/db.test.ts:52:7
build-ubuntu (22.x, 7.0)
Process completed with exit code 1.
test/db/db.test.ts > db > runMigrations > runs the registry against the configured backend sink: src/db/migrations/populateRepoDates.ts#L30
Error: [vitest] No "getRepos" export is defined on the "../../src/db/mongo" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../src/db/mongo"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ Object.up src/db/migrations/populateRepoDates.ts:30:30 ❯ runMigrations src/db/migrations/index.ts:42:21 ❯ test/db/db.test.ts:52:7
build-ubuntu (24.x, 6.0)
Process completed with exit code 1.
test/db/db.test.ts > db > runMigrations > runs the registry against the configured backend sink: src/db/migrations/populateRepoDates.ts#L30
Error: [vitest] No "getRepos" export is defined on the "../../src/db/mongo" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../src/db/mongo"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ Object.up src/db/migrations/populateRepoDates.ts:30:30 ❯ runMigrations src/db/migrations/index.ts:42:21 ❯ test/db/db.test.ts:52:7
build-ubuntu (24.x, 8.0)
Process completed with exit code 1.
test/db/db.test.ts > db > runMigrations > runs the registry against the configured backend sink: src/db/migrations/populateRepoDates.ts#L30
Error: [vitest] No "getRepos" export is defined on the "../../src/db/mongo" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../src/db/mongo"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ Object.up src/db/migrations/populateRepoDates.ts:30:30 ❯ runMigrations src/db/migrations/index.ts:42:21 ❯ test/db/db.test.ts:52:7
build-ubuntu (22.x, 6.0)
Process completed with exit code 1.
test/db/db.test.ts > db > runMigrations > runs the registry against the configured backend sink: src/db/migrations/populateRepoDates.ts#L30
Error: [vitest] No "getRepos" export is defined on the "../../src/db/mongo" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../src/db/mongo"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ Object.up src/db/migrations/populateRepoDates.ts:30:30 ❯ runMigrations src/db/migrations/index.ts:42:21 ❯ test/db/db.test.ts:52:7
build-windows
Process completed with exit code 1.
test/db/db.test.ts > db > runMigrations > runs the registry against the configured backend sink: src/db/migrations/populateRepoDates.ts#L30
Error: [vitest] No "getRepos" export is defined on the "../../src/db/mongo" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../src/db/mongo"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ Object.up src/db/migrations/populateRepoDates.ts:30:30 ❯ runMigrations src/db/migrations/index.ts:42:21 ❯ test/db/db.test.ts:52:7
build result
Process completed with exit code 1.