MCPcopy Create free account

hub / github.com/PostHog/duckgres / functions

Functions5,901 in github.com/PostHog/duckgres

FunctionTestRetireOneMismatchedVersionWorker_RetiresHotIdleWorker
(t *testing.T)
controlplane/k8s_pool_test.go:3609
FunctionTestRetireOneMismatchedVersionWorker_RetiresOlderVersionIdleWorker
(t *testing.T)
controlplane/k8s_pool_test.go:3581
FunctionTestRetireOneMismatchedVersionWorker_RetiresOnePerCall
(t *testing.T)
controlplane/k8s_pool_test.go:3692
FunctionTestRetireOneMismatchedVersionWorker_SkipsWhenNotIdle
(t *testing.T)
controlplane/k8s_pool_test.go:3720
FunctionTestRetireOneMismatchedVersionWorker_UsesRuntimeOrgForSharedAssignedWorker
(t *testing.T)
controlplane/k8s_pool_test.go:3637
FunctionTestRetireOrphanFromSnapshotReportsGenericMissWithoutExtraRead
(t *testing.T)
controlplane/worker_lifecycle_test.go:236
FunctionTestRetireOrphanWorkerHandlesAllActiveStates
TestRetireOrphanWorkerHandlesAllActiveStates exercises the full set of states that ListOrphanedWorkers can return. The existing RetireIdleOrHotIdleWor
tests/configstore/runtime_store_postgres_test.go:1343
FunctionTestRetireOrphanWorkerHandlesNullOwnerPostgres
(t *testing.T)
tests/configstore/runtime_store_postgres_test.go:1237
FunctionTestRetireOrphanWorkerNoOpOnTerminalStates
TestRetireOrphanWorkerNoOpOnTerminalStates: terminal rows (retired/lost) must not be touched. They're already done; transitioning them again would clo
tests/configstore/runtime_store_postgres_test.go:1400
FunctionTestRetireOrphanWorkerRejectsRevivedOwnerControlPlanePostgres
(t *testing.T)
tests/configstore/runtime_store_postgres_test.go:2218
FunctionTestRetireOrphanWorkerRejectsStaleListSnapshotAfterTakeoverPostgres
(t *testing.T)
tests/configstore/runtime_store_postgres_test.go:2280
FunctionTestRetireWorkerIfNoSessions_ReleasesClaimOnSharedWorker
(t *testing.T)
controlplane/worker_mgr_process_test.go:428
FunctionTestRetireWorkerIfNoSessions_RetiresWhenLastSession
(t *testing.T)
controlplane/worker_mgr_process_test.go:456
FunctionTestRetireWorkerProcessAlreadyDead
(t *testing.T)
controlplane/worker_mgr_process_test.go:94
FunctionTestRetireWorkerProcessAlreadyDeadNonZeroExit
(t *testing.T)
controlplane/worker_mgr_process_test.go:129
FunctionTestRetireWorkerProcessGracefulShutdown
(t *testing.T)
controlplane/worker_mgr_process_test.go:160
FunctionTestRetireWorkerWithReasonSkipsCleanupWhenDurableRetireFenced
(t *testing.T)
controlplane/pool_metrics_test.go:45
FunctionTestRetireWorker_RemovesFromPool
(t *testing.T)
controlplane/worker_mgr_process_test.go:554
FunctionTestRetryOnConflictExhaustsRetries
(t *testing.T)
server/transient_test.go:169
FunctionTestRetryOnConflictExhaustsRetries
(t *testing.T)
duckdbservice/transient_test.go:163
FunctionTestRetryOnConflictStopsOnNonConflictError
(t *testing.T)
server/transient_test.go:188
FunctionTestRetryOnConflictStopsOnNonConflictError
(t *testing.T)
duckdbservice/transient_test.go:182
FunctionTestRetryOnConflictSucceedsAfterRetry
(t *testing.T)
server/transient_test.go:148
FunctionTestRetryOnConflictSucceedsAfterRetry
(t *testing.T)
duckdbservice/transient_test.go:140
FunctionTestRetryOnTransientAttachExhaustsRetries
(t *testing.T)
server/transient_test.go:72
FunctionTestRetryOnTransientAttachNoRetryForNonTransient
(t *testing.T)
server/transient_test.go:88
FunctionTestRetryOnTransientAttachSucceedsAfterRetry
(t *testing.T)
server/transient_test.go:54
FunctionTestRetryOnTransientNoRetryForNonTransient
(t *testing.T)
duckdbservice/transient_test.go:101
FunctionTestRetryOnTransientSucceedsAfterRetry
(t *testing.T)
duckdbservice/transient_test.go:80
FunctionTestReuseExistingActivationDoesNotBlockHealthChecks
TestReuseExistingActivationDoesNotBlockHealthChecks pins down the deadlock that killed workers in mw-prod-us 2026-05-04: reuseExistingActivation used
duckdbservice/activation_test.go:463
FunctionTestRewriteDirectQuery
(t *testing.T)
server/direct_query_rewrite_test.go:5
FunctionTestRewriteDirectQueryPassthroughPreservesUse
(t *testing.T)
server/direct_query_rewrite_test.go:84
FunctionTestRewriteDirectQueryPreservesUseWithoutCatalogRewrite
(t *testing.T)
server/direct_query_rewrite_test.go:96
FunctionTestRoleGate
RoleGate: viewers can GET but not mutate; the audit log GET is admin-only.
controlplane/admin/authz_test.go:165
FunctionTestRowsAffectedOrErrorPropagatesRowsAffectedError
(t *testing.T)
server/flightsqlingress/ingress_test.go:476
FunctionTestRowsAffectedOrErrorReturnsAffectedCount
(t *testing.T)
server/flightsqlingress/ingress_test.go:483
FunctionTestRowsToRecordExplainUsesPlanValueColumn
(t *testing.T)
duckdbservice/arrow_helpers_test.go:1072
FunctionTestRowsToRecordNoRowsLostAtBatchBoundary
TestRowsToRecordNoRowsLostAtBatchBoundary reproduces the production bug where RowsToRecord silently dropped one row at every batch transition for unbo
duckdbservice/arrow_helpers_test.go:1236
FunctionTestRunExitsWhenBundledExtensionBootstrapFails
(t *testing.T)
duckdbservice/service_test.go:484
FunctionTestRunQueryLogWriterBootstrapsBundledExtensions
(t *testing.T)
querylog_writer_mode_kubernetes_test.go:15
FunctionTestRunnerDoesNotLetAlwaysRunCleanupUnblockLaterNormalSteps
(t *testing.T)
tests/scenario/core/runner_test.go:68
FunctionTestRunnerLifecycleAndPerQueryRecording
(t *testing.T)
tests/perf/core/runner_test.go:34
FunctionTestRunnerPreservesExecutorError
(t *testing.T)
tests/scenario/core/runner_test.go:165
FunctionTestRunnerRecordsClassifiedExecutorError
(t *testing.T)
tests/scenario/core/runner_test.go:192
FunctionTestRunnerRejectsRegularFileArtifactOutputBeforeExecutingSteps
(t *testing.T)
tests/scenario/core/artifacts_test.go:130
FunctionTestRunnerReturnsSuccessForAllSuccessfulSteps
(t *testing.T)
tests/scenario/core/runner_test.go:271
FunctionTestRunnerRunsAlwaysRunStepAfterFailureAndSkipsDependents
(t *testing.T)
tests/scenario/core/runner_test.go:12
FunctionTestRunnerTreatsExpectedErrorAsSuccessfulAssertion
(t *testing.T)
tests/scenario/core/runner_test.go:226
FunctionTestRunnerUsesConfiguredRunID
(t *testing.T)
tests/perf/core/runner_test.go:105
FunctionTestRunnerUsesUncancelledContextForAlwaysRunCleanup
(t *testing.T)
tests/scenario/core/runner_test.go:114
FunctionTestRunnerValidatesArtifactOutputBeforeExecutingSteps
(t *testing.T)
tests/scenario/core/artifacts_test.go:98
FunctionTestRunnerWritesArtifacts
(t *testing.T)
tests/scenario/core/artifacts_test.go:15
FunctionTestRuntimeOrgConnectionLimiterCancelsQueuedRequestAfterAcquireError
(t *testing.T)
controlplane/session_mgr_drain_test.go:1208
FunctionTestRuntimeOrgConnectionLimiterKeepsQueuedLeaseWhenResourceLimitBecomesUnlimited
(t *testing.T)
controlplane/session_mgr_drain_test.go:1086
FunctionTestRuntimeOrgConnectionLimiterReconnectCapableStoreUsesQueue
(t *testing.T)
controlplane/session_mgr_drain_test.go:1164
FunctionTestRuntimeStorePostgres
(t *testing.T)
tests/configstore/runtime_store_postgres_test.go:18
FunctionTestSQLTxActiveAllowsRetryOutsideTransaction
(t *testing.T)
duckdbservice/transient_test.go:400
FunctionTestSQLTxActiveSkipsRetry
(t *testing.T)
duckdbservice/transient_test.go:363
FunctionTestSQLTxActiveTracking
(t *testing.T)
duckdbservice/transient_test.go:310
FunctionTestSQLTxActiveTrackingDoesNotStartOnFailedBegin
(t *testing.T)
duckdbservice/transient_test.go:354
FunctionTestSQLTxActiveTrackingHandlesLeadingComments
(t *testing.T)
duckdbservice/transient_test.go:330
FunctionTestSTSBrokerCacheHitWithinValidity
(t *testing.T)
controlplane/sts_broker_test.go:39
FunctionTestSTSBrokerCacheIsPerRoleARN
(t *testing.T)
controlplane/sts_broker_test.go:77
FunctionTestSTSBrokerErrorNotCached
(t *testing.T)
controlplane/sts_broker_test.go:181
FunctionTestSTSBrokerRefreshesAfterExpiryMargin
(t *testing.T)
controlplane/sts_broker_test.go:104
FunctionTestSTSBrokerServedCredsAlwaysOutliveSchedulerLookahead
Pin the capture-point freshness floor: any credentials the broker hands out (cached or fresh) must retain more validity than the refresh scheduler's l
controlplane/shared_worker_activator_credentials_test.go:126
FunctionTestSTSBrokerSingleFlightCollapsesConcurrentCalls
(t *testing.T)
controlplane/sts_broker_test.go:135
FunctionTestSTSBrokerWaiterRespectsContextCancellation
(t *testing.T)
controlplane/sts_broker_test.go:217
FunctionTestSTSCacheSafetyMarginExceedsLookahead
The former compile-time guard, now a unit invariant: the broker's cache safety margin must stay strictly greater than the scheduler's lookahead or a r
controlplane/sts_broker_test.go:295
FunctionTestSafeCleanupDBUsesValidDuckLakeHealthProbe
(t *testing.T)
server/conn_cleanup_test.go:43
FunctionTestSanitizeSearchPath
(t *testing.T)
server/startup_options_test.go:29
FunctionTestSavepoints
TestSavepoints tests nested transaction control used by ORMs (Django, Rails). Currently skipped because DuckDB does not support SAVEPOINT syntax. Thes
tests/integration/edge_cases_test.go:427
FunctionTestScenarioRunScriptCheckEnvIncludesScenarioRequiredEnv
(t *testing.T)
tests/scenario/script_test.go:33
FunctionTestScenarioRunScriptValidatesRequiredEnvVars
(t *testing.T)
tests/scenario/script_test.go:11
FunctionTestScenarioRunner
(t *testing.T)
tests/scenario/runner_test.go:30
FunctionTestScheduledCleanupDropsCnpgIdentifiers
(t *testing.T)
tests/e2e-mw-dev/run_sh_test.go:65
FunctionTestScheduledCleanupKeepsGoingWhenDucklingsDoNotDelete
(t *testing.T)
tests/e2e-mw-dev/run_sh_test.go:50
FunctionTestSecondAdmittedConcurrentSessionIsNotStarvedByPinnedConn
Audit H3 regression test. On the process backend, FlightWorkerPool.AcquireWorker co-assigns sessions: at pool capacity it hands the connection to the
duckdbservice/coassigned_sessions_test.go:31
FunctionTestSecretDirectory
TestSecretDirectory documents the path derivation the wipe and pinning rely on.
server/persistent_secrets_test.go:94
FunctionTestSeedBundledExtensionsCopiesMissingFiles
(t *testing.T)
server/bundled_extensions_test.go:13
FunctionTestSeedBundledExtensionsPreservesExistingFilesWithMatchingContents
(t *testing.T)
server/bundled_extensions_test.go:48
FunctionTestSeedBundledExtensionsPreservesNonTargetedChangedFiles
(t *testing.T)
server/bundled_extensions_test.go:117
FunctionTestSeedBundledExtensionsReplacesExistingFilesWithUpdatedContents
(t *testing.T)
server/bundled_extensions_test.go:82
FunctionTestSendStreamChunkReturnsOnCanceledContext
(t *testing.T)
duckdbservice/flight_handler_test.go:1170
FunctionTestServeBodyContentLength
Sanity check that Content-Length set via serveBody matches body length.
cmd/cache-proxy/proxy_test.go:891
FunctionTestServeBodyContentRange
TestServeBodyContentRange verifies that when a Range header is present, the cached body is returned with HTTP 206 + Content-Range.
cmd/cache-proxy/proxy_test.go:841
FunctionTestServerShutdownStopsQueryLogSink
(t *testing.T)
server/querylog_kafka_test.go:64
FunctionTestSessionConnGuardCatchesSessionAliases
(t *testing.T)
duckdbservice/session_conn_guard_test.go:33
FunctionTestSessionCreationErrorResponse
(t *testing.T)
controlplane/control_cancel_test.go:66
FunctionTestSessionCurrentFunctions
TestSessionCurrentFunctions tests current_* functions
tests/integration/session_test.go:318
FunctionTestSessionFromContextAcceptsMismatchedEpoch
(t *testing.T)
duckdbservice/flight_handler_test.go:758
FunctionTestSessionFromContextAcceptsServerIssuedSessionTokenWithBasicAuth
(t *testing.T)
server/flightsqlingress/ingress_test.go:706
FunctionTestSessionFromContextAcceptsServerIssuedSessionTokenWithoutBasicAuth
(t *testing.T)
server/flightsqlingress/ingress_test.go:650
FunctionTestSessionFromContextFailedAndSuccessfulAuthUpdateRateLimiter
(t *testing.T)
server/flightsqlingress/ingress_test.go:1812
FunctionTestSessionFromContextInvalidCredentialsIncrementsAuthFailureMetric
(t *testing.T)
server/flightsqlingress/ingress_test.go:1718
FunctionTestSessionFromContextInvalidCredentialsIncrementsIngressSessionOutcomeMetric
(t *testing.T)
server/flightsqlingress/ingress_test.go:1734
FunctionTestSessionFromContextRateLimitedRejectsAndIncrementsMetric
(t *testing.T)
server/flightsqlingress/ingress_test.go:1787
FunctionTestSessionFromContextRejectsExpiredSessionToken
(t *testing.T)
server/flightsqlingress/ingress_test.go:867
FunctionTestSessionFromContextRejectsMismatchedControlIdentity
(t *testing.T)
duckdbservice/flight_handler_test.go:788
FunctionTestSessionFromContextRejectsTokenUserMismatch
(t *testing.T)
server/flightsqlingress/ingress_test.go:898
← previousnext →5,301–5,400 of 5,901, ranked by callers