ci(bazel): rebalance the proxied-server tier on rbe-west measurements (30 -> 44 shards) (#7418)
//cmd/bd:bd_proxied_test's 30-shard block was packed from a local capture of each test's <testsuite time>, which for a t.Parallel test spans the time it sat paused behind its shard's other tests. Cheap tests that waited looked as heavy as the shard, so the "balanced" block ran 38-286s per shard in CI (356s on rbe-west). - scripts/ci/proxied_test_durations.json: re-measured on rbe-west (two --nocache_test_results runs), each test's cost the sum of its leaf tests' <testcase time>, averaged over both runs. - Measured where a test's time goes: nearly all of it is `bd init --proxied-server` against the shard's dolt sql-server (~2,000 statements, 81 DOLT_COMMITs, ~6-12 server CPU-seconds per init), one per subtest. Top-level tests with ~20 such subtests ran up to ~350s alone, above any shard budget, so the fifteen heaviest are split into two or three top-level functions (TestProxiedServerUpdate/-UpdateB/-UpdateC, ...). Each subtest is moved verbatim; the split functions repeat the original's preamble. - 30 -> 44 shards, LPT-packed to <=430 cost-seconds per shard. rbe-west, --nocache_test_results: before 30 shards, max 356s, 5,671 shard-seconds; after 44 shards, max 159s (median 138s), 5,883 shard-seconds. Bead: ga-vnycm2.3 Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f60de63a75
commit
c4c66d42a2
18 changed files with 698 additions and 505 deletions
413
.github/scripts/proxied-cmd-test-shards.txt
vendored
413
.github/scripts/proxied-cmd-test-shards.txt
vendored
|
|
@ -225,12 +225,12 @@
|
|||
#
|
||||
# Format: <total_shards> <shard_number> <top_level_test_name>
|
||||
#
|
||||
# 30-shard split for the Bazel-only proxied-server tier
|
||||
# 44-shard split for the Bazel-only proxied-server tier
|
||||
# (bazel-proxied in .github/workflows/bazel.yml), bin-packed
|
||||
# longest-processing-time-first by measured wall-time from
|
||||
# scripts/ci/proxied_test_durations.json (see that file for
|
||||
# provenance and its "relative weight, not absolute SLA" caveat).
|
||||
# Regenerate with scripts/ci/gen_proxied_shard_manifest.py 30
|
||||
# Regenerate with scripts/ci/gen_proxied_shard_manifest.py 44
|
||||
# --weights=duration --write after adding or removing
|
||||
# TestProxiedServer*/TestServerMode* functions. --write is incremental:
|
||||
# it keeps every already-assigned test on its current shard and only
|
||||
|
|
@ -252,219 +252,254 @@
|
|||
# regeneration. Add them to the generator or the durations file
|
||||
# instead.
|
||||
|
||||
30 1 TestProxiedServerGateList
|
||||
30 1 TestProxiedServerHuman
|
||||
30 1 TestProxiedServerReclaim
|
||||
30 1 TestProxiedServerSQLStatementRouting
|
||||
30 1 TestProxiedServerServeLifecycle
|
||||
44 1 TestProxiedServerDep2
|
||||
44 1 TestProxiedServerServeAddDependencies
|
||||
|
||||
30 2 TestProxiedServerCloseBeadGate
|
||||
30 2 TestProxiedServerDelete
|
||||
30 2 TestProxiedServerDeleteForceOrphans
|
||||
30 2 TestProxiedServerIfRevisionGuardAssign
|
||||
30 2 TestProxiedServerListComments
|
||||
30 2 TestProxiedServerPromote
|
||||
30 2 TestProxiedServerTypesAgreeWithCreate
|
||||
44 2 TestProxiedServerClose2
|
||||
44 2 TestProxiedServerCount
|
||||
44 2 TestProxiedServerEventsJournalOffByDefault
|
||||
44 2 TestProxiedServerServeRefusesAStreamOnADisabledJournal
|
||||
|
||||
30 3 TestProxiedServerDuplicates
|
||||
30 3 TestProxiedServerReadyWisp
|
||||
30 3 TestProxiedServerServeDelete
|
||||
30 3 TestProxiedServerServeModeGate
|
||||
30 3 TestProxiedServerServeReadRevision
|
||||
44 3 TestProxiedServerEventsJournal
|
||||
44 3 TestProxiedServerServeReadsTheJournalItJustWrote
|
||||
44 3 TestProxiedServerUpdate3
|
||||
44 3 TestServerModeSharedServeGlobalReportsTheServedDatabase
|
||||
|
||||
30 4 TestProxiedServerGateCreateInheritsRepoMetadata
|
||||
30 4 TestProxiedServerMolBurn
|
||||
30 4 TestProxiedServerReadyConcurrent
|
||||
30 4 TestProxiedServerServeAddDependencies
|
||||
30 4 TestProxiedServerServeRelatedIssues
|
||||
44 4 TestProxiedServerClose2B
|
||||
44 4 TestProxiedServerOutageReconnectAcceptanceMatrix
|
||||
44 4 TestProxiedServerServeDelete
|
||||
44 4 TestProxiedServerSetState
|
||||
|
||||
30 5 TestProxiedServerCleanDatabases
|
||||
30 5 TestProxiedServerCreate
|
||||
30 5 TestProxiedServerEventsJournal
|
||||
30 5 TestProxiedServerPour
|
||||
30 5 TestProxiedServerServeUpdateClaim
|
||||
30 5 TestServerModeDeferAutoWake
|
||||
44 5 TestProxiedServerCreateInfraTypeRoutesToWisps
|
||||
44 5 TestProxiedServerHuman
|
||||
44 5 TestProxiedServerListComments
|
||||
44 5 TestProxiedServerServeClaimNext
|
||||
|
||||
30 6 TestProxiedServerBatchParity
|
||||
30 6 TestProxiedServerHistoryRemoteSupportedFrontDoorParity
|
||||
30 6 TestProxiedServerMolShow
|
||||
30 6 TestProxiedServerMultiStatementSQL
|
||||
30 6 TestProxiedServerReady
|
||||
30 6 TestProxiedServerServeRemoveDependency
|
||||
44 6 TestProxiedServerAssign
|
||||
44 6 TestProxiedServerCompactDolt
|
||||
44 6 TestProxiedServerHistory
|
||||
44 6 TestProxiedServerIfRevisionGuardDelete
|
||||
44 6 TestProxiedServerKV
|
||||
44 6 TestProxiedServerServeStreamsTheJournalItIsWriting
|
||||
|
||||
30 7 TestProxiedServerCleanDatabasesPurgeDropped
|
||||
30 7 TestProxiedServerCount
|
||||
30 7 TestProxiedServerCountIncludeInfra
|
||||
30 7 TestProxiedServerDoltLifecycle
|
||||
30 7 TestProxiedServerGC
|
||||
30 7 TestProxiedServerUpdate
|
||||
44 7 TestProxiedServerBatchDefersThenDoltCommitAdvancesHeadOnce
|
||||
44 7 TestProxiedServerDoltLifecycle
|
||||
44 7 TestProxiedServerGateFrontDoorDirectServerProxyParity
|
||||
44 7 TestProxiedServerIfRevisionGuardClose
|
||||
44 7 TestProxiedServerMolDistill
|
||||
44 7 TestProxiedServerPathHelpers
|
||||
44 7 TestProxiedServerStorageClass
|
||||
44 7 TestServerModeServe
|
||||
|
||||
30 8 TestProxiedServerInitIfMissing
|
||||
30 8 TestProxiedServerPathHelpers
|
||||
30 8 TestProxiedServerReopenConcurrent
|
||||
30 8 TestProxiedServerShow2
|
||||
30 8 TestProxiedServerTypes
|
||||
30 8 TestProxiedServerUpdateClosePolicy
|
||||
30 8 TestServerModeSharedServeGlobalReportsTheServedDatabase
|
||||
44 8 TestProxiedServerDelete
|
||||
44 8 TestProxiedServerPourRejectsEnumViolatingVar
|
||||
44 8 TestProxiedServerSQL
|
||||
44 8 TestProxiedServerTag
|
||||
44 8 TestProxiedServerUpdate2B
|
||||
|
||||
30 9 TestProxiedServerCloseConcurrent
|
||||
30 9 TestProxiedServerDep2
|
||||
30 9 TestProxiedServerListWatchCountsTheOffsetIntoMaxRows
|
||||
30 9 TestProxiedServerMolReadyGated
|
||||
30 9 TestProxiedServerSQL
|
||||
44 9 TestProxiedServerConfigSetMany
|
||||
44 9 TestProxiedServerReopen
|
||||
44 9 TestProxiedServerServeClaim
|
||||
44 9 TestProxiedServerUnclaimIfAssigneeParity
|
||||
44 9 TestProxiedServerUpdateConcurrentAppendNotes
|
||||
|
||||
30 10 TestProxiedServerAutoPrune
|
||||
30 10 TestProxiedServerClose2
|
||||
30 10 TestProxiedServerPing
|
||||
30 10 TestProxiedServerServeClose
|
||||
30 10 TestProxiedServerServeEdgeCounts
|
||||
44 10 TestProxiedServerDeleteBlockedJSONSingleDoc
|
||||
44 10 TestProxiedServerLink
|
||||
44 10 TestProxiedServerPriority
|
||||
44 10 TestProxiedServerReadyWisp
|
||||
44 10 TestProxiedServerServeAddComment
|
||||
|
||||
30 11 TestProxiedServerBatchDefersThenDoltCommitAdvancesHeadOnce
|
||||
30 11 TestProxiedServerOutageReconnectAcceptanceMatrix
|
||||
30 11 TestProxiedServerReady2
|
||||
30 11 TestProxiedServerServeReadsTheJournalItJustWrote
|
||||
30 11 TestProxiedServerServeRefusesTheJournalWhenItIsDisabled
|
||||
30 11 TestProxiedServerShow
|
||||
44 11 TestProxiedServerAutoPrune
|
||||
44 11 TestProxiedServerBatchParity
|
||||
44 11 TestProxiedServerContext
|
||||
44 11 TestProxiedServerCreate2
|
||||
44 11 TestProxiedServerExternalMutationPolicy
|
||||
|
||||
30 12 TestProxiedServerAssign
|
||||
30 12 TestProxiedServerConfigSetMany
|
||||
30 12 TestProxiedServerContext
|
||||
30 12 TestProxiedServerInitExplicitBeadsDirIsAuthoritative
|
||||
30 12 TestProxiedServerReadyClaimConcurrent
|
||||
30 12 TestProxiedServerServeBatchClose
|
||||
44 12 TestProxiedServerExternalCreate
|
||||
44 12 TestProxiedServerServeRelatedIssues
|
||||
44 12 TestProxiedServerUpdate
|
||||
44 12 TestProxiedServerWispList
|
||||
44 12 TestServerModeTypesAgreeWithCreate
|
||||
|
||||
30 13 TestProxiedServerChildren
|
||||
30 13 TestProxiedServerConfig
|
||||
30 13 TestProxiedServerDoltRemoteRemove
|
||||
30 13 TestProxiedServerExternalMutationPolicy
|
||||
30 13 TestProxiedServerPriority
|
||||
30 13 TestProxiedServerServeUpdate
|
||||
44 13 TestProxiedServerCreate
|
||||
44 13 TestProxiedServerRecomputeBlocked
|
||||
44 13 TestProxiedServerServeUpdate
|
||||
44 13 TestProxiedServerShow2
|
||||
44 13 TestProxiedServerStale
|
||||
|
||||
30 14 TestProxiedServerInfo
|
||||
30 14 TestProxiedServerLint
|
||||
30 14 TestProxiedServerNote
|
||||
30 14 TestProxiedServerQuery
|
||||
30 14 TestProxiedServerUpdate3
|
||||
30 14 TestProxiedServerWispCreate
|
||||
44 14 TestProxiedServerMolSquash
|
||||
44 14 TestProxiedServerQuick
|
||||
44 14 TestProxiedServerServeReadParity
|
||||
44 14 TestProxiedServerServeRefusesAStaleCheckpointWithGone
|
||||
44 14 TestProxiedServerShow2B
|
||||
|
||||
30 15 TestProxiedServerCompactDolt
|
||||
30 15 TestProxiedServerMolDistill
|
||||
30 15 TestProxiedServerMolProgress
|
||||
30 15 TestProxiedServerServeClaimNext
|
||||
30 15 TestProxiedServerServeRefusesAStreamOnADisabledJournal
|
||||
30 15 TestProxiedServerUnclaimIfAssigneeParity
|
||||
44 15 TestProxiedServerCountIncludeInfra
|
||||
44 15 TestProxiedServerDeleteForceOrphans
|
||||
44 15 TestProxiedServerDuplicates
|
||||
44 15 TestProxiedServerLabel
|
||||
44 15 TestProxiedServerServeBatchClose
|
||||
|
||||
30 16 TestProxiedServerCascadeParity
|
||||
30 16 TestProxiedServerExternalCreate
|
||||
30 16 TestProxiedServerGraph
|
||||
30 16 TestProxiedServerLabel
|
||||
30 16 TestProxiedServerSwarm
|
||||
30 16 TestProxiedServerTodo
|
||||
30 16 TestProxiedServerUpdateConcurrentMetadata
|
||||
44 16 TestProxiedServerHistoryRemoteSupportedFrontDoorParity
|
||||
44 16 TestProxiedServerQuery
|
||||
44 16 TestProxiedServerSQLDatabaseFlag
|
||||
44 16 TestProxiedServerShowB
|
||||
44 16 TestProxiedServerWispCreate
|
||||
|
||||
30 17 TestProxiedServerClose
|
||||
30 17 TestProxiedServerClose3
|
||||
30 17 TestProxiedServerClose4
|
||||
30 17 TestProxiedServerConfigConcurrent
|
||||
30 17 TestProxiedServerDeleteConcurrent
|
||||
30 17 TestProxiedServerIfRevisionGuardUpdate
|
||||
30 17 TestProxiedServerSearch
|
||||
30 17 TestProxiedServerServeReadParity
|
||||
30 17 TestProxiedServerStatus
|
||||
44 17 TestProxiedServerDoltRemoteRemove
|
||||
44 17 TestProxiedServerImport
|
||||
44 17 TestProxiedServerLint
|
||||
44 17 TestProxiedServerServeEdgeCounts
|
||||
44 17 TestProxiedServerStatus
|
||||
|
||||
30 18 TestProxiedServerHeartbeat
|
||||
30 18 TestProxiedServerMolBond
|
||||
30 18 TestProxiedServerSQLDatabaseFlag
|
||||
30 18 TestProxiedServerServeCount
|
||||
30 18 TestProxiedServerUpdate2
|
||||
30 18 TestServerModeTypesAgreeWithCreate
|
||||
44 18 TestProxiedServerCloseConcurrent
|
||||
44 18 TestProxiedServerDep2C
|
||||
44 18 TestProxiedServerEdit
|
||||
44 18 TestProxiedServerIfRevisionGuardUpdate
|
||||
44 18 TestProxiedServerSearch
|
||||
|
||||
30 19 TestProxiedServerCreate2
|
||||
30 19 TestProxiedServerEdit
|
||||
30 19 TestProxiedServerIfRevisionGuardReopen
|
||||
30 19 TestProxiedServerPourRejectsEnumViolatingVar
|
||||
30 19 TestProxiedServerReassignFence
|
||||
30 19 TestProxiedServerUpdateWisp
|
||||
30 19 TestServerModeServe
|
||||
44 19 TestProxiedServerServeClose
|
||||
44 19 TestProxiedServerTypesAgreeWithCreate
|
||||
44 19 TestProxiedServerUpdate2
|
||||
44 19 TestProxiedServerUpdateClosePolicy
|
||||
|
||||
30 20 TestProxiedServerExternalPolicyDirectParity
|
||||
30 20 TestProxiedServerHistory
|
||||
30 20 TestProxiedServerImport
|
||||
30 20 TestProxiedServerMemory
|
||||
30 20 TestProxiedServerMolCurrent
|
||||
30 20 TestProxiedServerServeStreamsTheJournalItIsWriting
|
||||
44 20 TestProxiedServerDeferAutoWake
|
||||
44 20 TestProxiedServerEpic
|
||||
44 20 TestProxiedServerIfRevisionGuardReopen
|
||||
44 20 TestProxiedServerInitIfMissing
|
||||
44 20 TestProxiedServerReopenB
|
||||
44 20 TestProxiedServerUpdateIfGuards
|
||||
|
||||
30 21 TestProxiedServerDeleteWisp
|
||||
30 21 TestProxiedServerDepConcurrent
|
||||
30 21 TestProxiedServerListSortRetiresTheWalk
|
||||
30 21 TestProxiedServerPrime
|
||||
30 21 TestProxiedServerRelate
|
||||
30 21 TestProxiedServerSetState
|
||||
30 21 TestProxiedServerUpdateConcurrentAppendNotes
|
||||
44 21 TestProxiedServerBlocked
|
||||
44 21 TestProxiedServerCleanDatabases
|
||||
44 21 TestProxiedServerConfig
|
||||
44 21 TestProxiedServerMolShow
|
||||
44 21 TestProxiedServerPing
|
||||
44 21 TestProxiedServerServeActivatesTheEventsJournal
|
||||
|
||||
30 22 TestProxiedServerCompactHistory
|
||||
30 22 TestProxiedServerGateLifecycle
|
||||
30 22 TestProxiedServerKV
|
||||
30 22 TestProxiedServerShow3
|
||||
30 22 TestProxiedServerStale
|
||||
30 22 TestProxiedServerStatuses
|
||||
44 22 TestProxiedServerCloseBeadGate
|
||||
44 22 TestProxiedServerExternalPolicyDirectParity
|
||||
44 22 TestProxiedServerFindDuplicates
|
||||
44 22 TestProxiedServerReadyB
|
||||
44 22 TestProxiedServerServeCreate
|
||||
|
||||
30 23 TestProxiedServerBackupRefusedOnExternalTopology
|
||||
30 23 TestProxiedServerCloseSiblingBlockersFanIn
|
||||
30 23 TestProxiedServerDeleteBlockedJSONSingleDoc
|
||||
30 23 TestProxiedServerQuick
|
||||
30 23 TestProxiedServerStorageClass
|
||||
30 23 TestProxiedServerUpdateHooks
|
||||
30 23 TestProxiedServerWispGC
|
||||
44 23 TestProxiedServerCloseSiblingBlockersFanIn
|
||||
44 23 TestProxiedServerMoleculeFrontDoorDirectServerProxyParity
|
||||
44 23 TestProxiedServerPour
|
||||
44 23 TestProxiedServerShow3
|
||||
44 23 TestProxiedServerUpdateConcurrentClaim
|
||||
|
||||
30 24 TestProxiedServerCreateInfraTypeRoutesToWisps
|
||||
30 24 TestProxiedServerEpic
|
||||
30 24 TestProxiedServerLink
|
||||
30 24 TestProxiedServerMoleculeFrontDoorDirectServerProxyParity
|
||||
30 24 TestProxiedServerRecomputeBlocked
|
||||
30 24 TestServerModeServeSkipsPostRunMaintenance
|
||||
44 24 TestProxiedServerLabelC
|
||||
44 24 TestProxiedServerMemory
|
||||
44 24 TestProxiedServerMolStale
|
||||
44 24 TestProxiedServerServeUpdateClaim
|
||||
44 24 TestProxiedServerSwarm
|
||||
|
||||
30 25 TestProxiedServerDeferUndefer
|
||||
30 25 TestProxiedServerOrphans
|
||||
30 25 TestProxiedServerServeClaim
|
||||
30 25 TestProxiedServerShowWatch
|
||||
30 25 TestProxiedServerUpdateIfGuards
|
||||
30 25 TestProxiedServerWispCreateRejectsEnumViolatingVar
|
||||
44 25 TestProxiedServerHeartbeat
|
||||
44 25 TestProxiedServerMolLastActivity
|
||||
44 25 TestProxiedServerReassignFence
|
||||
44 25 TestProxiedServerStatuses
|
||||
44 25 TestProxiedServerUpdateWisp
|
||||
|
||||
30 26 TestProxiedServerFindDuplicates
|
||||
30 26 TestProxiedServerGateCheck
|
||||
30 26 TestProxiedServerGateFrontDoorDirectServerProxyParity
|
||||
30 26 TestProxiedServerGatedRendering
|
||||
30 26 TestProxiedServerServeAddComment
|
||||
30 26 TestProxiedServerServeSettingsWrites
|
||||
30 26 TestProxiedServerState
|
||||
44 26 TestProxiedServerGraph
|
||||
44 26 TestProxiedServerMolBond
|
||||
44 26 TestProxiedServerServeReadRevision
|
||||
44 26 TestProxiedServerTodo
|
||||
44 26 TestProxiedServerUpdateHooks
|
||||
|
||||
30 27 TestProxiedServerBlocked
|
||||
30 27 TestProxiedServerIfRevisionGuardClose
|
||||
30 27 TestProxiedServerMolLastActivity
|
||||
30 27 TestProxiedServerMolStale
|
||||
30 27 TestProxiedServerMoleculeFrontDoorWriteParity
|
||||
30 27 TestProxiedServerServeActivatesTheEventsJournal
|
||||
30 27 TestProxiedServerServeRefusesAStaleCheckpointWithGone
|
||||
44 27 TestProxiedServerCreate2B
|
||||
44 27 TestProxiedServerGateList
|
||||
44 27 TestProxiedServerGatedRendering
|
||||
44 27 TestProxiedServerReopenConcurrent
|
||||
44 27 TestProxiedServerSQLStatementRouting
|
||||
|
||||
30 28 TestProxiedServerComment
|
||||
30 28 TestProxiedServerExport
|
||||
30 28 TestProxiedServerList
|
||||
30 28 TestProxiedServerReopen
|
||||
30 28 TestProxiedServerServeCreate
|
||||
30 28 TestProxiedServerUnclaim
|
||||
44 28 TestProxiedServerComment
|
||||
44 28 TestProxiedServerMolProgress
|
||||
44 28 TestProxiedServerServeCount
|
||||
44 28 TestProxiedServerServeRemoveDependency
|
||||
44 28 TestProxiedServerUpdateB
|
||||
|
||||
30 29 TestProxiedServerDeferAutoWake
|
||||
30 29 TestProxiedServerDep
|
||||
30 29 TestProxiedServerDepListSingleIDWarnsOnDroppedExternalEdge
|
||||
30 29 TestProxiedServerHistoryRemoteRefusalFrontDoorMatrix
|
||||
30 29 TestProxiedServerIfRevisionGuardDelete
|
||||
30 29 TestProxiedServerTag
|
||||
30 29 TestProxiedServerWispList
|
||||
44 29 TestProxiedServerCreate2C
|
||||
44 29 TestProxiedServerDep
|
||||
44 29 TestProxiedServerDepConcurrent
|
||||
44 29 TestProxiedServerServeSettingsWrites
|
||||
44 29 TestProxiedServerWispCreateRejectsEnumViolatingVar
|
||||
|
||||
30 30 TestProxiedServerEventsJournalOffByDefault
|
||||
30 30 TestProxiedServerMolSquash
|
||||
30 30 TestProxiedServerPrune
|
||||
30 30 TestProxiedServerPurgeWispsPlaneRetention
|
||||
30 30 TestProxiedServerServeRelease
|
||||
30 30 TestProxiedServerUpdateConcurrentClaim
|
||||
44 30 TestProxiedServerDepListSingleIDWarnsOnDroppedExternalEdge
|
||||
44 30 TestProxiedServerInfo
|
||||
44 30 TestProxiedServerPrime
|
||||
44 30 TestProxiedServerUpdateC
|
||||
44 30 TestServerModeServeSkipsPostRunMaintenance
|
||||
|
||||
44 31 TestProxiedServerCleanDatabasesPurgeDropped
|
||||
44 31 TestProxiedServerGateLifecycle
|
||||
44 31 TestProxiedServerPurgeWispsPlaneRetention
|
||||
44 31 TestProxiedServerShow3B
|
||||
44 31 TestServerModeDeferAutoWake
|
||||
|
||||
44 32 TestProxiedServerClose3
|
||||
44 32 TestProxiedServerGC
|
||||
44 32 TestProxiedServerList
|
||||
44 32 TestProxiedServerReadyConcurrent
|
||||
44 32 TestProxiedServerServeModeGate
|
||||
|
||||
44 33 TestProxiedServerDeferUndefer
|
||||
44 33 TestProxiedServerDepB
|
||||
44 33 TestProxiedServerInitExplicitBeadsDirIsAuthoritative
|
||||
44 33 TestProxiedServerMolBurn
|
||||
44 33 TestProxiedServerOrphans
|
||||
|
||||
44 34 TestProxiedServerChildren
|
||||
44 34 TestProxiedServerHistoryRemoteRefusalFrontDoorMatrix
|
||||
44 34 TestProxiedServerPromote
|
||||
44 34 TestProxiedServerServeRelease
|
||||
44 34 TestProxiedServerUpdate2C
|
||||
|
||||
44 35 TestProxiedServerConfigConcurrent
|
||||
44 35 TestProxiedServerReady2
|
||||
44 35 TestProxiedServerShow
|
||||
|
||||
44 36 TestProxiedServerDep2B
|
||||
44 36 TestProxiedServerGateCreateInheritsRepoMetadata
|
||||
44 36 TestProxiedServerServeRefusesTheJournalWhenItIsDisabled
|
||||
44 36 TestProxiedServerWispGC
|
||||
|
||||
44 37 TestProxiedServerDeleteWisp
|
||||
44 37 TestProxiedServerNote
|
||||
44 37 TestProxiedServerReady
|
||||
44 37 TestProxiedServerShowWatch
|
||||
|
||||
44 38 TestProxiedServerBackupRefusedOnExternalTopology
|
||||
44 38 TestProxiedServerCascadeParity
|
||||
44 38 TestProxiedServerClose4
|
||||
44 38 TestProxiedServerReadyClaimConcurrent
|
||||
44 38 TestProxiedServerReclaim
|
||||
|
||||
44 39 TestProxiedServerGateCheck
|
||||
44 39 TestProxiedServerLabelB
|
||||
44 39 TestProxiedServerMoleculeFrontDoorWriteParity
|
||||
|
||||
44 40 TestProxiedServerDeleteConcurrent
|
||||
44 40 TestProxiedServerIfRevisionGuardAssign
|
||||
44 40 TestProxiedServerReadyC
|
||||
44 40 TestProxiedServerRelate
|
||||
|
||||
44 41 TestProxiedServerMolCurrent
|
||||
44 41 TestProxiedServerPrune
|
||||
44 41 TestProxiedServerTypes
|
||||
44 41 TestProxiedServerUnclaim
|
||||
|
||||
44 42 TestProxiedServerClose
|
||||
44 42 TestProxiedServerCompactHistory
|
||||
44 42 TestProxiedServerState
|
||||
44 42 TestProxiedServerUpdateConcurrentMetadata
|
||||
|
||||
44 43 TestProxiedServerCloseB
|
||||
44 43 TestProxiedServerConfigB
|
||||
44 43 TestProxiedServerMultiStatementSQL
|
||||
|
||||
44 44 TestProxiedServerExport
|
||||
44 44 TestProxiedServerGateCheckB
|
||||
44 44 TestProxiedServerListSortRetiresTheWalk
|
||||
44 44 TestProxiedServerListWatchCountsTheOffsetIntoMaxRows
|
||||
44 44 TestProxiedServerMolReadyGated
|
||||
44 44 TestProxiedServerServeLifecycle
|
||||
|
|
|
|||
44
.github/workflows/bazel.yml
vendored
44
.github/workflows/bazel.yml
vendored
|
|
@ -1732,8 +1732,8 @@ jobs:
|
|||
# Like pr-risk.yml's proxied-server tier, "Test (Proxied Dolt Cmd N/15)",
|
||||
# as --config=doltserver-proxied: //cmd/bd:bd_proxied_test runs the shard
|
||||
# script, so shard k runs exactly that manifest entry's tests. This lane
|
||||
# runs 30 shards of its own (.github/scripts/proxied-cmd-test-shards.txt's
|
||||
# duration-balanced 30-block; see scripts/ci/proxied_test_durations.json),
|
||||
# runs 44 shards of its own (.github/scripts/proxied-cmd-test-shards.txt's
|
||||
# duration-balanced 44-block; see scripts/ci/proxied_test_durations.json),
|
||||
# not the legacy jobs' 15 — shard k here is not the same split as their
|
||||
# shard k. Same build as --config=doltserver (race bd_test, non-race
|
||||
# bd_for_tests), shared with bazel-doltserver through the remote cache.
|
||||
|
|
@ -1793,35 +1793,15 @@ jobs:
|
|||
fi
|
||||
|
||||
# Remote: each shard's Go timeout is its job's 15m, 1200s Bazel cap,
|
||||
# plus a compile. scripts/ci/proxied_test_durations.json's 176 entries
|
||||
# are each a clean, single-job (no concurrent heavy bazel/dolt job
|
||||
# intentionally started on the box; see that file's header for its
|
||||
# ambient-contention caveat), -test.parallel=4 top-level-test
|
||||
# duration — the exact config this job uses — from a single fresh,
|
||||
# manifest-aligned 30-shard sweep's own <testsuite time> (errors="0",
|
||||
# so a failing-but-complete suite's time is still trustworthy); every
|
||||
# one of the 176 discovered tests completed inside its shard run, so
|
||||
# no `bazel run` leaf-summation workaround was needed this time. See
|
||||
# that file's header for the full methodology, including why an
|
||||
# earlier -test.parallel=1 (serial) capture was replaced: serial
|
||||
# timings don't model this lane (which always runs parallel=4), and
|
||||
# an independent re-review measured near-zero correlation (r=0.08)
|
||||
# between the serial-derived predicted shard load and actual
|
||||
# parallel=4 wall time.
|
||||
#
|
||||
# Measured per-shard wall time for the full 30-shard local sweep that
|
||||
# produced this data: shards ranged from roughly 32s to 341s, with
|
||||
# most clustering well under this job's 25m step timeout / 30m job
|
||||
# timeout. After repacking with these corrected weights, the LPT
|
||||
# estimate clusters every shard within a few seconds of ~355-360s
|
||||
# (sum of all 176 measured durations / 30 shards) — no single test or
|
||||
# small group of tests dominates a shard the way the discarded serial
|
||||
# data wrongly implied. This is a local, single-job measurement, not
|
||||
# a verified RBE forecast (this job has only ever run remote); if a
|
||||
# shard's RBE wall time diverges sharply from this local estimate,
|
||||
# that is RBE throughput differing from local execution, not
|
||||
# necessarily a regression — compare against this job's own recent
|
||||
# run history before assuming a hang.
|
||||
# plus a compile. The 44-shard block is LPT-packed by
|
||||
# scripts/ci/proxied_test_durations.json, a rbe-west capture of each
|
||||
# top-level test's summed leaf-test time (see its header). Packed to
|
||||
# <=430 cost-seconds per shard, and a shard's wall time ran ~0.3x its
|
||||
# packed cost on the lane's executors (-test.parallel=4), so shards
|
||||
# are expected around 100-150s. Nearly all of that is `bd init
|
||||
# --proxied-server` against the shard's dolt sql-server, ~one per
|
||||
# subtest; a shard running far longer than its packed cost is worth
|
||||
# comparing against this job's recent history before assuming a hang.
|
||||
- name: bazel test //... --config=doltserver-proxied
|
||||
id: test
|
||||
timeout-minutes: 25
|
||||
|
|
@ -1850,7 +1830,7 @@ jobs:
|
|||
run: >-
|
||||
python3 tools/bazel/check_shard_coverage.py
|
||||
--bep "$RUNNER_TEMP/bazel-bep.json"
|
||||
--suite //cmd/bd:bd_proxied_test .github/scripts/proxied-test-shard.sh 30
|
||||
--suite //cmd/bd:bd_proxied_test .github/scripts/proxied-test-shard.sh 44
|
||||
|
||||
- name: Upload test logs
|
||||
if: ${{ failure() && steps.test.outcome != 'skipped' }}
|
||||
|
|
|
|||
|
|
@ -1441,8 +1441,8 @@ sh_test(
|
|||
tags = ["embedded"],
|
||||
)
|
||||
|
||||
# Runs 30 Bazel shards against the TestProxiedServer*/TestServerMode*
|
||||
# functions, assigned by the manifest's 30-shard block (duration-balanced;
|
||||
# Runs 44 Bazel shards against the TestProxiedServer*/TestServerMode*
|
||||
# functions, assigned by the manifest's 44-shard block (duration-balanced;
|
||||
# see scripts/ci/proxied_test_durations.json), against this configuration's
|
||||
# (race) bd_test with BEADS_TEST_PROXIED_SERVER=1 and the non-race
|
||||
# bd_for_tests as the subprocess binary. This is a *different* shard count
|
||||
|
|
@ -1499,7 +1499,7 @@ sh_test(
|
|||
# 192-core worker).
|
||||
"GOMAXPROCS": "4",
|
||||
},
|
||||
shard_count = 30,
|
||||
shard_count = 44,
|
||||
tags = ["dolt-server-proxied"],
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -283,6 +283,14 @@ func TestProxiedServerClose(t *testing.T) {
|
|||
t.Errorf("close_reason: got %q, want %q", got, "wontfix")
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerCloseB holds more of TestProxiedServerClose's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerCloseB(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("close_with_comment_alias", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
@ -348,7 +356,6 @@ func TestProxiedServerClose(t *testing.T) {
|
|||
t.Errorf("expected 'not found' error, got: %s", out)
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
// TestProxiedServerClose3 is the second half of TestProxiedServerClose,
|
||||
|
|
@ -754,6 +761,14 @@ func TestProxiedServerClose2(t *testing.T) {
|
|||
t.Errorf("expected single-issue error, got: %s", out)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerClose2B holds more of TestProxiedServerClose2's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerClose2B(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("close_suggest_next_multiple_ids_fails", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
|
|||
|
|
@ -165,6 +165,14 @@ func TestProxiedServerConfig(t *testing.T) {
|
|||
t.Error("expected test.removeme to be absent from config list after unset")
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerConfigB holds more of TestProxiedServerConfig's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerConfigB(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("config_get_missing_key", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
|
|||
|
|
@ -183,6 +183,14 @@ func TestProxiedServerCreate2(t *testing.T) {
|
|||
t.Errorf("metadata: got %v, want key=value", m)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerCreate2B holds more of TestProxiedServerCreate2's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerCreate2B(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("dry_run", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
@ -349,6 +357,14 @@ A new feature
|
|||
t.Errorf("source_repo: got %q, want %q", sourceRepo, "/path/to/repo")
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerCreate2C holds more of TestProxiedServerCreate2's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerCreate2C(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
// RULING R1 (TestParityCreateOnOccupiedIDRefuses): `bd create --id` on an
|
||||
// occupied ID refuses with exit 1 and a fixed message, leaving the
|
||||
|
|
|
|||
|
|
@ -224,7 +224,18 @@ func TestProxiedServerDep(t *testing.T) {
|
|||
t.Errorf("expected 'cycle' error: %s", out)
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerDepB holds more of TestProxiedServerDep's Add cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerDepB(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("Add", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
t.Run("child_parent_antipattern", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
p := newSharedProxiedProject(t, bd, "dpa8")
|
||||
|
|
@ -379,7 +390,6 @@ func TestProxiedServerDep(t *testing.T) {
|
|||
}
|
||||
})
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
func TestProxiedServerDep2(t *testing.T) {
|
||||
|
|
@ -550,6 +560,15 @@ func TestProxiedServerDep2(t *testing.T) {
|
|||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerDep2B is the next slice of TestProxiedServerDep2's cases, a
|
||||
// separate top-level test so the bd_proxied_test shard manifest can place it
|
||||
// on its own shard.
|
||||
func TestProxiedServerDep2B(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("Tree", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
@ -635,7 +654,18 @@ func TestProxiedServerDep2(t *testing.T) {
|
|||
bdProxiedDep(t, bd, p.dir, "add", root.ID, dep.ID)
|
||||
_ = bdProxiedDep(t, bd, p.dir, "tree", root.ID, "--status", "open")
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerDep2C holds more of TestProxiedServerDep2's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerDep2C(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("Tree", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
t.Run("format_mermaid", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
p := newSharedProxiedProject(t, bd, "dpt7")
|
||||
|
|
|
|||
|
|
@ -126,6 +126,17 @@ func TestProxiedServerGateCheck(t *testing.T) {
|
|||
t.Errorf("expected 1 resolved after target close, got:\n%s", out)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerGateCheckB holds more of TestProxiedServerGateCheck's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerGateCheckB(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
const expiredTimeout = time.Hour
|
||||
longAgo := func() time.Time { return time.Now().UTC().Add(-48 * time.Hour) }
|
||||
|
||||
t.Run("bead_gate_resolves_when_seen_target_is_deleted", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
|
|||
|
|
@ -230,6 +230,15 @@ func TestProxiedServerLabel(t *testing.T) {
|
|||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerLabelB holds more of TestProxiedServerLabel's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerLabelB(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("propagate_no_children", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
@ -382,6 +391,15 @@ func TestProxiedServerLabel(t *testing.T) {
|
|||
t.Errorf("expected both labels in text list, got:\n%s", out)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerLabelC holds more of TestProxiedServerLabel's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerLabelC(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("propagate_json", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
|
|||
|
|
@ -238,6 +238,14 @@ func TestProxiedServerReady(t *testing.T) {
|
|||
envelope.Pagination.Total, s[start:])
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerReadyB holds more of TestProxiedServerReady's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerReadyB(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("pagination_envelope_not_truncated", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
@ -409,6 +417,14 @@ func TestProxiedServerReady(t *testing.T) {
|
|||
t.Error("after re-fetch: Assignee empty (commit may not have persisted)")
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerReadyC holds more of TestProxiedServerReady's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerReadyC(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("blocked_issues_excluded_from_default_output", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
@ -536,7 +552,6 @@ func TestProxiedServerReady(t *testing.T) {
|
|||
t.Errorf("expected 'No molecules ready for gate-resume dispatch' text, got: %s", text)
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
func TestProxiedServerReady2(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -291,6 +291,14 @@ func TestProxiedServerReopen(t *testing.T) {
|
|||
t.Errorf("status: got %q, want open", got)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerReopenB holds more of TestProxiedServerReopen's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerReopenB(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
// The other side of the category rule, and the same line the direct route
|
||||
// prints: a status that is neither done nor open is left alone and said so.
|
||||
|
|
|
|||
|
|
@ -218,6 +218,14 @@ func TestProxiedServerShow(t *testing.T) {
|
|||
t.Errorf("expected comments with --include-comments: %v", m)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerShowB holds more of TestProxiedServerShow's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerShowB(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
// ga-clgh: proxied path mirror of the direct-path fix (a2a69f5e9). The
|
||||
// proxied handler used to leave comments_omitted unset entirely, so a
|
||||
|
|
@ -398,7 +406,6 @@ func TestProxiedServerShow(t *testing.T) {
|
|||
t.Errorf("expected title in output: %s", out)
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
func TestProxiedServerShow2(t *testing.T) {
|
||||
|
|
@ -591,6 +598,14 @@ func TestProxiedServerShow2(t *testing.T) {
|
|||
t.Errorf("expected --refs output to contain referrer %s: %s", child.ID, out)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerShow2B holds more of TestProxiedServerShow2's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerShow2B(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("show_refs_groups_by_type", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
@ -754,7 +769,6 @@ func TestProxiedServerShow2(t *testing.T) {
|
|||
t.Errorf("expected wisp child %s in --children: %s", childW.ID, out)
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
func TestProxiedServerShow3(t *testing.T) {
|
||||
|
|
@ -887,6 +901,14 @@ func TestProxiedServerShow3(t *testing.T) {
|
|||
arr[0]["id"], arr[1]["id"], root.ID, reply.ID)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerShow3B holds more of TestProxiedServerShow3's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerShow3B(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("show_thread_orphan_message_renders_alone", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
|
|||
|
|
@ -213,6 +213,14 @@ func TestProxiedServerUpdate(t *testing.T) {
|
|||
t.Errorf("lost issue %s assignee = %q, want alice (unchanged)", lost.ID, gotLost.Assignee)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerUpdateB holds more of TestProxiedServerUpdate's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerUpdateB(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
// Parity with the non-proxied TestMultiIDUpdatePartialFailureExitsNonzero:
|
||||
// a generic per-ID failure (a bogus ID) between two good IDs must exit
|
||||
|
|
@ -427,6 +435,14 @@ func TestProxiedServerUpdate(t *testing.T) {
|
|||
t.Errorf("dependent should be unblocked after blocker closes")
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerUpdateC holds more of TestProxiedServerUpdate's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerUpdateC(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("invalid_status_rejected", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
@ -560,7 +576,6 @@ func TestProxiedServerUpdate(t *testing.T) {
|
|||
before, after)
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
func TestProxiedServerUpdate2(t *testing.T) {
|
||||
|
|
@ -685,6 +700,14 @@ func TestProxiedServerUpdate2(t *testing.T) {
|
|||
t.Errorf("ephemeral: got %d, want 0 after --persistent", ephemeral)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerUpdate2B holds more of TestProxiedServerUpdate2's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerUpdate2B(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("update_ephemeral", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
@ -809,6 +832,14 @@ func TestProxiedServerUpdate2(t *testing.T) {
|
|||
t.Errorf("metadata[keep]: got %v, want %q", got["keep"], "yes")
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// TestProxiedServerUpdate2C holds more of TestProxiedServerUpdate2's cases, split
|
||||
// off so the bd_proxied_test shard manifest can place them on another shard.
|
||||
func TestProxiedServerUpdate2C(t *testing.T) {
|
||||
requireSharedProxiedServer(t)
|
||||
t.Parallel()
|
||||
bd := buildEmbeddedBD(t)
|
||||
|
||||
t.Run("update_set_metadata", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
|
@ -933,7 +964,6 @@ func TestProxiedServerUpdate2(t *testing.T) {
|
|||
t.Errorf("defer_until: got nil, want non-nil (defer still applied)")
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
func TestProxiedServerUpdate3(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -1041,7 +1041,7 @@ Required` requires them to have run remotely and passed.
|
|||
frozen 20-shard block was the retired `test-embedded-cmd` jobs' split,
|
||||
F1), `//internal/storage/embeddeddolt:embeddeddolt_embedded_test` (20;
|
||||
the frozen 5-shard block was `test-embedded-storage`'s, F1),
|
||||
`//cmd/bd:bd_proxied_test` (30; the frozen 15-shard block was
|
||||
`//cmd/bd:bd_proxied_test` (44; the frozen 15-shard block was
|
||||
`test-proxied-cmd`'s, F2) and
|
||||
`//internal/storage/dolt:dolt_server_full_test` (16) to have run
|
||||
exactly the tests its shard script lists (list-only mode, minus
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ Each lane, as bazel.yml runs it (add your `--config=fork-cache` or
|
|||
| Dolt server (`bazel-doltserver`) | `bazel test //... --config=doltserver` | Starts its own `dolt sql-server` from the pinned binary; no docker. |
|
||||
| cmd/bd Dolt server (`bazel-cmd-dolt`) | `bazel test //cmd/bd:bd_dolt_server_test --config=doltserver-cmd` | 32 shards of the integration-tagged cmd/bd suite (the slowest tests pinned to 16 of them). |
|
||||
| Embedded Dolt (`bazel-embedded`) | `bazel test //... --config=embedded` | Remote execution only in CI; locally it is slow. |
|
||||
| Proxied server (`bazel-proxied`) | `bazel test //... --config=doltserver-proxied` | Remote execution only: 30 shards, each with a Dolt server. |
|
||||
| Proxied server (`bazel-proxied`) | `bazel test //... --config=doltserver-proxied` | Remote execution only: 44 shards, each with a Dolt server. |
|
||||
| Server-Dolt storage (`bazel-server-storage`) | `bazel test //... --config=doltserver-integration` | Remote execution only. |
|
||||
| Docs | `make check-docs` | `//test/docsync:docsync_test` and `//scripts/repochecks:doc_freshness_test` in the test lane's configuration, then `scripts/check-doc-flags.sh` against the pinned release. |
|
||||
|
||||
|
|
@ -184,7 +184,7 @@ builds with the integration tag like `--config=integration`. Each shard runs
|
|||
its CI job's shard script, so for `--config=doltserver-integration` Bazel
|
||||
shard k runs the tests of job k+1 (both split the manifest's 16-shard block
|
||||
the same way). `--config=doltserver-proxied`'s `bd_proxied_test` instead
|
||||
runs the manifest's own 30-shard block — bin-packed by measured duration,
|
||||
runs the manifest's own 44-shard block — bin-packed by measured duration,
|
||||
not the legacy jobs' 15-shard, bd-init-cost-proxy block — so shard k there
|
||||
is not job k+1's tests; it is a different split of the same tests.
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ name coverage.
|
|||
|
||||
The manifest file holds more than one block (one per total_shards value in
|
||||
use): the legacy, frozen 15-shard block pr-risk.yml/main.yml's jobs read, and
|
||||
the Bazel-only lane's own block (30 shards as of F2). By default this prints
|
||||
the Bazel-only lane's own block (44 shards since 2026-10-09). By default this prints
|
||||
only the requested total's block to stdout, which is NOT safe to redirect
|
||||
straight into the manifest file (`gen... 30 > file` deletes every other
|
||||
block). Use --write to update the file in place instead: it replaces only
|
||||
|
|
|
|||
|
|
@ -1,250 +1,254 @@
|
|||
{
|
||||
"_comment": [
|
||||
"Measured locally with `bazel --nohome_rc test --config=doltserver-proxied",
|
||||
"//cmd/bd:bd_proxied_test` -- the exact config bazel.yml's proxied-server tier",
|
||||
"uses, including `-test.parallel=4` (local sandboxed execution only; no remote",
|
||||
"executor or cache flags were configured for this measurement run; Bazel's own",
|
||||
"--remote_download_regex etc. in that config do not enable remote execution",
|
||||
"without --config=remote-exec, which was not passed).",
|
||||
"Measured on rbe-west, the lane's own remote executors (instance oss), on",
|
||||
"2026-10-09: two `bazel test //cmd/bd:bd_proxied_test",
|
||||
"--config=doltserver-proxied --nocache_test_results` runs, one against the",
|
||||
"then-committed 30-shard block and one against a 40-shard repack, so every",
|
||||
"discovered test ran exactly once per run, with the lane's -test.parallel=4",
|
||||
"and GOMAXPROCS=4. Both passed.",
|
||||
"",
|
||||
"This replaces an earlier capture that used `-test.parallel=1` (serial). That",
|
||||
"methodology avoided double-counting a parallel subtest group's own duration on",
|
||||
"top of its children's, which was a genuine bug in an even earlier pass -- but",
|
||||
"serial timings do not model this lane, which always runs at parallel=4, and an",
|
||||
"independent re-review measured near-zero correlation (r=0.08) between the",
|
||||
"serial-derived predicted shard load and actual parallel=4 wall time. These",
|
||||
"values are each a clean, single-job (no other concurrent heavy bazel/dolt job",
|
||||
"intentionally started on the box; see below), parallel=4 top-level test's own",
|
||||
"<testsuite time=...> attribute from a single fresh, manifest-aligned 30-shard",
|
||||
"sweep where every shard ran its exact assigned test set once (no duplicates,",
|
||||
"no gaps -- see scripts/ci/gen_proxied_shard_manifest.py's exact-once coverage",
|
||||
"check). A top-level Go test's <testsuite time> already reflects, not adds to,",
|
||||
"its own parallel children's wall-clock time, so no leaf-summation step was",
|
||||
"needed this time: every one of the 176 discovered tests completed inside a",
|
||||
"single shard run with errors=\"0\" (none needed Bazel's per-target default",
|
||||
"timeout worked around via a separate `bazel run`, unlike the prior capture).",
|
||||
"Each value is a top-level test's serial-equivalent cost: the sum of the",
|
||||
"<testcase time> of every leaf test under it (a subtest with no subtests of",
|
||||
"its own; the test itself when it has none), each leaf averaged over the",
|
||||
"two runs. It is NOT <testsuite time>, which the previous (local) capture",
|
||||
"used: for a t.Parallel test that attribute runs from the test's first RUN",
|
||||
"line to its last PASS line, so it also counts the time the test sat paused",
|
||||
"behind its shard's other tests. That made a cheap test that happened to",
|
||||
"wait look as heavy as the shard, which is why the previous 30-shard block,",
|
||||
"packed to ~360s per shard on paper, ran 38-286s per shard in CI. Leaves,",
|
||||
"not direct subtests, because a parallel group's own <testcase time> is 0.",
|
||||
"",
|
||||
"`seconds_per_init_fallback` is the weighted average seconds-per-init over",
|
||||
"every measured test in this file (sum of all durations / sum of all inits),",
|
||||
"used only for a brand-new test with no entry yet (see",
|
||||
"scripts/ci/gen_proxied_shard_manifest.py's discover_inits_cost()). It dropped",
|
||||
"from the serial capture's 39.7275 to this capture's lower value because",
|
||||
"parallel=4 genuinely shortens most tests' wall time relative to inits count;",
|
||||
"this is expected, not a data error.",
|
||||
"A shard's remote wall time came out at about 0.3x its packed cost (four",
|
||||
"subtests run at once): correlation 0.90 over the 30-shard run (19,224",
|
||||
"cost-seconds, 5,671 shard-seconds of wall time); the 40-shard run's",
|
||||
"shards ran 71-162s, apart from one that held two then-unsplit tests whose",
|
||||
"cost the first capture had missed.",
|
||||
"",
|
||||
"This file still does not claim shard totals land within a few seconds of each",
|
||||
"other -- see .github/workflows/bazel.yml for the current, honest expected",
|
||||
"spread for the 30-shard proxied lane, now also derived from this same sweep.",
|
||||
"The cost is almost all `bd init --proxied-server` against the shared dolt",
|
||||
"sql-server: each init issues ~2,000 statements (81 DOLT_COMMITs) and costs",
|
||||
"the server ~6-12 CPU-seconds, and most subtests run one init. A top-level",
|
||||
"test with ~20 single-init subtests therefore cost 600-920 and ran for up",
|
||||
"to ~350s alone, which no shard count can pack under that. The fifteen",
|
||||
"heaviest were split into two or three top-level functions",
|
||||
"(TestProxiedServerUpdate, -UpdateB, -UpdateC, ...); a split function's",
|
||||
"entry is the sum of the leaves it now holds.",
|
||||
"",
|
||||
"The box this was measured on also runs other engineers'/agents' unrelated",
|
||||
"Bazel jobs; this capture was not run with exclusive use of the machine, only",
|
||||
"with no other *intentional, task-related* heavy bazel/dolt job started",
|
||||
"concurrently by this task. Absolute seconds may be inflated by ambient",
|
||||
"contention; relative ordering between tests, which is what LPT packing",
|
||||
"actually depends on, should still be far more representative than the",
|
||||
"discarded serial data (confirmed: 30/30 shards passed, 0 failures, 0 races,",
|
||||
"with the two blocker fixes -- shortSocketPath and cmd.Cancel -- applied).",
|
||||
"`seconds_per_init_fallback` is the sum of all costs over the sum of all",
|
||||
"inits (discover_inits_cost()), used only for a test with no entry yet.",
|
||||
"",
|
||||
"Regenerate with a local `bazel --nohome_rc test --config=doltserver-proxied",
|
||||
"//cmd/bd:bd_proxied_test --build_event_json_file=<path>` sweep, then pull",
|
||||
"each shard's bazel-testlogs test.xml <testsuite time> per top-level test --",
|
||||
"not from downloaded CI artifacts -- so the parallel=4, CI-representative",
|
||||
"methodology above is applied consistently.",
|
||||
"",
|
||||
"Added after that sweep: TestProxiedServerOutageReconnectAcceptanceMatrix (80.0,",
|
||||
"renamed into the discovery pattern once its outage bound was fixed). Not a",
|
||||
"single sweep's value: local --config=doltserver-proxied runs measured it at",
|
||||
"55-79 s alone, 60-70 s inside its shard, and a reviewer's 68-109 s under load;",
|
||||
"80 s is a rounded middle of that spread. seconds_per_init_fallback was",
|
||||
"recomputed to include it.",
|
||||
"",
|
||||
"TestProxiedServerClose / Close3 / Close4 (gastownhall/beads#7151): the 174.6s",
|
||||
"capture above was taken for the undivided TestProxiedServerClose (23 bd-init",
|
||||
"subtests). The suite was then split after close_nonexistent_id and again after",
|
||||
"close_pinned_with_force, so the three entries hold that one capture",
|
||||
"apportioned by bd-init count (11, 6 and 6 of 23), not fresh measurements; the",
|
||||
"next sweep replaces all three."
|
||||
"Regenerate the same way: fresh remote runs of the target, then sum each",
|
||||
"top-level test's leaf <testcase time>s from every shard's",
|
||||
"bazel-testlogs/cmd/bd/bd_proxied_test/shard_*/test.xml."
|
||||
],
|
||||
"seconds_per_init_fallback": 17.2952,
|
||||
"seconds_per_init_fallback": 29.5374,
|
||||
"tests": {
|
||||
"TestProxiedServerAssign": 38.67,
|
||||
"TestProxiedServerAutoPrune": 67.5,
|
||||
"TestProxiedServerBackupRefusedOnExternalTopology": 5.96,
|
||||
"TestProxiedServerBatchDefersThenDoltCommitAdvancesHeadOnce": 9.18,
|
||||
"TestProxiedServerBatchParity": 60.04,
|
||||
"TestProxiedServerBlocked": 138.63,
|
||||
"TestProxiedServerCascadeParity": 78.23,
|
||||
"TestProxiedServerChildren": 11.28,
|
||||
"TestProxiedServerCleanDatabases": 7.14,
|
||||
"TestProxiedServerCleanDatabasesPurgeDropped": 7.76,
|
||||
"TestProxiedServerClose": 83.5,
|
||||
"TestProxiedServerClose2": 218.83,
|
||||
"TestProxiedServerClose3": 45.55,
|
||||
"TestProxiedServerClose4": 45.55,
|
||||
"TestProxiedServerCloseConcurrent": 38.25,
|
||||
"TestProxiedServerCloseSiblingBlockersFanIn": 99.71,
|
||||
"TestProxiedServerComment": 64.04,
|
||||
"TestProxiedServerCompactDolt": 11.55,
|
||||
"TestProxiedServerCompactHistory": 12.38,
|
||||
"TestProxiedServerConfig": 188.91,
|
||||
"TestProxiedServerConfigConcurrent": 48.59,
|
||||
"TestProxiedServerConfigSetMany": 196.57,
|
||||
"TestProxiedServerContext": 72.27,
|
||||
"TestProxiedServerCount": 60.65,
|
||||
"TestProxiedServerCountIncludeInfra": 34.69,
|
||||
"TestProxiedServerCreate": 46.42,
|
||||
"TestProxiedServerCreate2": 165.07,
|
||||
"TestProxiedServerCreateInfraTypeRoutesToWisps": 142.17,
|
||||
"TestProxiedServerDeferAutoWake": 12.95,
|
||||
"TestProxiedServerDeferUndefer": 51.14,
|
||||
"TestProxiedServerDelete": 44.82,
|
||||
"TestProxiedServerDeleteBlockedJSONSingleDoc": 8.09,
|
||||
"TestProxiedServerDeleteConcurrent": 10.57,
|
||||
"TestProxiedServerDeleteForceOrphans": 9.16,
|
||||
"TestProxiedServerDeleteWisp": 7.06,
|
||||
"TestProxiedServerDep": 121.62,
|
||||
"TestProxiedServerDep2": 227.28,
|
||||
"TestProxiedServerDepConcurrent": 30.55,
|
||||
"TestProxiedServerDepListSingleIDWarnsOnDroppedExternalEdge": 10.13,
|
||||
"TestProxiedServerDoltLifecycle": 6.18,
|
||||
"TestProxiedServerDoltRemoteRemove": 72.67,
|
||||
"TestProxiedServerDuplicates": 44.77,
|
||||
"TestProxiedServerEdit": 10.16,
|
||||
"TestProxiedServerEpic": 109.49,
|
||||
"TestProxiedServerEventsJournal": 6.48,
|
||||
"TestProxiedServerEventsJournalOffByDefault": 65.83,
|
||||
"TestProxiedServerExport": 26.44,
|
||||
"TestProxiedServerExternalCreate": 5.73,
|
||||
"TestProxiedServerExternalMutationPolicy": 25.0,
|
||||
"TestProxiedServerExternalPolicyDirectParity": 18.12,
|
||||
"TestProxiedServerFindDuplicates": 51.66,
|
||||
"TestProxiedServerGC": 12.73,
|
||||
"TestProxiedServerGateCheck": 140.99,
|
||||
"TestProxiedServerGateCreateInheritsRepoMetadata": 47.1,
|
||||
"TestProxiedServerGateFrontDoorDirectServerProxyParity": 17.36,
|
||||
"TestProxiedServerGateLifecycle": 49.79,
|
||||
"TestProxiedServerGateList": 41.19,
|
||||
"TestProxiedServerGraph": 15.43,
|
||||
"TestProxiedServerHeartbeat": 57.23,
|
||||
"TestProxiedServerHistory": 21.81,
|
||||
"TestProxiedServerHistoryRemoteRefusalFrontDoorMatrix": 59.61,
|
||||
"TestProxiedServerHistoryRemoteSupportedFrontDoorParity": 5.97,
|
||||
"TestProxiedServerHuman": 263.77,
|
||||
"TestProxiedServerImport": 160.85,
|
||||
"TestProxiedServerInfo": 28.32,
|
||||
"TestProxiedServerInitExplicitBeadsDirIsAuthoritative": 11.99,
|
||||
"TestProxiedServerInitIfMissing": 6.69,
|
||||
"TestProxiedServerKV": 94.24,
|
||||
"TestProxiedServerLabel": 179.25,
|
||||
"TestProxiedServerLink": 51.49,
|
||||
"TestProxiedServerLint": 15.51,
|
||||
"TestProxiedServerList": 112.68,
|
||||
"TestProxiedServerListComments": 31.13,
|
||||
"TestProxiedServerListSortRetiresTheWalk": 46.29,
|
||||
"TestProxiedServerListWatchCountsTheOffsetIntoMaxRows": 10.54,
|
||||
"TestProxiedServerMemory": 58.87,
|
||||
"TestProxiedServerMolBond": 79.34,
|
||||
"TestProxiedServerMolBurn": 253.65,
|
||||
"TestProxiedServerMolCurrent": 85.1,
|
||||
"TestProxiedServerMolDistill": 78.03,
|
||||
"TestProxiedServerMolLastActivity": 111.33,
|
||||
"TestProxiedServerMolProgress": 182.51,
|
||||
"TestProxiedServerMolReadyGated": 66.34,
|
||||
"TestProxiedServerMolShow": 36.15,
|
||||
"TestProxiedServerMolSquash": 118.23,
|
||||
"TestProxiedServerMolStale": 53.95,
|
||||
"TestProxiedServerMoleculeFrontDoorDirectServerProxyParity": 22.98,
|
||||
"TestProxiedServerMoleculeFrontDoorWriteParity": 19.52,
|
||||
"TestProxiedServerMultiStatementSQL": 6.76,
|
||||
"TestProxiedServerNote": 11.21,
|
||||
"TestProxiedServerOrphans": 12.11,
|
||||
"TestProxiedServerOutageReconnectAcceptanceMatrix": 80.0,
|
||||
"TestProxiedServerAssign": 55.49,
|
||||
"TestProxiedServerAutoPrune": 6.71,
|
||||
"TestProxiedServerBackupRefusedOnExternalTopology": 0.45,
|
||||
"TestProxiedServerBatchDefersThenDoltCommitAdvancesHeadOnce": 10.13,
|
||||
"TestProxiedServerBatchParity": 64.1,
|
||||
"TestProxiedServerBlocked": 49.25,
|
||||
"TestProxiedServerCascadeParity": 167.07,
|
||||
"TestProxiedServerChildren": 12.43,
|
||||
"TestProxiedServerCleanDatabases": 1.02,
|
||||
"TestProxiedServerCleanDatabasesPurgeDropped": 2.23,
|
||||
"TestProxiedServerClose": 223.82,
|
||||
"TestProxiedServerClose2": 379.25,
|
||||
"TestProxiedServerClose2B": 372.47,
|
||||
"TestProxiedServerClose3": 253.62,
|
||||
"TestProxiedServerClose4": 236.01,
|
||||
"TestProxiedServerCloseB": 199.51,
|
||||
"TestProxiedServerCloseBeadGate": 85.6,
|
||||
"TestProxiedServerCloseConcurrent": 39.05,
|
||||
"TestProxiedServerCloseSiblingBlockersFanIn": 45.72,
|
||||
"TestProxiedServerComment": 101.7,
|
||||
"TestProxiedServerCompactDolt": 0.15,
|
||||
"TestProxiedServerCompactHistory": 2.27,
|
||||
"TestProxiedServerConfig": 281.3,
|
||||
"TestProxiedServerConfigB": 221.92,
|
||||
"TestProxiedServerConfigConcurrent": 21.07,
|
||||
"TestProxiedServerConfigSetMany": 56.32,
|
||||
"TestProxiedServerContext": 30.68,
|
||||
"TestProxiedServerCount": 29.54,
|
||||
"TestProxiedServerCountIncludeInfra": 7.0,
|
||||
"TestProxiedServerCreate": 35.39,
|
||||
"TestProxiedServerCreate2": 313.1,
|
||||
"TestProxiedServerCreate2B": 266.11,
|
||||
"TestProxiedServerCreate2C": 115.17,
|
||||
"TestProxiedServerCreateInfraTypeRoutesToWisps": 54.19,
|
||||
"TestProxiedServerDeferAutoWake": 10.55,
|
||||
"TestProxiedServerDeferUndefer": 23.62,
|
||||
"TestProxiedServerDelete": 30.3,
|
||||
"TestProxiedServerDeleteBlockedJSONSingleDoc": 16.89,
|
||||
"TestProxiedServerDeleteConcurrent": 19.41,
|
||||
"TestProxiedServerDeleteForceOrphans": 34.51,
|
||||
"TestProxiedServerDeleteWisp": 4.98,
|
||||
"TestProxiedServerDep": 265.67,
|
||||
"TestProxiedServerDep2": 421.17,
|
||||
"TestProxiedServerDep2B": 245.92,
|
||||
"TestProxiedServerDep2C": 287.95,
|
||||
"TestProxiedServerDepB": 252.49,
|
||||
"TestProxiedServerDepConcurrent": 29.34,
|
||||
"TestProxiedServerDepListSingleIDWarnsOnDroppedExternalEdge": 23.65,
|
||||
"TestProxiedServerDoltLifecycle": 0.19,
|
||||
"TestProxiedServerDoltRemoteRemove": 79.1,
|
||||
"TestProxiedServerDuplicates": 76.36,
|
||||
"TestProxiedServerEdit": 19.49,
|
||||
"TestProxiedServerEpic": 47.73,
|
||||
"TestProxiedServerEventsJournal": 6.01,
|
||||
"TestProxiedServerEventsJournalOffByDefault": 5.45,
|
||||
"TestProxiedServerExport": 18.56,
|
||||
"TestProxiedServerExternalCreate": 5.6,
|
||||
"TestProxiedServerExternalMutationPolicy": 15.57,
|
||||
"TestProxiedServerExternalPolicyDirectParity": 8.37,
|
||||
"TestProxiedServerFindDuplicates": 51.33,
|
||||
"TestProxiedServerGC": 5.82,
|
||||
"TestProxiedServerGateCheck": 171.29,
|
||||
"TestProxiedServerGateCheckB": 205.0,
|
||||
"TestProxiedServerGateCreateInheritsRepoMetadata": 4.94,
|
||||
"TestProxiedServerGateFrontDoorDirectServerProxyParity": 22.23,
|
||||
"TestProxiedServerGateLifecycle": 124.1,
|
||||
"TestProxiedServerGateList": 48.97,
|
||||
"TestProxiedServerGatedRendering": 9.09,
|
||||
"TestProxiedServerGraph": 8.3,
|
||||
"TestProxiedServerHeartbeat": 11.7,
|
||||
"TestProxiedServerHistory": 7.88,
|
||||
"TestProxiedServerHistoryRemoteRefusalFrontDoorMatrix": 26.2,
|
||||
"TestProxiedServerHistoryRemoteSupportedFrontDoorParity": 5.58,
|
||||
"TestProxiedServerHuman": 358.37,
|
||||
"TestProxiedServerIfRevisionGuardAssign": 0.66,
|
||||
"TestProxiedServerIfRevisionGuardClose": 0.82,
|
||||
"TestProxiedServerIfRevisionGuardDelete": 0.81,
|
||||
"TestProxiedServerIfRevisionGuardReopen": 1.48,
|
||||
"TestProxiedServerIfRevisionGuardUpdate": 0.65,
|
||||
"TestProxiedServerImport": 288.64,
|
||||
"TestProxiedServerInfo": 6.0,
|
||||
"TestProxiedServerInitExplicitBeadsDirIsAuthoritative": 12.59,
|
||||
"TestProxiedServerInitIfMissing": 0.45,
|
||||
"TestProxiedServerKV": 340.45,
|
||||
"TestProxiedServerLabel": 298.09,
|
||||
"TestProxiedServerLabelB": 234.22,
|
||||
"TestProxiedServerLabelC": 271.95,
|
||||
"TestProxiedServerLink": 62.35,
|
||||
"TestProxiedServerLint": 6.67,
|
||||
"TestProxiedServerList": 131.93,
|
||||
"TestProxiedServerListComments": 1.97,
|
||||
"TestProxiedServerListSortRetiresTheWalk": 0.23,
|
||||
"TestProxiedServerListWatchCountsTheOffsetIntoMaxRows": 0.83,
|
||||
"TestProxiedServerMemory": 90.84,
|
||||
"TestProxiedServerMolBond": 267.25,
|
||||
"TestProxiedServerMolBurn": 135.47,
|
||||
"TestProxiedServerMolCurrent": 177.89,
|
||||
"TestProxiedServerMolDistill": 55.5,
|
||||
"TestProxiedServerMolLastActivity": 52.81,
|
||||
"TestProxiedServerMolProgress": 41.09,
|
||||
"TestProxiedServerMolReadyGated": 202.08,
|
||||
"TestProxiedServerMolShow": 83.77,
|
||||
"TestProxiedServerMolSquash": 73.31,
|
||||
"TestProxiedServerMolStale": 52.8,
|
||||
"TestProxiedServerMoleculeFrontDoorDirectServerProxyParity": 2.14,
|
||||
"TestProxiedServerMoleculeFrontDoorWriteParity": 21.32,
|
||||
"TestProxiedServerMultiStatementSQL": 7.5,
|
||||
"TestProxiedServerNote": 21.92,
|
||||
"TestProxiedServerOrphans": 4.25,
|
||||
"TestProxiedServerOutageReconnectAcceptanceMatrix": 36.22,
|
||||
"TestProxiedServerPathHelpers": 0.0,
|
||||
"TestProxiedServerPing": 11.73,
|
||||
"TestProxiedServerPour": 253.65,
|
||||
"TestProxiedServerPourRejectsEnumViolatingVar": 21.66,
|
||||
"TestProxiedServerPrime": 94.24,
|
||||
"TestProxiedServerPriority": 41.35,
|
||||
"TestProxiedServerPromote": 255.67,
|
||||
"TestProxiedServerPrune": 119.06,
|
||||
"TestProxiedServerPurgeWispsPlaneRetention": 24.55,
|
||||
"TestProxiedServerQuery": 42.94,
|
||||
"TestProxiedServerQuick": 22.7,
|
||||
"TestProxiedServerReady": 238.66,
|
||||
"TestProxiedServerReady2": 71.96,
|
||||
"TestProxiedServerReadyClaimConcurrent": 20.86,
|
||||
"TestProxiedServerReadyConcurrent": 11.34,
|
||||
"TestProxiedServerReadyWisp": 255.67,
|
||||
"TestProxiedServerReassignFence": 57.62,
|
||||
"TestProxiedServerReclaim": 11.62,
|
||||
"TestProxiedServerRecomputeBlocked": 19.71,
|
||||
"TestProxiedServerRelate": 160.07,
|
||||
"TestProxiedServerReopen": 125.1,
|
||||
"TestProxiedServerReopenConcurrent": 66.34,
|
||||
"TestProxiedServerSQL": 13.91,
|
||||
"TestProxiedServerSQLDatabaseFlag": 12.28,
|
||||
"TestProxiedServerSQLStatementRouting": 18.36,
|
||||
"TestProxiedServerSearch": 78.35,
|
||||
"TestProxiedServerServeActivatesTheEventsJournal": 9.87,
|
||||
"TestProxiedServerServeAddComment": 25.29,
|
||||
"TestProxiedServerServeAddDependencies": 15.59,
|
||||
"TestProxiedServerServeBatchClose": 16.3,
|
||||
"TestProxiedServerServeClaim": 16.32,
|
||||
"TestProxiedServerServeClaimNext": 17.04,
|
||||
"TestProxiedServerServeClose": 38.42,
|
||||
"TestProxiedServerServeCount": 21.49,
|
||||
"TestProxiedServerServeCreate": 11.84,
|
||||
"TestProxiedServerServeDelete": 13.83,
|
||||
"TestProxiedServerServeEdgeCounts": 20.14,
|
||||
"TestProxiedServerServeLifecycle": 21.66,
|
||||
"TestProxiedServerServeModeGate": 31.59,
|
||||
"TestProxiedServerServeReadParity": 15.44,
|
||||
"TestProxiedServerServeReadRevision": 10.4,
|
||||
"TestProxiedServerServeReadsTheJournalItJustWrote": 38.39,
|
||||
"TestProxiedServerServeRefusesAStaleCheckpointWithGone": 22.47,
|
||||
"TestProxiedServerServeRefusesAStreamOnADisabledJournal": 42.35,
|
||||
"TestProxiedServerServeRefusesTheJournalWhenItIsDisabled": 19.4,
|
||||
"TestProxiedServerServeRelatedIssues": 28.93,
|
||||
"TestProxiedServerServeRelease": 11.29,
|
||||
"TestProxiedServerServeRemoveDependency": 12.52,
|
||||
"TestProxiedServerServeSettingsWrites": 10.68,
|
||||
"TestProxiedServerServeStreamsTheJournalItIsWriting": 11.89,
|
||||
"TestProxiedServerServeUpdate": 17.56,
|
||||
"TestProxiedServerServeUpdateClaim": 13.57,
|
||||
"TestProxiedServerSetState": 15.28,
|
||||
"TestProxiedServerShow": 216.16,
|
||||
"TestProxiedServerShow2": 232.1,
|
||||
"TestProxiedServerShow3": 157.69,
|
||||
"TestProxiedServerShowWatch": 109.69,
|
||||
"TestProxiedServerStale": 15.61,
|
||||
"TestProxiedServerState": 110.26,
|
||||
"TestProxiedServerStatus": 28.61,
|
||||
"TestProxiedServerStatuses": 27.0,
|
||||
"TestProxiedServerStorageClass": 150.78,
|
||||
"TestProxiedServerSwarm": 29.89,
|
||||
"TestProxiedServerTag": 33.46,
|
||||
"TestProxiedServerTodo": 43.18,
|
||||
"TestProxiedServerTypes": 12.51,
|
||||
"TestProxiedServerTypesAgreeWithCreate": 14.34,
|
||||
"TestProxiedServerUnclaim": 16.57,
|
||||
"TestProxiedServerUnclaimIfAssigneeParity": 25.33,
|
||||
"TestProxiedServerUpdate": 238.19,
|
||||
"TestProxiedServerUpdate2": 170.45,
|
||||
"TestProxiedServerUpdate3": 184.1,
|
||||
"TestProxiedServerUpdateClosePolicy": 37.4,
|
||||
"TestProxiedServerUpdateConcurrentAppendNotes": 6.6,
|
||||
"TestProxiedServerUpdateConcurrentClaim": 17.68,
|
||||
"TestProxiedServerUpdateConcurrentMetadata": 8.68,
|
||||
"TestProxiedServerUpdateHooks": 20.14,
|
||||
"TestProxiedServerUpdateIfGuards": 141.97,
|
||||
"TestProxiedServerUpdateWisp": 82.23,
|
||||
"TestProxiedServerWispCreate": 74.62,
|
||||
"TestProxiedServerWispCreateRejectsEnumViolatingVar": 25.49,
|
||||
"TestProxiedServerWispGC": 52.72,
|
||||
"TestProxiedServerWispList": 118.23,
|
||||
"TestServerModeDeferAutoWake": 32.77,
|
||||
"TestServerModeServe": 19.28,
|
||||
"TestServerModeServeSkipsPostRunMaintenance": 10.52,
|
||||
"TestServerModeTypesAgreeWithCreate": 16.0
|
||||
"TestProxiedServerPing": 0.76,
|
||||
"TestProxiedServerPour": 90.63,
|
||||
"TestProxiedServerPourRejectsEnumViolatingVar": 16.32,
|
||||
"TestProxiedServerPrime": 120.62,
|
||||
"TestProxiedServerPriority": 29.69,
|
||||
"TestProxiedServerPromote": 137.81,
|
||||
"TestProxiedServerPrune": 229.41,
|
||||
"TestProxiedServerPurgeWispsPlaneRetention": 27.89,
|
||||
"TestProxiedServerQuery": 32.83,
|
||||
"TestProxiedServerQuick": 32.66,
|
||||
"TestProxiedServerReady": 237.31,
|
||||
"TestProxiedServerReady2": 159.52,
|
||||
"TestProxiedServerReadyB": 279.25,
|
||||
"TestProxiedServerReadyC": 232.74,
|
||||
"TestProxiedServerReadyClaimConcurrent": 21.86,
|
||||
"TestProxiedServerReadyConcurrent": 14.36,
|
||||
"TestProxiedServerReadyWisp": 315.55,
|
||||
"TestProxiedServerReassignFence": 92.12,
|
||||
"TestProxiedServerReclaim": 1.41,
|
||||
"TestProxiedServerRecomputeBlocked": 69.58,
|
||||
"TestProxiedServerRelate": 174.16,
|
||||
"TestProxiedServerReopen": 317.88,
|
||||
"TestProxiedServerReopenB": 283.24,
|
||||
"TestProxiedServerReopenConcurrent": 100.49,
|
||||
"TestProxiedServerSQL": 4.56,
|
||||
"TestProxiedServerSQLDatabaseFlag": 14.98,
|
||||
"TestProxiedServerSQLStatementRouting": 2.61,
|
||||
"TestProxiedServerSearch": 79.86,
|
||||
"TestProxiedServerServeActivatesTheEventsJournal": 10.7,
|
||||
"TestProxiedServerServeAddComment": 3.85,
|
||||
"TestProxiedServerServeAddDependencies": 7.7,
|
||||
"TestProxiedServerServeBatchClose": 14.42,
|
||||
"TestProxiedServerServeClaim": 13.9,
|
||||
"TestProxiedServerServeClaimNext": 12.27,
|
||||
"TestProxiedServerServeClose": 21.8,
|
||||
"TestProxiedServerServeCount": 15.2,
|
||||
"TestProxiedServerServeCreate": 2.62,
|
||||
"TestProxiedServerServeDelete": 5.64,
|
||||
"TestProxiedServerServeEdgeCounts": 15.27,
|
||||
"TestProxiedServerServeLifecycle": 0.03,
|
||||
"TestProxiedServerServeModeGate": 23.75,
|
||||
"TestProxiedServerServeReadParity": 6.26,
|
||||
"TestProxiedServerServeReadRevision": 3.59,
|
||||
"TestProxiedServerServeReadsTheJournalItJustWrote": 14.23,
|
||||
"TestProxiedServerServeRefusesAStaleCheckpointWithGone": 14.62,
|
||||
"TestProxiedServerServeRefusesAStreamOnADisabledJournal": 14.96,
|
||||
"TestProxiedServerServeRefusesTheJournalWhenItIsDisabled": 13.62,
|
||||
"TestProxiedServerServeRelatedIssues": 14.9,
|
||||
"TestProxiedServerServeRelease": 4.5,
|
||||
"TestProxiedServerServeRemoveDependency": 5.12,
|
||||
"TestProxiedServerServeSettingsWrites": 5.08,
|
||||
"TestProxiedServerServeStreamsTheJournalItIsWriting": 21.99,
|
||||
"TestProxiedServerServeUpdate": 14.38,
|
||||
"TestProxiedServerServeUpdateClaim": 4.97,
|
||||
"TestProxiedServerSetState": 14.99,
|
||||
"TestProxiedServerShow": 246.84,
|
||||
"TestProxiedServerShow2": 304.16,
|
||||
"TestProxiedServerShow2B": 302.98,
|
||||
"TestProxiedServerShow3": 276.05,
|
||||
"TestProxiedServerShow3B": 261.07,
|
||||
"TestProxiedServerShowB": 297.04,
|
||||
"TestProxiedServerShowWatch": 164.7,
|
||||
"TestProxiedServerStale": 6.27,
|
||||
"TestProxiedServerState": 189.5,
|
||||
"TestProxiedServerStatus": 40.45,
|
||||
"TestProxiedServerStatuses": 2.26,
|
||||
"TestProxiedServerStorageClass": 337.81,
|
||||
"TestProxiedServerSwarm": 8.38,
|
||||
"TestProxiedServerTag": 55.84,
|
||||
"TestProxiedServerTodo": 96.61,
|
||||
"TestProxiedServerTypes": 4.25,
|
||||
"TestProxiedServerTypesAgreeWithCreate": 37.25,
|
||||
"TestProxiedServerUnclaim": 16.93,
|
||||
"TestProxiedServerUnclaimIfAssigneeParity": 35.25,
|
||||
"TestProxiedServerUpdate": 306.84,
|
||||
"TestProxiedServerUpdate2": 285.3,
|
||||
"TestProxiedServerUpdate2B": 321.6,
|
||||
"TestProxiedServerUpdate2C": 247.7,
|
||||
"TestProxiedServerUpdate3": 375.23,
|
||||
"TestProxiedServerUpdateB": 265.81,
|
||||
"TestProxiedServerUpdateC": 265.62,
|
||||
"TestProxiedServerUpdateClosePolicy": 82.95,
|
||||
"TestProxiedServerUpdateConcurrentAppendNotes": 7.13,
|
||||
"TestProxiedServerUpdateConcurrentClaim": 12.38,
|
||||
"TestProxiedServerUpdateConcurrentMetadata": 11.36,
|
||||
"TestProxiedServerUpdateHooks": 52.36,
|
||||
"TestProxiedServerUpdateIfGuards": 83.41,
|
||||
"TestProxiedServerUpdateWisp": 268.08,
|
||||
"TestProxiedServerWispCreate": 78.86,
|
||||
"TestProxiedServerWispCreateRejectsEnumViolatingVar": 13.68,
|
||||
"TestProxiedServerWispGC": 164.43,
|
||||
"TestProxiedServerWispList": 65.42,
|
||||
"TestServerModeDeferAutoWake": 11.69,
|
||||
"TestServerModeServe": 0.04,
|
||||
"TestServerModeServeSkipsPostRunMaintenance": 13.74,
|
||||
"TestServerModeSharedServeGlobalReportsTheServedDatabase": 34.13,
|
||||
"TestServerModeTypesAgreeWithCreate": 36.55
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ func TestShardScriptsListOnlyRealTests(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
// S3: the Bazel-only 30-shard block is not frozen like the legacy 15-shard
|
||||
// S3: the Bazel-only 44-shard block is not frozen like the legacy 15-shard
|
||||
// block (TestShardScriptsListOnlyRealTests's B1 fix catches outright
|
||||
// corruption, but not a committed block that has drifted from the currently
|
||||
// discovered TestProxiedServer*/TestServerMode* test set, e.g. a test added,
|
||||
|
|
@ -243,9 +243,10 @@ func TestShardScriptsListOnlyRealTests(t *testing.T) {
|
|||
func TestProxiedShardManifestGeneratorNotStale(t *testing.T) {
|
||||
python := requireHostTool(t, "python3")
|
||||
root := sourceRepoRoot(t)
|
||||
cmd := exec.Command(python, "scripts/ci/gen_proxied_shard_manifest.py", "30", "--weights=duration", "--check")
|
||||
shards := strconv.Itoa(bazelProxiedShardCount(t))
|
||||
cmd := exec.Command(python, "scripts/ci/gen_proxied_shard_manifest.py", shards, "--weights=duration", "--check")
|
||||
cmd.Dir = root
|
||||
if out, err := cmd.CombinedOutput(); err != nil {
|
||||
t.Errorf("gen_proxied_shard_manifest.py 30 --weights=duration --check: %v\n%s", err, out)
|
||||
t.Errorf("gen_proxied_shard_manifest.py %s --weights=duration --check: %v\n%s", shards, err, out)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue