MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

FunctionTestCalendarEntryCarriesForecast
(t *testing.T)
internal/server/handlers_agenda_forecast_test.go:96
FunctionTestCalendarFeedAdmissionAndWorkspaceFilter
(t *testing.T)
internal/server/handlers_calendar_feeds_test.go:210
FunctionTestCalendarFeedAgentLayerSkipsDatedItems
The agent layer reads schedules only: dated fields it would discard neither take its cap nor mark it incomplete.
internal/server/handlers_calendar_feeds_test.go:435
FunctionTestCalendarFeedCapAndCallerRefusals
(t *testing.T)
internal/server/handlers_calendar_feeds_test.go:150
FunctionTestCalendarFeedCapIncomplete
(t *testing.T)
internal/server/handlers_calendar_feeds_test.go:240
FunctionTestCalendarFeedCookiesMalformedAndRateLimit
(t *testing.T)
internal/server/handlers_calendar_feeds_test.go:291
FunctionTestCalendarFeedCredentialRevocation
(t *testing.T)
internal/server/handlers_calendar_feeds_test.go:252
FunctionTestCalendarFeedDisableAndDelete
(t *testing.T)
internal/store/calendar_feeds_test.go:101
FunctionTestCalendarFeedEventCapAndWindow
(t *testing.T)
internal/server/handlers_calendar_feeds_test.go:324
FunctionTestCalendarFeedLayersAndContent
(t *testing.T)
internal/server/handlers_calendar_feeds_test.go:103
FunctionTestCalendarFeedLogsAndPanic
(t *testing.T)
internal/server/handlers_calendar_feeds_test.go:181
FunctionTestCalendarFeedLooseDateFieldIsAllDay
The agenda admits a date field whose first ten characters are a date. Such a value is written as an all-day event, and never fails the whole feed.
internal/server/handlers_calendar_feeds_test.go:371
FunctionTestCalendarFeedManagementAndPrivacy
(t *testing.T)
internal/server/handlers_calendar_feeds_test.go:50
FunctionTestCalendarFeedMintRequiresLiveHuman
(t *testing.T)
internal/store/calendar_feeds_test.go:134
FunctionTestCalendarFeedOtherLayerTakesNoEntryCap
Each layer reads only its own schedules: more than the agenda's entry cap of the other layer's occurrences in one chunk neither cuts the chunk nor dro
internal/server/handlers_calendar_feeds_test.go:479
FunctionTestCalendarFeedOtherLayerTakesNoScanSlot
Other-layer schedules take no slot of the schedule scan either: a scan limit they would fill on their own leaves the feed complete.
internal/server/handlers_calendar_feeds_test.go:519
FunctionTestCalendarFeedRateLimitIsPerFeed
Calendar providers poll many subscribers from one address: one feed using its budget does not throttle another feed from the same address.
internal/server/handlers_calendar_feeds_test.go:458
FunctionTestCalendarFeedRevokedByAccountClaim
A claim keeps the users row, so no cascade fires: the previous holder's feed URLs must stop working, or they would show the claimant's workspaces.
internal/store/calendar_feeds_test.go:155
FunctionTestCalendarFeedSecretsCapAndRevocation
(t *testing.T)
internal/store/calendar_feeds_test.go:14
FunctionTestCalendarFeedTruncatedChunkLeavesNoHole
A chunk cut at the agenda's entry cap resumes at next_from: the feed may end early at its own cap, but never skips days in the middle of the window.
internal/server/handlers_calendar_feeds_test.go:394
FunctionTestCalendarFeedValidationAndRevokeOwnership
(t *testing.T)
internal/server/handlers_calendar_feeds_test.go:348
FunctionTestCalendarFinishedItemDropsDerivedMissed
A finished item shows only occurrences that have a history row. A later passed occurrence is derived as missed with no row, and stays off the page.
internal/server/handlers_calendar_test.go:1116
FunctionTestCalendarFinishedItemScope
(t *testing.T)
internal/server/handlers_calendar_test.go:682
FunctionTestCalendarFinishedItemShowsRecordedEntriesOnly
(t *testing.T)
internal/server/handlers_calendar_test.go:632
FunctionTestCalendarGuestScoping
(t *testing.T)
internal/server/handlers_calendar_test.go:241
FunctionTestCalendarHonoursAgendaSeams
The calendar reads the agenda's clock and scan limit.
internal/server/handlers_calendar_test.go:1158
FunctionTestCalendarItemsAndSchedulesMerge
(t *testing.T)
internal/server/handlers_calendar_test.go:91
FunctionTestCalendarLapsedHistorySurvivesTerminalFilter
(t *testing.T)
internal/server/handlers_calendar_test.go:1251
FunctionTestCalendarOneDayOverCapIsPartial
(t *testing.T)
internal/server/handlers_calendar_test.go:412
FunctionTestCalendarPageFiltersExcludeItemsAndTheirSchedules
(t *testing.T)
internal/server/handlers_calendar_test.go:316
FunctionTestCalendarPagingFirstDayTimeCut
(t *testing.T)
internal/server/handlers_calendar_test.go:984
FunctionTestCalendarPagingPartialDayIsNeverAHiddenDay
(t *testing.T)
internal/server/handlers_calendar_test.go:1008
FunctionTestCalendarQueryMeasure
TestCalendarQueryMeasure times the calendar's reads on a 4,079-item collection (TASK-4239). It runs only when PAD_MEASURE_CALENDAR=1, on whichever dia
internal/store/items_field_range_test.go:305
FunctionTestCalendarRefusesABuiltinEndFieldWhateverTheSchema
(t *testing.T)
internal/server/handlers_calendar_test.go:1064
FunctionTestCalendarRefusesADateFieldKeyTheStoreCannotRead
(t *testing.T)
internal/server/handlers_calendar_test.go:928
FunctionTestCalendarRolesOrigin
(t *testing.T)
internal/server/handlers_calendar_test.go:85
FunctionTestCalendarRouteRefusesAStoredConfigWhoseFieldIsGone
(t *testing.T)
internal/server/handlers_calendar_test.go:881
FunctionTestCalendarSearchCarriesNoContent
--- search carries no body; key rule; first-day cut; partial day ---
internal/server/handlers_calendar_test.go:904
FunctionTestCalendarShareLink
(t *testing.T)
internal/server/handlers_calendar_test.go:444
FunctionTestCalendarUnreadableCollectionSchemaIsAnInternalError
(t *testing.T)
internal/server/handlers_calendar_test.go:1043
FunctionTestCalendarViewerDayPlacement
(t *testing.T)
internal/server/handlers_calendar_test.go:197
FunctionTestCalendarWindowAndParameterRefusals
(t *testing.T)
internal/server/handlers_calendar_test.go:133
FunctionTestCallerIsGoneClassifiesOnTheErrorNotTheContext
TestCallerIsGoneClassifiesOnTheErrorNotTheContext is the test that the two integration legs above cannot provide. The earlier form asked ctx.Err(). B
internal/watchevents/redis_bus_resume_test.go:599
FunctionTestCanRenegotiateCommitment
(t *testing.T)
internal/server/handlers_commitments_test.go:190
FunctionTestCancelBeforeInstallReleasesTheSlotAndInstallsNothing
TestCancelBeforeInstallReleasesTheSlotAndInstallsNothing is the pre-install half: the caller's context dies after the dial has returned but BEFORE the
internal/events/redis_subscribe_cancel_test.go:72
FunctionTestCancelCustomer_EmptyCustomerID_ReturnsError
(t *testing.T)
internal/billing/cloud_client_test.go:276
FunctionTestCancelCustomer_HappyPath_SendsCorrectRequest
(t *testing.T)
internal/billing/cloud_client_test.go:172
FunctionTestCancelCustomer_LargeResponseBody_DoesNotReadPastCap
(t *testing.T)
internal/billing/cloud_client_test.go:390
FunctionTestCancelCustomer_NilClient_ReturnsError
(t *testing.T)
internal/billing/cloud_client_test.go:292
FunctionTestCancelCustomer_NonOK_ReturnsSidecarError
Each real pad-cloud failure status maps to a SidecarError carrying that status. Together these cover every non-2xx shape pad-cloud returns: - 400 on m
internal/billing/cloud_client_test.go:219
FunctionTestCancelCustomer_SendsUserIDAndAllowsEmptyCustomer
BUG-3560: the user id travels, and with it an empty customer id is a valid call (a stamped customer can exist with nothing linked).
internal/billing/cloud_client_test.go:413
FunctionTestCancelCustomer_TransportFailure_NotSidecarError
(t *testing.T)
internal/billing/cloud_client_test.go:257
FunctionTestCancelCustomer_UnconfiguredClient_ReturnsError
(t *testing.T)
internal/billing/cloud_client_test.go:299
FunctionTestCancelDuringConfirmationTearsDownWhenNobodyElseIsWaiting
TestCancelDuringConfirmationTearsDownWhenNobodyElseIsWaiting is the post-install half with no joiner. The subscription IS installed by the time the co
internal/events/redis_subscribe_cancel_test.go:108
FunctionTestCancellationDuringTheRequestEndsTheCall
The in-flight case: a cancellation while the request is on the wire must also end the call, and must not be swallowed as a retryable transport error.
internal/decision/review_test.go:64
FunctionTestCancelledEstablisherStillFinishesTheWaitForItsJoiners
TestCancelledEstablisherStillFinishesTheWaitForItsJoiners is the joint between this unit's design and BUG-2747's, which is where a third bug would liv
internal/events/redis_subscribe_cancel_test.go:178
FunctionTestCancelledJoinerLeavesTheEstablisherAlone
TestCancelledJoinerLeavesTheEstablisherAlone is the mirror case: the caller that leaves is a WAITER, not the establisher. It must stop being counted w
internal/events/redis_subscribe_cancel_test.go:290
FunctionTestCanonicalCarriedKeyFollowsTheDestinationZone
(t *testing.T)
internal/store/commitment_bundle_v2_test.go:709
FunctionTestCanonicalEventsAreFullyDeclared
TestCanonicalEventsAreFullyDeclared pins the events/1 contract surface as an INDEPENDENT COPY: every canonical name, its subject kind and its payload
internal/store/event_outbox_test.go:1406
FunctionTestCanonicalExtForMIMECoversTheMap
TestCanonicalExtForMIMECoversTheMap holds the reverse map to the forward one so the two cannot drift. The CLI used to keep its own MIME-to-extension
internal/attachments/mime_test.go:362
FunctionTestCanonicalIP
TestCanonicalIP verifies equivalent IPv6 representations collapse to a single canonical form so the session-IP-change comparison doesn't spuriously fi
internal/server/middleware_session_ip_test.go:367
FunctionTestCanonicalJSONNumbers
CanonicalJSONNumbers: equal values get one spelling, different values keep different ones, including two integers above 2^53 that share a float64.
internal/models/fields_json_test.go:54
FunctionTestCanonicalMediaType
(t *testing.T)
internal/urlimport/detect_test.go:217
FunctionTestCanonicalizeRef
TestCanonicalizeRef is the unit-level check on the helper. The integration coverage lives in TestWikiLinks_MixedCaseRefIndexed (store) — but the helpe
internal/links/extract_test.go:820
FunctionTestCapBootstrapDashboard
TestCapBootstrapDashboard isolates the bootstrap dashboard cap logic from the rest of the bootstrap pipeline so the contract (cap to N per array, surf
internal/server/handlers_bootstrap_test.go:777
FunctionTestCapErrorShape
(t *testing.T)
internal/schedule/caps_test.go:139
FunctionTestCapInstancesBoundary
(t *testing.T)
internal/schedule/caps_test.go:49
FunctionTestCapMinutelyNoCountNoUntil
(t *testing.T)
internal/schedule/caps_test.go:18
FunctionTestCapScanIntervalProductSaturates
TestCapScanIntervalProductSaturates: period*INTERVAL wrapped int64 and produced a false CapScan (213504) or no check at all (a negative wrap).
internal/schedule/untilbounds_test.go:105
FunctionTestCapScanIsNotCarriedNotBusy
D3 fold-in: cap_scan and cap_stall are deterministic work caps of the rule, not load, so a retry cannot help: a MOVE is refused as not carried (409 sc
internal/store/schedule_copy_test.go:1207
FunctionTestCapScanNaiveFarFromStart
(t *testing.T)
internal/schedule/caps_test.go:62
FunctionTestCapTimeGuard
(t *testing.T)
internal/schedule/caps_test.go:113
FunctionTestCapTimeRefusesTheCopyAndTheMoveWithNothingWritten
D3 r1-3, cap_time: load-dependent, so BOTH a copy and a move are refused with the cap error (the HTTP edge answers 503 schedule_busy) and nothing is w
internal/store/schedule_copy_test.go:699
FunctionTestCapWindowTooWide
(t *testing.T)
internal/schedule/caps_test.go:36
FunctionTestCapZeroFieldsUseDefaults
(t *testing.T)
internal/schedule/caps_test.go:126
FunctionTestCapabilitiesAdvertiseSearchCollectionResolution
(t *testing.T)
internal/server/handlers_search_collection_bug2659_test.go:178
FunctionTestCapabilities_FallbackEquivalent
(t *testing.T)
cmd/pad/cmdhelp_real_test.go:117
FunctionTestCapabilities_FallbackIsSideEffectFree
(t *testing.T)
cmd/pad/cmdhelp_real_test.go:139
FunctionTestCapabilities_FallbackNotTriggeredWithoutFlag
(t *testing.T)
cmd/pad/cmdhelp_real_test.go:158
FunctionTestCapabilityLine_FormatExact
(t *testing.T)
internal/cmdhelp/json_test.go:430
FunctionTestCapabilityLine_HonorsCallerOrderAndSet
(t *testing.T)
internal/cmdhelp/json_test.go:438
FunctionTestCappedResponseWriter_WithServeContent
TestCappedResponseWriter_WithServeContent exercises the writer against http.ServeContent — the exact code path handleGetAttachment takes on the seekab
internal/mcp/resources_http_test.go:363
FunctionTestCapturePeerAddr_PreservesOriginalRemoteAddr
(t *testing.T)
internal/server/middleware_realip_test.go:157
FunctionTestCaptureSessionOwner_MountNamespace
TestCaptureSessionOwner_MountNamespace: mnt_ns is stamped only beside a socket the recorder stat'ed with its identity. A pad started inside a sandbox
internal/cli/session_owner_pidns_linux_test.go:500
FunctionTestCaptureSessionOwner_PIDNamespace
TestCaptureSessionOwner_PIDNamespace: the namespace is stamped only on a pid this namespace can see. A harness pid inherited from outside a sandbox is
internal/cli/session_owner_pidns_linux_test.go:370
FunctionTestCaptureSessionOwner_PidPrecedence
(t *testing.T)
internal/cli/session_owner_test.go:31
FunctionTestCaptureSessionOwner_PidVerified
TestCaptureSessionOwner_PidVerified: on Linux a harness pid claim is checked against the registering process's ancestry. Self and the parent verify; a
internal/cli/session_owner_test.go:254
FunctionTestCaptureSessionOwner_SocketIdentity
(t *testing.T)
internal/cli/session_owner_test.go:73
FunctionTestCaptureSkillCommandsResolveAgainstTheRealTree
(t *testing.T)
cmd/pad/capture_skill_commitment_test.go:66
FunctionTestCaptureSkillRules
(t *testing.T)
cmd/pad/capture_skill_commitment_test.go:120
FunctionTestCaptureSkillScenarios
(t *testing.T)
cmd/pad/capture_skill_commitment_test.go:76
FunctionTestCaptureWrites_PostgresCoversTablesCreatedLater
Postgres: a table created after an earlier capture is covered by the next one, and a table created DURING a capture is refused, not silently missed (T
internal/store/storetest/writecapture_test.go:227
FunctionTestCaptureWrites_PostgresReplacesABrokenTrigger
A same-named trigger that is disabled is not coverage: the next capture replaces it and sees the write (TASK-3388).
internal/store/storetest/writecapture_test.go:289
FunctionTestCaptureWrites_ReadCapturesNothing
A read writes nothing, and the capture says so.
internal/store/storetest/writecapture_test.go:109
FunctionTestCaptureWrites_RefusesACommitFromAnotherHandle
The data_version branch: the hooked connection stays in place while a write commits through a different handle on the same database file.
internal/store/storetest/writecapture_test.go:263
FunctionTestCaptureWrites_RefusesAWriteOnAnotherConnection
A write committed on a connection OTHER than the hooked one is not observed by the hook, so the capture must refuse rather than report a clean result
internal/store/storetest/writecapture_test.go:199
FunctionTestCaptureWrites_SeesARealWrite
The instrument must go RED on real writes before its silence about an app write means anything. A human create writes the item, and on SQLite its sear
internal/store/storetest/writecapture_test.go:45
FunctionTestCaptureWrites_SeesATriggerWrite
A write a TRIGGER makes into an ordinary table is captured, at depth > 0. No trigger in today's schema writes an ordinary table (every data-writing tr
internal/store/storetest/writecapture_test.go:78
FunctionTestCarryAndImport_BackfillRolesAndJournal
(t *testing.T)
internal/store/commitment_journal_test.go:344
FunctionTestCarryMoveDismissesSourceEnd
(t *testing.T)
internal/store/schedule_end_guard_test.go:325
← previousnext →17,901–18,000 of 28,840, ranked by callers