Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerpetualSoftware/pad
/ functions
Functions
28,840 in github.com/PerpetualSoftware/pad
⨍
Functions
28,840
◇
Types & classes
3,245
Function
TestCommitmentRenegotiateOccurrenceAuthorityAndJournal
(t *testing.T)
internal/server/handlers_commitments_test.go:349
Function
TestCommitmentRenegotiateRefusalsAndStrictBody
(t *testing.T)
internal/server/handlers_commitments_test.go:387
Function
TestCommitmentRenegotiateRequiresNativeDeadline
(t *testing.T)
internal/server/handlers_commitments_test.go:529
Function
TestCommitmentRenegotiateSeriesHTTPAndAuthority
(t *testing.T)
internal/server/handlers_commitments_test.go:423
Function
TestCommitmentRenegotiateSeriesPastDeadlineHTTP
(t *testing.T)
internal/server/handlers_commitments_test.go:572
Function
TestCommitmentRenegotiateStaleRevisionHTTP
(t *testing.T)
internal/server/handlers_commitments_test.go:549
Function
TestCommitmentReopenHTTP
(t *testing.T)
internal/server/schedule_reopen_test.go:10
Function
TestCommitmentReopenHistoryAndSSE
(t *testing.T)
internal/server/schedule_reopen_test.go:55
Function
TestCommitmentResolveActivityAndSSE
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
Function
TestCommitmentResolveActualDoneAt
(t *testing.T)
internal/server/handlers_commitments_test.go:149
Function
TestCommitmentResolveAuthMatrix
(t *testing.T)
internal/server/handlers_commitments_resolve_test.go:143
Function
TestCommitmentResolveBodyHasOnlySupportedMembers
(t *testing.T)
internal/mcp/task4105_schedule_test.go:756
Function
TestCommitmentResolveDoneFilterCloseOptions
(t *testing.T)
internal/server/schedule_end_guard_test.go:331
Function
TestCommitmentResolveEnvelope
(t *testing.T)
internal/server/handlers_commitments_resolve_test.go:37
Function
TestCommitmentResolveItemStillOpen
(t *testing.T)
internal/server/schedule_end_guard_test.go:39
Function
TestCommitmentResolveItemStillOpenAbsentWhenUnguarded
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
Function
TestCommitmentResolveStaleAndBroken
(t *testing.T)
internal/server/handlers_commitments_resolve_test.go:114
Function
TestCommitmentResolveStrictBodyAndFields
(t *testing.T)
internal/server/handlers_commitments_resolve_test.go:67
Function
TestCommitmentResolveUsesDeadlineRole
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
Function
TestCommitmentRoleOffsetsEveryView
(t *testing.T)
internal/server/commitment_role_offsets_test.go:46
Function
TestCommitmentRoleOffsetsPatchRoundTrip
(t *testing.T)
internal/server/commitment_role_offsets_test.go:80
Function
TestCommitmentRoleOffsetsTimeLinked
(t *testing.T)
internal/server/commitment_role_offsets_test.go:140
Function
TestCommitmentRoleOffsetsViewerOwnerIdentical
(t *testing.T)
internal/server/commitment_role_offsets_test.go:118
Function
TestCommitmentShorthandIsNormalized
(t *testing.T)
internal/server/handlers_commitments_http_test.go:714
Function
TestCommitmentStrictBody
(t *testing.T)
internal/server/handlers_commitments_http_test.go:544
Function
TestCommitmentTimezoneDefault
(t *testing.T)
internal/server/handlers_commitments_http_test.go:727
Function
TestCommitmentTimingExceptionsAndAtomicity
(t *testing.T)
internal/server/handlers_commitments_timing_test.go:123
Function
TestCommitmentTimingMatrix
(t *testing.T)
internal/server/handlers_commitments_timing_test.go:73
Function
TestCommitmentViewCarriesMissedCountAndStale
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
Function
TestCommitmentViewForecastSetterName
(t *testing.T)
internal/server/handlers_agenda_forecast_test.go:165
Function
TestCommitmentViewMissedWarningIsEvicted
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
Function
TestCommitmentViewMissedWarningIsRateLimitedPerEdit
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
Function
TestCommitmentViewMissedWarningNeverRegressesOrDuplicates
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
Function
TestCommitmentViewOfBrokenFiredFloatingRowIsExact
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
Function
TestCommitmentWindowTimingPreservesOffset
(t *testing.T)
internal/server/handlers_commitments_timing_test.go:271
Function
TestCompactToolDescriptionKeepsEveryWord
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
Function
TestCompactToolDescriptionKeepsListStructure
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
Function
TestCompactToolDescriptionShape
(t *testing.T)
internal/mcp/task3536_compact_description_test.go:37
Function
TestCompileCanonicalisesAndCopies
(t *testing.T)
internal/schedule/spec_test.go:45
Function
TestCompileNeverReturnsLibraryError
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
Function
TestCompiledConcurrentUse
(t *testing.T)
internal/schedule/nextbetween_test.go:238
Function
TestCompletedWorkValueFallsBackToStatus
The CLI copy's fallback to "status" for a collection the map does not know.
cmd/pad/bug2640_done_field_display_test.go:131
Function
TestCompletionAnchor
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
Function
TestCompletionAnchorRebase
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
Function
TestCompletionAnchorRuleSet
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
Function
TestCompletionElapsedIntervalAcrossFallBack
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
Function
TestCompletionElapsedTransitionTable
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
Function
TestCompletionHourlyFallBackIsExact
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
Function
TestCompletionHugeIntervalNanosecondClock
A huge INTERVAL never steps the start out of the years a wall can name.
internal/store/schedule_resolve_fix3_test.go:40
Function
TestCompletionNanosecondClockRepeatedHalf
A repeated-half completion, three-hour grid: the next is done+3h exactly.
internal/store/schedule_resolve_fix3_test.go:29
Function
TestCompletionNextIsStrictlyAfterResolvedOccurrence
r2-1: a completion resolved early never re-arms the occurrence it closed.
internal/store/schedule_resolve_fix2_test.go:22
Function
TestCompletionWholeSecondClock
The one whole-second row: a clock with no fraction behaves the same.
internal/store/schedule_resolve_fix3_test.go:52
Function
TestCompressDoesNotBufferAnSSEStream
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
Function
TestCompressGzipsJSONForAClientThatAcceptsIt
(t *testing.T)
internal/server/middleware_compress_test.go:37
Function
TestCompressIsWiredIntoTheServer
(t *testing.T)
internal/server/middleware_compress_test.go:159
Function
TestCompressLeavesSkippedResponsesAlone
(t *testing.T)
internal/server/middleware_compress_test.go:62
Function
TestCompressLeavesWriteResponsesAlone
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
Function
TestCompressRouteCensus
(t *testing.T)
internal/server/compress_routes_test.go:44
Function
TestCompressSkipsTypesNotWorthCompressing
(t *testing.T)
internal/server/middleware_compress_test.go:109
Function
TestCompressStillCompressesTheAttachmentList
The attachment skip is the per-file routes, not the list beside them.
internal/server/middleware_compress_test.go:100
Function
TestCompressedStreamStillDeliversFlushes
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
Function
TestComputeAccessEpoch
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
Function
TestComputeAdminUserStatus
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
Function
TestComputeSSEVisibility_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
Function
TestComputeSSEVisibility_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
Function
TestComputeSSEVisibility_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
Function
TestComputeSSEVisibility_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
Function
TestComputeWatchAccessVisibility_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
Function
TestConcurrentAccess
(t *testing.T)
internal/events/bus_test.go:191
Function
TestConcurrentAppliersAndRestoreNoDeadlock
TestConcurrentAppliersAndRestoreNoDeadlock stress-drives several applier round-trips interleaved with restores to shake out lock-order / finalization
internal/collab/restore_coord_test.go:571
Function
TestConcurrentFirstSubscribersShareOneRedisSubscription
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
Function
TestConcurrentMixedReadWrite
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
Function
TestConcurrentPhaseTwoPublishesArriveInIDOrder
(t *testing.T)
internal/events/redis_idspace_test.go:712
Function
TestConcurrentPublishesDeliverInIDOrder
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
Function
TestConcurrentPublishesLeaveTheBufferInIDOrder
(t *testing.T)
internal/events/idspace_test.go:163
Function
TestConcurrentRenamesOfMutuallyReferencingCollectionsDoNotDeadlock
(t *testing.T)
internal/store/collections_relation_rename_test.go:222
Function
TestConcurrentRenamesOfTheSameCollectionLeaveRelationsPointingAtIt
(t *testing.T)
internal/store/collections_relation_rename_test.go:382
Function
TestConcurrentSlugWritersNeverCollide
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
Function
TestConcurrentWritePerformance
TestConcurrentWritePerformance measures how each backend handles concurrent writers. SQLite serializes writes (SQLITE_BUSY under contention); PostgreS
internal/store/bench_concurrent_test.go:20
Function
TestConfigFromEnv
(t *testing.T)
internal/materialize/supervisor_test.go:750
Function
TestConfigureDecisions_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
Function
TestConfigurePush_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
Function
TestConfigurePush_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
Function
TestConfigurePush_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
Function
TestConfigurePush_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
Function
TestConfigurePush_ServerStopStopsDispatcher
TASK-4051: stopping the whole server stops its configured dispatcher too. Kills: M2.
cmd/pad/task3939c_configure_push_test.go:298
Function
TestConfigurePush_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
Function
TestConfigurePush_UnsetKnobsKeepTheDefaults
Unset knobs keep the defaults (5s / 10s / 60s / 15s) through configurePush.
cmd/pad/task3939c_configure_push_test.go:113
Function
TestConfigure_UpdatesSettings
(t *testing.T)
internal/email/sender_test.go:141
Function
TestConnectAndHandshakeShareOneBudget
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
Function
TestConsentClientNameCap
(t *testing.T)
internal/server/task1071_consent_identity_test.go:207
Function
TestConsentClientNameEdgeCases
The four client-name/logo edge cases the task names.
internal/server/task1071_consent_identity_test.go:140
Function
TestConsentIdentifiesPadAndTheUsersWorkspaces
(t *testing.T)
internal/server/task1071_consent_identity_test.go:67
Function
TestConsentNamesACustomSchemeReturnWithItsScheme
(t *testing.T)
internal/server/task1071_consent_identity_test.go:243
Function
TestConsentRedirectTarget
(t *testing.T)
internal/server/task1071_consent_identity_test.go:222
Function
TestConsentResourceHostFallsBackToTheRequestHost
(t *testing.T)
internal/server/task1071_consent_identity_test.go:124
Function
TestConsentWorkspaceSummaryNamesFiveThenCounts
(t *testing.T)
internal/server/task1071_consent_identity_test.go:109
Function
TestConsent_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
Function
TestConsent_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
Function
TestConsent_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
← previous
next →
18,501–18,600 of 28,840, ranked by callers