Files
pulse/.github/scripts/internal-api-test-seconds.txt
T
pulse-triage[bot] 3d352f9fb1 Rebalance API race-test shards from current passing main runs
Replace September timing weights with median observations from all five API shards of main runs 37554828003 and 37548993373. Keep the five checks, source-derived exhaustive coverage, contiguous test order, race execution and thresholds unchanged. Two new report tests have only the latest observation.

Contract-Neutral: Timing-only calibration; no product, test-selection, required-check or verification-contract delta.
Change-source: pulse-maintainer
2026-10-07 02:46:24 +01:00

243 lines
12 KiB
Plaintext

# Run time in seconds of the slowest internal/api top-level tests under -race
# on a GitHub ubuntu-24.04 runner, the median of the Build and Test runs named
# below. Used only by select-internal-api-shard.sh to choose where the
# Backend tests (api-N) shards cut go test's list. Tests not named here weigh
# DEFAULT_WEIGHT, the mean of the tests under 0.5s in the same runs. A
# missing, stale or renamed entry can make the shards uneven but can never
# drop or repeat a test.
#
# Generated 2026-10-07 by .github/scripts/refresh-internal-api-test-seconds.py
# from run 37554828003 (1631a5a0e9d78375e29ed3e133f121c9cf020b72), run 37548993373 (efd3b29ac8230ed63380920e285c9320300c7fbc). Every api shard uploads an
# internal-api-test-seconds-N artifact, so rerun that script with recent
# passing runs when one api shard runs well over the others.
DEFAULT_WEIGHT 0.06
TestActionRunnerRotationProductionRouterTLSPersistenceRestart 0.96
TestMockActionInboxAndDetailUseCanonicalResponses 3.08
TestMockActionInboxHonorsLimitAndLegacyPendingProjection 2.39
TestMockActionMutationsFailReadOnly 1.29
TestAgentReportHandlersClassifyBodyFailures 1.39
TestStart_MockModeStartsChatServiceWhenPersistedConfigDisabled 1.26
TestRestart_MockModeStartsChatServiceWhenPersistedConfigDisabled 1.23
TestHandleChat_EmitsIdleProgressWhileServiceIsSilent 2.53
TestAISettingsHandler_ProviderSettersConcurrentServiceCreation 11.79
TestAISettingsHandlerMetadataProviderFactoryScopesExistingServices 0.60
TestAISettingsHandler_GetAIService_UsesTenantReadState 0.52
TestAISettingsHandler_GetAIService_NonDefaultWithoutTenantReadStateFailsClosed 0.56
TestAISettingsHandler_GetAIService_NonDefaultWithoutTenantUnifiedProviderFailsClosed 0.56
TestAISettingsHandler_GetAIService_NonDefaultDoesNotInheritDefaultDiscoveryStore 0.56
TestHandlePatrolStream_LastEventIDHeaderTakesPrecedenceOverQueryFallback 2.12
TestHandleExecuteStream_LicenseRequired 1.39
TestHandleExecuteStream_PromptRequired 1.35
TestHandleExecuteStream_Success 2.03
TestHandleExecuteStream_EmitsIdleProgressWhileServiceIsSilent 2.18
TestHandleInvestigateAlert_EmitsIdleProgressWhileServiceIsSilent 2.08
TestHandleInvestigateAlert_UsesVisibleIdleProgressStream 2.15
TestHandleGetPatterns_UnlockedWithData 1.41
TestHandleGetPredictions_WithData 1.36
TestHandleGetCorrelations_WithData 1.36
TestHandleGetCorrelations_UsesCanonicalIntelligenceFacade 1.38
TestAuthDenialPruneKeepsTrackedSetBounded 2.26
TestAvailabilityHandlersListReturnsMockTargetsInMockMode 1.27
TestAvailabilityHandlersTestSavedMockTargetUsesSyntheticStatus 1.25
TestChangePasswordRefusesNonAdminSession 1.02
TestChangePasswordAllowsConfiguredAdminSession 1.83
TestChangePasswordBasicAuthPathUnaffected 5.05
TestChangePasswordFixtureOwnsRouterLifecycle 1.06
TestNoInternalLicenseImportFromConsumerPackages 0.54
TestConfigTransferAnonymousAuthenticatedModesDenyBeforeBodyRead 0.70
TestConfigTransferAuthorizedInstanceModesReachHandler 0.96
TestConfigTransferTenantSessionsRequireManagement 0.58
TestConnectionsHandleListIncludesMockAvailabilityTargets 1.38
TestConnectionsHandleListDropsRealSourcesInMockMode 1.35
TestConnectionsLedgerKeepsRealSourcesWhenRealPollingRetained 1.35
TestContract_MockAvailabilityTargetsUseSavedTargetPayloads 1.28
TestContract_MockDiscoveryEndpointsUseCanonicalPayloads 1.27
TestJTIReplayStoreQueryPlanUsesExpiryIndex 0.77
TestAISettingsHandler_PatrolReadinessBranches 2.05
TestContract_MockChartRoutesUseCanonicalMockUnifiedReadStateForVMwareHosts 3.30
TestContract_PlatformMockToggleRebindsRuntimeConnectionsAndResources 25.89
TestContract_PlatformMockConnectionListsUseSharedFixtureMetadata 1.18
TestContract_ReportingCatalogRouteAccessibleWithoutReportingFeature 0.54
TestContract_RecoveryPointsMockPathReturnsCanonicalProviderBackedFixtures 1.83
TestContract_SecurityStatusPresentationPolicyProEditionCommercialContext 0.69
TestContract_SecurityStatusSystemSettingsReadTracksSettingsReadScope 0.59
TestContract_SecurityStatusAdminOnlySettingsCapabilitiesTrackMountRoutes 0.53
TestContract_MetricsHistoryDiskLivePointOnlyForCollectedTemperature 1.27
TestContract_StateAndResourceListShareCanonicalMockResourceContract 4.25
TestContract_AgentCommandConfigGateMirrorsChannelAdmission 1.63
TestContract_HostedDiagnosticsDockerPrepareTokenValidatesOriginBeforeMutation 1.54
TestContract_HostedInstallerOriginsFailClosedAtRouter 5.88
TestContract_UnifiedAgentReportAckNamesCommandIdentityOnlyWhenTheBindingAdmitsIt 0.55
TestContract_RuntimeDisplayServesPresentationValuesWithoutAdmin 0.94
TestSecurityStatusCurrentUserForScopedLocalSession 0.94
TestSecurityStatusOrgBoundSettingsFollowOrgManagementRule 0.95
TestSecurityStatusOrgBoundReportingRespectsAuthorizer 0.96
TestRouterPlatformConnectionAlertsFollowRuntime 80.44
TestDiscoveryHandlers_MockModeServesFixturesWithoutService 1.21
TestDockerAgentReportSizeContractAcceptsOrdinaryAndLargeFleets 0.66
TestDockerAgentReportSizeContractBoundaries 2.89
TestRouterSetupHandoffUsesCanonicalRuntimeConfig 0.88
TestHostAgentRemovalLifecycleThroughAuthenticatedRouterAndRestart 0.66
TestCollectorUninstallTransactionFailsClosedAndRetriesAfterRestart 3.30
TestHostedTenantAgentInstallCommand_GeneratesOrgBoundTokenAndCommand 1.29
TestGenerateHostedTenantAgentInstallCommandEnforcesHostedOrgBoundary 1.14
TestHostedTenantAgentInstallCommandCarriesCommandPolicyIntent 1.07
TestHostedTenantAgentInstallTokenCannotReportToOtherTenant 0.53
TestRouteAllocationMeasurementExcludesBackgroundFixtures 2.09
TestNormalizeSegment_DoesNotAllocate 1.04
TestNormalizeRoute_RootFastPathDoesNotAllocate 1.04
TestIssue1753SameNameProxmoxAgentsAuthenticateAndStayDistinctEndToEnd 2.38
TestSyncReleaseDemoFixtureRuntime_DoesNotPoliceMockFixturesInDevBuilds 1.10
TestMetricsHistoryFallbackSynthesizesUnseededMockWorkloadHistory 1.16
TestMetricsHistoryFallbackSynthesizesMockHostAndNodeDrawerSeries 1.20
TestMetricsHistoryFallbackSupplementsPartialMockStoreSeries 1.26
TestMetricsHistoryFallbackMockDiskSynthesizesSeries 1.38
TestMetricsHistoryFallbackMockUnifiedStorageSynthesizesSeries 1.89
TestMetricsHistoryFallbackMockStorageBypassesSparseStoreSeries 2.00
TestSSOOnlyExplicitAdminReachesEveryAdminGuard 1.42
TestUnrelatedSSOUserStillRefusedWhenLocalAdminConfigured 2.12
TestPatrolActionBrokerAutonomyModeIsAnUpperBound 0.59
TestPlatformAdminRouteRefusesUnrelatedSSOUser 1.00
TestProxmoxTypedReadbackClockSkewPreservesExecutionAndEvidence 0.52
TestJourneyGeneralAPIBudgetIsolation 2.08
TestTenantRBACProvider_ConcurrentAccessStress 0.59
TestTenantRBACProvider_ConcurrentGetAndRemove 0.55
TestTenantRBACProvider_NoConnectionLeak 2.55
TestHandleListPointsAcceptsCanonicalPlatformQuery 1.87
TestHandleListRollupsExposeCanonicalPlatformsPayload 1.88
TestHandleListRollupsMetaReportsNormalizedPagination 2.51
TestHandleListPointsMetaReportsNormalizedPagination 2.50
TestStartPatrolForContext_DoesNotOverwriteOtherTenantPatrolComponents 2.56
TestStartPatrolForContext_RejectsMismatchedAIServiceOrg 1.47
TestRouterShutdownJoinsEveryOwnedLimiter 1.41
TestRouterMockMode_SeedsTrueNASAndVMwareSupplementalResources 1.62
TestRouterMockMode_SeedsVMwareSupplementalActivity 1.14
TestRouter_HandleState_MockIsolation 3.93
TestHandleMetricsHistory_TierAwareHistoryRanges 1.15
TestReportHandlerOffersOnlyQualifyingLiveReportsToTheRecorder 1.25
TestReportAckNamesNoCommandIdentityInMockMode 1.56
TestSettingsCapabilitiesMatchRouteEnforcementWithoutRBAC 1.00
TestSettingsCapabilitiesGrantConfiguredAdminWithoutRBAC 0.98
TestTrueNASHandlers_HandleList_ReturnsMockConnectionsInMockMode 1.19
TestFreeBSDOfflineAgentPreflight 3.15
TestBranchcov0723AmExtractFromZip 9.27
TestHandleApplyUpdate_BlocksWhenReadinessBlocked 1.27
TestHandleGetUpdatePlan 1.12
TestHandleGetUpdatePlan_IncludesUpgradeReadiness 1.17
TestHandleGetUpdatePlan_InvalidChannel 1.04
TestHandleGetUpdatePlan_PrepareError 1.13
TestVMwareHandlers_HandleList_ReturnsMockConnectionsInMockMode 1.09
TestAlertsEndpoints 26.42
TestRecoveryRollupsEndpointMigratesLegacySchemaMissingItemType 0.51
TestHealthEndpoint 25.86
TestRouteTestConnection_NoAuth 0.75
TestRouteExecute_EmptyPrompt 0.55
TestAITestConnectionRouteRejectsWrongScope 0.99
TestAITestProviderRouteRejectsWrongScope 1.09
TestAITestConnectionRouteWithValidScope 1.07
TestRouteTestProvider_ValidProviderNameEdgeCases 1.45
TestRouteTestProvider_PathTraversal 1.05
TestAITestProviderRouteWithValidScope 1.08
TestRouteExecute_WhitespaceOnlyPrompt 0.95
TestRouteTestProvider_UnknownProvider 1.08
TestRouteExecute_WrongScope 1.23
TestRouteTestProvider_InvalidProviderNames 1.25
TestRouteTestProvider_NoAuth 0.66
TestRouteExecute_NoAuth 1.05
TestRouteTestProvider_MultipleProviders 1.23
TestRouteExecute_Success 1.27
TestRouteExecuteStream_ModelFieldPassedThrough 1.02
TestRouteTestProvider_ConnectionFailure 1.04
TestRouteExecute_MethodNotAllowed 1.17
TestRouteExecuteStream_DefaultUseCaseIsChat 1.06
TestRouteExecuteStream_WithTargetContext 0.99
TestRouteExecuteStream_WithConversationHistory 1.06
TestRouteTestProvider_UnconfiguredProvider 0.99
TestRouteTestProvider_Success 1.11
TestRouteTestProvider_MethodNotAllowed 1.16
TestRouteExecuteStream_FindingIDPassedThrough 1.19
TestRouteTestConnection_WrongScope 1.22
TestRouteExecuteStream_EmptyTargetTypeAllowed 2.03
TestRouteTestProvider_WrongScope 1.04
TestRouteExecuteStream_InvalidHistoryRole 0.95
TestRouteExecuteStream_TargetIDTooLong 0.98
TestRouteExecute_FindingIDPassedThrough 1.07
TestRouteExecuteStream_ValidTargetTypes 2.95
TestRouteTestConnection_MethodNotAllowed 0.99
TestRouteTestConnection_NoConfig 0.99
TestRouteTestConnection_ConnectionFailure 1.11
TestRouteExecuteStream_EmptyJSONObject 1.02
TestRouteTestConnection_Success 1.11
TestRouteListModels_MalformedProviderResponse 1.26
TestRouteListModels_CachedField 1.19
TestRouteListModels_HEADMethod 1.07
TestRouteListModels_EmptyModelList 1.07
TestRouteListModels_ResponseContentType 1.15
TestRouteListModels_WrongScope 1.02
TestRouteListModels_ProviderError 0.96
TestRouteListModels_NoAuth 1.01
TestRouteListModels_MethodNotAllowed 0.96
TestRouteListModels_Success 1.01
TestRouteExecute_ModelFieldPassedThrough 0.97
TestRouteExecute_TargetIDTooLong 1.05
TestRouteExecuteStream_ServiceError 1.02
TestRouteExecuteStream_InvalidTargetType 0.99
TestRouteExecuteStream_NullPrompt 1.02
TestRouteExecuteStream_CompleteEventBeforeDone 1.04
TestRouteExecuteStream_EmptyBody 1.03
TestRouteExecuteStream_UseCaseCaseInsensitive 1.04
TestRouteExecuteStream_OversizedBody 1.17
TestRouteExecuteStream_MethodNotAllowed 1.47
TestRouteExecuteStream_SSEHeaders 1.06
TestRouteExecuteStream_AutofixLicenseRequired 1.04
TestRouteExecuteStream_RemediationLicenseRequired 1.04
TestRouteExecuteStream_AIDisabled 1.08
TestRouteExecuteStream_WhitespaceOnlyPrompt 1.21
TestRouteExecuteStream_EmptyPrompt 1.09
TestRouteExecuteStream_WrongScope 1.08
TestRouteExecuteStream_NoAuth 1.07
TestRouteExecuteStream_Success 1.42
TestRouteExecute_OversizedBody 1.12
TestRouteExecute_InvalidHistoryRole 1.16
TestRouteExecute_EmptyTargetTypeAllowed 0.97
TestRouteExecute_ServiceError 1.19
TestRouteExecute_InvalidTargetType 1.24
TestRouteExecute_NullPrompt 1.23
TestRouteExecute_UseCaseCaseInsensitive 1.08
TestRouteExecuteStream_InvalidJSON 1.11
TestRouteExecute_ValidTargetTypes 3.22
TestRouteExecute_EmptyBody 1.14
TestRouteExecute_WithTargetContext 0.85
TestRouteExecute_RemediationLicenseRequired 1.14
TestRouteExecute_EmptyJSONObject 1.21
TestRouteExecute_DefaultUseCaseIsChat 1.03
TestRouteExecute_AutofixLicenseRequired 1.11
TestRouteExecute_WithConversationHistory 1.02
TestRouteExecute_AIDisabled 0.94
TestRouteExecute_InvalidJSON 0.67
TestVersionEndpointUsesRepoVersion 25.63
TestAlertAcknowledge_AllowsPrintableAlertIDs 24.61
TestStateEndpointReturnsMockData 26.61
TestRecoveryRollupsEndpointReturnsMockData 26.15
TestProtectedEndpointsRequireAuthentication 24.76
TestAPIOnlyModeRequiresToken 25.57
TestServerInfoEndpointReportsDevelopment 25.44
TestRecoveryPointsEndpointReturnsMockData 26.87
TestServerInfoEndpointMethodNotAllowed 24.86
TestHealthEndpointMethodNotAllowed 25.39
TestHealthEndpointHeadAllowed 24.91
TestConfigNodesUsesMockTopology 25.58
TestMockModeToggleEndpoint 34.89
TestMockModeToggleFromRealDataRebindsPlatformSupplementalProviders 27.57
TestAuthenticatedEndpointsRequireToken 28.55
TestAPITokenQueryAndHeaderAuth 32.36
TestRecoveryEndpointRequiresDirectLoopback 28.62
TestWebSocketSendsInitialState 29.34
TestWebsocketPayloadContractShape 29.60
TestWebsocketPayloadUsesCanonicalStateContract 29.52
TestSessionCookieAllowsAuthenticatedAccess 28.66
TestRevokedAPITokenImmediatelyLosesAccess 32.55
TestLimitedAPITokenCannotCreateBroaderToken 28.83
TestPublicURLDetectionUsesForwardedHeaders 29.13
TestPublicURLDetectionRespectsEnvOverride 29.09