Go Test Report

415
Total
405
Passed
1
Failed
9
Skipped
716.39
Seconds
keskikuja.site/agent-platform/api/internal/auth15 tests0.06s
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.050s
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 tests16.43s
Test Status Time
TestMigrateUpDown PASS 16.420s
keskikuja.site/agent-platform/api/internal/git9 skipped27 tests5.88s
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
TestFetchManifestRepo_NonExistentRepo SKIP 0.000s
TestFetchManifestRepo_PublicRepo 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
TestFetchManifestRepo_SparseLocal PASS 1.330s
TestFetchManifestRepo_PartialCloneFilter PASS 1.180s
TestFetchManifestRepo_TokenNotInGitConfig PASS 1.340s
keskikuja.site/agent-platform/api/internal/handlers230 tests606.34s
Test Status Time
TestMain FAIL
Failed 2026/08/11 06:31:33 INFO migrations applied duration=4.098130506s panic: test timed out after 10m0s running tests: TestCreateRepository_Success (2s) goroutine 739 [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]: testing.(*T).Run(0x5d005ab8248, {0x1a83433?, 0x0?}, 0x1b6c1d8) /usr/local/go/src/testing/testing.go:2109 +0x4e5 testing.runTests.func1(0x5d005ab8248) /usr/local/go/src/testing/testing.go:2585 +0x3e testing.tRunner(0x5d005ab8248, 0x5d0059bdb38) /usr/local/go/src/testing/testing.go:2036 +0xea testing.runTests({0x1a8d582, 0x21}, {0x1ab8388, 0x33}, 0x5d00566c090, {0x2b80540, 0x124, 0x124}, {0xc296cee756eb815a, 0x8d2ac5ce4e, ...}) /usr/local/go/src/testing/testing.go:2583 +0x505 testing.(*M).Run(0x5d005a879a0) /usr/local/go/src/testing/testing.go:2443 +0x6ac keskikuja.site/agent-platform/api/internal/handlers_test.TestMain(0x5d005a879a0) /workspace/niko/agent-platform/api/internal/handlers/test_helpers_test.go:55 +0x465 main.main() _testmain.go:642 +0xa5 goroutine 106 [select]: github.com/jackc/pgx/v5/pgxpool.(*Pool).backgroundHealthCheck(0x5d005b2c180) /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 368 [chan receive]: keskikuja.site/agent-platform/api/internal/auth/store.(*MemoryStore).reapLoop(0x5d0056bf6a0, 0x0?) /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 367 /workspace/niko/agent-platform/api/internal/auth/store/memory.go:24 +0xc7 goroutine 403 [chan receive]: keskikuja.site/agent-platform/api/internal/auth/store.(*MemoryStore).reapLoop(0x5d0056bf860, 0x1b6c750?) /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 402 /workspace/niko/agent-platform/api/internal/auth/store/memory.go:24 +0xc7 goroutine 738 [IO wait]: internal/poll.runtime_pollWait(0x7d1c408e8c00, 0x72) /usr/local/go/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x5d005c08680?, 0x5d005afe000?, 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(0x5d005c08680, {0x5d005afe000, 0x2000, 0x2000}) /usr/local/go/src/internal/poll/fd_unix.go:165 +0x2ae net.(*netFD).Read(0x5d005c08680, {0x5d005afe000?, 0x48b2cc?, 0x49e900?}) /usr/local/go/src/net/fd_posix.go:68 +0x25 net.(*conn).Read(0x5d005b02068, {0x5d005afe000?, 0x4e6500?, 0x5d0057ca9f0?}) /usr/local/go/src/net/net.go:196 +0x45 github.com/jackc/pgx/v5/pgconn/internal/bgreader.(*BGReader).Read(0x5d005c065c0, {0x5d005afe000, 0x2000, 0x2000}) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/internal/bgreader/bgreader.go:100 +0xcb io.ReadAtLeast({0x1b7a620, 0x5d005c065c0}, {0x5d005afe000, 0x2000, 0x2000}, 0x5) /usr/local/go/src/io/io.go:335 +0x8e github.com/jackc/pgx/v5/pgproto3.(*chunkReader).Next(0x5d005c135f0, 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(0x5d0059d2908) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgproto3/frontend.go:308 +0x3c github.com/jackc/pgx/v5/pgconn.(*PgConn).peekMessage(0x5d005999688) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/pgconn.go:551 +0x145 github.com/jackc/pgx/v5/pgconn.(*PgConn).receiveMessage(0x5d005999688) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/pgconn.go:571 +0x1c github.com/jackc/pgx/v5/pgconn.(*MultiResultReader).receiveMessage(0x5d0059997a0) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/pgconn.go:1437 +0x1f github.com/jackc/pgx/v5/pgconn.(*MultiResultReader).NextResult(0x5d0059997a0) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/pgconn.go:1461 +0x4b github.com/jackc/pgx/v5.(*Conn).execSimpleProtocol(0x185e960?, {0x1b97208?, 0x2bb5300?}, {0x1af2be4?, 0x9abd42?}, {0x0?, 0x5d005674a58?, 0x5d005674a40?}) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/conn.go:562 +0xb0 github.com/jackc/pgx/v5.(*Conn).exec(0x5d005c0a900, {0x1b97208, 0x2bb5300}, {0x1af2be4, 0x7b}, {0x0?, 0x1b97208?, 0x2b92900?}) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/conn.go:547 +0x5dd github.com/jackc/pgx/v5.(*Conn).Exec(0x5d005c0a900, {0x1b97208?, 0x2bb5300?}, {0x1af2be4, 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(0x5d005b2c180?, {0x1b97208?, 0x2bb5300?}, {0x1af2be4?, 0x5d005674c38?}, {0x0?, 0x185c0c0?, 0x5d005a37080?}) /go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgxpool/conn.go:87 +0x3c github.com/jackc/pgx/v5/pgxpool.(*Pool).Exec(0x185c0c0?, {0x1b97208, 0x2bb5300}, {0x1af2be4, 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(0x5d005a1dd48) /workspace/niko/agent-platform/api/internal/handlers/test_helpers_test.go:65 +0x4d keskikuja.site/agent-platform/api/internal/handlers_test.newTestRepoHandler(0x5d005a1dd48) /workspace/niko/agent-platform/api/internal/handlers/repository_handler_test.go:27 +0x28 keskikuja.site/agent-platform/api/internal/handlers_test.TestCreateRepository_Success(0x5d005a1dd48) /workspace/niko/agent-platform/api/internal/handlers/repository_handler_test.go:47 +0x2a testing.tRunner(0x5d005a1dd48, 0x1b6c1d8) /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 606.336s
0.000s
TestCreateRepository_Success FAIL
Failed === RUN TestCreateRepository_Success coverage: 37.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, keskikuja.site/agent-platform/api/internal/vikunja
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 1.460s
TestUpsertUser_UpdateExisting PASS 1.450s
TestUpsertUser_NullImage PASS 1.560s
TestCreateBotAccount_Success PASS 1.540s
TestCreateBotAccount_TokenEncryptedInDB PASS 1.650s
TestCreateBotAccount_MissingName PASS 1.730s
TestCreateBotAccount_NameTooShort PASS 2.230s
TestCreateBotAccount_MissingToken PASS 1.420s
TestGetBotAccount_Success PASS 1.700s
TestGetBotAccount_NotFound PASS 2.100s
TestListBotAccounts PASS 1.620s
TestUpdateBotAccount_Success PASS 14.920s
TestUpdateBotAccount_NewToken PASS 5.930s
TestUpdateBotAccount_EmptyTokenDoesNotOverwrite PASS 1.610s
TestDeleteBotAccount_NotInUse PASS 1.820s
TestDeleteBotAccount_InUse PASS 2.000s
TestBotAccountEndpoints_NoSession PASS 1.560s
TestListBotAccounts_EmptyList PASS 2.420s
TestCreateBotAccount_DescriptionMax PASS 1.750s
TestCreateContainerRegistry_Success PASS 4.440s
TestCreateContainerRegistry_TokenEncryptedInDB PASS 6.880s
TestCreateContainerRegistry_PublicRegistryWithoutToken PASS 1.490s
TestCreateContainerRegistry_MissingName PASS 1.610s
TestCreateContainerRegistry_MissingURL PASS 8.670s
TestCreateContainerRegistry_InvalidURL PASS 1.200s
TestCreateContainerRegistry_InvalidNameLength PASS 2.940s
TestCreateContainerRegistry_DuplicateName PASS 1.050s
TestGetContainerRegistry_Success PASS 1.150s
TestGetContainerRegistry_NotFound PASS 1.500s
TestListContainerRegistries PASS 2.160s
TestListContainerRegistries_EmptyList PASS 0.950s
TestUpdateContainerRegistry_Success PASS 1.880s
TestUpdateContainerRegistry_NewToken PASS 2.090s
TestUpdateContainerRegistry_ClearToken PASS 6.170s
TestUpdateContainerRegistry_OmittedTokenKeepsExisting PASS 3.550s
TestUpdateContainerRegistry_EmptyBody PASS 3.740s
TestUpdateContainerRegistry_InvalidURL PASS 4.220s
TestUpdateContainerRegistry_InvalidNameLength PASS 4.080s
TestUpdateContainerRegistry_DuplicateName PASS 2.670s
TestUpdateContainerRegistry_NotFound PASS 2.370s
TestDeleteContainerRegistry_Success PASS 3.620s
TestDeleteContainerRegistry_NotFound PASS 2.520s
TestContainerRegistryEndpoints_NoSession PASS 2.290s
TestHealth PASS 4.180s
TestReady_Success PASS 2.390s
TestReady_DBDown PASS 0.210s
TestCheck_Success PASS 1.850s
TestCheck_DBDown PASS 0.160s
TestReady_ContextTimeout PASS 2.530s
TestCheck_NilRequest PASS 2.390s
TestUserHealth_NoAuth PASS 4.880s
TestUserHealth_ApiKey PASS 2.630s
TestUserHealth_SessionCookie PASS 4.390s
TestUserHealth_ExpiredSession PASS 2.160s
TestUserHealth_InvalidApiKey PASS 3.800s
TestParseLaneConfig_ValidFull PASS 0.000s
TestParseLaneConfig_StartOnly PASS 0.000s
TestParseLaneConfig_NoLanes_FreeForm PASS 0.000s
TestParseLaneConfig_Errors/lanes_not_an_object PASS 0.000s
TestParseLaneConfig_Errors/start_missing PASS 0.000s
TestParseLaneConfig_Errors/start_not_an_array PASS 0.000s
TestParseLaneConfig_Errors/start_empty PASS 0.000s
TestParseLaneConfig_Errors/start_non-positive PASS 0.000s
TestParseLaneConfig_Errors/start_negative PASS 0.000s
TestParseLaneConfig_Errors/start_fraction PASS 0.000s
TestParseLaneConfig_Errors/start_string_element PASS 0.000s
TestParseLaneConfig_Errors/start_duplicate PASS 0.000s
TestParseLaneConfig_Errors/unknown_lane_key PASS 0.000s
TestParseLaneConfig_Errors/lane_value_non-positive PASS 0.000s
TestParseLaneConfig_Errors/lane_value_wrong_type PASS 0.000s
TestParseLaneConfig_Errors/duplicate_across_lanes PASS 0.000s
TestParseLaneConfig_Errors PASS 0.000s
TestLintLaneConfig_ValidFull_Clean PASS 0.000s
TestLintLaneConfig_NoLanes_NoIssues PASS 0.000s
TestLintLaneConfig_Warnings_UnconfiguredOptionalLanes PASS 0.000s
TestLintLaneConfig_ErrorRules/lanes_not_an_object PASS 0.000s
TestLintLaneConfig_ErrorRules/start_missing PASS 0.000s
TestLintLaneConfig_ErrorRules/start_not_an_array PASS 0.000s
TestLintLaneConfig_ErrorRules/start_empty PASS 0.000s
TestLintLaneConfig_ErrorRules/start_non-positive PASS 0.000s
TestLintLaneConfig_ErrorRules/start_duplicate PASS 0.000s
TestLintLaneConfig_ErrorRules/unknown_lane_key PASS 0.000s
TestLintLaneConfig_ErrorRules/lane_value_non-positive PASS 0.000s
TestLintLaneConfig_ErrorRules/lane_value_wrong_type PASS 0.000s
TestLintLaneConfig_ErrorRules/duplicate_across_lanes PASS 0.000s
TestLintLaneConfig_ErrorRules PASS 0.000s
TestLintLaneConfig_MultipleErrorsCollected PASS 0.000s
TestLintLaneConfig_UnparseableConfig_Error PASS 0.000s
TestStartLanes PASS 0.000s
TestCreateLlmConfig_Success PASS 2.360s
TestCreateLlmConfig_ApiKeyEncryptedInDB PASS 4.240s
TestCreateLlmConfig_MissingName PASS 1.700s
TestCreateLlmConfig_NameTooShort PASS 2.170s
TestCreateLlmConfig_MissingApiKey PASS 3.610s
TestCreateLlmConfig_DuplicateName PASS 1.960s
TestGetLlmConfig_Success PASS 1.870s
TestGetLlmConfig_NotFound PASS 3.970s
TestListLlmConfigs PASS 3.900s
TestListLlmConfigs_EmptyList PASS 3.910s
TestUpdateLlmConfig_Success PASS 9.410s
TestUpdateLlmConfig_NewApiKey PASS 5.480s
TestUpdateLlmConfig_EmptyApiKeyDoesNotOverwrite PASS 4.760s
TestUpdateLlmConfig_MissingApiKeyDoesNotOverwrite PASS 3.580s
TestUpdateLlmConfig_DuplicateName PASS 12.750s
TestUpdateLlmConfig_NotFound PASS 2.600s
TestDeleteLlmConfig_Success PASS 4.360s
TestDeleteLlmConfig_NotFound PASS 2.680s
TestLlmConfigEndpoints_NoSession PASS 6.560s
TestCreatePipeline_Success PASS 14.940s
TestCreatePipeline_WithBaseBranch PASS 14.790s
TestCreatePipeline_DefaultBaseBranch PASS 2.670s
TestUpdatePipeline_BaseBranch PASS 4.640s
TestCreatePipeline_MissingName PASS 3.850s
TestCreatePipeline_InvalidProjectId PASS 6.890s
TestGetPipeline_Success PASS 3.240s
TestGetPipeline_NotFound PASS 2.570s
TestListPipelinesByProject PASS 2.260s
TestListPipelinesByProject_NotFound PASS 2.940s
TestListPipelines_FilterEnabled PASS 6.830s
TestUpdatePipeline_Success PASS 1.660s
TestUpdatePipeline_NotFound PASS 4.720s
TestDeletePipeline_Success PASS 3.040s
TestDeletePipeline_NotFound PASS 2.460s
TestGetProjectDetail_IncludesPipelines PASS 5.930s
TestCreatePipeline_WithoutOutputBranch PASS 3.450s
TestCreatePipeline_WithEmptyOutputBranch PASS 9.690s
TestCreatePipeline_WithOutputBranch PASS 5.450s
TestCreatePipeline_WithConfig PASS 3.340s
TestCreatePipeline_ConfigValidation/array_rejected PASS 4.710s
TestCreatePipeline_ConfigValidation/string_rejected PASS 3.200s
TestCreatePipeline_ConfigValidation/null_accepted PASS 5.550s
TestCreatePipeline_ConfigValidation/object_accepted PASS 5.210s
TestCreatePipeline_ConfigValidation PASS 18.670s
TestUpdatePipeline_NullifyOutputBranch PASS 3.710s
TestUpdatePipeline_Config PASS 2.700s
TestCreatePipeline_WithSkillRepos PASS 1.740s
TestCreatePipeline_EmptySkillRepos PASS 1.120s
TestCreatePipeline_SkillReposValidation/valid_list_accepted PASS 1.440s
TestCreatePipeline_SkillReposValidation/empty_list_accepted PASS 1.530s
TestCreatePipeline_SkillReposValidation/null_accepted PASS 0.970s
TestCreatePipeline_SkillReposValidation/nonexistent_repository_rejected PASS 1.110s
TestCreatePipeline_SkillReposValidation/duplicate_repository_rejected PASS 1.010s
TestCreatePipeline_SkillReposValidation/slug_collision_rejected PASS 1.030s
TestCreatePipeline_SkillReposValidation/over_cap_rejected PASS 0.970s
TestCreatePipeline_SkillReposValidation/malformed_uuid_rejected PASS 0.850s
TestCreatePipeline_SkillReposValidation PASS 8.900s
TestGetAndListPipelines_ReturnSkillRepos PASS 0.860s
TestUpdatePipeline_SkillRepos PASS 0.880s
TestUpdatePipeline_SkillReposToEmpty PASS 2.040s
TestUpdatePipeline_SkillReposAbsentKeepsExisting PASS 0.850s
TestUpdatePipeline_SkillReposValidation/nonexistent_repository PASS 0.720s
TestUpdatePipeline_SkillReposValidation/duplicate_repositories PASS 0.790s
TestUpdatePipeline_SkillReposValidation/slug_collision PASS 0.870s
TestUpdatePipeline_SkillReposValidation/over_cap PASS 0.790s
TestUpdatePipeline_SkillReposValidation PASS 3.180s
TestUpdatePipeline_SkillReposOnly_UpdateQueryIncludesUpdatedBy PASS 6.050s
TestUpdatePipeline_NoFields_NoOpGuardSkipsUpdate PASS 2.920s
TestCreatePipeline_ResponseFetchBeforeCommit PASS 2.130s
TestUpdatePipeline_ResponseFetchBeforeCommit PASS 2.120s
TestCreatePipeline_SkillRepoValidationInsideTx PASS 1.530s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422/create_rejects_symbol-only_repo PASS 0.000s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422/update_rejects_symbol-only_repo PASS 0.000s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422 PASS 1.990s
TestCreatePipeline_TruncationBoundarySlugCollisionGets422 PASS 1.850s
TestCreatePipeline_SkillRepoValidationErrorsAre422/missing_repository PASS 1.800s
TestCreatePipeline_SkillRepoValidationErrorsAre422/slug_collision PASS 1.640s
TestCreatePipeline_SkillRepoValidationErrorsAre422 PASS 3.450s
TestCreatePipeline_SkillRepoDBFailureIs500 PASS 1.800s
TestUpdatePipeline_WriteOnlySecrets_StoredEncryptedNotReturned PASS 1.830s
TestGetPipeline_DoesNotReturnWriteOnlySecrets PASS 2.400s
TestCreatePipeline_LaneConfigLint/valid_full_lanes_accepted PASS 1.820s
TestCreatePipeline_LaneConfigLint/warnings-only_accepted PASS 3.070s
TestCreatePipeline_LaneConfigLint/free-form_config_without_lanes_accepted PASS 2.430s
TestCreatePipeline_LaneConfigLint/lanes_not_an_object_rejected PASS 9.130s
TestCreatePipeline_LaneConfigLint/start_missing_rejected PASS 5.030s
TestCreatePipeline_LaneConfigLint/start_empty_rejected PASS 5.620s
TestCreatePipeline_LaneConfigLint/start_non-positive_rejected PASS 4.960s
TestCreatePipeline_LaneConfigLint/start_duplicate_rejected PASS 5.990s
TestCreatePipeline_LaneConfigLint/unknown_lane_key_rejected PASS 3.270s
TestCreatePipeline_LaneConfigLint/duplicate_across_lanes_rejected PASS 2.420s
TestCreatePipeline_LaneConfigLint PASS 43.740s
TestCreatePipeline_LaneConfigLint_422BodyShape PASS 3.260s
TestUpdatePipeline_LaneConfigLint/valid_lanes_accepted PASS 3.480s
TestUpdatePipeline_LaneConfigLint/warnings-only_accepted PASS 4.920s
TestUpdatePipeline_LaneConfigLint/free-form_config_without_lanes_accepted PASS 7.400s
TestUpdatePipeline_LaneConfigLint/invalid_lanes_rejected PASS 4.990s
TestUpdatePipeline_LaneConfigLint/unknown_lane_key_rejected PASS 4.280s
TestUpdatePipeline_LaneConfigLint PASS 25.080s
TestUpdatePipeline_LaneConfigLint_422BodyShape PASS 4.400s
TestCreateProject_Success PASS 6.010s
TestCreateProject_MissingName PASS 6.830s
TestCreateProject_TooShortName PASS 2.850s
TestGetProject_Success PASS 1.820s
TestGetProject_NotFound PASS 1.950s
TestListProjects_DefaultPagination PASS 3.460s
TestListProjects_SortByNameAsc PASS 1.650s
TestListProjects_InvalidSortField PASS 1.730s
TestUpdateProject_Success PASS 2.440s
TestUpdateProject_NotFound PASS 1.650s
TestDeleteProject_Success PASS 1.620s
TestDeleteProject_NotFound PASS 2.350s
TestProjectEndpoints_NoSession PASS 5.180s
TestProjectHandler_Create_WithConfig PASS 5.170s
TestProjectHandler_Create_WithSecrets PASS 4.850s
TestProjectHandler_Create_ConfigValidation/empty_object PASS 0.020s
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.020s
TestProjectHandler_Create_ConfigValidation PASS 4.550s
TestProjectHandler_Update_Config PASS 6.960s
TestProjectHandler_GetDecryptedSecrets PASS 4.350s
TestProjectHandler_Get_StripsSecretsEncrypted PASS 4.680s
TestGetDecryptedSecrets_NoSecrets PASS 3.390s
TestProjectHandler_Update_Secrets PASS 5.250s
TestProjectHandler_Update_Secrets_PlainStringRejected PASS 4.900s
TestProjectHandler_Update_Secrets_EmptyStringRejected PASS 4.330s
TestProjectHandler_Create_Config_DuplicateVikunjaProjectID PASS 5.590s
TestProjectHandler_Create_Config_UnclaimedVikunjaProjectID PASS 3.400s
TestProjectHandler_Update_Config_DuplicateVikunjaProjectID PASS 3.750s
TestProjectHandler_Update_Config_SameVikunjaProjectID_Kept PASS 5.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/monitor16 tests69.09s
Test Status Time
TestCheckOne_Connected PASS 4.300s
TestCheckOne_Disconnected PASS 3.720s
TestCheckOne_UpdatesDBStatus PASS 4.160s
TestCheckOne_UpdatesLastCheckedAt PASS 2.620s
TestCheckOne_WithEncryptedToken PASS 3.980s
TestCheckAll_IteratesAllRepos PASS 5.370s
TestCheckOne_WithCorruptToken_ProceedsWithoutToken PASS 3.780s
TestStartStop_RunsUntilCancelled PASS 5.560s
TestStartStop_StopIsIdempotent PASS 3.750s
TestRunWatchdog_JobFailed_MarksRunFailed PASS 4.080s
TestRunWatchdog_JobSucceededWithoutCallback_MarksRunFailed PASS 3.440s
TestRunWatchdog_NoJobTimeout_MarksRunFailed PASS 2.940s
TestRunWatchdog_WithinTimeout_NotModified PASS 3.970s
TestRunWatchdog_AlreadyCompleted_NotModified PASS 2.370s
TestRunWatchdog_StartStop_Lifecycle PASS 3.810s
TestRunWatchdog_JobFailed_MarksFailedAndSyncsVikunja PASS 4.110s
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/k8s61 tests15.67s
Test Status Time
TestDiscoverManifestFiles_WorkflowsAndAgents PASS 0.000s
TestDiscoverManifestFiles_MissingManifestDir PASS 0.000s
TestDiscoverManifestFiles_OnlyYaml PASS 0.000s
TestLoadPipelineManifest_Match PASS 0.000s
TestLoadPipelineManifest_NotFoundListsAvailable PASS 0.000s
TestLoadPipelineManifest_UnparsableYaml PASS 0.000s
TestParseEnvRef_Valid PASS 0.000s
TestParseEnvRef_Invalid PASS 0.000s
TestParseEnvRefs_SortedAndDeterministic PASS 0.000s
TestParseEnvRefs_InvalidValueNamesEnv PASS 0.000s
TestBuildEnvContainers_SlugNamesAndPolicy PASS 0.000s
TestBuildEnvContainers_SlugCollisionFails/same_slug_after_collapse PASS 0.000s
TestBuildEnvContainers_SlugCollisionFails/collision_at_64-char_truncation_boundary PASS 0.000s
TestBuildEnvContainers_SlugCollisionFails PASS 0.000s
TestRegistryHost_StripsSchemeKeepsPort PASS 0.000s
TestRegistryHost_Invalid PASS 0.000s
TestBuildDockerConfigJSON_AuthsKeyNoScheme PASS 0.000s
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.750s
TestStart_SKILL_REPOS_Present PASS 0.600s
TestStart_SKILL_REPOS_AbsentWhenEmpty PASS 0.420s
TestStart_PREnvvars PASS 0.610s
TestStart_TicketEnvVars PASS 0.460s
TestStart_TicketEmptyBaseBranch PASS 0.500s
TestStart_NoPR PASS 0.490s
TestStart_WithBotToken PASS 0.510s
TestStart_ManifestRepoToken/with_bot_account_token PASS 0.430s
TestStart_ManifestRepoToken/without_bot_account_token PASS 0.590s
TestStart_ManifestRepoToken PASS 1.020s
TestStart_SkillRepoDecryptTokenError PASS 0.560s
TestStart_BranchProfileBaseBranch PASS 1.560s
TestStart_NoBotToken PASS 0.470s
TestStart_DecryptTokenError PASS 0.000s
TestStart_GiteaBaseURLParsing PASS 0.330s
TestStart_RepoURLNoHost PASS 0.000s
TestStart_LangfuseEnvVars PASS 0.540s
TestStart_DefaultNamespace PASS 0.550s
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
TestStart_WithEnvContainers PASS 0.600s
TestStart_ImagePullSecretOwnedByJob PASS 0.760s
TestStart_EnvFreeInvariant PASS 1.130s
TestStart_ManifestFetchFails PASS 0.060s
TestStart_PipelineManifestNotFound PASS 0.470s
TestStart_UnknownRegistry PASS 1.530s
TestStart_EnvValueMissingTag PASS 0.520s
keskikuja.site/agent-platform/api/internal/swagger0 tests0.00s
Test Status Time
keskikuja.site/agent-platform/api/internal/vikunja13 tests2.83s
Test Status Time
TestPostComment_Success PASS 0.000s
TestUpdateComment_Success PASS 0.000s
TestMoveTask_Success PASS 0.000s
TestPostComment_TransportError_RetriesThenSucceeds PASS 0.400s
TestPostComment_5xx_RetriesThenFails PASS 1.200s
TestPostComment_5xx_ThenSuccess PASS 1.200s
TestMoveTask_4xx_NoRetry PASS 0.000s
TestPostComment_WrongStatus_NoRetry PASS 0.000s
TestPostComment_MissingIDInResponse PASS 0.000s
TestNewClient_TrimsTrailingSlash PASS 0.000s
TestMoveTask_ContextCancelled_Aborts PASS 0.000s
TestPostComment_ResponseBodyJSONShape PASS 0.000s
TestMoveTask_RequestBodyIsBucketID PASS 0.000s