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
TestMapKeysKeepTheirStringMethodAndInterfaceKeysAreCut
(t *testing.T)
internal/logging/redaction_followups_test.go:1325
Function
TestMapKeysOfEveryKindAreBoundedBeforeTheyAreCopied
(t *testing.T)
internal/logging/redaction_followups_test.go:1428
Function
TestMapKeysThatChooseHowTheyPrintAreNeverRawValues
(t *testing.T)
internal/logging/redaction_followups_test.go:1605
Function
TestMapPflagType_CoversCommonTypes
(t *testing.T)
internal/cmdhelp/json_test.go:647
Function
TestMapRoleCreate_BuildsCanonicalBody
--- Roles ---
internal/mcp/dispatch_http_routes_extras_test.go:373
Function
TestMapRoleCreate_OmitsEmptyOptionalFields
(t *testing.T)
internal/mcp/dispatch_http_routes_extras_test.go:407
Function
TestMapRoleCreate_RequiresName
(t *testing.T)
internal/mcp/dispatch_http_routes_extras_test.go:541
Function
TestMapRoleUpdate_BuildsPatchBody
--- Role update (TASK-1512 / PLAN-1496) ---
internal/mcp/dispatch_http_routes_extras_test.go:431
Function
TestMapRoleUpdate_EmptyStringClearsField
TestMapRoleUpdate_EmptyStringClearsField mirrors the same behavior the collection-update mapper has: explicit empty strings round-trip to the store so
internal/mcp/dispatch_http_routes_extras_test.go:506
Function
TestMapRoleUpdate_NewSlugMapsToBodySlug
TestMapRoleUpdate_NewSlugMapsToBodySlug confirms the disambiguation: MCP input `slug` identifies the role in the path; MCP input `new_slug` becomes th
internal/mcp/dispatch_http_routes_extras_test.go:481
Function
TestMapRoleUpdate_RequiresWorkspaceAndSlug
(t *testing.T)
internal/mcp/dispatch_http_routes_extras_test.go:532
Function
TestMapWebhookCreate_NormalizesCommaSeparatedEventsToJSONArray
(t *testing.T)
internal/mcp/dispatch_http_routes_extras_test.go:594
Function
TestMapWebhookCreate_OmitsEventsWhenMissing
(t *testing.T)
internal/mcp/dispatch_http_routes_extras_test.go:679
Function
TestMapWebhookCreate_RequiresURL
(t *testing.T)
internal/mcp/dispatch_http_routes_extras_test.go:700
Function
TestMapWorkspaceAuditLog_DoesNotForwardSessionWorkspace
(t *testing.T)
internal/mcp/dispatch_http_routes_extras_test.go:796
Function
TestMapWorkspaceAuditLog_OmitsEmptyFilters
(t *testing.T)
internal/mcp/dispatch_http_routes_extras_test.go:750
Function
TestMapWorkspaceAuditLog_PassesFiltersThrough
(t *testing.T)
internal/mcp/dispatch_http_routes_extras_test.go:765
Function
TestMapWorkspaceInvite_BuildsCanonicalBody
(t *testing.T)
internal/mcp/dispatch_http_routes_extras_test.go:819
Function
TestMapWorkspaceInvite_RequiresEmail
(t *testing.T)
internal/mcp/dispatch_http_routes_extras_test.go:862
Function
TestMapWorkspaceInvite_RoleOmittedWhenMissing
(t *testing.T)
internal/mcp/dispatch_http_routes_extras_test.go:843
Function
TestMarkFirstConnect_OncePerSessionAcrossToggles
TestMarkFirstConnect_OncePerSessionAcrossToggles: the first-connect flag is true on the first connect only, and survives arm/disarm toggles so a recon
internal/cli/session_arm_tristate_test.go:155
Function
TestMarkNotificationsSkipped_RecordsReason
(t *testing.T)
internal/store/task3939_push_dispatch_test.go:280
Function
TestMarkNotifications_StaleClaimerIsNoOp
Kills: dropping `claim_token = ?` from the settle (a stale claimer stamps the new holder's row); dropping `push_state = 'pending'` (sent -> skipped).
internal/store/task3939_push_dispatch_test.go:209
Function
TestMarkdownCitationsAreNotLineNumbers
TestMarkdownCitationsAreNotLineNumbers keeps the fix from eroding. Converting the citations is worth nothing if the next comment reaches for a line n
internal/links/markdown_citation_test.go:145
Function
TestMarkdownCitationsNameLiveSymbols
TestMarkdownCitationsNameLiveSymbols is the mechanical check line numbers could never have.
internal/links/markdown_citation_test.go:79
Function
TestMarkdownRoutingAcrossSurfaces
(t *testing.T)
cmd/pad/format_markdown_surfaces_test.go:131
Function
TestMarkingDisarmsTheChildsArmedReminder
The mark disarms the child's managed reminder, in the same transaction; a reminder that already fired is left alone, and so is everything under the de
internal/store/commitment_cancel_test.go:436
Function
TestMarkingDoesNotRecordAMissTheEvaluatorAlreadyRecorded
A miss the evaluator already recorded is not recorded again.
internal/store/commitment_cancel_test.go:399
Function
TestMarkingLeavesAReminderThatAlreadyFired
(t *testing.T)
internal/store/commitment_cancel_test.go:461
Function
TestMarkingRecordsAnUnrecordedDueMissFirstExactlyOnce
A child whose deadline passed before the parent was skipped, and before any tick, has a miss that already happened: marking the occurrence records it
internal/store/commitment_cancel_test.go:374
Function
TestMarkingRecordsNoMissForAFinishedChild
Only an open child records a miss: a finished one is left alone entirely.
internal/store/commitment_cancel_test.go:418
Function
TestMaskAPIKey
TestMaskAPIKey pins the single source of truth for the sensitive-value mask (BUG-1890). GET /admin/settings emits this form and the update handler com
internal/server/handlers_admin_settings_test.go:100
Function
TestMatchModeAlias
(t *testing.T)
cmd/pad/configure_test.go:106
Function
TestMatchesEvent
(t *testing.T)
internal/webhooks/dispatcher_test.go:345
Function
TestMaterializeExhaustionLogsOncePerExhaustion
An item that uses up its budget leaves exactly ONE line naming it, its failure count and the last error kind; a budget reset (op-log growth) and a sec
internal/server/materialize_recovery_test.go:610
Function
TestMaterializeFailureBudgetStopsAfterKAndResumesOnNewRows
---------------------------------------------------------------- budget
internal/server/materialize_recovery_test.go:321
Function
TestMaterializeFlushAbortsWhenNothingIsPending
(t *testing.T)
internal/store/materialize_flush_test.go:166
Function
TestMaterializeFlushAbortsWhenTheCursorMoved
(t *testing.T)
internal/store/materialize_flush_test.go:139
Function
TestMaterializeFlushAppliesWhenCaughtUpAndPending
(t *testing.T)
internal/store/materialize_flush_test.go:52
Function
TestMaterializeFlushLeavesSetAsideRowsAlone
(t *testing.T)
internal/store/materialize_flush_test.go:185
Function
TestMaterializeFlushRefusesBlankOverAStoredBody
BUG-3316: a recovery that renders BLANK never replaces a stored body. A tab's lazy seed (TASK-1261) seeds from items.content when its replayed documen
internal/store/materialize_flush_test.go:364
Function
TestMaterializeFlushStampsWhenTheBodyAlreadyMatches
A document that serializes to the stored body moves the watermark only: no seq bump, no version row.
internal/store/materialize_flush_test.go:213
Function
TestMaterializeFlushWatermarkIsTheCursorNotMax
TASK-2198 U4: the recovery write's watermark is its CURSOR, never MAX at UPDATE time. On Postgres (READ COMMITTED) a row another connection commits af
internal/store/materialize_flush_internal_test.go:17
Function
TestMaterializeGiveUpCounter
BUG-3523: every give-up counts once in pad_materialize_giveup_total, by the last failure's kind, beside its one WARN line; a reset budget that gives u
internal/server/materialize_recovery_test.go:1020
Function
TestMaterializeLinkIndexContributesNoTitle
LEG (i). The STOP condition: no index-sourced TITLE may appear in a recovered body. Each form markdownToWikiLinks can emit is covered: [[REF]]
internal/server/materialize_recovery_links_test.go:114
Function
TestMaterializeLinkIndexOrderAndScope
The index is every live item, ordered as localIndex.getAll orders a tab's: updated_at DESC, then id ASC.
internal/server/materialize_recovery_links_test.go:253
Function
TestMaterializeLinkToRestrictedItemSurvives
LEG (ii). A link to an item a restricted viewer cannot see survives the recovery as the same [[REF|text]] a full member's tab would store, because the
internal/server/materialize_recovery_links_test.go:161
Function
TestMaterializeNoMemoryCapCountsSilently
ErrNoMemoryCap (U3: no cap could be established, so the supervisor refused the job and warned once itself) counts against the budget like any failure,
internal/server/materialize_recovery_test.go:574
Function
TestMaterializeRecoveryDisabledInstallsNothing
---------------------------------------------------------------- disabled With no Materializer (PAD_MATERIALIZE=off leaves it nil) nothing is installe
internal/server/materialize_recovery_test.go:392
Function
TestMaterializeRecoveryEndToEnd
TestMaterializeRecoveryEndToEnd: real y-protocols op-logs from the U2 corpus (recorded from two live Editor.svelte mounts) are inserted as items' op-l
internal/server/materialize_recovery_test.go:450
Function
TestMaterializeRecoveryRefusesAnEmptyDocument
BUG-3316, through the recovery worker: an op-log that replays to an empty document never blanks the stored body. The item is refused as terminal, is n
internal/server/materialize_recovery_test.go:846
Function
TestMaterializeRecoverySecondPassIsHarmless
The double pass, pinned (main's red at cb99879d). dequeue clears an item's queued mark before its pass runs, so a sweep during a slow pass re-enqueues
internal/server/materialize_recovery_test.go:798
Function
TestMaterializeRecoveryStripsFollowsTitleMarker
BUG-3315 U2: a tab since #1688 loads a link that follows its target's title with the follows-title marker, and the marker lives in the Y.Doc. Recovery
internal/server/materialize_recovery_links_test.go:205
Function
TestMaterializeRecoveryVersionOnTheWire
The version history shows the recovery as the system's, on the wire.
internal/server/materialize_recovery_test.go:534
Function
TestMaterializeRoomIdleEnqueuesOnlyWithPendingRows
---------------------------------------------------------------- T3 T3's decision, unit level: a reclaimed room queues its item only when the item sti
internal/server/materialize_recovery_test.go:206
Function
TestMaterializeRoomIdleRecoversThroughTheHook
T3 end to end: a real collab room is reclaimed at the end of its grace TTL, the hook installed by StartMaterializeRecovery fires, and the pending item
internal/server/materialize_recovery_test.go:234
Function
TestMaterializeSetAsideSkipsAreCountedNotLogged
Items skipped for set-aside rows are counted, reported on the sweep's one summary line, and never logged per item.
internal/server/materialize_recovery_test.go:675
Function
TestMaterializeSkipsForeignSchemaVersion
Rows written under another editor schema are skipped, not materialized.
internal/server/materialize_recovery_test.go:373
Function
TestMaterializeSweepExhaustedCountIsStableAcrossPages
The exhausted population is counted over the budget map, not per sweep page: with more candidates than one page, a stable population must not read as
internal/server/materialize_recovery_test.go:985
Function
TestMaterializeSweepQueuesDormantPendingItemsWithoutARoom
---------------------------------------------------------------- T1
internal/server/materialize_recovery_test.go:274
Function
TestMaterializeSweepReachesEveryCandidate
STARVATION: the sweep reads a bounded page, and the room check and the failure budget filter it afterwards. With materializeSweepLimit+1 dormant pendi
internal/server/materialize_recovery_test.go:725
Function
TestMaterializeSweepSkipsExhaustedItems
BUG-3325: an item whose failure budget is spent for its current op-log was still a sweep candidate. The sweep queued it on every tick, the worker refu
internal/server/materialize_recovery_test.go:905
Function
TestMaterializeWorkerCmdHiddenAndOffCmdhelp
The materializer worker (TASK-2198) is an internal process entry point: it must be registered, hidden, and absent from the cmdhelp document every MCP
cmd/pad/cmd_materialize_test.go:19
Function
TestMaterializerDisabledBuildsNothing
PAD_MATERIALIZE=off (TASK-2198 U4) must leave the server with no Materializer at all: the Supervisor is never built, so no worker process can be spawn
cmd/pad/cmd_materialize_test.go:41
Function
TestMatroskaDocTypeBeyondTheWindowIsWebM
TestMatroskaDocTypeBeyondTheWindowIsWebM records a LIMITATION, not a defect (BUG-2963; accepted as not blocking for PR A). A Void element is legal an
internal/attachments/mime_magic_test.go:143
Function
TestMaxNotificationClaimIsGatewayBatch
A pin, not a behaviour test: the claim cap must stay the gateway's batch size, so one claim always fits one Send.
internal/store/task3939_push_dispatch_test.go:845
Function
TestMaybeInjectWorkspace_CallerWins_OverSingleWorkspace
(t *testing.T)
internal/mcp/dispatch_http_workspace_default_test.go:46
Function
TestMaybeInjectWorkspace_CopyOnWrite
(t *testing.T)
internal/mcp/dispatch_http_workspace_default_test.go:104
Function
TestMaybeInjectWorkspace_ListerError_NoInject
(t *testing.T)
internal/mcp/dispatch_http_workspace_default_test.go:90
Function
TestMaybeInjectWorkspace_MultipleWorkspaces_NoInject
(t *testing.T)
internal/mcp/dispatch_http_workspace_default_test.go:56
Function
TestMaybeInjectWorkspace_NilLister_NoInject
(t *testing.T)
internal/mcp/dispatch_http_workspace_default_test.go:76
Function
TestMaybeInjectWorkspace_SingleWorkspace_Injects
(t *testing.T)
internal/mcp/dispatch_http_workspace_default_test.go:36
Function
TestMaybeInjectWorkspace_ZeroWorkspaces_NoInject
(t *testing.T)
internal/mcp/dispatch_http_workspace_default_test.go:66
Function
TestMeAgendaBoundsAcrossTenWorkspaces
(t *testing.T)
internal/server/handlers_me_agenda_test.go:244
Function
TestMeAgendaBudgetIsRequestWide
(t *testing.T)
internal/server/handlers_me_agenda_caps_test.go:10
Function
TestMeAgendaCountsCap
(t *testing.T)
internal/server/handlers_me_agenda_counts_test.go:201
Function
TestMeAgendaCountsHiddenAndGuest
A hidden item in a readable workspace moves no count, and a guest sees only what an item grant opens in a restricted collection.
internal/server/handlers_me_agenda_counts_test.go:62
Function
TestMeAgendaCountsLocalDay
23:30 local on the 10th lands on the 10th, not the 11th UTC.
internal/server/handlers_me_agenda_counts_test.go:113
Function
TestMeAgendaCountsRevokedWorkspaceDrops
(t *testing.T)
internal/server/handlers_me_agenda_counts_test.go:89
Function
TestMeAgendaCountsSeries
(t *testing.T)
internal/server/handlers_me_agenda_counts_test.go:49
Function
TestMeAgendaCreatedCompleted
(t *testing.T)
internal/server/handlers_me_agenda_test.go:313
Function
TestMeAgendaCreatedCompletedSQLCaps
(t *testing.T)
internal/server/handlers_me_agenda_caps_test.go:33
Function
TestMeAgendaEntriesCarryOwnerUsername
(t *testing.T)
internal/server/handlers_me_agenda_test.go:227
Function
TestMeAgendaEventsDoNotCutDatedWindow
(t *testing.T)
internal/server/handlers_me_agenda_events_test.go:11
Function
TestMeAgendaExactWorkBudgetWithEmptyWorkspace
(t *testing.T)
internal/server/agenda_work_budget_test.go:10
Function
TestMeAgendaExcludedEventsAreNotRead
(t *testing.T)
internal/server/handlers_me_agenda_events_test.go:73
Function
TestMeAgendaGroupParameter
(t *testing.T)
internal/server/handlers_me_agenda_counts_test.go:129
Function
TestMeAgendaGroupPinnedToken
A pinned token never names a group: the refusal is the same whether the id is its own, unknown or built in. With no group it stays inside its workspac
internal/server/handlers_me_agenda_counts_test.go:171
Function
TestMeAgendaGroupsBelongToCaller
(t *testing.T)
internal/server/agenda_roundtrip_regression_test.go:201
Function
TestMeAgendaGuestRestrictedCollection
(t *testing.T)
internal/server/handlers_me_agenda_test.go:150
Function
TestMeAgendaHiddenItemNotCounted
(t *testing.T)
internal/server/handlers_me_agenda_test.go:164
Function
TestMeAgendaInclude
(t *testing.T)
internal/server/handlers_me_agenda_events_test.go:43
Function
TestMeAgendaLostAccessDropsSilently
(t *testing.T)
internal/server/handlers_me_agenda_test.go:182
Function
TestMeAgendaMergesWorkspacesDeterministically
(t *testing.T)
internal/server/handlers_me_agenda_test.go:203
Function
TestMeAgendaNoAdmissionIsEmpty
(t *testing.T)
internal/server/handlers_me_agenda_test.go:398
Function
TestMeAgendaPriorityListCarriesForecast
(t *testing.T)
internal/server/handlers_agenda_forecast_test.go:80
Function
TestMeAgendaRefusesApp
(t *testing.T)
internal/server/handlers_me_agenda_test.go:71
Function
TestMeAgendaRequiresAuth
(t *testing.T)
internal/server/handlers_me_agenda_test.go:82
Function
TestMeAgendaScanCapIsRequestWide
(t *testing.T)
internal/server/handlers_me_agenda_scan_test.go:5
Function
TestMeAgendaTokenAllowlist
(t *testing.T)
internal/server/handlers_me_agenda_test.go:102
← previous
next →
21,301–21,400 of 28,840, ranked by callers