Go Test Report

464
Total
455
Passed
0
Failed
9
Skipped
565.44
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.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 tests8.93s
Test Status Time
TestMigrateUpDown PASS 8.920s
keskikuja.site/agent-platform/api/internal/git9 skipped27 tests4.49s
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 1.070s
TestFetchManifestRepo_PartialCloneFilter PASS 0.690s
TestFetchManifestRepo_TokenNotInGitConfig PASS 0.710s
keskikuja.site/agent-platform/api/internal/handlers295 tests469.73s
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.790s
TestUpsertUser_UpdateExisting PASS 3.450s
TestUpsertUser_NullImage PASS 2.790s
TestCreateBotAccount_Success PASS 3.010s
TestCreateBotAccount_TokenEncryptedInDB PASS 2.230s
TestCreateBotAccount_MissingName PASS 1.600s
TestCreateBotAccount_NameTooShort PASS 1.930s
TestCreateBotAccount_MissingToken PASS 2.410s
TestGetBotAccount_Success PASS 2.530s
TestGetBotAccount_NotFound PASS 2.150s
TestListBotAccounts PASS 1.410s
TestUpdateBotAccount_Success PASS 1.460s
TestUpdateBotAccount_NewToken PASS 1.410s
TestUpdateBotAccount_EmptyTokenDoesNotOverwrite PASS 2.790s
TestDeleteBotAccount_NotInUse PASS 1.300s
TestDeleteBotAccount_InUse PASS 0.840s
TestBotAccountEndpoints_NoSession PASS 0.870s
TestListBotAccounts_EmptyList PASS 1.660s
TestCreateBotAccount_DescriptionMax PASS 0.870s
TestCreateContainerRegistry_Success PASS 1.660s
TestCreateContainerRegistry_TokenEncryptedInDB PASS 1.430s
TestCreateContainerRegistry_PublicRegistryWithoutToken PASS 1.250s
TestCreateContainerRegistry_MissingName PASS 1.670s
TestCreateContainerRegistry_MissingURL PASS 2.740s
TestCreateContainerRegistry_InvalidURL PASS 1.430s
TestCreateContainerRegistry_InvalidNameLength PASS 2.480s
TestCreateContainerRegistry_DuplicateName PASS 1.540s
TestGetContainerRegistry_Success PASS 1.380s
TestGetContainerRegistry_NotFound PASS 2.500s
TestListContainerRegistries PASS 2.160s
TestListContainerRegistries_EmptyList PASS 2.190s
TestUpdateContainerRegistry_Success PASS 1.460s
TestUpdateContainerRegistry_NewToken PASS 1.500s
TestUpdateContainerRegistry_ClearToken PASS 1.980s
TestUpdateContainerRegistry_OmittedTokenKeepsExisting PASS 2.250s
TestUpdateContainerRegistry_EmptyBody PASS 1.660s
TestUpdateContainerRegistry_InvalidURL PASS 1.630s
TestUpdateContainerRegistry_InvalidNameLength PASS 3.000s
TestUpdateContainerRegistry_DuplicateName PASS 1.420s
TestUpdateContainerRegistry_NotFound PASS 2.870s
TestDeleteContainerRegistry_Success PASS 2.340s
TestDeleteContainerRegistry_NotFound PASS 1.670s
TestContainerRegistryEndpoints_NoSession PASS 1.840s
TestHealth PASS 1.380s
TestReady_Success PASS 1.940s
TestReady_DBDown PASS 0.090s
TestCheck_Success PASS 1.430s
TestCheck_DBDown PASS 0.030s
TestReady_ContextTimeout PASS 2.130s
TestCheck_NilRequest PASS 2.270s
TestUserHealth_NoAuth PASS 1.460s
TestUserHealth_ApiKey PASS 2.300s
TestUserHealth_SessionCookie PASS 2.050s
TestUserHealth_ExpiredSession PASS 2.080s
TestUserHealth_InvalidApiKey PASS 2.180s
TestCreateLlmConfig_Success PASS 2.310s
TestCreateLlmConfig_ApiKeyEncryptedInDB PASS 1.400s
TestCreateLlmConfig_MissingName PASS 2.410s
TestCreateLlmConfig_NameTooShort PASS 1.380s
TestCreateLlmConfig_MissingApiKey PASS 1.320s
TestCreateLlmConfig_DuplicateName PASS 1.390s
TestGetLlmConfig_Success PASS 2.040s
TestGetLlmConfig_NotFound PASS 2.050s
TestListLlmConfigs PASS 1.830s
TestListLlmConfigs_EmptyList PASS 2.220s
TestUpdateLlmConfig_Success PASS 2.170s
TestUpdateLlmConfig_NewApiKey PASS 1.400s
TestUpdateLlmConfig_EmptyApiKeyDoesNotOverwrite PASS 1.950s
TestUpdateLlmConfig_MissingApiKeyDoesNotOverwrite PASS 1.980s
TestUpdateLlmConfig_DuplicateName PASS 1.990s
TestUpdateLlmConfig_NotFound PASS 1.490s
TestDeleteLlmConfig_Success PASS 2.860s
TestDeleteLlmConfig_NotFound PASS 2.320s
TestLlmConfigEndpoints_NoSession PASS 1.580s
TestCreatePipeline_Success PASS 1.410s
TestCreatePipeline_WithBaseBranch PASS 1.410s
TestCreatePipeline_DefaultBaseBranch PASS 1.540s
TestUpdatePipeline_BaseBranch PASS 2.130s
TestCreatePipeline_MissingName PASS 2.340s
TestCreatePipeline_InvalidProjectId PASS 1.610s
TestGetPipeline_Success PASS 1.530s
TestGetPipeline_NotFound PASS 2.770s
TestListPipelinesByProject PASS 2.130s
TestListPipelinesByProject_NotFound PASS 2.370s
TestListPipelines_FilterEnabled PASS 1.540s
TestUpdatePipeline_Success PASS 1.130s
TestUpdatePipeline_NotFound PASS 1.060s
TestDeletePipeline_Success PASS 1.350s
TestDeletePipeline_NotFound PASS 1.160s
TestGetProjectDetail_IncludesPipelines PASS 1.080s
TestCreatePipeline_WithoutOutputBranch PASS 0.700s
TestCreatePipeline_WithEmptyOutputBranch PASS 0.670s
TestCreatePipeline_WithOutputBranch PASS 0.730s
TestCreatePipeline_WithConfig PASS 0.640s
TestCreatePipeline_ConfigValidation/array_rejected PASS 1.230s
TestCreatePipeline_ConfigValidation/string_rejected PASS 0.780s
TestCreatePipeline_ConfigValidation/null_accepted PASS 0.720s
TestCreatePipeline_ConfigValidation/object_accepted PASS 0.660s
TestCreatePipeline_ConfigValidation PASS 3.380s
TestUpdatePipeline_NullifyOutputBranch PASS 0.600s
TestUpdatePipeline_Config PASS 0.680s
TestCreatePipeline_WithSkillRepos PASS 0.630s
TestCreatePipeline_EmptySkillRepos PASS 0.600s
TestCreatePipeline_SkillReposValidation/valid_list_accepted PASS 0.740s
TestCreatePipeline_SkillReposValidation/empty_list_accepted PASS 0.580s
TestCreatePipeline_SkillReposValidation/null_accepted PASS 0.670s
TestCreatePipeline_SkillReposValidation/nonexistent_repository_rejected PASS 0.740s
TestCreatePipeline_SkillReposValidation/duplicate_repository_rejected PASS 0.610s
TestCreatePipeline_SkillReposValidation/slug_collision_rejected PASS 0.610s
TestCreatePipeline_SkillReposValidation/over_cap_rejected PASS 0.600s
TestCreatePipeline_SkillReposValidation/malformed_uuid_rejected PASS 0.610s
TestCreatePipeline_SkillReposValidation PASS 5.160s
TestGetAndListPipelines_ReturnSkillRepos PASS 0.680s
TestUpdatePipeline_SkillRepos PASS 0.620s
TestUpdatePipeline_SkillReposToEmpty PASS 0.710s
TestUpdatePipeline_SkillReposAbsentKeepsExisting PASS 0.680s
TestUpdatePipeline_SkillReposValidation/nonexistent_repository PASS 0.810s
TestUpdatePipeline_SkillReposValidation/duplicate_repositories PASS 0.670s
TestUpdatePipeline_SkillReposValidation/slug_collision PASS 0.760s
TestUpdatePipeline_SkillReposValidation/over_cap PASS 0.670s
TestUpdatePipeline_SkillReposValidation PASS 2.900s
TestUpdatePipeline_SkillReposOnly_UpdateQueryIncludesUpdatedBy PASS 0.750s
TestUpdatePipeline_NoFields_NoOpGuardSkipsUpdate PASS 0.690s
TestCreatePipeline_ResponseFetchBeforeCommit PASS 0.740s
TestUpdatePipeline_ResponseFetchBeforeCommit PASS 0.840s
TestCreatePipeline_SkillRepoValidationInsideTx PASS 0.730s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422/create_rejects_symbol-only_repo PASS 0.000s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422/update_rejects_symbol-only_repo PASS 0.000s
TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422 PASS 0.800s
TestCreatePipeline_TruncationBoundarySlugCollisionGets422 PASS 1.860s
TestCreatePipeline_SkillRepoValidationErrorsAre422/missing_repository PASS 0.760s
TestCreatePipeline_SkillRepoValidationErrorsAre422/slug_collision PASS 0.590s
TestCreatePipeline_SkillRepoValidationErrorsAre422 PASS 1.340s
TestCreatePipeline_SkillRepoDBFailureIs500 PASS 0.710s
TestUpdatePipeline_WriteOnlySecrets_StoredEncryptedNotReturned PASS 1.340s
TestGetPipeline_DoesNotReturnWriteOnlySecrets PASS 1.160s
TestCreateProject_Success PASS 0.930s
TestCreateProject_MissingName PASS 1.610s
TestCreateProject_TooShortName PASS 1.180s
TestGetProject_Success PASS 1.160s
TestGetProject_NotFound PASS 0.980s
TestListProjects_DefaultPagination PASS 0.960s
TestListProjects_SortByNameAsc PASS 1.070s
TestListProjects_InvalidSortField PASS 2.040s
TestUpdateProject_Success PASS 1.580s
TestUpdateProject_NotFound PASS 1.020s
TestDeleteProject_Success PASS 1.160s
TestDeleteProject_NotFound PASS 1.240s
TestProjectEndpoints_NoSession PASS 1.350s
TestProjectHandler_Create_WithConfig PASS 1.580s
TestProjectHandler_Create_WithSecrets PASS 2.040s
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.010s
TestProjectHandler_Create_ConfigValidation PASS 1.760s
TestProjectHandler_Update_Config PASS 1.730s
TestProjectHandler_GetDecryptedSecrets PASS 1.630s
TestProjectHandler_Get_StripsSecretsEncrypted PASS 1.410s
TestGetDecryptedSecrets_NoSecrets PASS 2.200s
TestProjectHandler_Update_Secrets PASS 1.440s
TestProjectHandler_Update_Secrets_PlainStringRejected PASS 1.960s
TestProjectHandler_Update_Secrets_EmptyStringRejected PASS 1.570s
TestProjectHandler_Create_Config_DuplicateVikunjaProjectID PASS 1.910s
TestProjectHandler_Create_Config_UnclaimedVikunjaProjectID PASS 1.500s
TestProjectHandler_Update_Config_DuplicateVikunjaProjectID PASS 2.020s
TestProjectHandler_Update_Config_SameVikunjaProjectID_Kept PASS 1.480s
TestCreateRepository_Success PASS 1.480s
TestCreateRepository_MissingBotAccountID PASS 2.240s
TestCreateRepository_BotAccountNotFound PASS 2.380s
TestCreateRepository_InvalidName PASS 2.120s
TestCreateRepository_MissingName PASS 2.230s
TestGetRepository_Success PASS 1.380s
TestGetRepository_NotFound PASS 2.140s
TestListRepositories PASS 2.470s
TestGetRepository_HasBotAccountID PASS 1.640s
TestListRepository_HasBotAccountID PASS 2.970s
TestUpdateRepository_Success PASS 1.770s
TestUpdateRepository_ChangeBotAccountID PASS 1.390s
TestUpdateRepository_NotFound PASS 2.670s
TestDeleteRepository_Success PASS 1.730s
TestDeleteRepository_NotFound PASS 2.390s
TestCheckRepositoryHealth_Connected PASS 2.850s
TestCheckRepositoryHealth_Disconnected PASS 2.410s
TestCheckRepositoryHealth_UpdatesDB PASS 2.670s
TestCheckRepositoryHealth_NotFound PASS 1.490s
TestRepositoryEndpoints_NoSession PASS 2.180s
TestCreateRun_ExecutorResourceError_PersistsResourceErrorCode PASS 1.800s
TestCreateRun_Success PASS 1.320s
TestCreateRun_MissingPipelineID PASS 1.510s
TestCreateRun_InvalidPipelineID PASS 2.810s
TestCreateRun_InvalidJSON PASS 1.770s
TestCreateRun_InvalidSourceType PASS 1.170s
TestGetRun_Success PASS 1.300s
TestGetRun_NotFound PASS 2.430s
TestListRuns_ReturnsDefaultPagination PASS 1.030s
TestListRuns_CustomLimitAndOffset PASS 0.740s
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.060s
TestListRuns_FilterByPhase PASS 1.730s
TestListRuns_FilterByMultiplePhases PASS 0.730s
TestListRuns_FilterByInvalidPhase PASS 0.770s
TestListRuns_FilterProjectID PASS 1.220s
TestListRuns_FilterPipelineID PASS 1.190s
TestListRuns_FilterSourceType PASS 1.430s
TestListRuns_FilterCreatedAfter PASS 1.740s
TestListRuns_FilterCreatedBefore PASS 0.950s
TestListRuns_FilterSource PASS 1.280s
TestListRuns_SortByStartedAt PASS 1.120s
TestListRuns_FilterMultipleCriteria PASS 1.440s
TestListRuns_SortByCreatedAtDesc PASS 1.640s
TestListRuns_SortByUpdatedAtAsc PASS 2.320s
TestListRuns_InvalidSortField PASS 2.250s
TestListRuns_CursorPagination PASS 2.040s
TestUpdateRun_PhaseOnly PASS 2.160s
TestUpdateRun_Completed PASS 1.640s
TestUpdateRun_Failed PASS 1.490s
TestUpdateRun_NotFound PASS 2.320s
TestUpdateRun_InvalidPhase PASS 1.890s
TestUpdateRun_NoAuth PASS 2.370s
TestIdempotency_NoKey PASS 2.120s
TestIdempotency_SameKeySameBody PASS 2.029s
TestIdempotency_SameKeyDifferentBody PASS 2.370s
TestHubPublishAndReceive PASS 0.000s
TestHubFilterPhaseMatch PASS 0.000s
TestHubFilterPhaseMismatch PASS 0.200s
TestHubFilterSourceType PASS 0.200s
TestSubscribeSSE_NoAuth PASS 1.710s
TestSubscribeSSE_InvalidAPIKey PASS 1.720s
TestRunCreationPublishesSSEEvent PASS 2.760s
TestSubscribeSSE_Heartbeat PASS 3.930s
TestGitHubPR_ValidHMAC_CreatesRun PASS 2.710s
TestGitHubPR_ValidHMAC_StoresPRDescription PASS 1.890s
TestGitHubPR_ValidHMAC_GiteaSignature PASS 1.600s
TestGitHubPR_GiteaSynchronizedAction_CreatesRun PASS 2.600s
TestGitHubPR_NoAPIKeyValidHMAC_Accepted PASS 2.580s
TestGitHubPR_MissingSignature PASS 1.480s
TestGitHubPR_InvalidSignature PASS 2.330s
TestGitHubPR_NonPullRequestEvent PASS 3.410s
TestGitHubPR_DisabledPipeline PASS 1.620s
TestGitHubPR_PipelineNotFound PASS 1.400s
TestGitHubPR_NoWebhookSecret PASS 2.670s
TestGitHubPR_IgnoredAction PASS 2.690s
TestGitHubPR_ExecutorFailure_StillAccepted PASS 1.770s
TestGitHubPR_ExecutorResourceError_PersistsResourceErrorCode PASS 1.810s
TestGitHubPR_InvalidPipelineID PASS 3.140s
TestVikunjaWebhook_ValidHMAC_CreatesRun PASS 3.390s
TestVikunjaWebhook_RealisticPayloadFile PASS 3.460s
TestVikunjaWebhook_InvalidHMAC PASS 2.760s
TestVikunjaWebhook_MissingSignature PASS 3.540s
TestVikunjaWebhook_UniformPreAuthError/project_config_missing PASS 3.510s
TestVikunjaWebhook_UniformPreAuthError/no_enabled_pipeline PASS 3.010s
TestVikunjaWebhook_UniformPreAuthError/webhook_secret_missing PASS 3.940s
TestVikunjaWebhook_UniformPreAuthError/signature_verification_failed PASS 3.290s
TestVikunjaWebhook_UniformPreAuthError PASS 13.740s
TestVikunjaWebhook_MissingEvent PASS 2.620s
TestVikunjaWebhook_MissingTaskID PASS 3.840s
TestVikunjaWebhook_InvalidJSON PASS 4.680s
TestVikunjaWebhook_ProjectConfigNotFound PASS 3.240s
TestVikunjaWebhook_NoEnabledPipeline PASS 3.120s
TestVikunjaWebhook_NoWebhookSecret PASS 6.540s
TestVikunjaWebhook_FirstEnabledPipeline_SecretResolution PASS 2.800s
TestVikunjaWebhook_FirstEnabledTiebreaker_Deterministic PASS 2.210s
TestVikunjaWebhook_TriggerBucketNotConfigured PASS 2.840s
TestVikunjaWebhook_NewTaskNonTriggerBucket_NoRun PASS 1.430s
TestVikunjaWebhook_LaneChangeToTriggerBucket_CreatesRun PASS 1.230s
TestVikunjaWebhook_NullLastBucket_TriggersRun PASS 1.030s
TestVikunjaWebhook_SameLane_NoAutoRerun PASS 1.910s
TestVikunjaWebhook_RunningRun_BlocksNewRun PASS 1.440s
TestVikunjaWebhook_PendingRun_BlocksNewRun PASS 0.950s
TestVikunjaWebhook_StateUpdatedOnEveryEvent PASS 1.030s
TestVikunjaWebhookRoute_NoAPIKey_ReachesHMAC PASS 1.080s
TestVikunjaWebhook_StaleEvent_Ignored PASS 1.860s
TestVikunjaWebhook_EqualTime_Accepted PASS 1.340s
TestVikunjaWebhook_NewerEventAfterStale_Works PASS 1.110s
TestVikunjaWebhook_MissingTime_Processed PASS 0.980s
TestVikunjaWebhook_MalformedTime_Processed PASS 1.220s
TestVikunjaWebhook_BodyTooLarge PASS 1.090s
TestVikunjaWebhook_RunNumbers_SequentialPerPipeline PASS 1.170s
TestVikunjaWebhook_ConcurrentSamePipelineRuns_DistinctRunNumbers PASS 2.750s
TestVikunjaWebhook_ExecutorResourceError_PersistsResourceErrorCode PASS 1.780s
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 tests77.08s
Test Status Time
TestCheckOne_Connected PASS 2.770s
TestCheckOne_Disconnected PASS 2.710s
TestCheckOne_UpdatesDBStatus PASS 2.070s
TestCheckOne_UpdatesLastCheckedAt PASS 2.600s
TestCheckOne_WithEncryptedToken PASS 2.210s
TestCheckAll_IteratesAllRepos PASS 4.000s
TestCheckOne_WithCorruptToken_ProceedsWithoutToken PASS 4.630s
TestStartStop_RunsUntilCancelled PASS 7.430s
TestStartStop_StopIsIdempotent PASS 6.970s
TestRunWatchdog_JobFailed_MarksRunFailed PASS 6.500s
TestRunWatchdog_JobSucceededWithoutCallback_MarksRunFailed PASS 1.960s
TestRunWatchdog_NoJobTimeout_MarksRunFailed PASS 1.400s
TestRunWatchdog_WithinTimeout_NotModified PASS 3.970s
TestRunWatchdog_AlreadyCompleted_NotModified PASS 6.680s
TestRunWatchdog_StartStop_Lifecycle PASS 0.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/k8s59 tests5.05s
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 1.290s
TestStart_SKILL_REPOS_Present PASS 0.420s
TestStart_SKILL_REPOS_AbsentWhenEmpty PASS 0.190s
TestStart_PREnvvars PASS 0.210s
TestStart_NoPR PASS 0.180s
TestStart_WithBotToken PASS 0.270s
TestStart_ManifestRepoToken/with_bot_account_token PASS 0.150s
TestStart_ManifestRepoToken/without_bot_account_token PASS 0.150s
TestStart_ManifestRepoToken PASS 0.300s
TestStart_SkillRepoDecryptTokenError PASS 0.160s
TestStart_BranchProfileBaseBranch PASS 0.150s
TestStart_NoBotToken PASS 0.160s
TestStart_DecryptTokenError PASS 0.000s
TestStart_GiteaBaseURLParsing PASS 0.140s
TestStart_RepoURLNoHost PASS 0.000s
TestStart_LangfuseEnvVars PASS 0.150s
TestStart_DefaultNamespace PASS 0.260s
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.170s
TestStart_ImagePullSecretOwnedByJob PASS 0.150s
TestStart_EnvFreeInvariant PASS 0.160s
TestStart_ManifestFetchFails PASS 0.020s
TestStart_PipelineManifestNotFound PASS 0.140s
TestStart_UnknownRegistry PASS 0.140s
TestStart_EnvValueMissingTag PASS 0.150s
keskikuja.site/agent-platform/api/internal/swagger0 tests0.00s
Test Status Time