MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

FunctionTestCommitmentRenegotiateOccurrenceAuthorityAndJournal
(t *testing.T)
internal/server/handlers_commitments_test.go:349
FunctionTestCommitmentRenegotiateRefusalsAndStrictBody
(t *testing.T)
internal/server/handlers_commitments_test.go:387
FunctionTestCommitmentRenegotiateRequiresNativeDeadline
(t *testing.T)
internal/server/handlers_commitments_test.go:529
FunctionTestCommitmentRenegotiateSeriesHTTPAndAuthority
(t *testing.T)
internal/server/handlers_commitments_test.go:423
FunctionTestCommitmentRenegotiateSeriesPastDeadlineHTTP
(t *testing.T)
internal/server/handlers_commitments_test.go:572
FunctionTestCommitmentRenegotiateStaleRevisionHTTP
(t *testing.T)
internal/server/handlers_commitments_test.go:549
FunctionTestCommitmentReopenHTTP
(t *testing.T)
internal/server/schedule_reopen_test.go:10
FunctionTestCommitmentReopenHistoryAndSSE
(t *testing.T)
internal/server/schedule_reopen_test.go:55
FunctionTestCommitmentResolveActivityAndSSE
The activity is names-only, one item_updated per resolve, the comment event only when a comment was sent, and a refused resolve writes and publishes n
internal/server/handlers_commitments_resolve_test.go:191
FunctionTestCommitmentResolveActualDoneAt
(t *testing.T)
internal/server/handlers_commitments_test.go:149
FunctionTestCommitmentResolveAuthMatrix
(t *testing.T)
internal/server/handlers_commitments_resolve_test.go:143
FunctionTestCommitmentResolveBodyHasOnlySupportedMembers
(t *testing.T)
internal/mcp/task4105_schedule_test.go:756
FunctionTestCommitmentResolveDoneFilterCloseOptions
(t *testing.T)
internal/server/schedule_end_guard_test.go:331
FunctionTestCommitmentResolveEnvelope
(t *testing.T)
internal/server/handlers_commitments_resolve_test.go:37
FunctionTestCommitmentResolveItemStillOpen
(t *testing.T)
internal/server/schedule_end_guard_test.go:39
FunctionTestCommitmentResolveItemStillOpenAbsentWhenUnguarded
A done that ends a recurring schedule's last instance on a closed item, and a done with a next occurrence, carry no item_still_open.
internal/server/schedule_end_guard_test.go:107
FunctionTestCommitmentResolveStaleAndBroken
(t *testing.T)
internal/server/handlers_commitments_resolve_test.go:114
FunctionTestCommitmentResolveStrictBodyAndFields
(t *testing.T)
internal/server/handlers_commitments_resolve_test.go:67
FunctionTestCommitmentResolveUsesDeadlineRole
A native deadline row can have its target moved; the deadline stays, and a move into the past is refused on until (TASK-4353).
internal/server/handlers_commitments_timing_test.go:307
FunctionTestCommitmentRoleOffsetsEveryView
(t *testing.T)
internal/server/commitment_role_offsets_test.go:46
FunctionTestCommitmentRoleOffsetsPatchRoundTrip
(t *testing.T)
internal/server/commitment_role_offsets_test.go:80
FunctionTestCommitmentRoleOffsetsTimeLinked
(t *testing.T)
internal/server/commitment_role_offsets_test.go:140
FunctionTestCommitmentRoleOffsetsViewerOwnerIdentical
(t *testing.T)
internal/server/commitment_role_offsets_test.go:118
FunctionTestCommitmentShorthandIsNormalized
(t *testing.T)
internal/server/handlers_commitments_http_test.go:714
FunctionTestCommitmentStrictBody
(t *testing.T)
internal/server/handlers_commitments_http_test.go:544
FunctionTestCommitmentTimezoneDefault
(t *testing.T)
internal/server/handlers_commitments_http_test.go:727
FunctionTestCommitmentTimingExceptionsAndAtomicity
(t *testing.T)
internal/server/handlers_commitments_timing_test.go:123
FunctionTestCommitmentTimingMatrix
(t *testing.T)
internal/server/handlers_commitments_timing_test.go:73
FunctionTestCommitmentViewCarriesMissedCountAndStale
The view carries missed_count, missed_truncated and stale (TASK-4103 C2a): the instances that passed after the outstanding occurrence, which is not co
internal/server/handlers_commitments_http_test.go:992
FunctionTestCommitmentViewForecastSetterName
(t *testing.T)
internal/server/handlers_agenda_forecast_test.go:165
FunctionTestCommitmentViewMissedWarningIsEvicted
TestCommitmentViewMissedWarningIsEvicted pins the limiter's bound (TASK-4103 C2b-i r1-2): an entry leaves when the schedule's count succeeds again and
internal/server/handlers_commitments_missed_warn_test.go:140
FunctionTestCommitmentViewMissedWarningIsRateLimitedPerEdit
A rule that compiles but hits a cap in the missed count fails the same way on every read. The warning is logged once per schedule edit, not once per G
internal/server/handlers_commitments_missed_warn_test.go:34
FunctionTestCommitmentViewMissedWarningNeverRegressesOrDuplicates
TestCommitmentViewMissedWarningNeverRegressesOrDuplicates pins the limiter's atomicity (TASK-4103 C2b-i r1-1): a view built from a snapshot older than
internal/server/handlers_commitments_missed_warn_test.go:91
FunctionTestCommitmentViewOfBrokenFiredFloatingRowIsExact
A floating row with a rule that no longer compiles fires into a fired row; the view's next_occurrence.at is the instant in the recipient's zone, not t
internal/server/handlers_commitments_http_test.go:1032
FunctionTestCommitmentWindowTimingPreservesOffset
(t *testing.T)
internal/server/handlers_commitments_timing_test.go:271
FunctionTestCompactToolDescriptionKeepsEveryWord
TASK-3536: tool descriptions are reflowed for the wire. Whitespace only: every word survives in order, every action keeps its own header line, and Req
internal/mcp/task3536_compact_description_test.go:12
FunctionTestCompactToolDescriptionKeepsListStructure
A list must stay a list. Every bullet, numbered item and one-word label in the source starts its own line on the wire, and a bullet's wrapped continua
internal/mcp/task3536_compact_description_test.go:48
FunctionTestCompactToolDescriptionShape
(t *testing.T)
internal/mcp/task3536_compact_description_test.go:37
FunctionTestCompileCanonicalisesAndCopies
(t *testing.T)
internal/schedule/spec_test.go:45
FunctionTestCompileNeverReturnsLibraryError
TestCompileNeverReturnsLibraryError feeds Compile every malformed shape the package knows, plus hostile text, and checks each refusal is ours: a *Malf
internal/schedule/spec_test.go:11
FunctionTestCompiledConcurrentUse
(t *testing.T)
internal/schedule/nextbetween_test.go:238
FunctionTestCompletedWorkValueFallsBackToStatus
The CLI copy's fallback to "status" for a collection the map does not know.
cmd/pad/bug2640_done_field_display_test.go:131
FunctionTestCompletionAnchor
completion: the next one is a recurrence interval after the DONE moment, at the schedule's time of day; calendar is the control. RED if the calendar p
internal/store/schedule_resolve_test.go:211
FunctionTestCompletionAnchorRebase
TestCompletionAnchorRebase pins the contract the completion-anchored cadence relies on: a new Spec started at the completion wall, then NextAfter(comp
internal/schedule/nextbetween_test.go:262
FunctionTestCompletionAnchorRuleSet
completion is valid only for a plain interval (or none): BYxxx, COUNT, RDATES and EXDATES are refused on create and on update; a plain interval, an UN
internal/store/schedule_resolve_test.go:289
FunctionTestCompletionElapsedIntervalAcrossFallBack
r2-2: an elapsed completion grid is phased from an unambiguous start, so the next is exactly done+span and anchor_wall names its own instant.
internal/store/schedule_resolve_fix2_test.go:39
FunctionTestCompletionElapsedTransitionTable
Every 2026 and 2027 transition, spans from a minute to three hours, done before, inside and after it, with sub-second digits: no error, next is exactl
internal/store/schedule_resolve_fix3_test.go:89
FunctionTestCompletionHourlyFallBackIsExact
r1-3: a pinned HOURLY completion in the fall-back hour is exact: done at 01:30 EDT plus 1h is 01:30 EST (06:30Z), never at or before the done instant.
internal/store/schedule_resolve_fix_test.go:39
FunctionTestCompletionHugeIntervalNanosecondClock
A huge INTERVAL never steps the start out of the years a wall can name.
internal/store/schedule_resolve_fix3_test.go:40
FunctionTestCompletionNanosecondClockRepeatedHalf
A repeated-half completion, three-hour grid: the next is done+3h exactly.
internal/store/schedule_resolve_fix3_test.go:29
FunctionTestCompletionNextIsStrictlyAfterResolvedOccurrence
r2-1: a completion resolved early never re-arms the occurrence it closed.
internal/store/schedule_resolve_fix2_test.go:22
FunctionTestCompletionWholeSecondClock
The one whole-second row: a clock with no fraction behaves the same.
internal/store/schedule_resolve_fix3_test.go:52
FunctionTestCompressDoesNotBufferAnSSEStream
An SSE event reaches the client when the handler flushes it, not when the stream ends: a compressor holding it in its window would starve the client.
internal/server/middleware_compress_test.go:122
FunctionTestCompressGzipsJSONForAClientThatAcceptsIt
(t *testing.T)
internal/server/middleware_compress_test.go:37
FunctionTestCompressIsWiredIntoTheServer
(t *testing.T)
internal/server/middleware_compress_test.go:159
FunctionTestCompressLeavesSkippedResponsesAlone
(t *testing.T)
internal/server/middleware_compress_test.go:62
FunctionTestCompressLeavesWriteResponsesAlone
A write's response is never compressed: every secret the API mints comes back from one. Nor a HEAD's: its Content-Length is the answer.
internal/server/middleware_compress_test.go:173
FunctionTestCompressRouteCensus
(t *testing.T)
internal/server/compress_routes_test.go:44
FunctionTestCompressSkipsTypesNotWorthCompressing
(t *testing.T)
internal/server/middleware_compress_test.go:109
FunctionTestCompressStillCompressesTheAttachmentList
The attachment skip is the per-file routes, not the list beside them.
internal/server/middleware_compress_test.go:100
FunctionTestCompressedStreamStillDeliversFlushes
A compressed response that flushes (the account export flushes after each workspace) still delivers each flushed part while the handler runs: chi's wr
internal/server/middleware_compress_test.go:190
FunctionTestComputeAccessEpoch
The properties the two item doors depend on. Each case names what a FAILURE would mean for the client, because that is what decides whether the proper
internal/server/access_epoch_test.go:12
FunctionTestComputeAdminUserStatus
TestComputeAdminUserStatus locks in the precedence order: disabled wins over no-workspace wins over inactive wins over active. Documented in the admin
internal/store/users_test.go:267
FunctionTestComputeSSEVisibility_AdminBearer_GetsFilter
TestComputeSSEVisibility_AdminBearer_GetsFilter verifies the per-tick visibility recompute applies the bearer-admin gate too. Without the gate, an adm
internal/server/handlers_admin_bearer_gate_test.go:141
FunctionTestComputeSSEVisibility_DemotedAdminGetsFilter
TestComputeSSEVisibility_DemotedAdminGetsFilter verifies that when a global admin is demoted to "member" mid-stream BUT remains a member of the worksp
internal/server/handlers_events_revalidation_test.go:239
FunctionTestComputeSSEVisibility_ReflectsCurrentGrants
TestComputeSSEVisibility_ReflectsCurrentGrants verifies the visibility-recompute path returns the current permission snapshot on every call. A regress
internal/server/handlers_events_revalidation_test.go:126
FunctionTestComputeSSEVisibility_StoreFaultMarksDegraded
TestComputeSSEVisibility_StoreFaultMarksDegraded drives a real store fault through computeSSEVisibility. Renaming member_collection_access fails Visib
internal/server/bug3347_access_epoch_effective_test.go:201
FunctionTestComputeWatchAccessVisibility_ReportsStoreFailure
GAP, RECORDED RATHER THAN PAPERED OVER. There is no test here driving the WHOLE chain — store fault → computeWatchAccessVisibility → pushSessionVisib
internal/server/handlers_push_store_error_test.go:61
FunctionTestConcurrentAccess
(t *testing.T)
internal/events/bus_test.go:191
FunctionTestConcurrentAppliersAndRestoreNoDeadlock
TestConcurrentAppliersAndRestoreNoDeadlock stress-drives several applier round-trips interleaved with restores to shake out lock-order / finalization
internal/collab/restore_coord_test.go:571
FunctionTestConcurrentFirstSubscribersShareOneRedisSubscription
TestConcurrentFirstSubscribersShareOneRedisSubscription pins the wall the confirmation wait opens: two callers arriving for the same workspace with no
internal/events/redis_subscribe_confirm_test.go:254
FunctionTestConcurrentMixedReadWrite
TestConcurrentMixedReadWrite simulates a realistic workload: mostly reads with some writes, to check for contention under typical usage patterns.
internal/store/bench_concurrent_test.go:163
FunctionTestConcurrentPhaseTwoPublishesArriveInIDOrder
(t *testing.T)
internal/events/redis_idspace_test.go:712
FunctionTestConcurrentPublishesDeliverInIDOrder
TestConcurrentPublishesDeliverInIDOrder is the other way a client ends up processing an event twice, and it is not the subscribe/replay window. If ID
internal/events/gap_signal_test.go:387
FunctionTestConcurrentPublishesLeaveTheBufferInIDOrder
(t *testing.T)
internal/events/idspace_test.go:163
FunctionTestConcurrentRenamesOfMutuallyReferencingCollectionsDoNotDeadlock
(t *testing.T)
internal/store/collections_relation_rename_test.go:222
FunctionTestConcurrentRenamesOfTheSameCollectionLeaveRelationsPointingAtIt
(t *testing.T)
internal/store/collections_relation_rename_test.go:382
FunctionTestConcurrentSlugWritersNeverCollide
TestConcurrentSlugWritersNeverCollide is the dialect-agnostic instrument for the same two defects. Each round releases THREE writers at a barrier — tw
internal/store/collections_slug_race_pg_test.go:183
FunctionTestConcurrentWritePerformance
TestConcurrentWritePerformance measures how each backend handles concurrent writers. SQLite serializes writes (SQLITE_BUSY under contention); PostgreS
internal/store/bench_concurrent_test.go:20
FunctionTestConfigFromEnv
(t *testing.T)
internal/materialize/supervisor_test.go:750
FunctionTestConfigureDecisions_BackfillsOnLaterEnable
TASK-3921, from the consuming side (CONVE-19): the effort backfill must run when an admin enables the provider AFTER boot, not only at boot. Boot with
internal/server/decision_settings_test.go:584
FunctionTestConfigurePush_AppliesEveryTimingKnobBeforeStart
TASK-3939 part C (ruling 77a8fae7): the PAD_PUSH_DISPATCH_* knobs reach the dispatcher through configurePush, and the interval is applied before Start
cmd/pad/task3939c_configure_push_test.go:91
FunctionTestConfigurePush_BadKnobRefusesStartup
A bad knob refuses startup, names its variable, and starts no dispatcher. It refuses with or without a gateway URL: a malformed config is an operator
cmd/pad/task3939c_configure_push_test.go:131
FunctionTestConfigurePush_EnablesDeviceRegistration
TASK-4051: a signed-in device registration observes the gateway URL wired by startup through the real HTTP handler. Kills: M1a.
cmd/pad/task3939c_configure_push_test.go:186
FunctionTestConfigurePush_SendsToConfiguredGateway
TASK-4051: one pending notification reaches exactly the configured HTTP gateway, using notify.Gateway's messages/results contract. Kills: M1b.
cmd/pad/task3939c_configure_push_test.go:219
FunctionTestConfigurePush_ServerStopStopsDispatcher
TASK-4051: stopping the whole server stops its configured dispatcher too. Kills: M2.
cmd/pad/task3939c_configure_push_test.go:298
FunctionTestConfigurePush_StartsTheDispatcherOnlyWithAGateway
TASK-3939 B2c: server startup starts the push dispatcher exactly when a gateway is configured with a usable secret, and refuses a gateway URL with no
cmd/pad/task3939c_configure_push_test.go:28
FunctionTestConfigurePush_UnsetKnobsKeepTheDefaults
Unset knobs keep the defaults (5s / 10s / 60s / 15s) through configurePush.
cmd/pad/task3939c_configure_push_test.go:113
FunctionTestConfigure_UpdatesSettings
(t *testing.T)
internal/email/sender_test.go:141
FunctionTestConnectAndHandshakeShareOneBudget
TestConnectAndHandshakeShareOneBudget covers a second case: applying the timeout to the TCP connect and then starting a fresh one for the handshake al
internal/redisdial/redisdial_test.go:349
FunctionTestConsentClientNameCap
(t *testing.T)
internal/server/task1071_consent_identity_test.go:207
FunctionTestConsentClientNameEdgeCases
The four client-name/logo edge cases the task names.
internal/server/task1071_consent_identity_test.go:140
FunctionTestConsentIdentifiesPadAndTheUsersWorkspaces
(t *testing.T)
internal/server/task1071_consent_identity_test.go:67
FunctionTestConsentNamesACustomSchemeReturnWithItsScheme
(t *testing.T)
internal/server/task1071_consent_identity_test.go:243
FunctionTestConsentRedirectTarget
(t *testing.T)
internal/server/task1071_consent_identity_test.go:222
FunctionTestConsentResourceHostFallsBackToTheRequestHost
(t *testing.T)
internal/server/task1071_consent_identity_test.go:124
FunctionTestConsentWorkspaceSummaryNamesFiveThenCounts
(t *testing.T)
internal/server/task1071_consent_identity_test.go:109
FunctionTestConsent_ApproveWildcard_ZeroWorkspaces
TestConsent_ApproveWildcard_ZeroWorkspaces pins the end-to-end path the zero-workspace consent UI posts after BUG-2303: workspace_access=all + may_cre
internal/server/handlers_oauth_test.go:1137
FunctionTestConsent_ApproveWithNewShape
TestConsent_ApproveWithNewShape covers the TASK-1523 / IDEA-1517 §2a consent flow shape: connection_name + workspace_access radio + may_create_workspa
internal/server/handlers_oauth_test.go:1463
FunctionTestConsent_ApproveWithSpecificWorkspaces
TestConsent_ApproveWithSpecificWorkspaces verifies the happy path: user picks a specific workspace + tier, and the issued access token carries the cho
internal/server/handlers_oauth_test.go:1242
← previousnext →18,501–18,600 of 28,840, ranked by callers