MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

FunctionTestStaleButValidCredentialsServedDuringOutage
(t *testing.T)
shared/platform/awscreds/awscreds_test.go:639
FunctionTestStaleReferences
(t *testing.T)
proxy/internal/store/detect_memory_health_test.go:203
FunctionTestStaleStripNeverMatchesANewHistory
A remembered strip belongs to the history it was made on: a new history whose message at the strip's end happens to be the same keeps its thinking.
proxy/internal/gateway/route_effort_test.go:1815
FunctionTestStalledEndpointBoundsCredentialsLatency
The whole chain runs under p.mu on the request path, so an endpoint that accepts a connection and then never answers used to hold every other Bedrock
shared/platform/awscreds/awscreds_test.go:754
FunctionTestStandaloneActiveModeAutoCachesAcrossProvidersAndModelSwitches
(t *testing.T)
proxy/internal/standalone/standalone_test.go:121
FunctionTestStandaloneAnthropicModelDiscoveryRoutesPassThrough
The bare /v1/models spelling is shared by the OpenAI and Anthropic wire protocols, and the real proxy registers Anthropic first. The catalog read must
proxy/internal/standalone/provider_routes_test.go:164
FunctionTestStandaloneAzureAuthBoundariesEndToEnd
TestStandaloneAzureAuthBoundariesEndToEnd keeps the synthetic placeholder path distinct from real Entra bearer credentials: the exact sentinel may be
proxy/internal/standalone/standalone_test.go:1117
FunctionTestStandaloneBedrockPartialEnvPairDoesNotFallThroughToRole
A typo'd secret variable must not silently switch the signing principal to whatever role the host carries. This is the shipped path (chain wired), not
proxy/internal/standalone/bedrock_chain_test.go:150
FunctionTestStandaloneBedrockPreservesEncodedRequestOnWire
(t *testing.T)
proxy/internal/standalone/standalone_test.go:1325
FunctionTestStandaloneBedrockReSignsSDKRequestWithTaskRole
(t *testing.T)
proxy/internal/standalone/bedrock_chain_test.go:84
FunctionTestStandaloneBedrockRejectsUnresolvableSignedRequests
(t *testing.T)
proxy/internal/standalone/standalone_test.go:1271
FunctionTestStandaloneBedrockResignsSDKRequests
(t *testing.T)
proxy/internal/standalone/standalone_test.go:1208
FunctionTestStandaloneBedrockSignsWithTaskRoleWhenEnvHasNoKeys
(t *testing.T)
proxy/internal/standalone/bedrock_chain_test.go:46
FunctionTestStandaloneBedrockWithoutAnyCredentialStillFailsClosed
(t *testing.T)
proxy/internal/standalone/bedrock_chain_test.go:129
FunctionTestStandaloneBoot_ZeroCloudDeps_InferredRows
(t *testing.T)
proxy/internal/standalone/standalone_test.go:75
FunctionTestStandaloneCABundle_TrustsPrivateRootForProviderTLS
TestStandaloneCABundle_TrustsPrivateRootForProviderTLS is the corporate TLS inspection shape: the provider presents a certificate from a root that onl
proxy/internal/standalone/standalone_test.go:1769
FunctionTestStandaloneClientLifetimeAndCancellation
The production SSRF-guarded client must permit a response to remain open beyond the old request cap. Explicit operator deadlines remain supported.
proxy/internal/standalone/standalone_test.go:1654
FunctionTestStandaloneCompressMode_RealEngine_QueryAware
TestStandaloneCompressMode_RealEngine_QueryAware proves query relevance reaches the real JSON compressor through the full proxy path. The planted midd
proxy/internal/standalone/standalone_test.go:517
FunctionTestStandaloneCompressMode_RealEngine_Recoverable
TestStandaloneCompressMode_RealEngine_Recoverable boots standalone in compress mode with the real engine, sends a request whose message content is a c
proxy/internal/standalone/standalone_test.go:445
FunctionTestStandaloneCompressMode_TOON_ReplacesToolOutput
TestStandaloneCompressMode_TOON_ReplacesToolOutput is the end-to-end proof that the proxy replaces a tool_result's verbose JSON with TOON before it re
proxy/internal/standalone/toon_test.go:47
FunctionTestStandaloneConcurrentEncodedResponsesRemainDecodable
#897 hypothesized a shared response re-encoder. This test instead checks the actual contract: overlapping, distinct compressed responses keep their ex
proxy/internal/standalone/concurrent_encoding_review_test.go:31
FunctionTestStandaloneCostBreakdownUsesDistinctReasoningRate
(t *testing.T)
proxy/internal/gateway/pricing_semantics_test.go:158
FunctionTestStandaloneGeminiGoogleEnvFallbackEndToEnd
TestStandaloneGeminiGoogleEnvFallbackEndToEnd proves the resolver keeps the Gemini fallback policy even when GEMINI_API_KEY is empty, so the gateway c
proxy/internal/standalone/standalone_test.go:993
FunctionTestStandaloneGeminiQueryCredentialsEndToEnd
(t *testing.T)
proxy/internal/standalone/gemini_query_auth_test.go:14
FunctionTestStandaloneGeminiStableGenerationRoutes
(t *testing.T)
proxy/internal/standalone/provider_routes_test.go:84
FunctionTestStandaloneLeavesAmbiguousFallbackUncorrelated
(t *testing.T)
proxy/internal/standalone/standalone_test.go:251
FunctionTestStandaloneNativeProviderHeadersEndToEnd
Native SDK API-key headers must retain the caller's principal, including when the persistent proxy has an unrelated provider key configured in its pro
proxy/internal/standalone/standalone_test.go:1028
FunctionTestStandaloneNativeStreamsAndProviderErrors
These fixtures follow the provider SDK's native wire, including raw AWS EventStream payloads (the event name is in a binary header, not a JSON wrapper
proxy/internal/standalone/provider_stream_test.go:30
FunctionTestStandaloneOpenAIModelDiscoveryRoutesPassThrough
(t *testing.T)
proxy/internal/standalone/provider_routes_test.go:111
FunctionTestStandaloneOpenCodeGoAuthEndToEnd
TestStandaloneOpenCodeGoAuthEndToEnd drives the Pi wire shapes through the full standalone handler: the /w/pi agent prefix, the built-in opencode-go m
proxy/internal/standalone/standalone_test.go:1477
FunctionTestStandalonePricingMatchesManagedRegionalRules
(t *testing.T)
proxy/internal/gateway/pricing_semantics_test.go:21
FunctionTestStandaloneProductionTransportPreservesEncodedResponseWireBytes
(t *testing.T)
proxy/internal/standalone/standalone_test.go:304
FunctionTestStandaloneSSRF_BlocksPrivateUpstream
TestStandaloneSSRF_BlocksPrivateUpstream proves the SSRF dial guard is always on in standalone (not gated on CAVE_ENV=prod): a request whose upstream
proxy/internal/standalone/standalone_test.go:281
FunctionTestStandaloneStreamErrorKeepsBilledUsageWithoutClaimingSavings
(t *testing.T)
proxy/internal/standalone/provider_stream_test.go:165
FunctionTestStandaloneStripsSignedNativeSessionMarkerBeforeProviderAndCorrelatesRow
(t *testing.T)
proxy/internal/standalone/standalone_test.go:178
FunctionTestStandaloneSubscriptionCompress_NoAccountRequired
TestStandaloneSubscriptionCompress_NoAccountRequired proves the invariant end to end with the real engine: a subscription-authenticated coding-agent r
proxy/internal/standalone/standalone_test.go:594
FunctionTestStandaloneTokenCountRoutesPreserveAccountingRequests
(t *testing.T)
proxy/internal/standalone/provider_routes_test.go:31
FunctionTestStandaloneUpstreamProxy_RoutesProviderTrafficThroughProxy
TestStandaloneUpstreamProxy_RoutesProviderTrafficThroughProxy is the #1001 path end to end: caveman.yaml upstream_proxy sends provider traffic to a co
proxy/internal/standalone/standalone_test.go:1733
FunctionTestStandaloneUsesOnlyExplicitApproximateSessionFallback
(t *testing.T)
proxy/internal/standalone/standalone_test.go:220
FunctionTestStandaloneVertexExpressCredentialsEndToEnd
(t *testing.T)
proxy/internal/standalone/vertex_express_auth_test.go:13
FunctionTestStandaloneVertexRegionAgnosticFixtureProbe
TestStandaloneVertexRegionAgnosticFixtureProbe does nothing in a normal run. It is the child process of the test above.
proxy/internal/gateway/pricing_semantics_test.go:122
FunctionTestStandaloneVertexRegionAgnosticPricingOnFixtureCatalog
TestStandaloneVertexRegionAgnosticPricingOnFixtureCatalog proves that a regional Vertex request takes a global row's price only when that row declares
proxy/internal/gateway/pricing_semantics_test.go:104
FunctionTestStartWarmsTheRoutePath
A started link, signed in with routing on, warms once at start: the asks' own key, x-cave-warm and no body. Routing off, or a link no runtime started,
proxy/internal/cloudlink/warm_test.go:80
FunctionTestStateBoundsAndLogin
An oversized state is not kept; an answer without one (a side request's) keeps the one there; a new login forgets every state.
proxy/internal/cloudlink/route_effort_test.go:167
FunctionTestStateOnlyEventStillRunsAfterTheDeadline
subagent.start sends the host nothing; its effect is the state write, so a stripe held past the hook deadline delays it instead of dropping it.
proxy/internal/nativeruntime/hook_budget_test.go:344
FunctionTestStateRoundTripsPerSessionAndChild
Cloud's state goes back per session; a child sends its parent's as parent_state; last goes as reported, its counts bounded.
proxy/internal/cloudlink/route_effort_test.go:129
FunctionTestStatedInvariantsAreLiterallyTrue
TestStatedInvariantsAreLiterallyTrue re-derives every claim a marker makes against the rows the marker actually replaced. This is the honesty gate: a
engine/compressors/invariants_test.go:604
FunctionTestStatefulChainKeepsTheCacheKey
A previous_response_id chain (answered off) keeps the session's key, so its follow-ups go where the first request's cache is.
proxy/internal/gateway/route_effort_responses_test.go:285
FunctionTestStatefulResponsesChainsAreNotRouted
A Responses chain continued by previous_response_id is never routed: its follow-ups carry no human text, so a decision could not hold for the turn.
proxy/internal/cloudlink/link_test.go:752
FunctionTestStatelessAdapterNeverMutatesTopLevelEffort
TestStatelessAdapterNeverMutatesTopLevelEffort verifies the cache-safety invariant: the stateless Anthropic adapter MUST NOT mutate top-level `output_
proxy/providers/anthropic/turn_effort_test.go:16
FunctionTestStatelessAdapterNeverMutatesTopLevelTurnEffort
TestStatelessAdapterNeverMutatesTopLevelTurnEffort verifies the cache-safety invariant: the stateless OpenAI adapter MUST NOT mutate top-level `reason
proxy/providers/openai/turn_effort_test.go:17
FunctionTestStatsChatGPTRecordsFinalBytesAndSeparateEquivalent
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:367
FunctionTestStatsCustomOriginKeepsTokenDeltaUnpriced
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:350
FunctionTestStatsHTMLAtomicReplacementDoesNotFollowTargetSymlink
(t *testing.T)
proxy/internal/store/stats_report_test.go:62
FunctionTestStatsHTMLFixture
(t *testing.T)
proxy/internal/store/stats_report_test.go:82
FunctionTestStatsHTMLInteractiveAccounting
(t *testing.T)
proxy/internal/store/stats_report_test.go:117
FunctionTestStatsHTMLPreservesPrivateEscapedSnapshot
(t *testing.T)
proxy/internal/store/stats_report_test.go:14
FunctionTestStatsIsInferredSessionScopedNeverVerified
(t *testing.T)
mcp/server_test.go:317
FunctionTestStatsMeteringCountsCachedReplacementsOnEachProviderRequest
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:302
FunctionTestStatsMeteringFollowsFinalAcceptedRequest
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:256
FunctionTestStatsMissingObservedBucketRateStaysUnpriced
(t *testing.T)
proxy/internal/store/stats_test.go:281
FunctionTestStatsPersistenceKeepsReceiptEquationConsistent
(t *testing.T)
proxy/internal/store/stats_test.go:267
FunctionTestStatsPersistenceRejectsInvalidSnapshotAndTokenBuckets
(t *testing.T)
proxy/internal/store/stats_test.go:235
FunctionTestStatsPricingOriginRequiresExactProvider
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:321
FunctionTestStatsQueryUsesJulianDayIndex
(t *testing.T)
proxy/internal/store/stats_test.go:360
FunctionTestStatsReceiptBoundDoesNotTruncateTotals
(t *testing.T)
proxy/internal/store/stats_test.go:255
FunctionTestStatsReportEmptyAndZeroDiffer
(t *testing.T)
proxy/internal/store/stats_test.go:168
FunctionTestStatsReportFiltersJointGroupsAndUTCWindow
(t *testing.T)
proxy/internal/store/stats_test.go:141
FunctionTestStatsReportKeepsAPISavingsAndSubscriptionEquivalentSeparate
(t *testing.T)
proxy/internal/store/stats_test.go:52
FunctionTestStatsReportKeepsRegressionsAndExcludesFailedAndLegacySavings
(t *testing.T)
proxy/internal/store/stats_test.go:104
FunctionTestStatsReportKeepsWarmSpendOutOfRequests
(t *testing.T)
proxy/internal/store/cache_warm_stats_test.go:93
FunctionTestStatsReportMissingIdentityFiltersMatchDisplayedLabels
(t *testing.T)
proxy/internal/store/stats_test.go:192
FunctionTestStatsReportMixedHistoricalTimestampsUseUTCInstants
(t *testing.T)
proxy/internal/store/stats_test.go:208
FunctionTestStatsReportOptions
(t *testing.T)
proxy/cmd/caveman-proxy/stats_test.go:5
FunctionTestStatsReportUnknownAndIncompleteStayNull
(t *testing.T)
proxy/internal/store/stats_test.go:80
FunctionTestStdDensityCapacityRatios
The test-pinned per-page capacities used by the design. This checks them at the exported draw seam, so the render ratio test below has an exact anchor
engine/cmd/caveman-engine/pixel_density_test.go:45
FunctionTestStdioUpstreamEndToEnd
(t *testing.T)
mcp/codemode/stdio_js_builtin_test.go:85
FunctionTestStorageUsageCounterMatchesTheScan
The counter must equal the scan it replaced after every kind of write: an insert, an upsert, a dedup pointer, a raw UPDATE and DELETE, and a write by
engine/ccr/store_budget_scale_test.go:140
FunctionTestStoreCloseAfterCompleteReplacementPreservesLiveJournal
(t *testing.T)
engine/ccr/store_generation_test.go:261
FunctionTestStoreCloseCannotCheckpointReplacedJournalAfterWriterExit
(t *testing.T)
engine/ccr/store_generation_test.go:531
FunctionTestStoreConnectionPragmas
TestStoreConnectionPragmas: every pooled connection waits on a busy database, uses WAL and keeps synchronous FULL, also after RecordBatch committed on
proxy/internal/store/record_batch_test.go:135
FunctionTestStoreDoesNotPublishHandleWhenFilesChangeDuringPut
(t *testing.T)
engine/ccr/store_generation_test.go:418
FunctionTestStoreNormalConcurrentConnectionsAndCheckpoints
(t *testing.T)
engine/ccr/store_generation_test.go:371
FunctionTestStoreQuarantinesJournalChangesAcrossProcesses
(t *testing.T)
engine/ccr/store_generation_test.go:279
FunctionTestStoreQuarantinesMixedMainAndJournalGenerations
(t *testing.T)
engine/ccr/store_generation_test.go:580
FunctionTestStoreRefusesMissingOrInvalidReplacementUntilRestart
(t *testing.T)
engine/ccr/store_generation_test.go:318
FunctionTestStoreRefusesRemovedJournalWithoutRecreatingIt
(t *testing.T)
engine/ccr/store_generation_test.go:447
FunctionTestStoreRefusesSymlinkReplacement
(t *testing.T)
engine/ccr/store_generation_test.go:467
FunctionTestStoreRequiresRestartAfterCompleteReplacementAcrossProcesses
(t *testing.T)
engine/ccr/store_generation_test.go:212
FunctionTestStoreRequiresRestartForCheckpointedReplacementWithoutJournals
(t *testing.T)
engine/ccr/store_generation_test.go:617
FunctionTestStoredEvidenceBundleCarriesOnlyDirectItems
The rendered block drops metadata-only items, but the ccr:// handle it hands the model must not carry them either: retrieving the bundle is one step a
proxy/internal/nativeruntime/runtime_test.go:1388
FunctionTestStoredPlansKeepNoReplacementText
GO-10 (A2): a stored plan references its replacements' text through their choices; it never keeps a second copy for the plan's lifetime.
proxy/internal/middleware/hardening_test.go:469
FunctionTestStoredRowsGolden
TestStoredRowsGolden pins every stored column of each golden request: the request and prefix hashes, the frozen-prefix evidence, provider usage, the l
proxy/internal/standalone/golden_rows_test.go:204
FunctionTestStreamUsage_DisabledIsPassthrough
(t *testing.T)
proxy/providers/openai/stream_usage_test.go:105
FunctionTestStreamUsage_FlagWithoutEvalGateIsPassthrough
C8 review finding 5: the flag alone must not be enough — an uncleared eval gate must block injection exactly like it blocks output-brevity/ reasoning-
proxy/providers/openai/stream_usage_test.go:116
FunctionTestStreamUsage_IdempotentWhenAlreadyTrue
(t *testing.T)
proxy/providers/openai/stream_usage_test.go:67
FunctionTestStreamUsage_InjectsWhenAbsent
(t *testing.T)
proxy/providers/openai/stream_usage_test.go:21
FunctionTestStreamUsage_MalformedBodyPassesThroughUnchanged
(t *testing.T)
proxy/providers/openai/stream_usage_test.go:129
FunctionTestStreamUsage_MergesIntoExistingStreamOptionsWithoutIncludeUsage
(t *testing.T)
proxy/providers/openai/stream_usage_test.go:38
FunctionTestStreamUsage_NeverOverwritesExplicitFalse
The core rule: an explicit client choice of include_usage:false is a DELIBERATE choice and must never be overwritten, even though the gateway would no
proxy/providers/openai/stream_usage_test.go:58
← previousnext →10,801–10,900 of 12,853, ranked by callers