Go Test Report

626
Total
626
Passed
0
Failed
188.99
Seconds
keskikuja.site/agent-platform/api/internal/auth15 tests0.08s
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.040s
TestAuthMiddlewareValidToken PASS 0.000s
TestAuthMiddlewareInvalidToken PASS 0.000s
TestAuthMiddlewareMissingHeader PASS 0.000s
keskikuja.site/agent-platform/api/internal/auth/store7 tests0.12s
Test Status Time
TestMemoryStore_CreateAndGet PASS 0.040s
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.03s
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 tests20.42s
Test Status Time
TestMigrateUpDown PASS 20.370s
keskikuja.site/agent-platform/api/internal/git51 tests38.94s
Test Status Time
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
TestValidateRepoURL/https_with_token PASS 0.000s
TestValidateRepoURL/https_without_token PASS 0.000s
TestValidateRepoURL/http_without_token PASS 0.000s
TestValidateRepoURL/http_with_token PASS 0.000s
TestValidateRepoURL/ftp_scheme PASS 0.000s
TestValidateRepoURL/file_scheme PASS 0.000s
TestValidateRepoURL/file_scheme_with_token PASS 0.000s
TestValidateRepoURL/ssh_scheme PASS 0.000s
TestValidateRepoURL/no_scheme PASS 0.000s
TestValidateRepoURL/empty PASS 0.000s
TestValidateRepoURL PASS 0.000s
TestCheckHealth_RejectsUnsupportedScheme PASS 0.000s
TestClone_RejectsTokenOverHTTP PASS 0.070s
TestFetchManifestRepo_RejectsUnsupportedScheme PASS 0.000s
TestWriteAuthConfig_EmptyToken PASS 0.000s
TestWriteAuthConfig_Content PASS 0.080s
TestWriteAuthConfig_ScopedToPort PASS 0.040s
TestBuildGitEnv_NoAmbientGitConfig PASS 0.020s
TestBuildGitEnv_EmptyToken PASS 0.000s
TestAuthConfig_NoLeftoverFiles PASS 3.140s
TestRunGit_KillsProcessGroupOnTimeout PASS 0.220s
TestParseTimeoutSeconds_Default PASS 0.000s
TestParseTimeoutSeconds_EnvValue PASS 0.000s
TestParseTimeoutSeconds_InvalidIsHardError PASS 0.000s
TestFetchManifestRepo_EnvTimeoutApplied PASS 0.010s
TestFetchManifestRepo_EnvTimeoutKillsSlowGit PASS 1.000s
TestClone_FailureRemovesPartialDest PASS 0.000s
TestCheckHealth_Connected PASS 1.830s
TestCheckHealth_Disconnected PASS 0.030s
TestCheckHealth_WithToken PASS 3.090s
TestCheckHealth_Timeout PASS 2.000s
TestClone_PublicRepo PASS 2.840s
TestClone_NonExistentRepo PASS 0.870s
TestClone_WithToken PASS 2.870s
TestClone_CustomDirectory PASS 2.020s
TestCreateBranch_Success PASS 1.860s
TestCreateBranch_EmptyString PASS 0.000s
TestCreateBranch_MainProtected PASS 0.000s
TestCreateBranch_MasterProtected PASS 0.000s
TestCreateBranch_GuardMessage PASS 0.000s
TestFetchManifestRepo_SparseHTTP PASS 7.050s
TestFetchManifestRepo_PartialCloneFilter PASS 7.030s
TestFetchManifestRepo_TokenNotInGitConfig PASS 2.750s
TestFetchManifestRepo_NonExistentRepo PASS 0.070s
keskikuja.site/agent-platform/api/internal/handlers413 tests84.42s
Test Status Time
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 0.720s
TestUpsertUser_UpdateExisting PASS 0.270s
TestUpsertUser_NullImage PASS 0.210s
TestCreateBotAccount_Success PASS 0.170s
TestCreateBotAccount_TokenEncryptedInDB PASS 0.180s
TestCreateBotAccount_MissingName PASS 0.160s
TestCreateBotAccount_NameTooShort PASS 0.190s
TestCreateBotAccount_MissingToken PASS 0.200s
TestGetBotAccount_Success PASS 0.190s
TestGetBotAccount_NotFound PASS 0.180s
TestListBotAccounts PASS 0.190s
TestUpdateBotAccount_Success PASS 0.200s
TestUpdateBotAccount_NewToken PASS 0.220s
TestUpdateBotAccount_EmptyTokenDoesNotOverwrite PASS 0.210s
TestDeleteBotAccount_NotInUse PASS 0.200s
TestDeleteBotAccount_InUse PASS 0.200s
TestBotAccountEndpoints_NoSession PASS 0.180s
TestListBotAccounts_EmptyList PASS 0.250s
TestCreateBotAccount_DescriptionMax PASS 0.160s
TestGetPipelineConfigSchema PASS 0.000s
TestCreateContainerRegistry_Success PASS 0.170s
TestCreateContainerRegistry_TokenEncryptedInDB PASS 0.150s
TestCreateContainerRegistry_PublicRegistryWithoutToken PASS 0.160s
TestCreateContainerRegistry_MissingName PASS 0.170s
TestCreateContainerRegistry_MissingURL PASS 0.150s
TestCreateContainerRegistry_InvalidURL PASS 0.140s
TestCreateContainerRegistry_InvalidNameLength PASS 0.150s
TestCreateContainerRegistry_DuplicateName PASS 0.140s
TestGetContainerRegistry_Success PASS 0.160s
TestGetContainerRegistry_NotFound PASS 0.130s
TestListContainerRegistries PASS 0.510s
TestListContainerRegistries_EmptyList PASS 0.160s
TestUpdateContainerRegistry_Success PASS 0.160s
TestUpdateContainerRegistry_NewToken PASS 0.180s
TestUpdateContainerRegistry_ClearToken PASS 0.160s
TestUpdateContainerRegistry_OmittedTokenKeepsExisting PASS 0.140s
TestUpdateContainerRegistry_EmptyBody PASS 0.160s
TestUpdateContainerRegistry_InvalidURL PASS 0.160s
TestUpdateContainerRegistry_InvalidNameLength PASS 0.160s
TestUpdateContainerRegistry_DuplicateName PASS 0.150s
TestUpdateContainerRegistry_NotFound PASS 0.150s
TestDeleteContainerRegistry_Success PASS 0.140s
TestDeleteContainerRegistry_NotFound PASS 0.140s
TestContainerRegistryEndpoints_NoSession/list PASS 0.000s
TestContainerRegistryEndpoints_NoSession/create PASS 0.000s
TestContainerRegistryEndpoints_NoSession/get PASS 0.000s
TestContainerRegistryEndpoints_NoSession/update PASS 0.000s
TestContainerRegistryEndpoints_NoSession/delete PASS 0.000s
TestContainerRegistryEndpoints_NoSession PASS 0.140s
TestHealth PASS 0.170s
TestReady_Success PASS 0.150s
TestReady_DBDown PASS 0.080s
TestCheck_Success PASS 0.150s
TestCheck_DBDown PASS 0.040s
TestReady_ContextTimeout PASS 0.150s
TestCheck_NilRequest PASS 0.130s
TestUserHealth_NoAuth PASS 0.180s
TestUserHealth_ApiKey PASS 0.160s
TestUserHealth_SessionCookie PASS 0.140s
TestUserHealth_ExpiredSession PASS 0.160s
TestUserHealth_InvalidApiKey PASS 0.150s
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_UnknownKeys_Errors/undeclared_root_key PASS 0.000s
TestLintLaneConfig_UnknownKeys_Errors/multiple_undeclared_root_keys PASS 0.000s
TestLintLaneConfig_UnknownKeys_Errors/undeclared_vikunja_key PASS 0.000s
TestLintLaneConfig_UnknownKeys_Errors/root_and_vikunja_keys_combined PASS 0.000s
TestLintLaneConfig_UnknownKeys_Errors/undeclared_root_key_with_valid_lanes PASS 0.000s
TestLintLaneConfig_UnknownKeys_Errors/non-object_vikunja_with_undeclared_root_key PASS 0.000s
TestLintLaneConfig_UnknownKeys_Errors PASS 0.000s
TestLintLaneConfig_Warnings_UnconfiguredOptionalLanes PASS 0.000s
TestLintLaneConfig_ErrorRules/lanes_not_an_object PASS 0.000s
TestLintLaneConfig_ErrorRules/vikunja_not_an_object PASS 0.000s
TestLintLaneConfig_ErrorRules/vikunja_not_an_object_(array) PASS 0.000s
TestLintLaneConfig_ErrorRules/vikunja_null 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 0.160s
TestCreateLlmConfig_ApiKeyEncryptedInDB PASS 0.140s
TestCreateLlmConfig_MissingName PASS 0.140s
TestCreateLlmConfig_NameTooShort PASS 0.170s
TestCreateLlmConfig_MissingApiKey PASS 0.150s
TestCreateLlmConfig_DuplicateName PASS 0.150s
TestGetLlmConfig_Success PASS 0.170s
TestGetLlmConfig_NotFound PASS 0.150s
TestListLlmConfigs PASS 0.170s
TestListLlmConfigs_EmptyList PASS 0.150s
TestUpdateLlmConfig_Success PASS 0.150s
TestUpdateLlmConfig_NewApiKey PASS 0.150s
TestUpdateLlmConfig_EmptyApiKeyDoesNotOverwrite PASS 0.140s
TestUpdateLlmConfig_MissingApiKeyDoesNotOverwrite PASS 0.150s
TestUpdateLlmConfig_DuplicateName PASS 0.150s
TestUpdateLlmConfig_NotFound PASS 0.140s
TestDeleteLlmConfig_Success PASS 0.150s
TestDeleteLlmConfig_NotFound PASS 0.180s
TestLlmConfigEndpoints_NoSession PASS 0.160s
TestCreatePipeline_Success PASS 0.180s
TestCreatePipeline_WithPmBotAccount PASS 0.160s
TestCreatePipeline_PmBotAccountNotFound_422 PASS 0.160s
TestUpdatePipeline_PmBotAccountNotFound_422 PASS 0.140s
TestCreatePipeline_WithBaseBranch PASS 0.160s
TestCreatePipeline_DefaultBaseBranch PASS 0.150s
TestUpdatePipeline_BaseBranch PASS 0.150s
TestCreatePipeline_MissingName PASS 0.180s
TestCreatePipeline_InvalidProjectId PASS 0.160s
TestGetPipeline_Success PASS 0.150s
TestGetPipeline_NotFound PASS 0.140s
TestListPipelinesByProject PASS 0.180s
TestListPipelinesByProject_NotFound PASS 0.190s
TestListPipelines_FilterEnabled PASS 0.160s
TestUpdatePipeline_Success PASS 0.200s
TestUpdatePipeline_NotFound PASS 0.160s
TestDeletePipeline_Success PASS 0.530s
TestDeletePipeline_NotFound PASS 0.180s
TestGetProjectDetail_IncludesPipelines PASS 0.200s
TestCreatePipeline_WithoutOutputBranch PASS 0.170s
TestCreatePipeline_WithEmptyOutputBranch PASS 0.190s
TestCreatePipeline_WithOutputBranch PASS 0.220s
TestCreatePipeline_WithConfig PASS 0.200s
TestCreatePipeline_ConfigValidation/array_rejected PASS 0.210s
TestCreatePipeline_ConfigValidation/string_rejected PASS 0.170s
TestCreatePipeline_ConfigValidation/null_accepted PASS 0.210s
TestCreatePipeline_ConfigValidation/object_accepted PASS 0.180s
TestCreatePipeline_ConfigValidation/undeclared_root_key_rejected PASS 0.170s
TestCreatePipeline_ConfigValidation PASS 0.940s
TestUpdatePipeline_NullifyOutputBranch PASS 0.190s
TestUpdatePipeline_Config PASS 0.160s
TestCreatePipeline_WithSkillRepos PASS 0.180s
TestCreatePipeline_EmptySkillRepos PASS 0.180s
TestCreatePipeline_SkillReposValidation/valid_list_accepted PASS 0.180s
TestCreatePipeline_SkillReposValidation/empty_list_accepted PASS 0.160s
TestCreatePipeline_SkillReposValidation/null_accepted PASS 0.160s
TestCreatePipeline_SkillReposValidation/nonexistent_repository_rejected PASS 0.430s
TestCreatePipeline_SkillReposValidation/duplicate_repository_rejected PASS 0.180s
TestCreatePipeline_SkillReposValidation/slug_collision_rejected PASS 0.170s
TestCreatePipeline_SkillReposValidation/over_cap_rejected PASS 0.170s
TestCreatePipeline_SkillReposValidation/malformed_uuid_rejected PASS 0.180s
TestCreatePipeline_SkillReposValidation PASS 1.630s
TestGetAndListPipelines_ReturnSkillRepos PASS 0.190s
TestUpdatePipeline_SkillRepos PASS 0.190s
TestUpdatePipeline_SkillReposToEmpty PASS 0.160s
TestUpdatePipeline_SkillReposAbsentKeepsExisting PASS 0.570s
TestUpdatePipeline_SkillReposValidation/nonexistent_repository PASS 0.170s
TestUpdatePipeline_SkillReposValidation/duplicate_repositories PASS 0.160s
TestUpdatePipeline_SkillReposValidation/slug_collision PASS 0.140s
TestUpdatePipeline_SkillReposValidation/over_cap PASS 0.150s
TestUpdatePipeline_SkillReposValidation PASS 0.630s
TestUpdatePipeline_SkillReposOnly_UpdateQueryIncludesUpdatedBy PASS 0.260s
TestUpdatePipeline_NoFields_NoOpGuardSkipsUpdate PASS 0.230s
TestCreatePipeline_ResponseFetchBeforeCommit PASS 0.270s
TestUpdatePipeline_ResponseFetchBeforeCommit PASS 0.230s
TestCreatePipeline_SkillRepoValidationInsideTx PASS 0.240s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422/create_rejects_symbol-only_repo PASS 0.000s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422/update_rejects_symbol-only_repo PASS 0.000s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422 PASS 0.180s
TestCreatePipeline_TruncationBoundarySlugCollisionGets422 PASS 0.170s
TestCreatePipeline_SkillRepoValidationErrorsAre422/missing_repository PASS 0.160s
TestCreatePipeline_SkillRepoValidationErrorsAre422/slug_collision PASS 0.170s
TestCreatePipeline_SkillRepoValidationErrorsAre422 PASS 0.340s
TestCreatePipeline_SkillRepoDBFailureIs500 PASS 0.180s
TestUpdatePipeline_WriteOnlySecrets_StoredEncryptedNotReturned PASS 0.360s
TestGetPipeline_DoesNotReturnWriteOnlySecrets PASS 1.310s
TestCreatePipeline_LaneConfigLint/valid_full_lanes_accepted PASS 0.330s
TestCreatePipeline_LaneConfigLint/warnings-only_accepted PASS 0.150s
TestCreatePipeline_LaneConfigLint/empty_config_accepted PASS 0.140s
TestCreatePipeline_LaneConfigLint/undeclared_root_key_rejected PASS 0.150s
TestCreatePipeline_LaneConfigLint/undeclared_vikunja_key_rejected PASS 0.160s
TestCreatePipeline_LaneConfigLint/lanes_not_an_object_rejected PASS 0.150s
TestCreatePipeline_LaneConfigLint/start_missing_rejected PASS 0.160s
TestCreatePipeline_LaneConfigLint/start_empty_rejected PASS 0.280s
TestCreatePipeline_LaneConfigLint/start_non-positive_rejected PASS 0.160s
TestCreatePipeline_LaneConfigLint/start_duplicate_rejected PASS 0.230s
TestCreatePipeline_LaneConfigLint/unknown_lane_key_rejected PASS 0.780s
TestCreatePipeline_LaneConfigLint/duplicate_across_lanes_rejected PASS 0.190s
TestCreatePipeline_LaneConfigLint PASS 2.880s
TestCreatePipeline_LaneConfigLint_422BodyShape PASS 0.160s
TestUpdatePipeline_LaneConfigLint/valid_lanes_accepted PASS 0.160s
TestUpdatePipeline_LaneConfigLint/warnings-only_accepted PASS 0.150s
TestUpdatePipeline_LaneConfigLint/empty_config_accepted PASS 0.150s
TestUpdatePipeline_LaneConfigLint/undeclared_root_key_rejected PASS 0.130s
TestUpdatePipeline_LaneConfigLint/undeclared_vikunja_key_rejected PASS 0.150s
TestUpdatePipeline_LaneConfigLint/invalid_lanes_rejected PASS 0.130s
TestUpdatePipeline_LaneConfigLint/unknown_lane_key_rejected PASS 0.140s
TestUpdatePipeline_LaneConfigLint PASS 1.010s
TestUpdatePipeline_LaneConfigLint_422BodyShape PASS 0.140s
TestCreateProject_Success PASS 0.170s
TestCreateProject_MissingName PASS 0.140s
TestCreateProject_TooShortName PASS 0.150s
TestGetProject_Success PASS 0.180s
TestGetProject_NotFound PASS 0.140s
TestListProjects_DefaultPagination PASS 0.140s
TestListProjects_SortByNameAsc PASS 0.140s
TestListProjects_InvalidSortField PASS 0.130s
TestUpdateProject_Success PASS 0.150s
TestUpdateProject_NotFound PASS 0.140s
TestDeleteProject_Success PASS 0.150s
TestDeleteProject_NotFound PASS 0.140s
TestProjectEndpoints_NoSession PASS 0.130s
TestProjectHandler_Create_WithConfig PASS 0.150s
TestProjectHandler_Create_ConfigValidation/empty_object PASS 0.010s
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.150s
TestProjectHandler_Update_Config PASS 0.140s
TestProjectHandler_Create_Config_DuplicateVikunjaProjectID PASS 0.150s
TestProjectHandler_Create_Config_UnclaimedVikunjaProjectID PASS 0.180s
TestProjectHandler_Update_Config_DuplicateVikunjaProjectID PASS 0.160s
TestProjectHandler_Update_Config_SameVikunjaProjectID_Kept PASS 0.140s
TestCreateRepository_Success PASS 0.160s
TestCreateRepository_MissingBotAccountID PASS 0.140s
TestCreateRepository_BotAccountNotFound PASS 0.140s
TestCreateRepository_InvalidName PASS 0.140s
TestCreateRepository_MissingName PASS 0.140s
TestGetRepository_Success PASS 0.150s
TestGetRepository_NotFound PASS 0.140s
TestListRepositories PASS 0.140s
TestGetRepository_HasBotAccountID PASS 0.140s
TestListRepository_HasBotAccountID PASS 0.140s
TestUpdateRepository_Success PASS 0.140s
TestUpdateRepository_ChangeBotAccountID PASS 0.180s
TestUpdateRepository_NotFound PASS 0.160s
TestDeleteRepository_Success PASS 0.160s
TestDeleteRepository_NotFound PASS 0.140s
TestCheckRepositoryHealth_Connected PASS 0.180s
TestCheckRepositoryHealth_Disconnected PASS 0.160s
TestCheckRepositoryHealth_UpdatesDB PASS 0.160s
TestCheckRepositoryHealth_NotFound PASS 0.150s
TestRepositoryEndpoints_NoSession PASS 0.140s
TestCreateRun_ExecutorResourceError_PersistsResourceErrorCode PASS 0.170s
TestCreateRun_Success PASS 0.180s
TestCreateRun_MissingPipelineID PASS 0.150s
TestCreateRun_InvalidPipelineID PASS 0.160s
TestCreateRun_InvalidJSON PASS 0.140s
TestCreateRun_InvalidSourceType PASS 0.140s
TestGetRun_Success PASS 0.160s
TestGetRun_NotFound PASS 0.150s
TestListRuns_ReturnsDefaultPagination PASS 0.160s
TestListRuns_CustomLimitAndOffset PASS 0.160s
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 0.160s
TestListRuns_FilterByPhase PASS 0.130s
TestListRuns_FilterByMultiplePhases PASS 0.140s
TestListRuns_FilterByInvalidPhase PASS 0.130s
TestListRuns_FilterProjectID PASS 0.140s
TestListRuns_FilterPipelineID PASS 0.140s
TestListRuns_FilterSourceType PASS 0.140s
TestListRuns_FilterCreatedAfter PASS 0.140s
TestListRuns_FilterCreatedBefore PASS 0.140s
TestListRuns_FilterSource PASS 0.160s
TestListRuns_SortByStartedAt PASS 0.170s
TestListRuns_FilterMultipleCriteria PASS 0.140s
TestListRuns_SortByCreatedAtDesc PASS 0.240s
TestListRuns_SortByUpdatedAtAsc PASS 0.150s
TestListRuns_InvalidSortField PASS 0.130s
TestListRuns_CursorPagination PASS 0.150s
TestUpdateRun_PhaseOnly PASS 0.160s
TestUpdateRun_Completed PASS 0.160s
TestUpdateRun_Failed PASS 0.150s
TestUpdateRun_Questions_StoredInResultJSON PASS 0.160s
TestUpdateRun_Questions_KeepsPrURL PASS 0.160s
TestUpdateRun_NotFound PASS 0.150s
TestUpdateRun_InvalidPhase PASS 0.180s
TestUpdateRun_NoAuth PASS 0.210s
TestIdempotency_NoKey PASS 0.140s
TestIdempotency_SameKeySameBody PASS 0.170s
TestIdempotency_SameKeyDifferentBody PASS 0.160s
TestHubPublishAndReceive PASS 0.000s
TestHubFilterPhaseMatch PASS 0.000s
TestHubFilterPhaseMismatch PASS 0.200s
TestHubFilterSourceType PASS 0.200s
TestSubscribeSSE_NoAuth PASS 0.140s
TestSubscribeSSE_InvalidAPIKey PASS 0.130s
TestRunCreationPublishesSSEEvent PASS 0.180s
TestSubscribeSSE_Heartbeat PASS 0.220s
TestVikunjaWebhook_TicketContext_HardFail_RunNotExecuted PASS 0.810s
TestVikunjaWebhook_TicketContext_RetryThenSuccess PASS 0.780s
TestVikunjaWebhook_TicketContext_MissingCredentials_HardFail/no_vikunja.url_in_project_config PASS 0.170s
TestVikunjaWebhook_TicketContext_MissingCredentials_HardFail/no_pm_bot_account_id PASS 0.210s
TestVikunjaWebhook_TicketContext_MissingCredentials_HardFail PASS 0.380s
TestVikunjaSync_Jatkoajo_TicketContextHardFail PASS 0.870s
TestVikunjaSync_Exit0_NoPrURL_NoLaneMove_CommentPosted PASS 0.190s
TestVikunjaSync_Blocked_BlockedComment PASS 0.190s
TestVikunjaSync_Blocked_WatchdogMode_GenericComment PASS 0.170s
TestVikunjaSync_ExitCodeLaneMapping/exit_0_→_pr_open_(with_PR) PASS 0.190s
TestVikunjaSync_ExitCodeLaneMapping/exit_1_→_failed PASS 0.190s
TestVikunjaSync_ExitCodeLaneMapping/exit_10_→_open_questions PASS 0.180s
TestVikunjaSync_ExitCodeLaneMapping/exit_11_→_blocked PASS 0.180s
TestVikunjaSync_ExitCodeLaneMapping/exit_20_→_needs_rework PASS 0.200s
TestVikunjaSync_ExitCodeLaneMapping/exit_21_→_pr_rejected PASS 0.200s
TestVikunjaSync_ExitCodeLaneMapping/exit_22_→_open_questions PASS 0.200s
TestVikunjaSync_ExitCodeLaneMapping PASS 1.340s
TestVikunjaSync_UnknownExitCode_NoOp PASS 0.190s
TestVikunjaSync_RepeatedPatch_Idempotent PASS 0.180s
TestVikunjaSync_TargetLaneUndefined_CommentOnly PASS 0.170s
TestVikunjaSync_ErrorComment_IncludesErrorInfo PASS 0.170s
TestVikunjaSync_VikunjaApiError_KeepsRunUpdate_SyncFalse PASS 1.410s
TestVikunjaSync_PrURL_StoredInResultJSON_AndInComment PASS 0.220s
TestVikunjaSync_CommentUpdateInPlace_WhenCommentIDExists PASS 0.220s
TestVikunjaSync_ContinuationRun_Exit20 PASS 0.220s
TestVikunjaSync_NoContinuationRun_WhenNeedsReworkUndefined PASS 0.180s
TestVikunjaSync_NoContinuationRun_WhenPendingRunExists PASS 0.190s
TestVikunjaSync_FailedMode_IgnoresExitCode PASS 0.190s
TestVikunjaSync_Migration020_ColumnsExist PASS 0.180s
TestVikunjaSync_OpenQuestions_QuestionsComment/exit_10_→_open_questions PASS 0.180s
TestVikunjaSync_OpenQuestions_QuestionsComment/exit_22_→_open_questions PASS 0.180s
TestVikunjaSync_OpenQuestions_QuestionsComment PASS 0.350s
TestVikunjaSync_OpenQuestions_EmptyQuestions_GenericComment PASS 0.200s
TestVikunjaSync_OpenQuestions_QuestionsAbsent_GenericComment PASS 0.200s
TestVikunjaSync_ContinuationRun_GetsTicketContext PASS 0.200s
TestVikunjaSync_DoubleSyncSequential_OneExternalSync PASS 0.200s
TestVikunjaSync_FailureRollback_RetryUpdateInPlace PASS 1.430s
TestVikunjaSync_Success_PersistsCommentID PASS 0.230s
TestVikunjaSync_ConcurrentPaths_SingleExternalSync PASS 0.510s
TestVikunjaSync_Migration020_BackfillPresent PASS 0.000s
TestGitHubPR_ValidHMAC_CreatesRun PASS 0.150s
TestGitHubPR_ValidHMAC_StoresPRDescription PASS 0.170s
TestGitHubPR_ValidHMAC_GiteaSignature PASS 0.160s
TestGitHubPR_GiteaSynchronizedAction_CreatesRun PASS 0.160s
TestGitHubPR_NoAPIKeyValidHMAC_Accepted PASS 0.160s
TestGitHubPR_MissingSignature PASS 0.150s
TestGitHubPR_InvalidSignature PASS 0.160s
TestGitHubPR_NonPullRequestEvent PASS 0.170s
TestGitHubPR_DisabledPipeline PASS 0.150s
TestGitHubPR_PipelineNotFound PASS 0.170s
TestGitHubPR_NoWebhookSecret PASS 0.140s
TestGitHubPR_IgnoredAction PASS 0.150s
TestGitHubPR_ExecutorFailure_StillAccepted PASS 0.160s
TestGitHubPR_ExecutorResourceError_PersistsResourceErrorCode PASS 0.160s
TestGitHubPR_InvalidPipelineID PASS 0.140s
TestVikunjaWebhook_ValidHMAC_CreatesRun PASS 0.800s
TestVikunjaWebhook_RealisticPayloadFile PASS 0.180s
TestVikunjaWebhook_InvalidHMAC PASS 0.190s
TestVikunjaWebhook_MissingSignature PASS 0.180s
TestVikunjaWebhook_UniformPreAuthError/unknown_pipeline PASS 0.200s
TestVikunjaWebhook_UniformPreAuthError/disabled_pipeline PASS 0.160s
TestVikunjaWebhook_UniformPreAuthError/webhook_secret_missing PASS 0.230s
TestVikunjaWebhook_UniformPreAuthError/signature_verification_failed PASS 0.180s
TestVikunjaWebhook_UniformPreAuthError PASS 0.770s
TestVikunjaWebhook_MissingEvent PASS 0.210s
TestVikunjaWebhook_MissingTaskID PASS 0.170s
TestVikunjaWebhook_InvalidJSON PASS 0.160s
TestVikunjaWebhook_InvalidPipelineID PASS 0.180s
TestVikunjaWebhook_UnknownPipeline_Uniform401 PASS 0.180s
TestVikunjaWebhook_DisabledPipeline_Uniform401 PASS 0.170s
TestVikunjaWebhook_NoWebhookSecret PASS 0.180s
TestVikunjaWebhook_ProjectIDCrossCheckMismatch_422 PASS 0.200s
TestVikunjaWebhook_ProjectConfigMissingClaim_422 PASS 0.200s
TestVikunjaWebhook_StartLanesNotConfigured PASS 0.200s
TestVikunjaWebhook_MalformedLaneConfig_Precise422 PASS 0.190s
TestVikunjaWebhook_TwoStartLanes_BothTrigger PASS 0.230s
TestVikunjaWebhook_NewTaskNonStartLane_NoRun PASS 0.180s
TestVikunjaWebhook_LaneChangeToStartLane_CreatesRun PASS 0.210s
TestVikunjaWebhook_NullLastBucket_TriggersRun PASS 0.220s
TestVikunjaWebhook_SameLane_NoAutoRerun PASS 0.560s
TestVikunjaWebhook_RunningRun_BlocksNewRun PASS 0.550s
TestVikunjaWebhook_PendingRun_BlocksNewRun PASS 0.190s
TestVikunjaWebhook_StateUpdatedOnEveryEvent PASS 0.250s
TestVikunjaWebhookRoute_NoAPIKey_ReachesHMAC PASS 0.190s
TestVikunjaWebhook_StaleEvent_Ignored PASS 0.220s
TestVikunjaWebhook_EqualTime_Accepted PASS 0.220s
TestVikunjaWebhook_NewerEventAfterStale_Works PASS 0.220s
TestVikunjaWebhook_MissingTime_Processed PASS 0.180s
TestVikunjaWebhook_MalformedTime_Processed PASS 0.200s
TestVikunjaWebhook_BodyTooLarge PASS 0.180s
TestVikunjaWebhook_RunNumbers_SequentialPerPipeline PASS 0.220s
TestVikunjaWebhook_ConcurrentSamePipelineRuns_DistinctRunNumbers PASS 0.270s
TestVikunjaWebhook_ExecutorResourceError_PersistsResourceErrorCode PASS 0.220s
TestVikunjaWebhook_StartComment_Posted PASS 0.210s
TestVikunjaWebhook_StartComment_BestEffortOnError PASS 1.420s
TestVikunjaWebhook_TicketContext_MergedIntoSourceMetadata PASS 0.480s
keskikuja.site/agent-platform/api/internal/model29 tests0.02s
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_UnmarshalJSON_AcceptsConfig 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 tests20.20s
Test Status Time
TestCheckOne_Connected PASS 0.530s
TestCheckOne_Disconnected PASS 0.240s
TestCheckOne_UpdatesDBStatus PASS 0.210s
TestCheckOne_UpdatesLastCheckedAt PASS 0.200s
TestCheckOne_WithEncryptedToken PASS 0.210s
TestCheckAll_IteratesAllRepos PASS 0.350s
TestCheckOne_WithCorruptToken_ProceedsWithoutToken PASS 0.190s
TestStartStop_RunsUntilCancelled PASS 0.310s
TestStartStop_StopIsIdempotent PASS 0.260s
TestRunWatchdog_JobFailed_MarksRunFailed PASS 0.250s
TestRunWatchdog_JobSucceededWithoutCallback_MarksRunFailed PASS 0.250s
TestRunWatchdog_NoJobTimeout_MarksRunFailed PASS 0.230s
TestRunWatchdog_WithinTimeout_NotModified PASS 0.190s
TestRunWatchdog_AlreadyCompleted_NotModified PASS 0.190s
TestRunWatchdog_StartStop_Lifecycle PASS 0.240s
TestRunWatchdog_JobFailed_MarksFailedAndSyncsVikunja PASS 0.210s
keskikuja.site/agent-platform/api/internal/pipeline2 tests0.02s
Test Status Time
TestMockExecutor_Start PASS 0.000s
TestMockExecutor_Interface PASS 0.000s
keskikuja.site/agent-platform/api/internal/pipeline/k8s62 tests19.75s
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 5.650s
TestStart_SKILL_REPOS_Present PASS 1.310s
TestStart_SKILL_REPOS_AbsentWhenEmpty PASS 5.550s
TestStart_PREnvvars PASS 1.570s
TestStart_TicketEnvVars PASS 2.120s
TestStart_TicketContextEnv PASS 0.460s
TestStart_TicketEmptyBaseBranch PASS 0.220s
TestStart_NoPR PASS 0.180s
TestStart_WithBotToken PASS 0.180s
TestStart_ManifestRepoToken/with_bot_account_token PASS 0.160s
TestStart_ManifestRepoToken/without_bot_account_token PASS 0.170s
TestStart_ManifestRepoToken PASS 0.330s
TestStart_SkillRepoDecryptTokenError PASS 0.200s
TestStart_BranchProfileBaseBranch PASS 0.150s
TestStart_NoBotToken PASS 0.150s
TestStart_DecryptTokenError PASS 0.000s
TestStart_GiteaBaseURLParsing PASS 0.180s
TestStart_RepoURLNoHost PASS 0.000s
TestStart_LangfuseEnvVars PASS 0.160s
TestStart_DefaultNamespace PASS 0.190s
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.190s
TestStart_ImagePullSecretOwnedByJob PASS 0.180s
TestStart_EnvFreeInvariant PASS 0.180s
TestStart_ManifestFetchFails PASS 0.030s
TestStart_PipelineManifestNotFound PASS 0.170s
TestStart_UnknownRegistry PASS 0.180s
TestStart_EnvValueMissingTag PASS 0.160s
keskikuja.site/agent-platform/api/internal/schemas1 tests0.06s
Test Status Time
TestPipelineConfigSchema_MatchesLintConstants PASS 0.000s
keskikuja.site/agent-platform/api/internal/swagger0 tests0.00s
Test Status Time
keskikuja.site/agent-platform/api/internal/vikunja20 tests4.94s
Test Status Time
TestPostComment_Success PASS 0.010s
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
TestPostComment_429_ThenSuccess PASS 0.400s
TestPostComment_429_RetriesThenFails 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
TestGetTask_Success PASS 0.000s
TestGetComments_Success PASS 0.000s
TestGetTask_5xx_NoRetry PASS 0.000s
TestGetComments_4xx_NoRetry PASS 0.000s
TestGetComments_EmptyList PASS 0.000s