MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 2 callersFunctionscrubInTxErr
scrubInTxErr runs the scrub on its own transaction and RETURNS the error, unlike the shared scrubInTx helper which fails the test from whatever gorout
internal/store/event_outbox_bounds_test.go:439
↓ 2 callersMethodscrubOutboxRowTxCtx
scrubOutboxRowTx rewrites one candidate row, retrying against concurrent writers. A REWRITE ONLY EVER SHRINKS A ROW, and the claim path depends on it
internal/store/event_outbox.go:1019
↓ 2 callersMethodsearchFacetsForMatches
(matches string, args []interface{})
internal/store/search.go:502
↓ 2 callersFunctionseed
(fixture: SuiteFixture, request: APIRequestContext, coll: string, title: string, status: string)
web/e2e/bug-3158-landscape-touch-drag.spec.ts:48
↓ 2 callersMethodseed
(t *testing.T, id, key, js string)
internal/store/field_value_dialect_test.go:76
↓ 2 callersFunctionseedActiveAccessTokenForChain
seedActiveAccessTokenForChain inserts one active access-token row in the chain identified by requestID for subject userID. Lets the IsWorkspaceCovered
internal/server/handlers_claim_code_test.go:25
↓ 2 callersMethodseedAppRows
seedAppRows inserts n live original rows attributed to the install, each of size bytes, as if uploaded earlier.
internal/appstore/attachments_test.go:275
↓ 2 callersFunctionseedCollectionWithItems
(t *testing.T, srv *Server, ws, name string, n int)
internal/server/task2189_collection_restore_test.go:25
↓ 2 callersFunctionseedConventionFromLibrary
seedConventionFromLibrary converts a LibraryConvention into a SeedConvention. Its fields are LibraryConventionFields, the blob library ACTIVATION sto
internal/collections/templates.go:334
↓ 2 callersFunctionseedDiffVersion
seedDiffVersion replaces the item's history with one unhashed diff row.
internal/store/bug3839_invalid_utf8_version_test.go:337
↓ 2 callersFunctionseedFailureLeavesNoRestorableHusk
(t *testing.T, driver store.DriverType)
internal/server/handlers_cloud_autocreate_husk_test.go:156
↓ 2 callersFunctionseedItem
( fixture: SuiteFixture, request: APIRequestContext, title: string, )
web/e2e/item-action-bar-band.spec.ts:46
↓ 2 callersFunctionseedNoteCollection
Create a fresh, test-scoped collection with a plain `note` text field so a * per-item value can prove which item a stale continuation wrote to (mirr
web/e2e/pane-async-race.spec.ts:129
↓ 2 callersFunctionseedNoteItem
( fixture: SuiteFixture, request: APIRequestContext, collSlug: string, title: string, note: string, body
web/e2e/pane-async-race.spec.ts:145
↓ 2 callersFunctionseedOldGates
seedOldGates writes three gates in the old shape: a gated by b (a commitment), a gated by c (no commitment, already opened), d gated by b.
internal/store/commitment_gates_migration_test.go:55
↓ 2 callersFunctionseedOwnerWorkspace
32 hex chars, never issued seedOwnerWorkspace bootstraps the first admin (so RequireAuth is active and users exist) and returns the owner plus a fresh
internal/server/handlers_invitation_preview_test.go:28
↓ 2 callersFunctionseedPlaybookFromLibrary
seedPlaybookFromLibrary converts a LibraryPlaybook into a SeedPlaybook. InvocationSlug and Arguments are forwarded into the seeded item's Fields JSON
internal/collections/templates.go:374
↓ 2 callersFunctionseedTasks
(request: APIRequestContext, f: Fixture, ws = f.workspaceSlug)
web/e2e/chat-url-writes.spec.ts:36
↓ 2 callersMethodseedToOneMore
seedToOneMore leaves room for exactly one more 15-byte upload, by file count or by bytes.
internal/appstore/attachments_test.go:388
↓ 2 callersFunctionseedUnrelatedReminderMigrationViolations
(t *testing.T, s *Store)
internal/store/reminder_migration_fk_test.go:12
↓ 2 callersFunctionseedUser
seedUser inserts a user directly with the given plan + created_at so tests can deterministically populate the customers_by_plan and new_signups_30d ag
internal/server/handlers_admin_billing_test.go:59
↓ 2 callersFunctionseedV1Database
( userId: string | null, ws: string, items: ItemIndexRow[] = [], meta?: { cursor: string; schemaVersion: n
web/src/test/idbHarness.ts:125
↓ 2 callersFunctionseen
()
web/src/lib/stores/chatInbox.svelte.test.ts:745
↓ 2 callersMethodsegmentLen
segmentLen is the byte length of the title segment a matched bracket will carry: the optional escaped `<collSlug>/` prefix plus the escaped title. Com
internal/links/links.go:714
↓ 2 callersFunctionselfRender
selfRender renders a value that chose how it prints, for the value path and the map-key path alike (one switch, so the two cannot drift): a URL reduce
internal/logging/scrub.go:202
↓ 2 callersMethodsendCatchUp
* Send the whole document as one update (TASK-1319 / TASK-2199), so every * local edit is in it. On an open socket it settles what was owed; it is
web/src/lib/collab/wsProvider.svelte.ts:1518
↓ 2 callersMethodsendWith
sendWith is the internal send implementation.
internal/email/sender.go:148
↓ 2 callersMethodsentinel
(it models.Item, status string)
internal/server/workspace_access_notify_test.go:444
↓ 2 callersFunctionseqCorruptions
()
internal/events/bug2744_seq_guard_test.go:60
↓ 2 callersFunctionseqStamp
seqStamp reads an entry's chain stamp. Values are strings (the handlers' metadata maps are string-valued) or numbers; ok is false without both.
internal/store/activity_seq_chain.go:75
↓ 2 callersFunctionserve
(runner *Runner, payload []byte)
internal/materialize/worker.go:167
↓ 2 callersFunctionserveCmd
()
cmd/pad/cmd_server.go:50
↓ 2 callersFunctionserveSchemes
(h http.Handler, body string)
internal/mcp/chatgpt_security_test.go:28
↓ 2 callersFunctionserved
()
web/src/lib/components/billing/BillingIntervalPicker.svelte.test.ts:6
↓ 2 callersFunctionservedOriginal
( naturalWidth: number | null | undefined, naturalHeight: number | null | undefined )
web/src/lib/attachments/viewerLoading.ts:145
↓ 2 callersFunctionserverBusyMessage
(retryAfterMs?: number)
web/src/lib/api/serverBusyToast.ts:38
↓ 2 callersFunctionserverStartCommand
serverStartCommand is the auto-started server's command. Its env is this process's, minus config.InternalNoDataDirWarningEnv: an MCP tool-call child c
internal/cli/server.go:85
↓ 2 callersFunctionserverTabs
* TASK-3279 (PLAN-3002 U5): every landing in a visible workspace outside the * open set opens it as an EPHEMERAL tab, and a write there keeps it. Eac
web/e2e/workspace-tabs.spec.ts:531
↓ 2 callersFunctionsess
( agent: string | undefined, state: LiveSession['state'], armed: boolean = state === 'online', id = Math.r
web/src/lib/chat/presence.test.ts:6
↓ 2 callersFunctionsessResp
(...ss: ReturnType<typeof sess>[])
web/src/lib/stores/chatInbox.svelte.test.ts:81
↓ 2 callersMethodsessionHasStepUp
sessionHasStepUp reports whether this user's authenticated session has a live grant.
internal/server/handlers_step_up.go:17
↓ 2 callersMethodsessionID
(token string)
internal/server/handlers_push_devices_test.go:60
↓ 2 callersFunctionsessionPid
($)
plugin/hooks/register.js:1058
↓ 2 callersFunctionsessionWorkerID
sessionWorkerID derives a stable lease worker id from the account and the MCP session id (TASK-3613): the same session always gets the same id, so a l
internal/mcp/client_identity.go:229
↓ 2 callersFunctionsetAccessRevokedHandler
(handler: AccessRevokedHandler | null)
web/src/lib/api/client.ts:572
↓ 2 callersFunctionsetActivationPending
* The pending contract, minimal (TASK-2434). * * Activation awaits a HEAD. On a cache hit that is one microtask and * nothing is visible;
web/src/lib/components/editor/attachment-image.ts:479
↓ 2 callersFunctionsetAsideRowsIn
setAsideRowsIn reads set_aside_rows from a refusal's details (BUG-3244).
internal/mcp/errors.go:1673
↓ 2 callersMethodsetAt
(t *testing.T, table, id, at string)
internal/store/needs_read_test.go:124
↓ 2 callersFunctionsetBoolSetting
setBoolSetting returns settingsJSON with key set to v and every other key unchanged.
internal/models/awaits_human.go:134
↓ 2 callersMethodsetBuiltinSeedExec
(ex interface { Exec(string, ...any) (sql.Result, error) }, itemID string, o models.BuiltinOrigin)
internal/store/builtin_origin.go:158
↓ 2 callersMethodsetCreated
(t *testing.T, it *models.Item, at string)
internal/store/items_field_range_test.go:47
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/dashboardIdentityFence.svelte.test.ts:57
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/library/libraryIdentityFence.svelte.test.ts:36
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/playbooks/[slug]/playbookIdentityFence.svelte.test.ts:106
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/settings/settingsIdentityFence.svelte.test.ts:160
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/[collection]/collectionIdentityFence.svelte.test.ts:312
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/[collection]/collectionChatUrlWrites.svelte.test.ts:275
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/roles/rolesWorkspaceSwitch.svelte.test.ts:35
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/roles/rolesIdentityFence.svelte.test.ts:50
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/tags/tagsLoadError.svelte.test.ts:59
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/tags/tagsIdentityFence.svelte.test.ts:59
↓ 2 callersMethodsetErr
(err error)
internal/server/task3585_push_key_test.go:37
↓ 2 callersFunctionsetIdentityProvider
(provider: (() => string | null) | null)
web/src/lib/api/client.ts:535
↓ 2 callersFunctionsetImportCollapsedHeader
(w http.ResponseWriter, report store.ImportReport)
internal/server/import_nul_repair.go:148
↓ 2 callersFunctionsetLast
(next: Last | null)
web/src/lib/items/crashDraft.ts:77
↓ 2 callersMethodsetLocalDirty
(v: boolean)
web/src/lib/items/editorBurstDirty.ts:14
↓ 2 callersMethodsetMaintenanceCadence
setMaintenanceCadence changes T and the idle threshold on a running bus, so the WIRING can be tested at the cadence rather than only the halves at the
internal/watchevents/heartbeat.go:216
↓ 2 callersMethodsetMemberCollectionAccessTx
setMemberCollectionAccessTx is SetMemberCollectionAccess on the caller's transaction: the app installer scopes its bot to the companion collections in
internal/store/workspace_members.go:649
↓ 2 callersMethodsetOwnerName
(t *testing.T, name string)
internal/server/handlers_invitation_accept_limit_test.go:282
↓ 2 callersMethodsetParentLinkTx
setParentLinkTx performs the lock acquisition, cycle check, and the DELETE-then-INSERT of the parent link entirely within the caller's transaction, re
internal/store/items.go:4685
↓ 2 callersFunctionsetStatus
(s: string)
web/src/lib/services/connectivity.svelte.test.ts:14
↓ 2 callersMethodsetStatus
(code int)
internal/server/outbox_drain_test.go:64
↓ 2 callersMethodsetStoreDirty
(v: boolean)
web/src/lib/items/editorBurstDirty.ts:18
↓ 2 callersFunctionsetTokenExpiryWarning
setTokenExpiryWarning adds an X-Token-Expires-Soon header if the API token used for this request is within the warning threshold of its expiry. Called
internal/server/handlers_tokens.go:371
↓ 2 callersMethodsetTxIdleInTxTimeout
setTxIdleInTxTimeout raises idle_in_transaction_session_timeout for the rest of this transaction only (SET LOCAL), for a transaction that does Go work
internal/store/tx_timeouts.go:34
↓ 2 callersFunctionsetUser
(id: string)
web/src/routes/[username]/[workspace]/settings/settingsLoadIdentityOrder.svelte.test.ts:123
↓ 2 callersFunctionsetUser
(id: string)
web/src/routes/[username]/[workspace]/settings/bug3260NameOnColdLoad.svelte.test.ts:108
↓ 2 callersFunctionsetWidth
(w: number)
web/src/lib/components/chat/ChatHost.svelte.test.ts:148
↓ 2 callersMethodsetWorkspaceOverRemote
BUG-3326: over remote /mcp, pad_set_workspace embeds the workspace bootstrap, as it always did over stdio. The server is built through wireMCP (the pr
cmd/pad/bug3326_remote_set_workspace_test.go:20
↓ 2 callersFunctionsetsSessionCookie
(srv *Server, rr *httptest.ResponseRecorder)
internal/server/handlers_auth_admin_register_test.go:29
↓ 2 callersFunctionsettings
(over: Record<string, unknown>, rd: Record<string, unknown> = {})
web/src/routes/(console)/settings/admin/mcpSettingsSection.svelte.test.ts:43
↓ 2 callersFunctionsettingsJSON
--- settings ----------------------------------------------------------------
internal/server/handlers_push_devices_test.go:488
↓ 2 callersFunctionsettingsSentinel
settingsSentinel maps a whitespace-only settings string to the "" sentinel. flexJSONToString passes such a string through untrimmed, and the store wou
internal/models/collection.go:301
↓ 2 callersFunctionsettle
()
plugin/tests/watch.test.ts:64
↓ 2 callersFunctionsettle
()
web/src/routes/layoutChatShell.svelte.test.ts:74
↓ 2 callersFunctionsettle
Let mount effects, the dashboard fetch and the store's settles all land.
web/src/routes/workspaceDashboardOwnerDenial.svelte.test.ts:94
↓ 2 callersFunctionsettle
()
web/src/routes/register/registerLanding.svelte.test.ts:30
↓ 2 callersFunctionsettle
()
web/src/routes/s/[token]/bug3799ShareClassAllowlist.svelte.test.ts:56
↓ 2 callersFunctionsettle
()
web/src/routes/s/[token]/task3798ShareXssPayloads.svelte.test.ts:87
↓ 2 callersFunctionsettle
()
web/src/routes/(console)/agenda/agenda.svelte.test.ts:32
↓ 2 callersFunctionsettle
()
web/src/routes/(console)/settings/connected-apps/appGrants.svelte.test.ts:33
↓ 2 callersFunctionsettle
()
web/src/routes/(console)/settings/billing/billingInterval.svelte.test.ts:85
↓ 2 callersFunctionsettle
()
web/src/routes/(console)/settings/admin/appsSettingsSection.svelte.test.ts:46
↓ 2 callersFunctionsettle
()
web/src/routes/[username]/[workspace]/insights/insightsCustomize.svelte.test.ts:20
↓ 2 callersFunctionsettle
()
web/src/lib/components/layout/createWorkspaceModalImportProgress.svelte.test.ts:48
↓ 2 callersFunctionsettle
Bounded microtask + effect flush. No timers, so nothing can hang on one.
web/src/lib/components/layout/createWorkspaceModalIdentity.svelte.test.ts:60
↓ 2 callersFunctionsettle
()
web/src/lib/components/layout/PendingInvitations.svelte.test.ts:59
↓ 2 callersFunctionsettle
()
web/src/lib/components/layout/TopBar.svelte.test.ts:113
↓ 2 callersFunctionsettle
()
web/src/lib/components/layout/createWorkspaceModalTemplatePeek.svelte.test.ts:31
↓ 2 callersFunctionsettle
()
web/src/lib/components/attachments/AttachmentPdfPreview.svelte.test.ts:63
← previousnext →8,501–8,600 of 28,840, ranked by callers