Go Test Report

369
Total
361
Passed
1
Failed
7
Skipped
652.44
Seconds
keskikuja.site/agent-platform/api/internal/auth15 tests0.04s
Test Status Time
TestSessionMiddleware_ValidCookie PASS 0.000s
TestSessionMiddleware_NoCookie PASS 0.000s
TestSessionMiddleware_InvalidCookie PASS 0.000s
TestSessionMiddleware_IdleExpired PASS 0.000s
TestCSRFMiddleware_AllowsGETWithoutOrigin PASS 0.000s
TestCSRFMiddleware_AllowsPOSTWithCorrectOrigin PASS 0.000s
TestCSRFMiddleware_BlocksPOSTWithWrongOrigin PASS 0.000s
TestCSRFMiddleware_AllowsPOSTWithoutOrigin PASS 0.000s
TestCSRFMiddleware_AllowsPUTWithCorrectOrigin PASS 0.000s
TestCSRFMiddleware_BlocksDELETEWithWrongOrigin PASS 0.000s
TestCSRFMiddleware_AllowsGETWithWrongOrigin PASS 0.000s
TestCSRFMiddleware_EmptyOriginAllowsAll PASS 0.020s
TestAuthMiddlewareValidToken PASS 0.000s
TestAuthMiddlewareInvalidToken PASS 0.000s
TestAuthMiddlewareMissingHeader PASS 0.000s
keskikuja.site/agent-platform/api/internal/auth/store7 tests0.05s
Test Status Time
TestMemoryStore_CreateAndGet PASS 0.000s
TestMemoryStore_GetNotFound PASS 0.000s
TestMemoryStore_Delete PASS 0.000s
TestMemoryStore_TTLExpiry PASS 0.020s
TestMemoryStore_SetStateAndGetAndDeleteState PASS 0.000s
TestMemoryStore_SetRevokedJTIAndIsJTIRevoked PASS 0.000s
TestMemoryStore_StateExpiry PASS 0.020s
keskikuja.site/agent-platform/api/internal/crypto9 tests0.01s
Test Status Time
TestEncryptDecrypt_RoundTrip PASS 0.000s
TestDecrypt_InvalidCiphertext PASS 0.000s
TestDecrypt_LazyMigration_PlaintextPassthrough PASS 0.000s
TestEncrypt_Deterministic_Nope PASS 0.000s
TestHMACSHA256_KnownVector PASS 0.000s
TestHMACSHA256_EmptyMessage PASS 0.000s
TestVerifyHMAC_Valid PASS 0.000s
TestVerifyHMAC_Invalid PASS 0.000s
TestVerifyHMAC_WrongSecret PASS 0.000s
keskikuja.site/agent-platform/api/internal/database1 tests7.80s
Test Status Time
TestMigrateUpDown PASS 7.780s
keskikuja.site/agent-platform/api/internal/git7 skipped22 tests2.02s
Test Status Time
TestCheckHealth_Connected SKIP 0.000s
TestCheckHealth_Disconnected SKIP 0.000s
TestClone_PublicRepo SKIP 0.000s
TestClone_NonExistentRepo SKIP 0.000s
TestClone_WithToken SKIP 0.000s
TestClone_CustomDirectory SKIP 0.000s
TestCreateBranch_Success SKIP 0.000s
TestCheckHealth_Timeout PASS 2.000s
TestCheckHealth_WithToken PASS 0.000s
TestBuildAuthURL_EmptyToken PASS 0.000s
TestBuildAuthURL_ExistingCredentialsNotOverridden PASS 0.000s
TestSlugRepoName_Lowercases PASS 0.000s
TestSlugRepoName_NonAlphanumericsToDash PASS 0.000s
TestSlugRepoName_TruncatesAt64 PASS 0.000s
TestSlugRepoName_TrimsBeforeTruncating PASS 0.000s
TestSlugRepoName_NoTrailingHyphenAfterTruncation PASS 0.000s
TestSlugRepoName_TruncationBoundaryCollision PASS 0.000s
TestSlugRepoName_Deterministic PASS 0.000s
TestCreateBranch_EmptyString PASS 0.010s
TestCreateBranch_MainProtected PASS 0.000s
TestCreateBranch_MasterProtected PASS 0.000s
TestCreateBranch_GuardMessage PASS 0.000s
keskikuja.site/agent-platform/api/internal/handlers229 tests609.26s
Test Status Time
TestMain FAIL
Failed 2026/08/09 05:46:26 INFO migrations applied duration=3.546509088s panic: test timed out after 10m0s running tests: TestVikunjaWebhook_Success (0s) goroutine 569 [running]: testing.(*M).startAlarm.func1() /usr/local/go/src/testing/testing.go:2802 +0x354 created by time.goFunc /usr/local/go/src/time/sleep.go:215 +0x2d goroutine 1 [chan receive, 1 minutes]: testing.(*T).Run(0x1bd6ced6248, {0xb43e76?, 0x0?}, 0xb71280) /usr/local/go/src/testing/testing.go:2109 +0x4e5 testing.runTests.func1(0x1bd6ced6248) /usr/local/go/src/testing/testing.go:2585 +0x3e testing.tRunner(0x1bd6ced6248, 0x1bd6cf45b38) /usr/local/go/src/testing/testing.go:2036 +0xea testing.runTests({0xb4b5c3, 0x21}, {0xb59d8c, 0x33}, 0x1bd6d2120c0, {0x10dd520, 0xcb, 0xcb}, {0xc29623828ae425de, 0x8dd93433b2, ...}) /usr/local/go/src/testing/testing.go:2583 +0x505 testing.(*M).Run(0x1bd6ce40d20) /usr/local/go/src/testing/testing.go:2443 +0x6ac keskikuja.site/agent-platform/api/internal/handlers_test.TestMain(0x1bd6ce40d20) /workspace/niko/agent-platform/api/internal/handlers/test_helpers_test.go:55 +0x465 main.main() _testmain.go:464 +0xa5 goroutine 69 [select, 1 minutes]: github.com/jackc/pgx/v5/pgxpool.(*Pool).backgroundHealthCheck(0x1bd6ce6c600) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgxpool/pool.go:433 +0xc5 github.com/jackc/pgx/v5/pgxpool.NewWithConfig.func3() /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgxpool/pool.go:286 +0x3d created by github.com/jackc/pgx/v5/pgxpool.NewWithConfig in goroutine 1 /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgxpool/pool.go:283 +0x370 goroutine 344 [chan receive, 1 minutes]: keskikuja.site/agent-platform/api/internal/auth/store.(*MemoryStore).reapLoop(0x1bd6cfde700, 0xb71250?) /workspace/niko/agent-platform/api/internal/auth/store/memory.go:31 +0xd7 created by keskikuja.site/agent-platform/api/internal/auth/store.NewMemoryStore in goroutine 343 /workspace/niko/agent-platform/api/internal/auth/store/memory.go:24 +0xc7 goroutine 347 [chan receive, 1 minutes]: keskikuja.site/agent-platform/api/internal/auth/store.(*MemoryStore).reapLoop(0x1bd6cfde8e0, 0x1bd6d0dab60?) /workspace/niko/agent-platform/api/internal/auth/store/memory.go:31 +0xd7 created by keskikuja.site/agent-platform/api/internal/auth/store.NewMemoryStore in goroutine 346 /workspace/niko/agent-platform/api/internal/auth/store/memory.go:24 +0xc7 goroutine 568 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x78bd4e623000, 0x72) /usr/local/go/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x1bd6cebc200?, 0x1bd6cec6000?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x1bd6cebc200, {0x1bd6cec6000, 0x2000, 0x2000}) /usr/local/go/src/internal/poll/fd_unix.go:165 +0x2ae net.(*netFD).Read(0x1bd6cebc200, {0x1bd6cec6000?, 0x486f2c?, 0x499200?}) /usr/local/go/src/net/fd_posix.go:68 +0x25 net.(*conn).Read(0x1bd6ce82038, {0x1bd6cec6000?, 0x4c9b00?, 0x1bd6d182810?}) /usr/local/go/src/net/net.go:196 +0x45 github.com/jackc/pgx/v5/pgconn/internal/bgreader.(*BGReader).Read(0x1bd6ceb2180, {0x1bd6cec6000, 0x2000, 0x2000}) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/internal/bgreader/bgreader.go:100 +0xcb io.ReadAtLeast({0xb79b20, 0x1bd6ceb2180}, {0x1bd6cec6000, 0x2000, 0x2000}, 0x5) /usr/local/go/src/io/io.go:335 +0x8e github.com/jackc/pgx/v5/pgproto3.(*chunkReader).Next(0x1bd6cea65a0, 0x5) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgproto3/chunkreader.go:80 +0x289 github.com/jackc/pgx/v5/pgproto3.(*Frontend).Receive(0x1bd6cec2488) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgproto3/frontend.go:308 +0x3c github.com/jackc/pgx/v5/pgconn.(*PgConn).peekMessage(0x1bd6cec2008) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/pgconn.go:551 +0x145 github.com/jackc/pgx/v5/pgconn.(*PgConn).receiveMessage(0x1bd6cec2008) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/pgconn.go:571 +0x1c github.com/jackc/pgx/v5/pgconn.(*MultiResultReader).receiveMessage(0x1bd6cec2120) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/pgconn.go:1437 +0x1f github.com/jackc/pgx/v5/pgconn.(*MultiResultReader).NextResult(0x1bd6cec2120) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/pgconn.go:1461 +0x4b github.com/jackc/pgx/v5.(*Conn).execSimpleProtocol(0xa79340?, {0xb810c8?, 0x1102f80?}, {0xb64d2a?, 0x8abfe2?}, {0x0?, 0x1bd6db9e480?, 0x1bd6cef4bd8?}) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/conn.go:562 +0xb0 github.com/jackc/pgx/v5.(*Conn).exec(0x1bd6cff4240, {0xb810c8, 0x1102f80}, {0xb64d2a, 0x7b}, {0x0?, 0xb810c8?, 0x10e1460?}) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/conn.go:547 +0x5dd github.com/jackc/pgx/v5.(*Conn).Exec(0x1bd6cff4240, {0xb810c8?, 0x1102f80?}, {0xb64d2a, 0x7b}, {0x0, 0x0, 0x0}) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/conn.go:466 +0x114 github.com/jackc/pgx/v5/pgxpool.(*Conn).Exec(0x1bd6ce6c600?, {0xb810c8?, 0x1102f80?}, {0xb64d2a?, 0x1bd6db9e5d0?}, {0x0?, 0xa76f00?, 0x1bd6db87cb0?}) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgxpool/conn.go:87 +0x3c github.com/jackc/pgx/v5/pgxpool.(*Pool).Exec(0xa76f00?, {0xb810c8, 0x1102f80}, {0xb64d2a, 0x7b}, {0x0, 0x0, 0x0}) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgxpool/pool.go:635 +0xf7 keskikuja.site/agent-platform/api/internal/handlers_test.setupTestDB(0x1bd6cfa2d88) /workspace/niko/agent-platform/api/internal/handlers/test_helpers_test.go:65 +0x4d keskikuja.site/agent-platform/api/internal/handlers_test.newWebhookTestHandler(0x1bd6cfa2d88) /workspace/niko/agent-platform/api/internal/handlers/webhook_test.go:25 +0x28 keskikuja.site/agent-platform/api/internal/handlers_test.TestVikunjaWebhook_Success(0x1bd6cfa2d88) /workspace/niko/agent-platform/api/internal/handlers/webhook_test.go:32 +0x4c testing.tRunner(0x1bd6cfa2d88, 0xb71280) /usr/local/go/src/testing/testing.go:2036 +0xea created by testing.(*T).Run in goroutine 1 /usr/local/go/src/testing/testing.go:2101 +0x4c5 FAIL keskikuja.site/agent-platform/api/internal/handlers 609.256s
0.000s
TestVikunjaWebhook_Success FAIL
Failed === RUN TestVikunjaWebhook_Success coverage: 61.1% of statements in keskikuja.site/agent-platform/api/internal/auth, keskikuja.site/agent-platform/api/internal/auth/store, keskikuja.site/agent-platform/api/internal/crypto, keskikuja.site/agent-platform/api/internal/database, keskikuja.site/agent-platform/api/internal/git, keskikuja.site/agent-platform/api/internal/handlers, keskikuja.site/agent-platform/api/internal/monitor, keskikuja.site/agent-platform/api/internal/pipeline
0.000s
TestAuthHandler_Init PASS 0.000s
TestAuthHandler_Init_NoReturnURL PASS 0.000s
TestAuthHandler_Init_AbsoluteReturnURL PASS 0.000s
TestAuthHandler_Session_NoCookie PASS 0.000s
TestAuthHandler_Session_WithSession PASS 0.000s
TestAuthHandler_Logout PASS 0.000s
TestAuthHandler_Logout_Idempotent PASS 0.000s
TestAuthHandler_Logout_WithIDToken PASS 0.000s
TestUpsertUser_InsertNewUser PASS 2.760s
TestUpsertUser_UpdateExisting PASS 2.940s
TestUpsertUser_NullImage PASS 2.950s
TestCreateBotAccount_Success PASS 2.940s
TestCreateBotAccount_TokenEncryptedInDB PASS 2.710s
TestCreateBotAccount_MissingName PASS 3.000s
TestCreateBotAccount_NameTooShort PASS 2.480s
TestCreateBotAccount_MissingToken PASS 1.300s
TestGetBotAccount_Success PASS 2.470s
TestGetBotAccount_NotFound PASS 1.160s
TestListBotAccounts PASS 1.300s
TestUpdateBotAccount_Success PASS 2.710s
TestUpdateBotAccount_NewToken PASS 0.630s
TestUpdateBotAccount_EmptyTokenDoesNotOverwrite PASS 0.660s
TestDeleteBotAccount_NotInUse PASS 0.820s
TestDeleteBotAccount_InUse PASS 0.690s
TestBotAccountEndpoints_NoSession PASS 0.750s
TestListBotAccounts_EmptyList PASS 1.470s
TestCreateBotAccount_DescriptionMax PASS 1.400s
TestHealth PASS 0.640s
TestReady_Success PASS 0.660s
TestReady_DBDown PASS 0.070s
TestCheck_Success PASS 0.940s
TestCheck_DBDown PASS 0.040s
TestReady_ContextTimeout PASS 0.750s
TestCheck_NilRequest PASS 0.640s
TestUserHealth_NoAuth PASS 0.690s
TestUserHealth_ApiKey PASS 0.990s
TestUserHealth_SessionCookie PASS 0.900s
TestUserHealth_ExpiredSession PASS 1.370s
TestUserHealth_InvalidApiKey PASS 1.020s
TestCreateLlmConfig_Success PASS 0.860s
TestCreateLlmConfig_ApiKeyEncryptedInDB PASS 0.740s
TestCreateLlmConfig_MissingName PASS 0.580s
TestCreateLlmConfig_NameTooShort PASS 0.920s
TestCreateLlmConfig_MissingApiKey PASS 0.740s
TestCreateLlmConfig_DuplicateName PASS 0.960s
TestGetLlmConfig_Success PASS 1.040s
TestGetLlmConfig_NotFound PASS 0.720s
TestListLlmConfigs PASS 1.310s
TestListLlmConfigs_EmptyList PASS 0.700s
TestUpdateLlmConfig_Success PASS 0.690s
TestUpdateLlmConfig_NewApiKey PASS 0.550s
TestUpdateLlmConfig_EmptyApiKeyDoesNotOverwrite PASS 0.650s
TestUpdateLlmConfig_MissingApiKeyDoesNotOverwrite PASS 0.740s
TestUpdateLlmConfig_DuplicateName PASS 1.410s
TestUpdateLlmConfig_NotFound PASS 0.630s
TestDeleteLlmConfig_Success PASS 0.950s
TestDeleteLlmConfig_NotFound PASS 0.780s
TestLlmConfigEndpoints_NoSession PASS 0.980s
TestCreatePipeline_Success PASS 1.260s
TestCreatePipeline_WithBaseBranch PASS 0.910s
TestCreatePipeline_DefaultBaseBranch PASS 0.740s
TestUpdatePipeline_BaseBranch PASS 1.170s
TestCreatePipeline_MissingName PASS 0.740s
TestCreatePipeline_InvalidProjectId PASS 0.740s
TestGetPipeline_Success PASS 0.680s
TestGetPipeline_NotFound PASS 0.950s
TestListPipelinesByProject PASS 0.800s
TestListPipelinesByProject_NotFound PASS 0.690s
TestListPipelines_FilterEnabled PASS 0.720s
TestUpdatePipeline_Success PASS 0.970s
TestUpdatePipeline_NotFound PASS 0.750s
TestDeletePipeline_Success PASS 0.790s
TestDeletePipeline_NotFound PASS 0.640s
TestGetProjectDetail_IncludesPipelines PASS 0.710s
TestCreatePipeline_WithoutOutputBranch PASS 0.720s
TestCreatePipeline_WithEmptyOutputBranch PASS 0.780s
TestCreatePipeline_WithOutputBranch PASS 0.770s
TestCreatePipeline_WithConfig PASS 0.640s
TestCreatePipeline_ConfigValidation/array_rejected PASS 0.830s
TestCreatePipeline_ConfigValidation/string_rejected PASS 0.790s
TestCreatePipeline_ConfigValidation/null_accepted PASS 1.500s
TestCreatePipeline_ConfigValidation/object_accepted PASS 0.910s
TestCreatePipeline_ConfigValidation PASS 4.019s
TestUpdatePipeline_NullifyOutputBranch PASS 1.220s
TestUpdatePipeline_Config PASS 2.410s
TestCreatePipeline_WithSkillRepos PASS 1.880s
TestCreatePipeline_EmptySkillRepos PASS 1.880s
TestCreatePipeline_SkillReposValidation/valid_list_accepted PASS 2.190s
TestCreatePipeline_SkillReposValidation/empty_list_accepted PASS 1.660s
TestCreatePipeline_SkillReposValidation/null_accepted PASS 1.680s
TestCreatePipeline_SkillReposValidation/nonexistent_repository_rejected PASS 1.520s
TestCreatePipeline_SkillReposValidation/duplicate_repository_rejected PASS 2.290s
TestCreatePipeline_SkillReposValidation/slug_collision_rejected PASS 1.260s
TestCreatePipeline_SkillReposValidation/over_cap_rejected PASS 1.920s
TestCreatePipeline_SkillReposValidation/malformed_uuid_rejected PASS 1.240s
TestCreatePipeline_SkillReposValidation PASS 13.750s
TestGetAndListPipelines_ReturnSkillRepos PASS 1.950s
TestUpdatePipeline_SkillRepos PASS 1.520s
TestUpdatePipeline_SkillReposToEmpty PASS 1.320s
TestUpdatePipeline_SkillReposAbsentKeepsExisting PASS 2.190s
TestUpdatePipeline_SkillReposValidation/nonexistent_repository PASS 1.760s
TestUpdatePipeline_SkillReposValidation/duplicate_repositories PASS 1.920s
TestUpdatePipeline_SkillReposValidation/slug_collision PASS 1.510s
TestUpdatePipeline_SkillReposValidation/over_cap PASS 1.680s
TestUpdatePipeline_SkillReposValidation PASS 6.870s
TestUpdatePipeline_SkillReposOnly_UpdateQueryIncludesUpdatedBy PASS 2.580s
TestUpdatePipeline_NoFields_NoOpGuardSkipsUpdate PASS 1.640s
TestCreatePipeline_ResponseFetchBeforeCommit PASS 2.840s
TestUpdatePipeline_ResponseFetchBeforeCommit PASS 3.090s
TestCreatePipeline_SkillRepoValidationInsideTx PASS 2.160s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422/create_rejects_symbol-only_repo PASS 0.000s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422/update_rejects_symbol-only_repo PASS 0.000s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422 PASS 2.360s
TestCreatePipeline_TruncationBoundarySlugCollisionGets422 PASS 3.270s
TestCreatePipeline_SkillRepoValidationErrorsAre422/missing_repository PASS 3.120s
TestCreatePipeline_SkillRepoValidationErrorsAre422/slug_collision PASS 2.290s
TestCreatePipeline_SkillRepoValidationErrorsAre422 PASS 5.410s
TestCreatePipeline_SkillRepoDBFailureIs500 PASS 4.840s
TestCreateProject_Success PASS 3.720s
TestCreateProject_MissingName PASS 3.190s
TestCreateProject_TooShortName PASS 2.990s
TestGetProject_Success PASS 4.480s
TestGetProject_NotFound PASS 5.140s
TestListProjects_DefaultPagination PASS 4.820s
TestListProjects_SortByNameAsc PASS 8.510s
TestListProjects_InvalidSortField PASS 6.370s
TestUpdateProject_Success PASS 14.460s
TestUpdateProject_NotFound PASS 4.240s
TestDeleteProject_Success PASS 5.730s
TestDeleteProject_NotFound PASS 3.470s
TestProjectEndpoints_NoSession PASS 2.630s
TestProjectHandler_Create_WithConfig PASS 1.140s
TestProjectHandler_Create_WithSecrets PASS 4.190s
TestProjectHandler_Create_ConfigValidation/empty_object PASS 0.000s
TestProjectHandler_Create_ConfigValidation/array_rejected PASS 0.000s
TestProjectHandler_Create_ConfigValidation/string_rejected PASS 0.000s
TestProjectHandler_Create_ConfigValidation/number_rejected PASS 0.000s
TestProjectHandler_Create_ConfigValidation/null_accepted PASS 0.000s
TestProjectHandler_Create_ConfigValidation PASS 0.810s
TestProjectHandler_Update_Config PASS 1.380s
TestProjectHandler_GetDecryptedSecrets PASS 4.740s
TestProjectHandler_Get_StripsSecretsEncrypted PASS 0.990s
TestGetDecryptedSecrets_NoSecrets PASS 1.230s
TestProjectHandler_Update_Secrets PASS 1.300s
TestProjectHandler_Update_Secrets_PlainStringRejected PASS 5.990s
TestProjectHandler_Update_Secrets_EmptyStringRejected PASS 1.080s
TestCreateRepository_Success PASS 1.070s
TestCreateRepository_MissingBotAccountID PASS 1.080s
TestCreateRepository_BotAccountNotFound PASS 3.970s
TestCreateRepository_InvalidName PASS 1.150s
TestCreateRepository_MissingName PASS 1.050s
TestGetRepository_Success PASS 1.150s
TestGetRepository_NotFound PASS 1.030s
TestListRepositories PASS 8.220s
TestGetRepository_HasBotAccountID PASS 1.500s
TestListRepository_HasBotAccountID PASS 1.190s
TestUpdateRepository_Success PASS 3.210s
TestUpdateRepository_ChangeBotAccountID PASS 1.190s
TestUpdateRepository_NotFound PASS 0.900s
TestDeleteRepository_Success PASS 1.300s
TestDeleteRepository_NotFound PASS 0.910s
TestCheckRepositoryHealth_Connected PASS 2.220s
TestCheckRepositoryHealth_Disconnected PASS 2.190s
TestCheckRepositoryHealth_UpdatesDB PASS 6.870s
TestCheckRepositoryHealth_NotFound PASS 11.120s
TestRepositoryEndpoints_NoSession PASS 5.490s
TestCreateRun_Success PASS 4.810s
TestCreateRun_MissingPipelineID PASS 3.810s
TestCreateRun_InvalidPipelineID PASS 1.180s
TestCreateRun_InvalidJSON PASS 1.230s
TestCreateRun_InvalidSourceType PASS 1.270s
TestGetRun_Success PASS 7.640s
TestGetRun_NotFound PASS 4.080s
TestListRuns_ReturnsDefaultPagination PASS 2.230s
TestListRuns_CustomLimitAndOffset PASS 6.860s
TestListRuns_LimitValidation/default_when_missing PASS 0.010s
TestListRuns_LimitValidation/valid_limit PASS 0.000s
TestListRuns_LimitValidation/max_limit_capped PASS 0.000s
TestListRuns_LimitValidation/negative_limit_uses_default PASS 0.000s
TestListRuns_LimitValidation/zero_limit_uses_default PASS 0.000s
TestListRuns_LimitValidation/invalid_format_uses_default PASS 0.000s
TestListRuns_LimitValidation PASS 5.770s
TestListRuns_FilterByPhase PASS 7.670s
TestListRuns_FilterByMultiplePhases PASS 51.050s
TestListRuns_FilterByInvalidPhase PASS 94.200s
TestListRuns_FilterProjectID PASS 14.290s
TestListRuns_FilterPipelineID PASS 1.380s
TestListRuns_FilterSourceType PASS 1.070s
TestListRuns_FilterCreatedAfter PASS 0.860s
TestListRuns_FilterCreatedBefore PASS 0.890s
TestListRuns_FilterSource PASS 0.880s
TestListRuns_SortByStartedAt PASS 0.870s
TestListRuns_FilterMultipleCriteria PASS 0.860s
TestListRuns_SortByCreatedAtDesc PASS 0.810s
TestListRuns_SortByUpdatedAtAsc PASS 0.850s
TestListRuns_InvalidSortField PASS 0.940s
TestListRuns_CursorPagination PASS 0.810s
TestUpdateRun_PhaseOnly PASS 0.900s
TestUpdateRun_Completed PASS 0.910s
TestUpdateRun_Failed PASS 1.010s
TestUpdateRun_NotFound PASS 0.840s
TestUpdateRun_InvalidPhase PASS 0.940s
TestUpdateRun_NoAuth PASS 1.630s
TestIdempotency_NoKey PASS 4.400s
TestIdempotency_SameKeySameBody PASS 4.630s
TestIdempotency_SameKeyDifferentBody PASS 2.790s
TestHubPublishAndReceive PASS 0.000s
TestHubFilterPhaseMatch PASS 0.000s
TestHubFilterPhaseMismatch PASS 0.200s
TestHubFilterSourceType PASS 0.200s
TestSubscribeSSE_NoAuth PASS 3.320s
TestSubscribeSSE_InvalidAPIKey PASS 2.800s
TestRunCreationPublishesSSEEvent PASS 4.670s
TestSubscribeSSE_Heartbeat PASS 3.980s
TestGitHubPR_ValidHMAC_CreatesRun PASS 4.620s
TestGitHubPR_ValidHMAC_StoresPRDescription PASS 4.400s
TestGitHubPR_ValidHMAC_GiteaSignature PASS 4.410s
TestGitHubPR_GiteaSynchronizedAction_CreatesRun PASS 4.030s
TestGitHubPR_NoAPIKeyValidHMAC_Accepted PASS 4.950s
TestGitHubPR_MissingSignature PASS 4.900s
TestGitHubPR_InvalidSignature PASS 3.690s
TestGitHubPR_NonPullRequestEvent PASS 5.110s
TestGitHubPR_DisabledPipeline PASS 4.019s
TestGitHubPR_PipelineNotFound PASS 3.260s
TestGitHubPR_NoWebhookSecret PASS 3.240s
TestGitHubPR_IgnoredAction PASS 4.750s
TestGitHubPR_ExecutorFailure_StillAccepted PASS 4.250s
TestGitHubPR_InvalidPipelineID PASS 1.990s
keskikuja.site/agent-platform/api/internal/model34 tests0.01s
Test Status Time
TestLlmConfig_MarshalJSON_ExcludesApiKeyEncrypted PASS 0.000s
TestLlmConfig_MarshalJSON_IncludesVisibleFields PASS 0.000s
TestCreateLlmConfigRequest_UnmarshalJSON PASS 0.000s
TestCreateLlmConfigRequest_MarshalJSON_IncludesApiKey PASS 0.000s
TestUpdateLlmConfigRequest_UnmarshalJSON_AllFields PASS 0.000s
TestUpdateLlmConfigRequest_UnmarshalJSON_PartialUpdate PASS 0.000s
TestUpdateLlmConfigRequest_MarshalJSON_OmitsApiKey PASS 0.000s
TestPipeline_MarshalJSON_IncludesConfig PASS 0.000s
TestPipeline_MarshalJSON_OutputBranchNullWhenNil PASS 0.000s
TestPipeline_MarshalJSON_OutputBranchValueWhenSet PASS 0.000s
TestPipeline_UnmarshalJSON_OutputBranchNullUnmarshalsToNil PASS 0.000s
TestCreatePipelineRequest_AcceptsConfigAndNullableOutputBranch PASS 0.000s
TestCreatePipelineRequest_OutputBranchValueWhenSet PASS 0.000s
TestUpdatePipelineRequest_AcceptsConfig PASS 0.000s
TestPipeline_ConfigNilMarshalsToNull PASS 0.000s
TestPipeline_MarshalJSON_IncludesSkillRepos PASS 0.000s
TestPipeline_SkillReposJSONRoundTrip PASS 0.000s
TestCreatePipelineRequest_AcceptsSkillRepos PASS 0.000s
TestUpdatePipelineRequest_AcceptsSkillRepos PASS 0.000s
TestUpdatePipelineRequest_SkillReposEmptySliceIsNotNil PASS 0.000s
TestUpdatePipelineRequest_SkillReposAbsentStaysNil PASS 0.000s
TestProject_MarshalJSON_IncludesConfig PASS 0.000s
TestProject_MarshalJSON_ExcludesSecretsEncrypted PASS 0.000s
TestProject_UnmarshalJSON_AcceptsConfig PASS 0.000s
TestProject_UnmarshalJSON_SecretsEncryptedNotFromJSON PASS 0.000s
TestCreateProjectRequest_AcceptsConfigAndSecrets PASS 0.000s
TestCreateProjectRequest_MarshalJSON_ConfigAndSecrets PASS 0.000s
TestUpdateProjectRequest_AcceptsConfigAndSecrets PASS 0.000s
TestProject_ConfigNilMarshalsToNull PASS 0.000s
TestPRMetadata_MarshalJSON PASS 0.000s
TestPRMetadata_UnmarshalJSON PASS 0.000s
TestSourceMetadata_WithPR_MarshalJSON PASS 0.000s
TestSourceMetadata_WithoutPR_MarshalJSON PASS 0.000s
TestSourceMetadata_PRNil_OmitsFromJSON PASS 0.000s
keskikuja.site/agent-platform/api/internal/monitor15 tests33.19s
Test Status Time
TestCheckOne_Connected PASS 3.340s
TestCheckOne_Disconnected PASS 3.070s
TestCheckOne_UpdatesDBStatus PASS 1.620s
TestCheckOne_UpdatesLastCheckedAt PASS 2.720s
TestCheckOne_WithEncryptedToken PASS 1.490s
TestCheckAll_IteratesAllRepos PASS 2.550s
TestCheckOne_WithCorruptToken_ProceedsWithoutToken PASS 1.130s
TestStartStop_RunsUntilCancelled PASS 2.330s
TestStartStop_StopIsIdempotent PASS 1.240s
TestRunWatchdog_JobFailed_MarksRunFailed PASS 1.280s
TestRunWatchdog_JobSucceededWithoutCallback_MarksRunFailed PASS 1.200s
TestRunWatchdog_NoJobTimeout_MarksRunFailed PASS 1.290s
TestRunWatchdog_WithinTimeout_NotModified PASS 1.540s
TestRunWatchdog_AlreadyCompleted_NotModified PASS 2.210s
TestRunWatchdog_StartStop_Lifecycle PASS 1.730s
keskikuja.site/agent-platform/api/internal/pipeline2 tests0.01s
Test Status Time
TestMockExecutor_Start PASS 0.000s
TestMockExecutor_Interface PASS 0.000s
keskikuja.site/agent-platform/api/internal/pipeline/k8s35 tests0.05s
Test Status Time
TestBuildJobSpec_Name PASS 0.000s
TestBuildJobSpec_Namespace PASS 0.000s
TestBuildJobSpec_Labels PASS 0.000s
TestBuildJobSpec_BackoffLimit PASS 0.000s
TestBuildJobSpec_TTL PASS 0.000s
TestBuildJobSpec_RestartPolicy PASS 0.000s
TestBuildJobSpec_ServiceAccount PASS 0.000s
TestBuildJobSpec_ContainerImage PASS 0.000s
TestBuildJobSpec_ContainerName PASS 0.000s
TestBuildJobSpec_Command PASS 0.000s
TestBuildJobSpec_EnvVars PASS 0.000s
TestBuildJobSpec_SingleContainerOnly PASS 0.000s
TestStart_CreatesJob PASS 0.000s
TestStart_SKILL_REPOS_Present PASS 0.000s
TestStart_SKILL_REPOS_AbsentWhenEmpty PASS 0.000s
TestStart_PREnvvars PASS 0.000s
TestStart_NoPR PASS 0.000s
TestStart_WithBotToken PASS 0.000s
TestStart_ManifestRepoToken/with_bot_account_token PASS 0.000s
TestStart_ManifestRepoToken/without_bot_account_token PASS 0.000s
TestStart_ManifestRepoToken PASS 0.000s
TestStart_SkillRepoDecryptTokenError PASS 0.000s
TestStart_BranchProfileBaseBranch PASS 0.000s
TestStart_NoBotToken PASS 0.000s
TestStart_DecryptTokenError PASS 0.000s
TestStart_GiteaBaseURLParsing PASS 0.000s
TestStart_RepoURLNoHost PASS 0.000s
TestStart_LangfuseEnvVars PASS 0.000s
TestStart_DefaultNamespace PASS 0.000s
TestNewK8sExecutor_MissingEnvVars/missing_NAMESPACE PASS 0.000s
TestNewK8sExecutor_MissingEnvVars/missing_CORE_IMAGE PASS 0.000s
TestNewK8sExecutor_MissingEnvVars/missing_RELEASE_NAME PASS 0.000s
TestNewK8sExecutor_MissingEnvVars/missing_API_URL PASS 0.000s
TestNewK8sExecutor_MissingEnvVars/missing_ENGINE_API_KEY PASS 0.000s
TestNewK8sExecutor_MissingEnvVars PASS 0.000s
keskikuja.site/agent-platform/api/internal/swagger0 tests0.00s
Test Status Time