Skip to content

refactor: stream heartbeats from database asynchronously for getall #541

refactor: stream heartbeats from database asynchronously for getall

refactor: stream heartbeats from database asynchronously for getall #541

Triggered via push February 19, 2025 17:03
Status Failure
Total duration 1m 29s
Artifacts

ci.yml

on: push
Unit- & API tests
33s
Unit- & API tests
Matrix: Migration tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Unit- & API tests: routes/api/heartbeat_test.go#L27
cannot use heartbeatServiceMock (variable of type *mocks.HeartbeatServiceMock) as services.IHeartbeatService value in argument to NewHeartbeatApiHandler: *mocks.HeartbeatServiceMock does not implement services.IHeartbeatService (missing method GetAllWithinAsync)
Unit- & API tests: routes/api/heartbeat_test.go#L68
cannot use heartbeatServiceMock (variable of type *mocks.HeartbeatServiceMock) as services.IHeartbeatService value in argument to fillPlaceholders: *mocks.HeartbeatServiceMock does not implement services.IHeartbeatService (missing method GetAllWithinAsync)
Unit- & API tests: routes/api/heartbeat_test.go#L87
cannot use heartbeatServiceMock (variable of type *mocks.HeartbeatServiceMock) as services.IHeartbeatService value in argument to fillPlaceholders: *mocks.HeartbeatServiceMock does not implement services.IHeartbeatService (missing method GetAllWithinAsync)
Unit- & API tests: routes/api/heartbeat_test.go#L100
cannot use heartbeatServiceMock (variable of type *mocks.HeartbeatServiceMock) as services.IHeartbeatService value in argument to fillPlaceholders: *mocks.HeartbeatServiceMock does not implement services.IHeartbeatService (missing method GetAllWithinAsync)
Unit- & API tests: routes/compat/wakatime/v1/users_test.go#L63
cannot use heartbeatServiceMock (variable of type *mocks.HeartbeatServiceMock) as services.IHeartbeatService value in argument to NewUsersHandler: *mocks.HeartbeatServiceMock does not implement services.IHeartbeatService (missing method GetAllWithinAsync)
Unit- & API tests: services/duration_test.go#L137
cannot use suite.HeartbeatService (variable of type *mocks.HeartbeatServiceMock) as IHeartbeatService value in argument to NewDurationService: *mocks.HeartbeatServiceMock does not implement IHeartbeatService (missing method GetAllWithinAsync)
Unit- & API tests: services/duration_test.go#L186
cannot use suite.HeartbeatService (variable of type *mocks.HeartbeatServiceMock) as IHeartbeatService value in argument to NewDurationService: *mocks.HeartbeatServiceMock does not implement IHeartbeatService (missing method GetAllWithinAsync)
Unit- & API tests: services/duration_test.go#L209
cannot use suite.HeartbeatService (variable of type *mocks.HeartbeatServiceMock) as IHeartbeatService value in argument to NewDurationService: *mocks.HeartbeatServiceMock does not implement IHeartbeatService (missing method GetAllWithinAsync)
Unit- & API tests: services/housekeeping_test.go#L39
cannot use suite.HeartbeatService (variable of type *mocks.HeartbeatServiceMock) as IHeartbeatService value in argument to NewHousekeepingService: *mocks.HeartbeatServiceMock does not implement IHeartbeatService (missing method GetAllWithinAsync)
Unit- & API tests: services/summary_test.go#L111
cannot use suite.HeartbeatService (variable of type *mocks.HeartbeatServiceMock) as IHeartbeatService value in argument to NewSummaryService: *mocks.HeartbeatServiceMock does not implement IHeartbeatService (missing method GetAllWithinAsync)
Migration tests (sqlite)
Process completed with exit code 1.
Migration tests (mssql)
Process completed with exit code 1.