MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

FunctionTestCopyEndpoint_PlainCopyEmitsNothingInTheSource
TestCopyEndpoint_PlainCopyEmitsNothingInTheSource is the strictest clause of DR-14, and the one an implementation is most likely to get wrong by being
internal/server/handlers_items_copy_test.go:715
FunctionTestCopyEndpoint_PostCommitPanicStillReturns201
TestCopyEndpoint_PostCommitPanicStillReturns201 — by the time the post-commit work runs, the copy is committed and IRREVERSIBLE, but the response has
internal/server/handlers_items_copy_test.go:1523
FunctionTestCopyEndpoint_PreCheckIsActuallyWired
TestCopyEndpoint_PreCheckIsActuallyWired guards the wiring rather than the logic: a PreCheck that is built and never passed to the store would leave e
internal/server/handlers_items_copy_test.go:1226
FunctionTestCopyEndpoint_PreflightAndCopyAgreeGenerally
TestCopyEndpoint_PreflightAndCopyAgreeGenerally sweeps the agreement assertion across the request shapes a dialog can produce, so a THIRD divergence h
internal/server/handlers_items_copy_test.go:293
FunctionTestCopyEndpoint_PreflightAndCopyAgreeOnNullOverride
TestCopyEndpoint_PreflightAndCopyAgreeOnNullOverride is divergence #1, closed. Before TASK-2365, Store.migrateCopyFields did `migrated.Fields[k] = v`
internal/server/handlers_items_copy_test.go:188
FunctionTestCopyEndpoint_PreflightAndCopyAgreeOnOverridePrecedence
The copy and its preflight give the SAME error, with the same precedence, for the two bodies in question. Structural errors about the request — an un
internal/server/handlers_items_copy_relation_test.go:1073
FunctionTestCopyEndpoint_PreflightAndCopyAgreeOnRelationReferents
(t *testing.T)
internal/server/handlers_items_copy_relation_test.go:150
FunctionTestCopyEndpoint_PreflightAndCopyAgreeOnUndeclaredOverride
TestCopyEndpoint_PreflightAndCopyAgreeOnUndeclaredOverride is divergence #2, closed. The preflight always refused an override naming a field the dest
internal/server/handlers_items_copy_test.go:243
FunctionTestCopyEndpoint_PreflightAndCopyAgreeWithNoAttributableActor
TestCopyEndpoint_PreflightAndCopyAgreeWithNoAttributableActor is the THIRD divergence, found by hunting for one rather than because it was already doc
internal/server/handlers_items_copy_test.go:369
FunctionTestCopyEndpoint_PreflightWarningsMatchTheCopy
TestCopyEndpoint_PreflightWarningsMatchTheCopy checks the OTHER half of the shared answer: the attachment numbers. The planner is shared precisely so
internal/server/handlers_items_copy_test.go:500
FunctionTestCopyEndpoint_ReCheckRefusesAForeignDestinationCollection
TestCopyEndpoint_ReCheckRefusesAForeignDestinationCollection is the other half of the invariant: the destination collection the copy locks must be the
internal/server/handlers_items_copy_test.go:1184
FunctionTestCopyEndpoint_ReferentialMetadataTravelsOnlyWithinItsWorkspace
BUG-2674. The scope rule was proved at the MigrateFields unit level and at the preflight, but nothing proved the MUTATING copy honours it — so a call
internal/server/handlers_items_copy_test.go:1746
FunctionTestCopyEndpoint_ReportsCanonicalWorkspaceSlugs
TestCopyEndpoint_ReportsCanonicalWorkspaceSlugs — /workspaces/{slug} also accepts a workspace UUID, so a response that echoes the URL parameter hands
internal/server/handlers_items_copy_test.go:1623
FunctionTestCopyEndpoint_RequiredRelationWithBrokenDefaultIsRefused
A REQUIRED relation whose default does not resolve must REFUSE, not land the item with the field absent. The late pass deletes the key after validati
internal/server/handlers_items_copy_relation_test.go:564
FunctionTestCopyEndpoint_ResponseIsNavigable
--- response contract -------------------------------------------------- TestCopyEndpoint_ResponseIsNavigable pins the acceptance criterion that TASK-
internal/server/handlers_items_copy_test.go:1583
FunctionTestCopyEndpoint_RolledBackCopyEmitsNothing
TestCopyEndpoint_RolledBackCopyEmitsNothing — the reason all fanout is post-commit. A refused copy must leave both workspaces exactly as they were and
internal/server/handlers_items_copy_test.go:885
FunctionTestCopyEndpoint_RouteIsWired
TestCopyEndpoint_RouteIsWired drives the real router, so a handler that works in isolation but was never mounted fails here.
internal/server/handlers_items_copy_test.go:1703
FunctionTestCopyEndpoint_ScheduleObjectKeepsItsZeroValues
r1-1: a skipped schedule still says carried:false and history_dropped:0, so a client can tell "skipped" from "no schedule" from "an older server"; a s
internal/server/handlers_items_copy_schedule_test.go:97
FunctionTestCopyEndpoint_ScheduleObjectMatchesThePreflight
TASK-4104 D3: the preflight and the copy report the source schedule's fate from one store function, in one nested object, and a schedule-less copy's r
internal/server/handlers_items_copy_schedule_test.go:26
FunctionTestCopyEndpoint_TypedStoreErrorsMapToStatuses
TestCopyEndpoint_TypedStoreErrorsMapToStatuses covers the mapping obligations CrossWorkspaceCopyResult documents, for the two that cannot be produced
internal/server/handlers_items_copy_test.go:1340
FunctionTestCopyEndpoint_UsesLockedCollectionSnapshots
TestCopyEndpoint_UsesLockedCollectionSnapshots — the store re-reads both collection rows under a FOR UPDATE pin and returns them precisely so the call
internal/server/handlers_items_copy_test.go:1434
FunctionTestCopyEndpoint_WarnsWhenTheCopiedBodyIsBehindTheLiveDocument
BUG-3032: a cross-workspace copy carries items.content, which can be BEHIND the source item's live collaborative document. The copy WARNS rather than
internal/server/handlers_items_copy_content_state_test.go:22
FunctionTestCopyIgnoresTheFloorAndTheNoOccurrenceCheck
Copy, import and restore never run the floor or the no-occurrence check: a row stored under the floor, or one that never occurs, is copied as before.
internal/store/schedule_bounds_test.go:313
FunctionTestCopyIsAtomicAtTheScheduleStage
A failure at the schedule stage leaves nothing: no destination item, the source live and its schedule not ended.
internal/store/schedule_copy_test.go:368
FunctionTestCopyItemAcrossWorkspaces_ArchivedSourceIsNotCopyable
(t *testing.T)
internal/store/items_cross_workspace_copy_test.go:901
FunctionTestCopyItemAcrossWorkspaces_AssigneeCarriesOnlyForDestinationMembers
--- Assignment scrubs (DR-8) -----------------------------------------------
internal/store/items_cross_workspace_copy_test.go:490
FunctionTestCopyItemAcrossWorkspaces_AttachmentInsertFailureRollsBackTheItem
A cloned attachment whose storage_key is blank must abort the whole copy — CreateAttachmentTx refuses it, and that refusal has to unwind the item that
internal/store/items_cross_workspace_copy_test.go:843
FunctionTestCopyItemAcrossWorkspaces_AttachmentsClonedAndRefsRewritten
--- Attachments (DR-11 / DR-11a) -------------------------------------------
internal/store/items_cross_workspace_copy_test.go:554
FunctionTestCopyItemAcrossWorkspaces_CloneOfImportedAttachmentIsNotImported
BUG-3379: the copier uploads the clone, so a copy of an imported attachment is not itself marked imported.
internal/store/items_cross_workspace_copy_test.go:1554
FunctionTestCopyItemAcrossWorkspaces_ConcurrentCopiesCannotJointlyExceedQuota
TestCopyItemAcrossWorkspaces_ConcurrentCopiesCannotJointlyExceedQuota is the DR-16 in-tx claim: two copies each individually under the cap but jointly
internal/store/items_cross_workspace_copy_pg_test.go:564
FunctionTestCopyItemAcrossWorkspaces_CreationParity
DR-9a parity: the copy is a REAL create, not a bare items INSERT. Version row, wiki-link index, status transition, slug, item_number and seq must all
internal/store/items_cross_workspace_copy_test.go:253
FunctionTestCopyItemAcrossWorkspaces_CrossBackendRefused
v1 refuses a copy whose bytes live in a backend the destination does not write to, rather than silently inserting a row that 404s on download.
internal/store/items_cross_workspace_copy_test.go:755
FunctionTestCopyItemAcrossWorkspaces_DroppedFieldsReported
(t *testing.T)
internal/store/items_cross_workspace_copy_test.go:460
FunctionTestCopyItemAcrossWorkspaces_InvalidOverrideRejected
The mirror image: an override with a value the destination schema rejects must be type-checked. Pre-DR-12 the override was never validated at all.
internal/store/items_cross_workspace_copy_test.go:438
FunctionTestCopyItemAcrossWorkspaces_ItemQuota
(t *testing.T)
internal/store/items_cross_workspace_copy_test.go:948
FunctionTestCopyItemAcrossWorkspaces_MoveEmitsTombstoneInSourceWorkspace
On a MOVE, A must advance so its clients receive the tombstone — otherwise they keep rendering a source item that no longer exists.
internal/store/items_cross_workspace_copy_test.go:337
FunctionTestCopyItemAcrossWorkspaces_NoPoolIOUnderLocks
TestCopyItemAcrossWorkspaces_NoPoolIOUnderLocks pins BUG-2409: while the copy transaction holds both workspace advisory locks, every read — the attach
internal/store/items_cross_workspace_copy_test.go:1475
FunctionTestCopyItemAcrossWorkspaces_OpposingDirectionsDoNotDeadlock
TestCopyItemAcrossWorkspaces_OpposingDirectionsDoNotDeadlock drives A->B and B->A copies simultaneously, repeatedly. This is the test that FAILS with
internal/store/items_cross_workspace_copy_pg_test.go:351
FunctionTestCopyItemAcrossWorkspaces_OpposingMovesDoNotDeadlock
TestCopyItemAcrossWorkspaces_OpposingMovesDoNotDeadlock is the sibling that fails when the outer workspace acquisition is REMOVED, rather than merely
internal/store/items_cross_workspace_copy_pg_test.go:463
FunctionTestCopyItemAcrossWorkspaces_OverrideSatisfiesRequiredField
--- Fields (DR-12) --------------------------------------------------------- MigrateFields computes result.Errors BEFORE any override exists, so testi
internal/store/items_cross_workspace_copy_test.go:396
FunctionTestCopyItemAcrossWorkspaces_PlainCopyDoesNotAdvanceSourceSeq
--- Seq (DR-14) ------------------------------------------------------------ A plain copy must not advance workspace A's cursor AT ALL — A's watchers
internal/store/items_cross_workspace_copy_test.go:297
FunctionTestCopyItemAcrossWorkspaces_PlainCopyLandsInDestination
--- Happy path -------------------------------------------------------------
internal/store/items_cross_workspace_copy_test.go:160
FunctionTestCopyItemAcrossWorkspaces_RollbackIsCompleteAtEveryStage
--- Rollback --------------------------------------------------------------- A failure at ANY stage must leave nothing behind in either workspace: no
internal/store/items_cross_workspace_copy_test.go:785
FunctionTestCopyItemAcrossWorkspaces_TargetCollectionMustBelongToTargetWorkspace
--- Scope refusals ---------------------------------------------------------
internal/store/items_cross_workspace_copy_test.go:884
FunctionTestCopyItemAcrossWorkspaces_UnresolvableRefsAreNeverCloned
DR-11a: refs that resolve to nothing under `workspace_id = A AND deleted_at IS NULL` are never cloned, the literal text survives, and the copy is not
internal/store/items_cross_workspace_copy_test.go:718
FunctionTestCopyItemPath_EscapesEachSegmentOnce
── request/response fidelity ──────────────────────────────────────────── A hostile ref must not be able to re-route the one call in this CLI that mut
internal/cli/client_items_copy_test.go:414
FunctionTestCopyItemPreflight_KeepsNumberDigits
BUG-3456: a carried number above 2^53 keeps every digit through the preflight decode. Plain json.Unmarshal made it a float64, so the dry run previewed
internal/cli/client_items_copy_test.go:638
FunctionTestCopyItemPreflight_ReturnsServerBytesVerbatim
The raw bytes handed to --format json must be the SERVER's, unmodelled fields and full int64 precision included.
internal/cli/client_items_copy_test.go:542
FunctionTestCopyItem_4xxIsARefusalNotAnUnknownOutcome
A 4xx is a refusal made BEFORE anything was written, so it must be distinguishable from the ambiguous class — and it must not be retried either.
internal/cli/client_items_copy_test.go:384
FunctionTestCopyItem_500CopyFailedIsAttemptedOnce
── DR-13: the mutating copy is attempted EXACTLY ONCE ─────────────────── These are the guard the task asks for: a test, not a comment. If someone la
internal/cli/client_items_copy_test.go:30
FunctionTestCopyItem_HostileRefDoesNotEscapeTheRoute
The escaped path must survive to the wire, not just to the string.
internal/cli/client_items_copy_test.go:434
FunctionTestCopyItem_LostResponseIsAttemptedOnce
TestCopyItem_LostResponseIsAttemptedOnce covers the transport-failure path: the request reaches the server and the RESPONSE is lost, so the outcome is
internal/cli/client_items_copy_test.go:104
FunctionTestCopyItem_MutatingClientIsNotTheSharedOne
TestCopyItem_MutatingClientIsNotTheSharedOne pins mechanism 1: even if the shared client is swapped for something with retry behaviour, the copy gets
internal/cli/client_items_copy_test.go:179
FunctionTestCopyItem_MutatingRequestIsNotReplayable
TestCopyItem_MutatingRequestIsNotReplayable pins DR-13 mechanism 2 directly: net/http replays a request whose connection died before any byte was writ
internal/cli/client_items_copy_test.go:65
FunctionTestCopyItem_RedirectIsNotFollowed
TestCopyItem_RedirectIsNotFollowed — a 307/308 would re-send the POST body at a new URL. That is a retry wearing a hat.
internal/cli/client_items_copy_test.go:141
FunctionTestCopyItem_RefusesASoftDeletedSourceWorkspace
Dev lead's cheap check on TASK-4280 part 2: a copy out of a soft-deleted workspace is refused, so a workspace purge (which runs only past its own grac
internal/server/task4280_locked_calls_bounded_test.go:191
FunctionTestCopyItem_RequestShapeIsTheDocumentedOne
(t *testing.T)
internal/cli/client_items_copy_test.go:453
FunctionTestCopyItem_RetryingSharedTransportIsNotInherited
TestCopyItem_RetryingSharedTransportIsNotInherited is a regression test. A dedicated http.Client is not sufficient on its own: retry behaviour lives i
internal/cli/client_items_copy_test.go:235
FunctionTestCopyItem_TruncatedSuccessBodyIsCommittedNotUnknown
A body that dies mid-read after a 2xx header is the same class as an undecodable one: the server already committed.
internal/cli/client_items_copy_test.go:346
FunctionTestCopyItem_UndecodableSuccessIsNotAmbiguous
A 2xx whose body will not decode means the copy COMMITTED — that is a known outcome, and must not be reported as ambiguous or the user will be told to
internal/cli/client_items_copy_test.go:609
FunctionTestCopyOutcomeClassification
The three outcome classes are mutually exclusive, and each one drives a different thing the CLI is allowed to tell the user: unknown — may or may
internal/cli/client_items_copy_test.go:313
FunctionTestCopyPreflightAndCopySendIdenticalBodies
The preflight and the copy take a BYTE-IDENTICAL body. That is the server's stated contract and the reason a client can preview then commit without re
internal/cli/client_items_copy_test.go:506
FunctionTestCopyPreflightAttachmentLimit
(t *testing.T)
internal/server/handlers_items_copy_attachment_limit_test.go:16
FunctionTestCopyPreflightDropReasonsAreRenderedByTheDialog
(t *testing.T)
internal/server/copy_preflight_drop_reason_parity_test.go:74
FunctionTestCopyPreflightMatchesCopyForNativeRoles
(t *testing.T)
internal/store/commitment_bundle_v2_test.go:590
FunctionTestCopyPreflight_ACarriedEmptyMultiRelationIsNotReportedAsMigrated
A CARRIED empty list must not leave the preflight calling the destination default "migrated" (PLAN-2857). Same mechanism as the override case and a d
internal/server/handlers_items_copy_relation_test.go:1555
FunctionTestCopyPreflight_ACoercedNullOnAJSONFieldIsStillTheCallersValue
CONTROL for the sweep's NIL arm, which is scoped to multi_relation and must stay that way (a mutant dropping every coerced nil survived without this).
internal/server/handlers_items_copy_relation_test.go:1588
FunctionTestCopyPreflight_AnEmptyButReadableTargetIsNotReportedUnavailable
THE BOUNDARY, pinned deliberately rather than left to be rediscovered. A review asked whether a target collection that is live and readable but holds
internal/server/handlers_items_copy_relation_test.go:1389
FunctionTestCopyPreflight_AnEmptyMultiRelationOverrideIsNotReportedAsYourValue
An empty `multi_relation` override must not leave the preflight claiming the caller supplied what it then reports (PLAN-2857). The preflight already
internal/server/handlers_items_copy_relation_test.go:1464
FunctionTestCopyPreflight_ArchivedSourceReports409
TestCopyPreflight_ArchivedSourceReports409 — an archived source is neither "absent" nor copyable. It reports 409 archived, the same status the move an
internal/server/handlers_items_copy_preflight_test.go:637
FunctionTestCopyPreflight_AssigneeCarriesWhenMemberOfDestination
TestCopyPreflight_AssigneeCarriesWhenMemberOfDestination is DR-8's affirmative half: the common same-owner case loses nothing.
internal/server/handlers_items_copy_preflight_test.go:543
FunctionTestCopyPreflight_AvailableRelationTargetOmitsTheFlagEntirely
`omitempty` on a bool drops FALSE, which is what makes the field's negative phrasing load-bearing: absent must read as "available, or a server that do
internal/server/handlers_items_copy_relation_test.go:1303
FunctionTestCopyPreflight_Buckets
--- bucketing --------------------------------------------------------- TestCopyPreflight_Buckets is the DR-15 bucket-correctness case: a field that c
internal/server/handlers_items_copy_preflight_test.go:269
FunctionTestCopyPreflight_ChildrenNotOrphanedOnPlainCopy
TestCopyPreflight_ChildrenNotOrphanedOnPlainCopy — the weighting is the archive_source flag's job, not the client's.
internal/server/handlers_items_copy_preflight_test.go:562
FunctionTestCopyPreflight_ControlANonEmptyMultiRelationOverrideIsStillYours
CONTROL: a NON-empty override is still the caller's own value. Without this, a branch that dropped every multi_relation override would satisfy the leg
internal/server/handlers_items_copy_relation_test.go:1514
FunctionTestCopyPreflight_DestinationCollectionNotVisible
TestCopyPreflight_DestinationCollectionNotVisible is DR-10a: a restricted editor in B may not preflight into a collection hidden from them, and the re
internal/server/handlers_items_copy_preflight_test.go:732
FunctionTestCopyPreflight_DestinationEditDenied
TestCopyPreflight_DestinationEditDenied — the collection is visible but the caller is a viewer in B, so check 4 refuses.
internal/server/handlers_items_copy_preflight_test.go:762
FunctionTestCopyPreflight_EmptyBucketsAreArraysNotNull
TestCopyPreflight_EmptyBucketsAreArraysNotNull pins the wire shape for the TypeScript consumer: `[]`, never `null`, and the same for the two link maps
internal/server/handlers_items_copy_preflight_test.go:1068
FunctionTestCopyPreflight_ErrorStatusesAreDistinguishable
--- error statuses ---------------------------------------------------- TestCopyPreflight_ErrorStatusesAreDistinguishable covers DR-15's explicit requ
internal/server/handlers_items_copy_preflight_test.go:587
FunctionTestCopyPreflight_HiddenAttachmentReadsAsDangling
--- 2. the preflight must stay oracle-free ---------------------------- TestCopyPreflight_HiddenAttachmentReadsAsDangling is the anti-oracle assertion
internal/server/handlers_items_copy_attachment_authz_test.go:248
FunctionTestCopyPreflight_InvalidOverrideMessageIsBounded
TestCopyPreflight_InvalidOverrideMessageIsBounded — validateFieldType quotes the offending value verbatim, so an override carrying a ~2 MiB string wou
internal/server/handlers_items_copy_preflight_test.go:1364
FunctionTestCopyPreflight_InvalidOverrideRejected
TestCopyPreflight_InvalidOverrideRejected is DR-12's other half: the override is type-checked, which the pre-fix move path never did.
internal/server/handlers_items_copy_preflight_test.go:370
FunctionTestCopyPreflight_LegacyParentIDColumnIsReported
TestCopyPreflight_LegacyParentIDColumnIsReported — an item created through the API with a raw `parent_id` has NO parent item_links row, so the link sc
internal/server/handlers_items_copy_preflight_test.go:1460
FunctionTestCopyPreflight_LegacyPlanChildIsStillACLFiltered
TestCopyPreflight_LegacyPlanChildIsStillACLFiltered — the new legacy accounting must not become a back door around the visibility filter the rest of t
internal/server/handlers_items_copy_preflight_test.go:1626
FunctionTestCopyPreflight_LoneLegacyPlanChildIsCounted
TestCopyPreflight_LoneLegacyPlanChildIsCounted covers TASK-2369. GetChildItems joins on store.ChildLinkTypes, which does not include the legacy "plan
internal/server/handlers_items_copy_preflight_test.go:1555
FunctionTestCopyPreflight_LoneLegacyPlanParentIsReported
TestCopyPreflight_LoneLegacyPlanParentIsReported is the other direction of the same edge: OUTGOING, it is the item's own parent, and the copy is unpar
internal/server/handlers_items_copy_preflight_test.go:1606
FunctionTestCopyPreflight_MalformedOverrideMessageIsBounded
TestCopyPreflight_MalformedOverrideMessageIsBounded — the 400 must not echo an unbounded slice of caller-supplied keys back at them.
internal/server/handlers_items_copy_preflight_test.go:1338
FunctionTestCopyPreflight_MalformedOverrideRejected
TestCopyPreflight_MalformedOverrideRejected — an override naming a field the destination schema does not declare is refused rather than silently dropp
internal/server/handlers_items_copy_preflight_test.go:390
FunctionTestCopyPreflight_MultiRelationRowCarriesTheUnavailableFlag
A `multi_relation` row carries the unavailable flag too (PLAN-2857 U4). `CollectionUnavailable` was gated on `def.Type == "relation"`, so a multi_rel
internal/server/handlers_items_copy_relation_test.go:1417
FunctionTestCopyPreflight_NoPartialMarkerOnTheCommonCase
TestCopyPreflight_NoPartialMarkerOnTheCommonCase — the half of TASK-2369 that is easy to lose. Closing the finding by marking every preview would make
internal/server/handlers_items_copy_preflight_test.go:1678
FunctionTestCopyPreflight_NoWebhookDispatch
TestCopyPreflight_NoWebhookDispatch — the fanout DR-14 specifies for the mutating copy must not fire on the preflight. Asserted with a positive contro
internal/server/handlers_items_copy_preflight_test.go:986
FunctionTestCopyPreflight_NullOverrideOnDefaultedFieldRedefaults
TestCopyPreflight_NullOverrideOnDefaultedFieldRedefaults — the other half of the null semantics. Deleting the key hands it back to validation, which r
internal/server/handlers_items_copy_preflight_test.go:1280
FunctionTestCopyPreflight_NullOverrideUnsetsAndReappears
TestCopyPreflight_NullOverrideUnsetsAndReappears pins the null semantics: an explicit null removes the key, which for a REQUIRED destination field mea
internal/server/handlers_items_copy_preflight_test.go:409
FunctionTestCopyPreflight_OnlyRelationRowsCarryTheUnavailableFlag
The flag's meaning is defined for RELATION rows only, so the builder gates on the field TYPE as well as on the unavailable-target set. Nothing stops a
internal/server/handlers_items_copy_relation_test.go:1328
FunctionTestCopyPreflight_OrphanSourceKeyHasItsOwnReason
TestCopyPreflight_OrphanSourceKeyHasItsOwnReason — a key the item carries that its OWN schema no longer declares drops even when the destination decla
internal/server/handlers_items_copy_preflight_test.go:1239
FunctionTestCopyPreflight_OverrideClearsNeedsValue
TestCopyPreflight_OverrideClearsNeedsValue is the DR-12 bug in one test: MigrateFields computes its Errors BEFORE any override exists, so an implement
internal/server/handlers_items_copy_preflight_test.go:340
FunctionTestCopyPreflight_OversizedBodyIsRejected
TestCopyPreflight_OversizedBodyIsRejected — the endpoint is designed to be called on every keystroke of a live dialog, so the body must go through the
internal/server/handlers_items_copy_preflight_test.go:1309
FunctionTestCopyPreflight_PartialMarkerDoesNotLeakHiddenCount
TestCopyPreflight_PartialMarkerDoesNotLeakHiddenCount is the negative test TASK-2369 asks for by name, and the reason the marker is a bare boolean rat
internal/server/handlers_items_copy_preflight_test.go:1937
FunctionTestCopyPreflight_PartialMarkerForAnItemGrantOnlyGuest
TestCopyPreflight_PartialMarkerForAnItemGrantOnlyGuest pins the narrowest caller this endpoint accepts: a GUEST with no membership in the source works
internal/server/handlers_items_copy_preflight_test.go:1870
FunctionTestCopyPreflight_PartialMarkerSurfacesHiddenRelationships
TestCopyPreflight_PartialMarkerSurfacesHiddenRelationships covers TASK-2369. The ACL filtering is correct and stays; what changes is that "none" and "
internal/server/handlers_items_copy_preflight_test.go:1734
← previousnext →18,701–18,800 of 28,840, ranked by callers