Go Test Report

466
Total
457
Passed
0
Failed
9
Skipped
538.84
Seconds
keskikuja.site/agent-platform/api/internal/auth15 tests0.01s
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.000s
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 tests5.58s
Test Status Time
TestMigrateUpDown PASS 5.560s
keskikuja.site/agent-platform/api/internal/git9 skipped27 tests5.66s
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.000s
TestCreateBranch_MainProtected PASS 0.000s
TestCreateBranch_MasterProtected PASS 0.000s
TestCreateBranch_GuardMessage PASS 0.000s
TestFetchManifestRepo_SparseLocal PASS 2.820s
TestFetchManifestRepo_PartialCloneFilter PASS 0.440s
TestFetchManifestRepo_TokenNotInGitConfig PASS 0.380s
keskikuja.site/agent-platform/api/internal/handlers295 tests462.82s
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 3.450s
TestUpsertUser_UpdateExisting PASS 2.640s
TestUpsertUser_NullImage PASS 1.880s
TestCreateBotAccount_Success PASS 0.910s
TestCreateBotAccount_TokenEncryptedInDB PASS 1.260s
TestCreateBotAccount_MissingName PASS 1.830s
TestCreateBotAccount_NameTooShort PASS 1.140s
TestCreateBotAccount_MissingToken PASS 0.720s
TestGetBotAccount_Success PASS 0.710s
TestGetBotAccount_NotFound PASS 0.600s
TestListBotAccounts PASS 0.720s
TestUpdateBotAccount_Success PASS 0.950s
TestUpdateBotAccount_NewToken PASS 0.730s
TestUpdateBotAccount_EmptyTokenDoesNotOverwrite PASS 0.590s
TestDeleteBotAccount_NotInUse PASS 0.680s
TestDeleteBotAccount_InUse PASS 0.620s
TestBotAccountEndpoints_NoSession PASS 0.600s
TestListBotAccounts_EmptyList PASS 1.030s
TestCreateBotAccount_DescriptionMax PASS 0.740s
TestCreateContainerRegistry_Success PASS 0.700s
TestCreateContainerRegistry_TokenEncryptedInDB PASS 0.680s
TestCreateContainerRegistry_PublicRegistryWithoutToken PASS 0.670s
TestCreateContainerRegistry_MissingName PASS 0.680s
TestCreateContainerRegistry_MissingURL PASS 0.610s
TestCreateContainerRegistry_InvalidURL PASS 0.710s
TestCreateContainerRegistry_InvalidNameLength PASS 0.630s
TestCreateContainerRegistry_DuplicateName PASS 1.220s
TestGetContainerRegistry_Success PASS 0.630s
TestGetContainerRegistry_NotFound PASS 0.670s
TestListContainerRegistries PASS 0.680s
TestListContainerRegistries_EmptyList PASS 0.670s
TestUpdateContainerRegistry_Success PASS 0.660s
TestUpdateContainerRegistry_NewToken PASS 0.720s
TestUpdateContainerRegistry_ClearToken PASS 0.680s
TestUpdateContainerRegistry_OmittedTokenKeepsExisting PASS 1.060s
TestUpdateContainerRegistry_EmptyBody PASS 0.690s
TestUpdateContainerRegistry_InvalidURL PASS 0.740s
TestUpdateContainerRegistry_InvalidNameLength PASS 1.570s
TestUpdateContainerRegistry_DuplicateName PASS 1.750s
TestUpdateContainerRegistry_NotFound PASS 3.650s
TestDeleteContainerRegistry_Success PASS 2.410s
TestDeleteContainerRegistry_NotFound PASS 2.770s
TestContainerRegistryEndpoints_NoSession PASS 2.260s
TestHealth PASS 2.290s
TestReady_Success PASS 2.650s
TestReady_DBDown PASS 0.100s
TestCheck_Success PASS 3.160s
TestCheck_DBDown PASS 0.040s
TestReady_ContextTimeout PASS 2.350s
TestCheck_NilRequest PASS 3.350s
TestUserHealth_NoAuth PASS 2.970s
TestUserHealth_ApiKey PASS 3.050s
TestUserHealth_SessionCookie PASS 3.360s
TestUserHealth_ExpiredSession PASS 3.330s
TestUserHealth_InvalidApiKey PASS 3.330s
TestCreateLlmConfig_Success PASS 3.410s
TestCreateLlmConfig_ApiKeyEncryptedInDB PASS 2.870s
TestCreateLlmConfig_MissingName PASS 3.180s
TestCreateLlmConfig_NameTooShort PASS 2.730s
TestCreateLlmConfig_MissingApiKey PASS 3.330s
TestCreateLlmConfig_DuplicateName PASS 2.970s
TestGetLlmConfig_Success PASS 3.020s
TestGetLlmConfig_NotFound PASS 2.780s
TestListLlmConfigs PASS 2.040s
TestListLlmConfigs_EmptyList PASS 2.230s
TestUpdateLlmConfig_Success PASS 2.220s
TestUpdateLlmConfig_NewApiKey PASS 1.890s
TestUpdateLlmConfig_EmptyApiKeyDoesNotOverwrite PASS 1.450s
TestUpdateLlmConfig_MissingApiKeyDoesNotOverwrite PASS 1.390s
TestUpdateLlmConfig_DuplicateName PASS 1.700s
TestUpdateLlmConfig_NotFound PASS 2.640s
TestDeleteLlmConfig_Success PASS 1.710s
TestDeleteLlmConfig_NotFound PASS 1.730s
TestLlmConfigEndpoints_NoSession PASS 2.120s
TestCreatePipeline_Success PASS 1.520s
TestCreatePipeline_WithBaseBranch PASS 1.920s
TestCreatePipeline_DefaultBaseBranch PASS 1.400s
TestUpdatePipeline_BaseBranch PASS 2.630s
TestCreatePipeline_MissingName PASS 1.670s
TestCreatePipeline_InvalidProjectId PASS 1.870s
TestGetPipeline_Success PASS 2.360s
TestGetPipeline_NotFound PASS 3.170s
TestListPipelinesByProject PASS 1.790s
TestListPipelinesByProject_NotFound PASS 1.490s
TestListPipelines_FilterEnabled PASS 2.290s
TestUpdatePipeline_Success PASS 1.520s
TestUpdatePipeline_NotFound PASS 2.029s
TestDeletePipeline_Success PASS 1.730s
TestDeletePipeline_NotFound PASS 2.400s
TestGetProjectDetail_IncludesPipelines PASS 4.000s
TestCreatePipeline_WithoutOutputBranch PASS 3.170s
TestCreatePipeline_WithEmptyOutputBranch PASS 3.050s
TestCreatePipeline_WithOutputBranch PASS 2.950s
TestCreatePipeline_WithConfig PASS 2.950s
TestCreatePipeline_ConfigValidation/array_rejected PASS 3.850s
TestCreatePipeline_ConfigValidation/string_rejected PASS 3.140s
TestCreatePipeline_ConfigValidation/null_accepted PASS 3.610s
TestCreatePipeline_ConfigValidation/object_accepted PASS 2.740s
TestCreatePipeline_ConfigValidation PASS 13.350s
TestUpdatePipeline_NullifyOutputBranch PASS 2.100s
TestUpdatePipeline_Config PASS 2.440s
TestCreatePipeline_WithSkillRepos PASS 1.620s
TestCreatePipeline_EmptySkillRepos PASS 1.730s
TestCreatePipeline_SkillReposValidation/valid_list_accepted PASS 1.780s
TestCreatePipeline_SkillReposValidation/empty_list_accepted PASS 2.460s
TestCreatePipeline_SkillReposValidation/null_accepted PASS 2.260s
TestCreatePipeline_SkillReposValidation/nonexistent_repository_rejected PASS 2.170s
TestCreatePipeline_SkillReposValidation/duplicate_repository_rejected PASS 1.320s
TestCreatePipeline_SkillReposValidation/slug_collision_rejected PASS 1.960s
TestCreatePipeline_SkillReposValidation/over_cap_rejected PASS 1.540s
TestCreatePipeline_SkillReposValidation/malformed_uuid_rejected PASS 2.340s
TestCreatePipeline_SkillReposValidation PASS 15.820s
TestGetAndListPipelines_ReturnSkillRepos PASS 1.690s
TestUpdatePipeline_SkillRepos PASS 1.450s
TestUpdatePipeline_SkillReposToEmpty PASS 2.890s
TestUpdatePipeline_SkillReposAbsentKeepsExisting PASS 2.310s
TestUpdatePipeline_SkillReposValidation/nonexistent_repository PASS 2.250s
TestUpdatePipeline_SkillReposValidation/duplicate_repositories PASS 2.390s
TestUpdatePipeline_SkillReposValidation/slug_collision PASS 1.470s
TestUpdatePipeline_SkillReposValidation/over_cap PASS 2.110s
TestUpdatePipeline_SkillReposValidation PASS 8.220s
TestUpdatePipeline_SkillReposOnly_UpdateQueryIncludesUpdatedBy PASS 2.390s
TestUpdatePipeline_NoFields_NoOpGuardSkipsUpdate PASS 2.450s
TestCreatePipeline_ResponseFetchBeforeCommit PASS 2.680s
TestUpdatePipeline_ResponseFetchBeforeCommit PASS 1.960s
TestCreatePipeline_SkillRepoValidationInsideTx PASS 2.620s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422/create_rejects_symbol-only_repo PASS 0.000s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422/update_rejects_symbol-only_repo PASS 0.000s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422 PASS 2.370s
TestCreatePipeline_TruncationBoundarySlugCollisionGets422 PASS 2.110s
TestCreatePipeline_SkillRepoValidationErrorsAre422/missing_repository PASS 1.400s
TestCreatePipeline_SkillRepoValidationErrorsAre422/slug_collision PASS 2.260s
TestCreatePipeline_SkillRepoValidationErrorsAre422 PASS 3.650s
TestCreatePipeline_SkillRepoDBFailureIs500 PASS 2.710s
TestUpdatePipeline_WriteOnlySecrets_StoredEncryptedNotReturned PASS 1.640s
TestGetPipeline_DoesNotReturnWriteOnlySecrets PASS 3.660s
TestCreateProject_Success PASS 1.970s
TestCreateProject_MissingName PASS 1.640s
TestCreateProject_TooShortName PASS 2.940s
TestGetProject_Success PASS 1.900s
TestGetProject_NotFound PASS 1.380s
TestListProjects_DefaultPagination PASS 2.090s
TestListProjects_SortByNameAsc PASS 2.250s
TestListProjects_InvalidSortField PASS 2.070s
TestUpdateProject_Success PASS 1.490s
TestUpdateProject_NotFound PASS 1.400s
TestDeleteProject_Success PASS 2.310s
TestDeleteProject_NotFound PASS 1.720s
TestProjectEndpoints_NoSession PASS 1.280s
TestProjectHandler_Create_WithConfig PASS 0.860s
TestProjectHandler_Create_WithSecrets PASS 1.650s
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 1.260s
TestProjectHandler_Update_Config PASS 0.860s
TestProjectHandler_GetDecryptedSecrets PASS 0.940s
TestProjectHandler_Get_StripsSecretsEncrypted PASS 0.840s
TestGetDecryptedSecrets_NoSecrets PASS 1.430s
TestProjectHandler_Update_Secrets PASS 1.480s
TestProjectHandler_Update_Secrets_PlainStringRejected PASS 0.700s
TestProjectHandler_Update_Secrets_EmptyStringRejected PASS 0.730s
TestProjectHandler_Create_Config_DuplicateVikunjaProjectID PASS 0.920s
TestProjectHandler_Create_Config_UnclaimedVikunjaProjectID PASS 0.980s
TestProjectHandler_Update_Config_DuplicateVikunjaProjectID PASS 0.930s
TestProjectHandler_Update_Config_SameVikunjaProjectID_Kept PASS 1.280s
TestCreateRepository_Success PASS 1.140s
TestCreateRepository_MissingBotAccountID PASS 0.880s
TestCreateRepository_BotAccountNotFound PASS 0.790s
TestCreateRepository_InvalidName PASS 1.690s
TestCreateRepository_MissingName PASS 1.640s
TestGetRepository_Success PASS 1.390s
TestGetRepository_NotFound PASS 1.400s
TestListRepositories PASS 2.160s
TestGetRepository_HasBotAccountID PASS 2.300s
TestListRepository_HasBotAccountID PASS 2.340s
TestUpdateRepository_Success PASS 1.860s
TestUpdateRepository_ChangeBotAccountID PASS 2.110s
TestUpdateRepository_NotFound PASS 2.020s
TestDeleteRepository_Success PASS 1.410s
TestDeleteRepository_NotFound PASS 1.510s
TestCheckRepositoryHealth_Connected PASS 2.670s
TestCheckRepositoryHealth_Disconnected PASS 1.780s
TestCheckRepositoryHealth_UpdatesDB PASS 2.930s
TestCheckRepositoryHealth_NotFound PASS 1.610s
TestRepositoryEndpoints_NoSession PASS 1.680s
TestCreateRun_ExecutorResourceError_PersistsResourceErrorCode PASS 2.360s
TestCreateRun_Success PASS 1.760s
TestCreateRun_MissingPipelineID PASS 2.230s
TestCreateRun_InvalidPipelineID PASS 2.100s
TestCreateRun_InvalidJSON PASS 1.650s
TestCreateRun_InvalidSourceType PASS 1.920s
TestGetRun_Success PASS 1.470s
TestGetRun_NotFound PASS 2.110s
TestListRuns_ReturnsDefaultPagination PASS 1.970s
TestListRuns_CustomLimitAndOffset PASS 2.180s
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 1.800s
TestListRuns_FilterByPhase PASS 1.600s
TestListRuns_FilterByMultiplePhases PASS 1.990s
TestListRuns_FilterByInvalidPhase PASS 2.450s
TestListRuns_FilterProjectID PASS 2.540s
TestListRuns_FilterPipelineID PASS 2.490s
TestListRuns_FilterSourceType PASS 1.810s
TestListRuns_FilterCreatedAfter PASS 2.560s
TestListRuns_FilterCreatedBefore PASS 1.490s
TestListRuns_FilterSource PASS 1.340s
TestListRuns_SortByStartedAt PASS 1.960s
TestListRuns_FilterMultipleCriteria PASS 2.060s
TestListRuns_SortByCreatedAtDesc PASS 1.460s
TestListRuns_SortByUpdatedAtAsc PASS 1.510s
TestListRuns_InvalidSortField PASS 2.180s
TestListRuns_CursorPagination PASS 1.740s
TestUpdateRun_PhaseOnly PASS 1.500s
TestUpdateRun_Completed PASS 1.610s
TestUpdateRun_Failed PASS 2.240s
TestUpdateRun_NotFound PASS 2.090s
TestUpdateRun_InvalidPhase PASS 1.980s
TestUpdateRun_NoAuth PASS 2.470s
TestIdempotency_NoKey PASS 1.820s
TestIdempotency_SameKeySameBody PASS 1.580s
TestIdempotency_SameKeyDifferentBody PASS 1.620s
TestHubPublishAndReceive PASS 0.000s
TestHubFilterPhaseMatch PASS 0.000s
TestHubFilterPhaseMismatch PASS 0.200s
TestHubFilterSourceType PASS 0.200s
TestSubscribeSSE_NoAuth PASS 2.830s
TestSubscribeSSE_InvalidAPIKey PASS 2.100s
TestRunCreationPublishesSSEEvent PASS 2.380s
TestSubscribeSSE_Heartbeat PASS 1.990s
TestGitHubPR_ValidHMAC_CreatesRun PASS 1.600s
TestGitHubPR_ValidHMAC_StoresPRDescription PASS 2.550s
TestGitHubPR_ValidHMAC_GiteaSignature PASS 2.130s
TestGitHubPR_GiteaSynchronizedAction_CreatesRun PASS 1.720s
TestGitHubPR_NoAPIKeyValidHMAC_Accepted PASS 1.460s
TestGitHubPR_MissingSignature PASS 2.440s
TestGitHubPR_InvalidSignature PASS 1.630s
TestGitHubPR_NonPullRequestEvent PASS 1.250s
TestGitHubPR_DisabledPipeline PASS 1.120s
TestGitHubPR_PipelineNotFound PASS 1.670s
TestGitHubPR_NoWebhookSecret PASS 0.830s
TestGitHubPR_IgnoredAction PASS 1.420s
TestGitHubPR_ExecutorFailure_StillAccepted PASS 1.760s
TestGitHubPR_ExecutorResourceError_PersistsResourceErrorCode PASS 0.890s
TestGitHubPR_InvalidPipelineID PASS 0.990s
TestVikunjaWebhook_ValidHMAC_CreatesRun PASS 1.000s
TestVikunjaWebhook_RealisticPayloadFile PASS 1.040s
TestVikunjaWebhook_InvalidHMAC PASS 0.900s
TestVikunjaWebhook_MissingSignature PASS 1.030s
TestVikunjaWebhook_UniformPreAuthError/project_config_missing PASS 1.070s
TestVikunjaWebhook_UniformPreAuthError/no_enabled_pipeline PASS 1.100s
TestVikunjaWebhook_UniformPreAuthError/webhook_secret_missing PASS 0.890s
TestVikunjaWebhook_UniformPreAuthError/signature_verification_failed PASS 0.720s
TestVikunjaWebhook_UniformPreAuthError PASS 3.780s
TestVikunjaWebhook_MissingEvent PASS 1.470s
TestVikunjaWebhook_MissingTaskID PASS 0.740s
TestVikunjaWebhook_InvalidJSON PASS 0.630s
TestVikunjaWebhook_ProjectConfigNotFound PASS 0.770s
TestVikunjaWebhook_NoEnabledPipeline PASS 0.720s
TestVikunjaWebhook_NoWebhookSecret PASS 0.670s
TestVikunjaWebhook_FirstEnabledPipeline_SecretResolution PASS 0.670s
TestVikunjaWebhook_FirstEnabledTiebreaker_Deterministic PASS 0.720s
TestVikunjaWebhook_TriggerBucketNotConfigured PASS 0.650s
TestVikunjaWebhook_NewTaskNonTriggerBucket_NoRun PASS 0.630s
TestVikunjaWebhook_LaneChangeToTriggerBucket_CreatesRun PASS 0.690s
TestVikunjaWebhook_NullLastBucket_TriggersRun PASS 0.690s
TestVikunjaWebhook_SameLane_NoAutoRerun PASS 0.610s
TestVikunjaWebhook_RunningRun_BlocksNewRun PASS 0.770s
TestVikunjaWebhook_PendingRun_BlocksNewRun PASS 0.640s
TestVikunjaWebhook_StateUpdatedOnEveryEvent PASS 0.660s
TestVikunjaWebhookRoute_NoAPIKey_ReachesHMAC PASS 0.620s
TestVikunjaWebhook_StaleEvent_Ignored PASS 0.660s
TestVikunjaWebhook_EqualTime_Accepted PASS 0.680s
TestVikunjaWebhook_NewerEventAfterStale_Works PASS 0.640s
TestVikunjaWebhook_MissingTime_Processed PASS 0.810s
TestVikunjaWebhook_MalformedTime_Processed PASS 0.900s
TestVikunjaWebhook_BodyTooLarge PASS 1.840s
TestVikunjaWebhook_RunNumbers_SequentialPerPipeline PASS 1.770s
TestVikunjaWebhook_ConcurrentSamePipelineRuns_DistinctRunNumbers PASS 1.490s
TestVikunjaWebhook_ExecutorResourceError_PersistsResourceErrorCode PASS 1.770s
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 tests51.77s
Test Status Time
TestCheckOne_Connected PASS 3.340s
TestCheckOne_Disconnected PASS 5.700s
TestCheckOne_UpdatesDBStatus PASS 4.720s
TestCheckOne_UpdatesLastCheckedAt PASS 3.830s
TestCheckOne_WithEncryptedToken PASS 3.350s
TestCheckAll_IteratesAllRepos PASS 4.490s
TestCheckOne_WithCorruptToken_ProceedsWithoutToken PASS 3.780s
TestStartStop_RunsUntilCancelled PASS 6.030s
TestStartStop_StopIsIdempotent PASS 2.690s
TestRunWatchdog_JobFailed_MarksRunFailed PASS 2.370s
TestRunWatchdog_JobSucceededWithoutCallback_MarksRunFailed PASS 1.800s
TestRunWatchdog_NoJobTimeout_MarksRunFailed PASS 1.330s
TestRunWatchdog_WithinTimeout_NotModified PASS 1.380s
TestRunWatchdog_AlreadyCompleted_NotModified PASS 1.610s
TestRunWatchdog_StartStop_Lifecycle PASS 1.410s
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 tests12.93s
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.400s
TestStart_SKILL_REPOS_Present PASS 0.420s
TestStart_SKILL_REPOS_AbsentWhenEmpty PASS 0.390s
TestStart_PREnvvars PASS 0.340s
TestStart_TicketEnvVars PASS 0.290s
TestStart_TicketEmptyBaseBranch PASS 0.470s
TestStart_NoPR PASS 0.650s
TestStart_WithBotToken PASS 0.400s
TestStart_ManifestRepoToken/with_bot_account_token PASS 0.410s
TestStart_ManifestRepoToken/without_bot_account_token PASS 0.390s
TestStart_ManifestRepoToken PASS 0.800s
TestStart_SkillRepoDecryptTokenError PASS 0.350s
TestStart_BranchProfileBaseBranch PASS 0.410s
TestStart_NoBotToken PASS 3.570s
TestStart_DecryptTokenError PASS 0.000s
TestStart_GiteaBaseURLParsing PASS 0.580s
TestStart_RepoURLNoHost PASS 0.000s
TestStart_LangfuseEnvVars PASS 0.380s
TestStart_DefaultNamespace PASS 0.460s
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.310s
TestStart_ImagePullSecretOwnedByJob PASS 0.360s
TestStart_EnvFreeInvariant PASS 0.980s
TestStart_ManifestFetchFails PASS 0.080s
TestStart_PipelineManifestNotFound PASS 0.360s
TestStart_UnknownRegistry PASS 0.340s
TestStart_EnvValueMissingTag PASS 0.550s
keskikuja.site/agent-platform/api/internal/swagger0 tests0.00s
Test Status Time