MCPcopy Create free account

hub / github.com/PostHog/duckgres / functions

Functions5,901 in github.com/PostHog/duckgres

FunctionTestSessionFromContextRejectsUnknownSessionTokenEvenWithBasicAuth
(t *testing.T)
server/flightsqlingress/ingress_test.go:678
FunctionTestSessionFromContextSuccessIncrementsIngressSessionOutcomeMetric
(t *testing.T)
server/flightsqlingress/ingress_test.go:1750
FunctionTestSessionFromContextTokenPathDoesNotClearRateLimiterFailures
(t *testing.T)
server/flightsqlingress/ingress_test.go:742
FunctionTestSessionFromContextWithoutTokenCreatesDistinctSessions
(t *testing.T)
server/flightsqlingress/ingress_test.go:780
FunctionTestSessionLimitsRouting
TestSessionLimitsRouting verifies that the CP picks the right source for DuckDB memory/thread limits depending on the worker backend mode. This mirror
controlplane/worker_limits_test.go:108
FunctionTestSessionManager_ConnectionLimits_Basic
(t *testing.T)
controlplane/session_mgr_test.go:464
FunctionTestSessionManager_ConnectionLimits_CancelWhileQueuedDoesNotBlockNextWaiter
(t *testing.T)
controlplane/session_mgr_test.go:633
FunctionTestSessionManager_ConnectionLimits_DeadlineWhileQueuedReturnsTooManyConnections
(t *testing.T)
controlplane/session_mgr_test.go:609
FunctionTestSessionManager_ConnectionLimits_DestroySessionGrantsQueuedWaiter
(t *testing.T)
controlplane/session_mgr_test.go:675
FunctionTestSessionManager_ConnectionLimits_DynamicLimitIncreaseAdmitsNewSession
(t *testing.T)
controlplane/session_mgr_test.go:530
FunctionTestSessionManager_ConnectionLimits_FIFO
(t *testing.T)
controlplane/session_mgr_test.go:567
FunctionTestSessionManager_ConnectionLimits_WaitsUntilSlotReleased
(t *testing.T)
controlplane/session_mgr_test.go:492
FunctionTestSessionManager_ConnectionLimits_WorkerCrashGrantsQueuedWaiter
(t *testing.T)
controlplane/session_mgr_test.go:705
FunctionTestSessionManager_CreateFlightSessionReservesPIDBeforeAdmission
(t *testing.T)
controlplane/session_mgr_drain_test.go:1068
FunctionTestSessionManager_ReconnectFlightSessionUsesNormalAdmission
(t *testing.T)
controlplane/session_mgr_drain_test.go:1044
FunctionTestSessionManager_ReconnectFlightSessionUsesWorkerProfileForAdmission
(t *testing.T)
controlplane/session_mgr_drain_test.go:1020
FunctionTestSessionManager_RuntimeLimiterObservesDynamicResourceLimitWhileQueued
(t *testing.T)
controlplane/session_mgr_drain_test.go:962
FunctionTestSessionMiscCommands
TestSessionMiscCommands tests miscellaneous session commands
tests/integration/session_test.go:350
FunctionTestSessionOperationReleasesOnce
(t *testing.T)
duckdbservice/service_test.go:114
FunctionTestSessionPoolActivateTenantAllowsSameOrgTakeover
(t *testing.T)
duckdbservice/activation_test.go:171
FunctionTestSessionPoolActivateTenantAllowsSameOwnerSameEpochCredentialRetry
(t *testing.T)
duckdbservice/activation_test.go:286
FunctionTestSessionPoolActivateTenantConfiguresTenantRuntime
(t *testing.T)
duckdbservice/activation_test.go:13
FunctionTestSessionPoolActivateTenantRejectsSameEpochOwnerChange
(t *testing.T)
duckdbservice/activation_test.go:241
FunctionTestSessionPoolActivateTenantRejectsSecondActivation
(t *testing.T)
duckdbservice/activation_test.go:75
FunctionTestSessionPoolActivateTenantRejectsStaleOwnerEpoch
(t *testing.T)
duckdbservice/activation_test.go:127
FunctionTestSessionPoolDrainWaitsForActiveWorkAndRejectsNewWork
(t *testing.T)
duckdbservice/service_test.go:520
FunctionTestSessionPoolRejectsContinuationAfterDrainReachesZero
(t *testing.T)
duckdbservice/service_test.go:558
FunctionTestSessionPoolValidateControlMetadataAcceptsMismatchedCPInstanceID
(t *testing.T)
duckdbservice/activation_test.go:368
FunctionTestSessionPoolValidateControlMetadataRejectsMismatchedWorkerID
(t *testing.T)
duckdbservice/activation_test.go:432
FunctionTestSessionQueryRowsHoldsConnLockUntilClose
(t *testing.T)
duckdbservice/session_conn_guard_test.go:119
FunctionTestSessionRejectsConcurrentOperation
(t *testing.T)
duckdbservice/service_test.go:101
FunctionTestSessionReset
TestSessionReset tests RESET command
tests/integration/session_test.go:290
FunctionTestSessionSetCommands
TestSessionSetCommands tests SET command handling
tests/integration/session_test.go:38
FunctionTestSessionSetSearchPath
TestSessionSetSearchPath verifies SET search_path is forwarded to DuckDB (not silently ignored) so that unqualified table names resolve correctly.
tests/integration/session_test.go:10
FunctionTestSessionShowCommands
TestSessionShowCommands tests SHOW command handling
tests/integration/session_test.go:160
FunctionTestSessionTransactionCommands
TestSessionTransactionCommands tests transaction control commands
tests/integration/session_test.go:207
FunctionTestSessionTransactionModes
TestSessionTransactionModes tests transaction mode commands
tests/integration/session_test.go:247
FunctionTestSessionTxQueryRowsHoldsConnLockUntilClose
(t *testing.T)
duckdbservice/session_conn_guard_test.go:152
FunctionTestSessionsAggregateAcrossCPs
(t *testing.T)
controlplane/admin/live_aggregate_test.go:165
FunctionTestSetConnCloser
(t *testing.T)
controlplane/session_mgr_test.go:298
FunctionTestSetConnCloser_UnknownPID
(t *testing.T)
controlplane/session_mgr_test.go:321
FunctionTestSetExtensionDirectorySetsPathAfterBootstrap
(t *testing.T)
server/bundled_extensions_test.go:238
FunctionTestSetWorkerResources
(t *testing.T)
controlplane/k8s_pool_test.go:3431
FunctionTestShapeDrifted
(t *testing.T)
controlplane/headroom_test.go:399
FunctionTestSharedWorkerActivatorActivateReservedWorkerUsesLatestResolvedOrgConfig
(t *testing.T)
controlplane/org_activation_test.go:186
FunctionTestSharedWorkerActivatorBuildsActivationRequestFromManagedWarehouse
(t *testing.T)
controlplane/org_activation_test.go:85
FunctionTestSharedWorkerActivatorDuckLakeVersionPrecedence
(t *testing.T)
controlplane/org_activation_test.go:405
FunctionTestSharedWorkerActivatorDucklingCRErrorFallsBackToConfigStore
(t *testing.T)
controlplane/org_activation_test.go:494
FunctionTestSharedWorkerActivatorDucklingCRRequiresSTSBroker
(t *testing.T)
controlplane/org_activation_test.go:300
FunctionTestSharedWorkerActivatorPrefersSecretRefOverDucklingCR
(t *testing.T)
controlplane/org_activation_test.go:350
FunctionTestSharedWorkerActivatorReadSecretValueRejectsBlankNamespace
(t *testing.T)
controlplane/org_activation_test.go:656
FunctionTestSharedWorkerActivatorRejectsSecretRefOutsideTenantPrefix
(t *testing.T)
controlplane/org_activation_test.go:565
FunctionTestSharedWorkerActivatorRejectsSecretRefOutsideTenantScope
(t *testing.T)
controlplane/org_activation_test.go:534
FunctionTestSharedWorkerActivatorRejectsSecretRefWithOnlySubstringOrgMatch
(t *testing.T)
controlplane/org_activation_test.go:675
FunctionTestSharedWorkerActivatorRejectsSecretRefWithoutExplicitNamespace
(t *testing.T)
controlplane/org_activation_test.go:623
FunctionTestSharedWorkerActivatorRejectsSecretRefWithoutTenantNamespace
(t *testing.T)
controlplane/org_activation_test.go:596
FunctionTestSharedWorkerActivatorRequiresManagedWarehouse
(t *testing.T)
controlplane/org_activation_test.go:171
FunctionTestSharedWorkerStateAllowsUnassignedWorkerToDrain
(t *testing.T)
controlplane/worker_state_test.go:73
FunctionTestSharedWorkerStateTransitionLifecycle
(t *testing.T)
controlplane/worker_state_test.go:23
FunctionTestSharedWorkerStateTransitionRejectsInvalidLifecycleMoves
(t *testing.T)
controlplane/worker_state_test.go:94
FunctionTestSharedWorkerStateTransitionRejectsMissingOrInvalidAssignment
(t *testing.T)
controlplane/worker_state_test.go:57
FunctionTestSharedWorkerStateZeroValueDefaultsToIdle
(t *testing.T)
controlplane/worker_state_test.go:9
FunctionTestShouldHandleCopyBeforeTranspile
(t *testing.T)
server/conn_test.go:2061
FunctionTestShouldRetryDuckLakeConflictOnlyAutocommit
(t *testing.T)
duckdbservice/transient_test.go:200
FunctionTestShutdownAllReturnsPreboundToPool
(t *testing.T)
controlplane/worker_mgr_process_test.go:976
FunctionTestShutdownAll_DrainBeforeDeleteBeforeRetire
(t *testing.T)
controlplane/k8s_pool_test.go:4272
FunctionTestShutdownAll_LeavesInDrainingWhenPodDeleteFails
(t *testing.T)
controlplane/k8s_pool_test.go:4360
FunctionTestShutdownAll_SkipsWorkerWhenMarkDrainingCASMisses
(t *testing.T)
controlplane/k8s_pool_test.go:4296
FunctionTestShutdownAll_SkipsWorkerWhenStoredEpochDiffers
(t *testing.T)
controlplane/k8s_pool_test.go:4331
FunctionTestShutdownAll_SparesWorkersWithActiveSessions
TestShutdownAll_SparesWorkersWithActiveSessions: a CP receiving SIGTERM must not pod-delete a worker that's mid-query. Today the chain runs for every
controlplane/k8s_pool_test.go:4402
FunctionTestShutdownAll_TreatsPodNotFoundAsDeleteSuccess
(t *testing.T)
controlplane/k8s_pool_test.go:4434
FunctionTestShutdownAll_UsesDrainingChainPerWorker
(t *testing.T)
controlplane/k8s_pool_test.go:4245
FunctionTestSimpleQueryResetsSkipUntilSync
TestSimpleQueryResetsSkipUntilSync: per the audit on #718, a simple Query message is processed (not discarded) during error recovery — it resets exten
server/conn_skip_until_sync_test.go:273
FunctionTestSingleFlightDedups
(t *testing.T)
cmd/cache-proxy/proxy_test.go:815
FunctionTestSnapshotBuild
(t *testing.T)
controlplane/configstore/store_test.go:19
FunctionTestSplitHostPort
(t *testing.T)
server/querylog_test.go:301
FunctionTestSplitHostPortIPv6
(t *testing.T)
server/querylog_test.go:311
FunctionTestSplitTopLevel
(t *testing.T)
server/usersecrets/redact_test.go:182
FunctionTestSplitTopLevelCommas
(t *testing.T)
duckdbservice/arrowmap/arrowmap_test.go:218
FunctionTestStallCheckThreshold
(t *testing.T)
duckdbservice/progress_test.go:43
FunctionTestStampActiveOrgLabel
TestStampActiveOrgLabel verifies the post-activation label patch lands on the worker pod. The pre-provisioned per-warehouse Cilium policy keys on this
controlplane/shared_worker_activator_label_test.go:20
FunctionTestStampActiveOrgLabelGuardsEmptyInputs
TestStampActiveOrgLabelGuardsEmptyInputs covers the trivial guards — an empty pod name or org ID must be a silent no-op (no apiserver call, no panic).
controlplane/shared_worker_activator_label_test.go:104
FunctionTestStampActiveOrgLabelIdempotent
TestStampActiveOrgLabelIdempotent verifies that re-stamping the same label is a no-op — the credential-refresh path re-enters activation for already-r
controlplane/shared_worker_activator_label_test.go:57
FunctionTestStampActiveOrgLabelSwallowsErrors
TestStampActiveOrgLabelSwallowsErrors verifies the patch is best-effort: a Patch failure (e.g. pod was just retired and 404s) must not panic or surfac
controlplane/shared_worker_activator_label_test.go:85
FunctionTestStampNodeFirstSeenLockedIgnoresEmptyNodeName
(t *testing.T)
controlplane/k8s_pool_test.go:4497
FunctionTestStampNodeFirstSeenLockedOnlySetsOnce
(t *testing.T)
controlplane/k8s_pool_test.go:4483
FunctionTestStampedHandlerQuotesValuesWithSpaces
TestStampedHandlerQuotesValuesWithSpaces guards against regressions where the text encoder emits unquoted multi-word values (e.g. error strings), whic
internal/cliboot/logging_test.go:16
FunctionTestStartCredentialRefresh_DoesNotRollbackDuringActiveTransaction
(t *testing.T)
server/server_test.go:483
FunctionTestStartCredentialRefresh_NoOpForNoObjectStore
(t *testing.T)
server/server_test.go:409
FunctionTestStartCredentialRefresh_NoOpForStaticCredentials
(t *testing.T)
server/server_test.go:397
FunctionTestStartCredentialRefresh_RollbackAndRetryWhenNoActiveTransaction
(t *testing.T)
server/server_test.go:542
FunctionTestStartCredentialRefresh_StopsCleanly
(t *testing.T)
server/server_test.go:414
FunctionTestStartCredentialRefresh_WorksWithPinnedConn
(t *testing.T)
server/server_test.go:445
FunctionTestStartTransactionTracking
(t *testing.T)
duckdbservice/transient_test.go:437
FunctionTestStatementFlightInfoHoldsSessionOperationUntilDoGet
(t *testing.T)
duckdbservice/flight_handler_test.go:192
FunctionTestStatementFlightInfoNonEmptyHoldsSessionOperationUntilDoGet
(t *testing.T)
duckdbservice/flight_handler_test.go:244
FunctionTestStatusAggregateAcrossCPs
status merges per-org stats across CPs: active_sessions summed, orgs unioned.
controlplane/admin/live_aggregate_test.go:267
FunctionTestStopQueryLoggerStopsGenericQueryLogSink
(t *testing.T)
controlplane/control_test.go:41
FunctionTestStripLeadingComments
(t *testing.T)
server/conn_test.go:95
FunctionTestStripLeadingNoise
(t *testing.T)
server/conn_test.go:168
← previousnext →5,401–5,500 of 5,901, ranked by callers