@substrat-run/kernel 0.147.0 → 0.149.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/attachment-sweep.d.ts +208 -0
- package/dist/attachment-sweep.d.ts.map +1 -0
- package/dist/attachment-sweep.js +318 -0
- package/dist/attachment-sweep.js.map +1 -0
- package/dist/audit-outcome.d.ts +1 -1
- package/dist/audit-outcome.d.ts.map +1 -1
- package/dist/audit-outcome.js +4 -2
- package/dist/audit-outcome.js.map +1 -1
- package/dist/export-break.d.ts +137 -0
- package/dist/export-break.d.ts.map +1 -0
- package/dist/export-break.js +219 -0
- package/dist/export-break.js.map +1 -0
- package/dist/index.d.ts +24 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -7
- package/dist/index.js.map +1 -1
- package/dist/install-receipts.d.ts +116 -0
- package/dist/install-receipts.d.ts.map +1 -0
- package/dist/install-receipts.js +162 -0
- package/dist/install-receipts.js.map +1 -0
- package/dist/invocation-line.d.ts +85 -0
- package/dist/invocation-line.d.ts.map +1 -1
- package/dist/invocation-line.js +43 -0
- package/dist/invocation-line.js.map +1 -1
- package/dist/map-bounded.d.ts +8 -0
- package/dist/map-bounded.d.ts.map +1 -0
- package/dist/map-bounded.js +16 -0
- package/dist/map-bounded.js.map +1 -0
- package/dist/migration-digest.d.ts +56 -0
- package/dist/migration-digest.d.ts.map +1 -1
- package/dist/migration-digest.js +92 -0
- package/dist/migration-digest.js.map +1 -1
- package/dist/migration-fence.d.ts +14 -0
- package/dist/migration-fence.d.ts.map +1 -0
- package/dist/migration-fence.js +515 -0
- package/dist/migration-fence.js.map +1 -0
- package/dist/migration-replay.d.ts +52 -0
- package/dist/migration-replay.d.ts.map +1 -0
- package/dist/migration-replay.js +140 -0
- package/dist/migration-replay.js.map +1 -0
- package/dist/module-migrations.d.ts +3 -3
- package/dist/module-migrations.js +3 -3
- package/dist/peer.d.ts +32 -2
- package/dist/peer.d.ts.map +1 -1
- package/dist/peer.js +100 -4
- package/dist/peer.js.map +1 -1
- package/dist/permission-eval.d.ts +8 -0
- package/dist/permission-eval.d.ts.map +1 -1
- package/dist/permission-eval.js +14 -0
- package/dist/permission-eval.js.map +1 -1
- package/dist/platform-sweep.d.ts +114 -361
- package/dist/platform-sweep.d.ts.map +1 -1
- package/dist/platform-sweep.js +134 -561
- package/dist/platform-sweep.js.map +1 -1
- package/dist/promote-review.d.ts +125 -0
- package/dist/promote-review.d.ts.map +1 -0
- package/dist/promote-review.js +181 -0
- package/dist/promote-review.js.map +1 -0
- package/dist/schedule-state.d.ts +91 -0
- package/dist/schedule-state.d.ts.map +1 -0
- package/dist/schedule-state.js +118 -0
- package/dist/schedule-state.js.map +1 -0
- package/dist/scope-copy-ledger.d.ts +29 -0
- package/dist/scope-copy-ledger.d.ts.map +1 -1
- package/dist/scope-copy-ledger.js +23 -0
- package/dist/scope-copy-ledger.js.map +1 -1
- package/dist/scope-copy.d.ts.map +1 -1
- package/dist/scope-copy.js +3 -2
- package/dist/scope-copy.js.map +1 -1
- package/dist/scope-host.d.ts +303 -11
- package/dist/scope-host.d.ts.map +1 -1
- package/dist/scope-host.js.map +1 -1
- package/dist/scope-identity.d.ts +68 -0
- package/dist/scope-identity.d.ts.map +1 -0
- package/dist/scope-identity.js +75 -0
- package/dist/scope-identity.js.map +1 -0
- package/dist/scope-store.d.ts +9 -6
- package/dist/scope-store.d.ts.map +1 -1
- package/dist/scope-store.js.map +1 -1
- package/dist/spine-restore.d.ts +2 -0
- package/dist/spine-restore.d.ts.map +1 -1
- package/dist/spine-restore.js +6 -1
- package/dist/spine-restore.js.map +1 -1
- package/dist/store-driver-releases.d.ts +306 -0
- package/dist/store-driver-releases.d.ts.map +1 -0
- package/dist/store-driver-releases.js +581 -0
- package/dist/store-driver-releases.js.map +1 -0
- package/dist/table-ownership.d.ts +5 -2
- package/dist/table-ownership.d.ts.map +1 -1
- package/dist/table-ownership.js +19 -10
- package/dist/table-ownership.js.map +1 -1
- package/dist/testing.d.ts +2 -0
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.js +2 -0
- package/dist/testing.js.map +1 -1
- package/dist/upload-link.d.ts +142 -0
- package/dist/upload-link.d.ts.map +1 -0
- package/dist/upload-link.js +441 -0
- package/dist/upload-link.js.map +1 -0
- package/dist/version-migrations.d.ts +63 -1
- package/dist/version-migrations.d.ts.map +1 -1
- package/dist/version-migrations.js +174 -8
- package/dist/version-migrations.js.map +1 -1
- package/dist/vertical-scope-stores.d.ts +43 -0
- package/dist/vertical-scope-stores.d.ts.map +1 -0
- package/dist/vertical-scope-stores.js +195 -0
- package/dist/vertical-scope-stores.js.map +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ export { GRANT_CHILDREN_INDEX_DDL } from './grant-scoped-read.js';
|
|
|
2
2
|
export { callReservedStoreOperation, callScopeStore, observeStoreCall, replayStoreErasures, scopeStoreLifecycleOf, scopeStoreRunnersOf, } from './scope-store.js';
|
|
3
3
|
export { connectorCallRecord, noopConnectorCallRecorder, recordConnectorCall, settleConnectionUse, } from './connector-calls.js';
|
|
4
4
|
export { requestEmail, settlePlatformRequestIn } from './email-intent.js';
|
|
5
|
-
export { COPY_CLAIM_SQL, COPY_RESTORE_FENCE_LAPSED, copyRestoreFence, copyRestoreFenceLapsed, BACKFILL_MOVE_ID, COPY_BACKFILL_SCOPE_SQL, COPY_BACKFILL_SQL, COPY_BACKFILL_SUPERSEDE_SQL, copyBackfillParams, copyBackfillRefusal, COPY_EXPIRED_SQL, COPY_MOVE_CONFIRM_SQL, COPY_MOVE_LIVE_PREDICATE, SCOPE_SCRIPT_COPY_COLUMNS, copyMoveConfirmParams, copyMoveLiveParams, scopeScriptCopyOf, } from './scope-copy-ledger.js';
|
|
5
|
+
export { COPY_CLAIM_SQL, COPY_RESTORE_FENCE_LAPSED, copyRestoreFence, copyRestoreFenceLapsed, BACKFILL_MOVE_ID, COPY_BACKFILL_SCOPE_SQL, COPY_BACKFILL_SQL, COPY_BACKFILL_SUPERSEDE_SQL, copyBackfillParams, copyBackfillRefusal, SUBJECT_ERASURE_CLAIM_SQL, subjectErasureClaimParams, COPY_EXPIRED_SQL, COPY_MOVE_CONFIRM_SQL, COPY_MOVE_LIVE_PREDICATE, SCOPE_SCRIPT_COPY_COLUMNS, copyMoveConfirmParams, copyMoveLiveParams, scopeScriptCopyOf, } from './scope-copy-ledger.js';
|
|
6
6
|
export { SCOPE_COPY_LEASE_MS, assertRedrainWindow, attachmentBlobKey, attachmentSha256, consumersFor, entitlementDenial, requiredEntitlementFor, backoffAt, globalFetch, executorOutcomeOf, parseValidationRecords, resolveRetryPolicy, OPS_FAILURE_RETENTION_DAYS, SWEEP_RUN_RETENTION_DAYS, SWEEP_RUNS_INTENT_INDEX, sweepRunsIntentHasKind, ISSUE_RETENTION_DAYS, telemetryRetentionStatements, assertRowLimit, assertRowOffset, EMITTED_REPORT_CAP, isUpgradeRequest, isVouchedWithin, vouchedWithin, checkedWithin, isCheckedWithin, } from './scope-host.js';
|
|
7
7
|
export { assertBoundOperations, operationsFor, undeclaredOperations, } from './module-operations.js';
|
|
8
8
|
export { isSecretBoxConfigured, SecretBoxUnconfiguredError, unconfiguredSecretBox, webCryptoSecretBox, } from './secret-box.js';
|
|
@@ -13,6 +13,7 @@ export { resolveScopeRecord } from './scope-record.js';
|
|
|
13
13
|
export { assertAllowed, denyAllChecker, PermissionDenied, UNSAFE_allowAllChecker, } from './permission-checker.js';
|
|
14
14
|
export { actorOf, asPrincipal, unknownRoleError } from './permission-checker.js';
|
|
15
15
|
export { ancestorsWithin, createTupleEvaluator, grantedEntitiesForContext, memberAddedAudit, orgChangeBound, reachesWithin, tenantCoverage, } from './permission-eval.js';
|
|
16
|
+
export { ACTIVE_CONTENT_TYPES, UPLOAD_LINK_DDL, UPLOAD_LINK_GONE, UPLOAD_LINK_REPLAY_MISMATCH, UPLOAD_LINK_TOO_LARGE, UPLOAD_LINK_TYPE_REFUSED, UPLOAD_LINK_WRONG_TARGET, createAttachmentVerbs, inspectUploadLink, isActiveContentType, isMediaTypeEssence, normalizeUploadMediaType, redeemOrReplayUploadLink, redeemUploadLinkInTransaction, uploadContentTypeAllowed, } from './upload-link.js';
|
|
16
17
|
export { CAPABILITY_DDL, CAPABILITY_EXCHANGE_OPERATION, CAPABILITY_SESSION_PRUNE_BATCH, WITHHELD_SECRET, assertNoSecret, capabilityAttachmentWriteRefused, capabilityByIdQuery, capabilityTokenHash, checkBecomeInput, createCapabilityVerbs, exchangeCapability, guardSecrets, mintBecomeCapability, mintCapabilitySecret, readCapabilityPage, plausibleSessionToken, plausibleCapabilitySecret, redactSecrets, redactSecretText, resolveCapabilitySession, revokeCapabilityAsPlatform, CAPABILITY_BECOME_MINT_OPERATION, becomeMintCheck, readBecomeLinkStates, assertBecomeLinkStateIds, mintBecomeCapabilityAsPrincipal, revokeBecomeCapabilityAsPrincipal, allowedFor, } from './capability.js';
|
|
17
18
|
export { createEntityEdgeVerbs } from './entity-edges.js';
|
|
18
19
|
export { addStatePlans, createEntityStateVerbs, entityStateMigrations, ENTITY_STATE_MOVES_DDL, statefulTablesOf, } from './entity-state.js';
|
|
@@ -22,11 +23,12 @@ export { afterMigration, afterRuntimeDdl, derivesAnything, repairDerivedObjects,
|
|
|
22
23
|
export { createTrashedReads, searchStateWhere, uncheckedView } from './entity-state-reads.js';
|
|
23
24
|
export { createAtomic } from './sub-transaction.js';
|
|
24
25
|
export { DEFAULT_SEARCH_LIMIT, MAX_SEARCH_LIMIT, NotSearchable, SearchTermTooShort, isSearchIndexTable, searchIndexMigrations, searchIndexPlans, searchLimit, searchMatchExpression, searchQuery, } from './search-index.js';
|
|
26
|
+
export { ATTACHMENT_CONDEMNED, ATTACHMENT_CONDEMNED_DDL, ORPHAN_SWEEP_FENCE_MS, ORPHAN_SWEEP_GRACE_MS, SETTLED_COPY_STATES, attachmentSweepFenceKey, condemnOrphanAttachments, fenceAttachmentSweep, refuseCondemnedAttachment, refuseCondemnedInDump, rowlessAttachmentIds, sweepOrphanAttachments, unsettledCopyRefusal, missingAttachmentStore, orphanSweepVersionRefusal, } from './attachment-sweep.js';
|
|
25
27
|
export { ATTACHMENT_SEARCH_OWNER_MAX, ATTACHMENT_SEARCH_OWNERS_SQL, ATTACHMENT_SEARCH_SQL, ATTACHMENT_SEARCH_TOO_MANY_OWNERS, ATTACHMENT_TEXT_BACKFILL_BATCH, ATTACHMENT_TEXT_BACKFILL_JOB, ATTACHMENT_TEXT_DDL, ATTACHMENT_TEXT_JOB, ATTACHMENT_TEXT_MODULE, assertJobRegistrable, attachmentRecordOfRow, attachmentTextBackfillJob, attachmentTextJob, enqueueAttachmentText, kernelJobFor, queueAttachmentTextBackfill, readAttachmentText, reconcileAttachmentText, recordAttachmentText, searchAttachments, startAttachmentTextBackfill, } from './attachment-text.js';
|
|
26
28
|
export { DEFAULT_ATTACHMENT_TEXT_BOUNDS, EXTRACTION_STRIDE, assertAttachmentExtractors, chooseAttachmentExtractor, resolveAttachmentTextBounds, runAttachmentExtractor, } from './attachment-extractor.js';
|
|
27
29
|
export { CursorMismatch, FilterNotDeclared, NotListable, SortNotDeclared, cursorOf, listIndexMigrations, listIndexPlans, listQuery, } from './list-index.js';
|
|
28
30
|
export { moduleMigrations } from './module-migrations.js';
|
|
29
|
-
export { MIGRATION_DIGEST_FENCE_DDL, MIGRATION_DIGEST_MARK_LEGACY, assertJournalDumpCoherent, assertMigrationSql, migrationDigest, migrationDivergence, migrationFailedError, migrationSteps, planMigrations, } from './migration-digest.js';
|
|
31
|
+
export { MIGRATION_DIGEST_FENCE_DDL, MIGRATION_DIGEST_MARK_LEGACY, MIGRATIONS_DIGEST_BINDING, assertJournalDumpCoherent, assertMigrationSql, isDerivedMigrationVersion, migrationDigest, migrationDivergence, migrationFailedError, migrationSetDigest, migrationSetDivergence, migrationSteps, planMigrations, } from './migration-digest.js';
|
|
30
32
|
export { frozenClock, manualClock } from './clock.js';
|
|
31
33
|
export { createUlid, ulid, ulidTime } from './ulid.js';
|
|
32
34
|
export { assertReadOnlyQuery } from './read-only-sql.js';
|
|
@@ -40,6 +42,8 @@ export { CANCELLED_JOB_NOTE, DELIVERY_ERROR_REDACTION_SQL, intentPayloadCarriesS
|
|
|
40
42
|
export { eraseSubjectFromModules, isModuleErasureCounts, moduleErasurePlan, moduleRowsErased, SECURE_DELETE_MIN_SQLITE, } from './module-erasure.js';
|
|
41
43
|
export { TABLE_OWNERS_DDL, assertMigrationLeavesLedgerAlone, recordOwnershipSteps, runMigrationStatements, } from './table-ownership.js';
|
|
42
44
|
export { blankSqlComments, executableSqlStatements, splitSqlStatements } from './sql-statements.js';
|
|
45
|
+
export { fencedTables } from './migration-fence.js';
|
|
46
|
+
export { MIGRATION_REPLAY_API, replayMigrations } from './migration-replay.js';
|
|
43
47
|
export { FINDINGS_DDL, FINDING_RETENTION_DAYS, createFindingRule, findingOfOpsFailure, findingOfSweepRun, pruneFindings, listFindingRules, listFindings, observeFinding, revokeFindingRule, setFindingStatus, } from './findings.js';
|
|
44
48
|
export { effectiveRoleGrantQuery, seatScopeTuple } from './scope-tuple-seat.js';
|
|
45
49
|
export { delegatedRevokeSql, shapeProtectedTypesQuery, writeExplicitTupleIn } from './entity-grant.js';
|
|
@@ -55,8 +59,10 @@ export { SYSTEM_SWITCH_OFF_QUERY, SWITCH_FENCES_DDL, moveSwitch, recordedOffFrom
|
|
|
55
59
|
export { PEER_SWITCHES_DDL, SWITCH_KINDS, SWITCH_OWED_DDL, SYSTEM_SWITCHES_DDL, clearSwitchOwed, scopeOwesSwitch, markSwitchOwed, switchesOwedOf, forgetSwitchesOf, inUnitMovesToAudit, listSystemSwitchRecords, reassertActionOf, recordWriteSuperseded, reassertEntry, reassertOffRow, reassertOnRow, recordSwitchedOff, recordSwitchedOn, restoreSwitchRecord, scopesSwitchedOffFor, staleCarryRevertRow, staleCarryReverts, switchActionOf, switchAuditSubject, switchNotFoundMessage, switchFencesOf, switchRecordStatesOf, switchRecordsOf, switchSubjectOf, switchSupersededMessage, switchedOffOf, switchesBackfillSqlOf, switchesDdlOf, switchesTableExists, switchesTableOf, tenantHeldOf, tenantHoldsGrant, withRecorded, } from './system-switch-record.js';
|
|
56
60
|
export { ADMIN_LOG_INDEX_DDL, ADMIN_LOG_INDEXES_SQL } from './admin-log-ddl.js';
|
|
57
61
|
export { AUDITED_CHANGE_ACTIONS, SETTLE_INTENT_SQL, SETTLE_OUTCOME_SQL, settleOutcomeParamsOf, operationKeyOf, auditedOperationsSql, effectiveOutcomes, isSupersededOutcome, readAuditedOperations, unknownOutcomeOf, UNRECORDED_OUTCOME_LOG, recordAuditOutcome, auditedCapabilityRevoke, auditWarningOf, } from './audit-outcome.js';
|
|
58
|
-
export { VERSION_MIGRATIONS_DDL, splitManifestMigrations, splitVersionMigrationsBatch, versionMigrationsOf, versionsAwaitSplit, writeVersionMigrations, } from './version-migrations.js';
|
|
59
|
-
export {
|
|
62
|
+
export { VERSION_MIGRATIONS_DDL, MIGRATION_DIGEST_MISMATCH_REASON, deriveMigrationDigestsBatch, deriveVersionMigrationDigest, derivedMigrationDigest, migrationChangeRefusal, publishedMigrationDigest, versionsAwaitDigest, splitManifestMigrations, splitVersionMigrationsBatch, versionMigrationsOf, versionsAwaitSplit, writeVersionMigrations, } from './version-migrations.js';
|
|
63
|
+
export { VERTICAL_SCOPE_STORES_DDL, forgetVerticalScopeStores, indexVersionScopeStores, driverDeclarationsOf, verticalScopeStoresOf, } from './vertical-scope-stores.js';
|
|
64
|
+
export { STORE_DRIVER_RELEASES_DDL, advanceStoreDriverRebuildIn, beginStoreDriverRolloutIn, claimStoreDriverRebuildIn, finishStoreDriverRolloutIn, holdStoreDriverIn, legacyStoreDriverConflict, legacyStoreDriverRenames, recordStoreDriverReleaseIn, releaseStoreDriverHoldIn, storeDriverRebuildIn, storeDriverReleaseIn, storeDriverStateIn, storeDriverRolloutPendingIn, storeDriverRolloutWalkedIn, } from './store-driver-releases.js';
|
|
65
|
+
export { admitPeer, collectPeers, peerGrantsStatus, peerSeats, boundToPeerDeclarations, peerSubjectRef, resolveVerticalInstanceFrom, switchPeer, } from './peer.js';
|
|
60
66
|
export { PEER_BINDINGS_DDL, isPeerInstanceOf, peerCallerAt, peerVerticalSpellings, resolvePeerInstanceFrom, samePeerVertical } from './peer.js';
|
|
61
67
|
export { DENIAL_WINDOW_QUERY, denialListQuery, denialSummaryQuery, denialTotalsQuery, mapDenialRow, mapDenialSummaryBuckets, } from './denial-query.js';
|
|
62
68
|
export { entityVersionQuery, entityVersionOf, assertIfMatch, OUTBOX_ENTITY_INDEX, } from './entity-version.js';
|
|
@@ -69,11 +75,14 @@ export { readTimeline, readHistory, readScopeTimeline, readScopeHistory, facetEv
|
|
|
69
75
|
export { domainEventOf, readUndrainedOutbox, undrainedEventsOf, } from './outbox-event.js';
|
|
70
76
|
export { IDEMPOTENCY_DDL, assertIdempotencyKey, idempotencyLookupQuery, idempotencyPruneStatement, idempotencyRecordStatement, idempotencyOptedOutMessage, replayFor, } from './idempotency.js';
|
|
71
77
|
export { JOB_RUN_DDL, JOB_RUN_PATCH_SQL, JOB_RUN_CLAIM_SQL, JOB_RUN_RENEW_SQL, JOB_RUN_BEGIN_SQL, JOB_RUN_MISS_SQL, JOB_RUN_MISS_SETTLE_SQL, admissionMissOutcome, JOB_STEP_RECORD_SQL, JOB_LEASE_MS, JOB_LEASE_MIN_MS, JOB_ADMISSION_MISS_MAX, JOB_LEASE_TOO_SHORT_NOTE, admissionBackoffMs, JOB_LEASE_EXPIRED_NOTE, assertLeaseMs, jobRunListLimit, SYSTEM_DOOR_WAIT, JOB_DEFER_MS, JOB_RUN_DUE_AT, jobRunOf, runDueJobRuns, runJobPass, startJobRun, } from './job-run.js';
|
|
72
|
-
export { runPlatformSweep, startPlatformSweeper,
|
|
73
|
-
export {
|
|
78
|
+
export { runPlatformSweep, startPlatformSweeper, StorageReadUnsupported, PROVISION_RECONCILE_BATCH, CROSS_VERTICAL_CONSUMERS_PER_PASS, ORPHAN_ATTACHMENT_SWEEP_BATCH, ORPHAN_SWEEP_DRY_RUN_WINDOW_MS, runCrossVerticalFrom, registryImportCandidates, crossVerticalHealth, } from './platform-sweep.js';
|
|
79
|
+
export { SCHEDULE_STATE_DDL, SCHEDULE_STATE_REBUILD, scheduleStateHasKind } from './schedule-state.js';
|
|
74
80
|
// #1653: which scopes are the real install, and which version runs on them — shared so
|
|
75
81
|
// every receipt writer and the sweep answer both questions the same way.
|
|
76
|
-
export { isPrimaryScope, isPrimaryScopeRow, INERT_SCOPE_REASON, runningVersionOf
|
|
82
|
+
export { isPrimaryScope, isPrimaryScopeRow, INERT_SCOPE_REASON, runningVersionOf } from './scope-identity.js';
|
|
83
|
+
export { exportBreaksOf, exportBreakRefusal, isExportBreakRefusal, bindExportBreaksOf, scopeMoveOf, bindExportBreakRefusal, BIND_EXPORT_BREAK_REFUSAL, isBindExportBreakRefusal, } from './export-break.js';
|
|
84
|
+
export { promoteReviewDigest, assertPromoteReviewCurrent, promoteReviewRefusalOf, promoteRaceRefusal, rebindReviewDigest, assertRebindReviewCurrent, rebindReviewRefusalOf, rebindRaceRefusal, SERVES_NOW_CONDITION, SERVES_NOW_PREDICATE, servesNowParams, } from './promote-review.js';
|
|
85
|
+
export { PROVISIONED_VERSIONS_SQL, installsReconciledOf, installsReconciledNote, installReconciled, boundEverOf, boundShapesColumn, boundShapesOfColumn, provisionedVersionsParams, strandJudgmentsOf, } from './install-receipts.js';
|
|
77
86
|
export { migrationProgress, } from './migration-progress.js';
|
|
78
87
|
export { foldMeterReading } from './meters.js';
|
|
79
88
|
export { MODEL_USAGE_RETENTION_DAYS, foldModelUsage, } from './model-usage.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAiFA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACd,gBAAg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"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import type { Scope } from '@substrat-run/contracts';
|
|
2
|
+
import type { ServingPointer } from './scope-identity.js';
|
|
3
|
+
/**
|
|
4
|
+
* Install receipts (#2178, #2184, #2185): which version each install last reconciled, what it
|
|
5
|
+
* reported bound, and how the binding-shape gate judges a move from them. Read by both adapters'
|
|
6
|
+
* promote and bind doors. Split out of `platform-sweep.ts` (#1978).
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* #2178: the versions the active primary scopes of a vertical that a promote or a serve moves were
|
|
10
|
+
* last provisioned against (`provisionedVersionId`, written only after a provision or reconcile
|
|
11
|
+
* succeeds): those routed on a serving ref, and those of an owner tenant. A retirement reaches a
|
|
12
|
+
* scope only at its reconcile, so a scope provisioned behind the retiring version still holds the
|
|
13
|
+
* keys. #2185: and whether that reconcile FINISHED the version's retirements
|
|
14
|
+
* (`retirementsFinishedVersionId` equal to the receipt), since one that left a retirement open still
|
|
15
|
+
* writes the receipt. One row per (version, finished), with how many installs and one of them to
|
|
16
|
+
* name, however many installs there are. Installs with NO receipt are a row too (`version_id` null):
|
|
17
|
+
* a switch clears the receipt (#2045), a rewind and a restore do (#2185), and a new install has none until its first
|
|
18
|
+
* reconcile. The sweep reconciles every unfinished or receiptless install on its next pass, so a
|
|
19
|
+
* refusal they cause is transient unless that reconcile keeps failing, answers 'unsupported', or
|
|
20
|
+
* cannot report its retirements (an `adapter-cloudflare` or `vertical-host` that predates the report). Binds
|
|
21
|
+
* `(vertical, servingRef, ownerTenant)`; a null matches nothing. The directory has no index on
|
|
22
|
+
* `vertical`, so this scans its scopes table: once per promote or serve.
|
|
23
|
+
*
|
|
24
|
+
* #2184: and which binding shapes the reconcile reported the installs have bound through a link
|
|
25
|
+
* (`bound_shapes`, JSON `{version, types}`), counted only while its version is the receipt's, else
|
|
26
|
+
* null (unknown). Grouped by it too: each set is a subset of one version's table-held bootstrap
|
|
27
|
+
* shapes, sorted, so a fleet of one vertical has a handful.
|
|
28
|
+
*
|
|
29
|
+
* Review of #2220: and by the version each install RUNS (`runningVersionOf`: the served version on
|
|
30
|
+
* the serving script, else its pointer), since a receipt behind it speaks for neither the bindings
|
|
31
|
+
* nor the retirements of what it runs now. Bind its parameters with {@link provisionedVersionsParams}.
|
|
32
|
+
*
|
|
33
|
+
* So the rows are at most (receipt versions × running versions × 2 × distinct type sets), still
|
|
34
|
+
* independent of how many installs there are.
|
|
35
|
+
*/
|
|
36
|
+
export declare const PROVISIONED_VERSIONS_SQL = "SELECT provisioned_version_id AS version_id,\n CASE WHEN serving_ref = ? THEN ? ELSE vertical_version_id END AS running_version_id,\n COALESCE(retirements_finished_version_id = provisioned_version_id, 0) AS finished,\n CASE WHEN json_extract(bound_shapes, '$.version') = provisioned_version_id\n THEN json_extract(bound_shapes, '$.types') END AS bound_types,\n COUNT(*) AS installs, MIN(scope_id) AS example\n FROM scopes\n WHERE vertical = ? AND status = 'active' AND forked_from IS NULL AND COALESCE(kind, '') != 'preview'\n AND (serving_ref = ? OR tenant_id = ?)\n GROUP BY provisioned_version_id, running_version_id, finished, bound_types";
|
|
37
|
+
/**
|
|
38
|
+
* `PROVISIONED_VERSIONS_SQL`'s parameters: the installs of `vertical` on `serving`'s script (which
|
|
39
|
+
* run its version) or owned by `ownerTenant`. Null for either matches nothing.
|
|
40
|
+
*/
|
|
41
|
+
export declare function provisionedVersionsParams(vertical: string, serving: ServingPointer | null, ownerTenant: string | null): (string | null)[];
|
|
42
|
+
/**
|
|
43
|
+
* #2184: the directory's `bound_shapes` value — the version the reconcile ran against and the types
|
|
44
|
+
* it reported bound, as one JSON value, so the pair is written and cleared together and a receipt
|
|
45
|
+
* rewritten without it (a control plane that predates the column) reads as unknown. Null when
|
|
46
|
+
* there is no receipt or the outcome does not say.
|
|
47
|
+
*/
|
|
48
|
+
export declare function boundShapesColumn(versionId: string | null, types: readonly string[] | undefined): string | null;
|
|
49
|
+
/** #2184: `Scope.boundShapes` from the directory's `bound_shapes` value; null for null or anything unreadable. */
|
|
50
|
+
export declare function boundShapesOfColumn(raw: string | null | undefined): {
|
|
51
|
+
versionId: string;
|
|
52
|
+
types: string[];
|
|
53
|
+
} | null;
|
|
54
|
+
/** One row of `PROVISIONED_VERSIONS_SQL`: the installs that last reconciled one version. */
|
|
55
|
+
export interface InstallsReconciled {
|
|
56
|
+
/** Null: installs with no receipt, which may not have reconciled anything they run. */
|
|
57
|
+
versionId: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Review of #2220: the version they run now, when the caller knows it. One that differs from
|
|
60
|
+
* `versionId` is a receipt lagging what runs: judged as if nothing about it had been reported.
|
|
61
|
+
*/
|
|
62
|
+
runningVersionId: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* #2185: whether their reconcile of `versionId` finished every retirement it declares. False
|
|
65
|
+
* judges them as still holding the keys it retires. Meaningless when `versionId` is null.
|
|
66
|
+
*/
|
|
67
|
+
retirementsFinished: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* #2184: the types of `versionId`'s table-held bootstrap shapes their reconcile reported bound
|
|
70
|
+
* through a link, or null when it did not report (or `versionId` is null): the gate then counts
|
|
71
|
+
* every such shape as bound.
|
|
72
|
+
*/
|
|
73
|
+
boundShapes: string[] | null;
|
|
74
|
+
installs: number;
|
|
75
|
+
/** One of them, so a refusal can say which install to look at. */
|
|
76
|
+
example: string;
|
|
77
|
+
}
|
|
78
|
+
/** `PROVISIONED_VERSIONS_SQL`'s rows, as either adapter's driver returns them. */
|
|
79
|
+
export declare function installsReconciledOf(rows: readonly Record<string, unknown>[]): InstallsReconciled[];
|
|
80
|
+
/**
|
|
81
|
+
* #2185: one install's own receipt as a {@link InstallsReconciled} group, for a bind or a route of
|
|
82
|
+
* that install, judged by the same rule as the promote's `PROVISIONED_VERSIONS_SQL` rows, with the
|
|
83
|
+
* version it runs before the move (`scopeMoveOf`'s `before`).
|
|
84
|
+
*/
|
|
85
|
+
export declare function installReconciled(scope: Pick<Scope, 'id' | 'provisionedVersionId' | 'retirementsFinishedVersionId' | 'boundShapes'>, runningVersionId: string | null): InstallsReconciled;
|
|
86
|
+
/**
|
|
87
|
+
* #2184: what the gate counts as bound for a group: the types its reconcile reported, or every
|
|
88
|
+
* table-held bootstrap shape (`'unknown'`) when it did not, or when the group has no receipt.
|
|
89
|
+
*/
|
|
90
|
+
export declare function boundEverOf(g: InstallsReconciled): readonly string[] | 'unknown';
|
|
91
|
+
/** One judgment of the binding-shape gate: a version to judge a move from, and how (`assertNoBindingShapeBreak`). */
|
|
92
|
+
export interface StrandJudgment {
|
|
93
|
+
from: string;
|
|
94
|
+
opts: {
|
|
95
|
+
judgedFrom: string;
|
|
96
|
+
retiredStillHeld: boolean;
|
|
97
|
+
boundEver: readonly string[] | 'unknown';
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* What the binding-shape gate judges a move onto `afterId` from, for one group of installs, given
|
|
102
|
+
* the versions the move leaves (`froms`). One rule for both adapters' doors:
|
|
103
|
+
*
|
|
104
|
+
* - no receipt: every one of `froms`, as if nothing about it had run or been reported (the installs
|
|
105
|
+
* run one of them; judging the others too can only over-refuse, and only while it lasts);
|
|
106
|
+
* - a receipt behind the version they run (review of #2220): that running version the same way,
|
|
107
|
+
* since whatever it bound or retired since the receipt is not in it — a version that added `bind`
|
|
108
|
+
* may have reconciled and been claimed through without its receipt landing;
|
|
109
|
+
* - a receipt: its own version, from its own report (#2185, #2184).
|
|
110
|
+
*
|
|
111
|
+
* Each is transient: the sweep reconciles every such install on its next pass.
|
|
112
|
+
*/
|
|
113
|
+
export declare function strandJudgmentsOf(g: InstallsReconciled, froms: readonly string[], afterId: string): StrandJudgment[];
|
|
114
|
+
/** What a refusal judged from installs' receipts says it was judged from. */
|
|
115
|
+
export declare function installsReconciledNote(g: InstallsReconciled): string;
|
|
116
|
+
//# sourceMappingURL=install-receipts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install-receipts.d.ts","s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BAAkB,EAAE,CASnG;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,GAAG,sBAAsB,GAAG,8BAA8B,GAAG,aAAa,CAAC,EAClG,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAC9B,kBAAkB,CAUpB;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,kBAAkB,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAEhF;AAKD,qHAAqH;AACrH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,gBAAgB,EAAE,OAAO,CAAC;QAAC,SAAS,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAA;KAAE,CAAC;CACnG;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,kBAAkB,EAAE,KAAK,EAAE,SAAS,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,cAAc,EAAE,CAUpH;AAED,6EAA6E;AAC7E,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,kBAAkB,GAAG,MAAM,CA6BpE"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Install receipts (#2178, #2184, #2185): which version each install last reconciled, what it
|
|
3
|
+
* reported bound, and how the binding-shape gate judges a move from them. Read by both adapters'
|
|
4
|
+
* promote and bind doors. Split out of `platform-sweep.ts` (#1978).
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* #2178: the versions the active primary scopes of a vertical that a promote or a serve moves were
|
|
8
|
+
* last provisioned against (`provisionedVersionId`, written only after a provision or reconcile
|
|
9
|
+
* succeeds): those routed on a serving ref, and those of an owner tenant. A retirement reaches a
|
|
10
|
+
* scope only at its reconcile, so a scope provisioned behind the retiring version still holds the
|
|
11
|
+
* keys. #2185: and whether that reconcile FINISHED the version's retirements
|
|
12
|
+
* (`retirementsFinishedVersionId` equal to the receipt), since one that left a retirement open still
|
|
13
|
+
* writes the receipt. One row per (version, finished), with how many installs and one of them to
|
|
14
|
+
* name, however many installs there are. Installs with NO receipt are a row too (`version_id` null):
|
|
15
|
+
* a switch clears the receipt (#2045), a rewind and a restore do (#2185), and a new install has none until its first
|
|
16
|
+
* reconcile. The sweep reconciles every unfinished or receiptless install on its next pass, so a
|
|
17
|
+
* refusal they cause is transient unless that reconcile keeps failing, answers 'unsupported', or
|
|
18
|
+
* cannot report its retirements (an `adapter-cloudflare` or `vertical-host` that predates the report). Binds
|
|
19
|
+
* `(vertical, servingRef, ownerTenant)`; a null matches nothing. The directory has no index on
|
|
20
|
+
* `vertical`, so this scans its scopes table: once per promote or serve.
|
|
21
|
+
*
|
|
22
|
+
* #2184: and which binding shapes the reconcile reported the installs have bound through a link
|
|
23
|
+
* (`bound_shapes`, JSON `{version, types}`), counted only while its version is the receipt's, else
|
|
24
|
+
* null (unknown). Grouped by it too: each set is a subset of one version's table-held bootstrap
|
|
25
|
+
* shapes, sorted, so a fleet of one vertical has a handful.
|
|
26
|
+
*
|
|
27
|
+
* Review of #2220: and by the version each install RUNS (`runningVersionOf`: the served version on
|
|
28
|
+
* the serving script, else its pointer), since a receipt behind it speaks for neither the bindings
|
|
29
|
+
* nor the retirements of what it runs now. Bind its parameters with {@link provisionedVersionsParams}.
|
|
30
|
+
*
|
|
31
|
+
* So the rows are at most (receipt versions × running versions × 2 × distinct type sets), still
|
|
32
|
+
* independent of how many installs there are.
|
|
33
|
+
*/
|
|
34
|
+
export const PROVISIONED_VERSIONS_SQL = `SELECT provisioned_version_id AS version_id,
|
|
35
|
+
CASE WHEN serving_ref = ? THEN ? ELSE vertical_version_id END AS running_version_id,
|
|
36
|
+
COALESCE(retirements_finished_version_id = provisioned_version_id, 0) AS finished,
|
|
37
|
+
CASE WHEN json_extract(bound_shapes, '$.version') = provisioned_version_id
|
|
38
|
+
THEN json_extract(bound_shapes, '$.types') END AS bound_types,
|
|
39
|
+
COUNT(*) AS installs, MIN(scope_id) AS example
|
|
40
|
+
FROM scopes
|
|
41
|
+
WHERE vertical = ? AND status = 'active' AND forked_from IS NULL AND COALESCE(kind, '') != 'preview'
|
|
42
|
+
AND (serving_ref = ? OR tenant_id = ?)
|
|
43
|
+
GROUP BY provisioned_version_id, running_version_id, finished, bound_types`;
|
|
44
|
+
/**
|
|
45
|
+
* `PROVISIONED_VERSIONS_SQL`'s parameters: the installs of `vertical` on `serving`'s script (which
|
|
46
|
+
* run its version) or owned by `ownerTenant`. Null for either matches nothing.
|
|
47
|
+
*/
|
|
48
|
+
export function provisionedVersionsParams(vertical, serving, ownerTenant) {
|
|
49
|
+
return [serving?.ref ?? null, serving?.versionId ?? null, vertical, serving?.ref ?? null, ownerTenant];
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* #2184: the directory's `bound_shapes` value — the version the reconcile ran against and the types
|
|
53
|
+
* it reported bound, as one JSON value, so the pair is written and cleared together and a receipt
|
|
54
|
+
* rewritten without it (a control plane that predates the column) reads as unknown. Null when
|
|
55
|
+
* there is no receipt or the outcome does not say.
|
|
56
|
+
*/
|
|
57
|
+
export function boundShapesColumn(versionId, types) {
|
|
58
|
+
return versionId !== null && types ? JSON.stringify({ version: versionId, types: [...new Set(types)].sort() }) : null;
|
|
59
|
+
}
|
|
60
|
+
/** #2184: `Scope.boundShapes` from the directory's `bound_shapes` value; null for null or anything unreadable. */
|
|
61
|
+
export function boundShapesOfColumn(raw) {
|
|
62
|
+
if (!raw)
|
|
63
|
+
return null;
|
|
64
|
+
try {
|
|
65
|
+
const v = JSON.parse(raw);
|
|
66
|
+
const ok = typeof v.version === 'string' && Array.isArray(v.types) && v.types.every((t) => typeof t === 'string');
|
|
67
|
+
return ok ? { versionId: v.version, types: v.types } : null;
|
|
68
|
+
}
|
|
69
|
+
catch {
|
|
70
|
+
return null;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
/** `PROVISIONED_VERSIONS_SQL`'s rows, as either adapter's driver returns them. */
|
|
74
|
+
export function installsReconciledOf(rows) {
|
|
75
|
+
return rows.map((r) => ({
|
|
76
|
+
versionId: r.version_id == null ? null : String(r.version_id),
|
|
77
|
+
runningVersionId: r.running_version_id == null ? null : String(r.running_version_id),
|
|
78
|
+
retirementsFinished: Number(r.finished) === 1,
|
|
79
|
+
boundShapes: r.bound_types == null ? null : JSON.parse(String(r.bound_types)),
|
|
80
|
+
installs: Number(r.installs),
|
|
81
|
+
example: String(r.example),
|
|
82
|
+
}));
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* #2185: one install's own receipt as a {@link InstallsReconciled} group, for a bind or a route of
|
|
86
|
+
* that install, judged by the same rule as the promote's `PROVISIONED_VERSIONS_SQL` rows, with the
|
|
87
|
+
* version it runs before the move (`scopeMoveOf`'s `before`).
|
|
88
|
+
*/
|
|
89
|
+
export function installReconciled(scope, runningVersionId) {
|
|
90
|
+
const versionId = scope.provisionedVersionId;
|
|
91
|
+
return {
|
|
92
|
+
versionId,
|
|
93
|
+
runningVersionId,
|
|
94
|
+
retirementsFinished: versionId !== null && scope.retirementsFinishedVersionId === versionId,
|
|
95
|
+
boundShapes: versionId !== null && scope.boundShapes?.versionId === versionId ? scope.boundShapes.types : null,
|
|
96
|
+
installs: 1,
|
|
97
|
+
example: scope.id,
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* #2184: what the gate counts as bound for a group: the types its reconcile reported, or every
|
|
102
|
+
* table-held bootstrap shape (`'unknown'`) when it did not, or when the group has no receipt.
|
|
103
|
+
*/
|
|
104
|
+
export function boundEverOf(g) {
|
|
105
|
+
return g.versionId !== null && g.boundShapes !== null ? g.boundShapes : 'unknown';
|
|
106
|
+
}
|
|
107
|
+
/** Review of #2220: whether a group's receipt is behind the version its installs run. */
|
|
108
|
+
const receiptLags = (g) => g.versionId !== null && g.runningVersionId !== null && g.runningVersionId !== g.versionId;
|
|
109
|
+
/**
|
|
110
|
+
* What the binding-shape gate judges a move onto `afterId` from, for one group of installs, given
|
|
111
|
+
* the versions the move leaves (`froms`). One rule for both adapters' doors:
|
|
112
|
+
*
|
|
113
|
+
* - no receipt: every one of `froms`, as if nothing about it had run or been reported (the installs
|
|
114
|
+
* run one of them; judging the others too can only over-refuse, and only while it lasts);
|
|
115
|
+
* - a receipt behind the version they run (review of #2220): that running version the same way,
|
|
116
|
+
* since whatever it bound or retired since the receipt is not in it — a version that added `bind`
|
|
117
|
+
* may have reconciled and been claimed through without its receipt landing;
|
|
118
|
+
* - a receipt: its own version, from its own report (#2185, #2184).
|
|
119
|
+
*
|
|
120
|
+
* Each is transient: the sweep reconciles every such install on its next pass.
|
|
121
|
+
*/
|
|
122
|
+
export function strandJudgmentsOf(g, froms, afterId) {
|
|
123
|
+
const judgedFrom = installsReconciledNote(g);
|
|
124
|
+
const unreported = { judgedFrom, retiredStillHeld: true, boundEver: 'unknown' };
|
|
125
|
+
if (g.versionId === null)
|
|
126
|
+
return froms.filter((f) => f !== afterId).map((from) => ({ from, opts: unreported }));
|
|
127
|
+
const out = [];
|
|
128
|
+
if (receiptLags(g) && g.runningVersionId !== afterId)
|
|
129
|
+
out.push({ from: g.runningVersionId, opts: unreported });
|
|
130
|
+
if (g.versionId !== afterId) {
|
|
131
|
+
out.push({ from: g.versionId, opts: { judgedFrom, retiredStillHeld: !g.retirementsFinished, boundEver: boundEverOf(g) } });
|
|
132
|
+
}
|
|
133
|
+
return out;
|
|
134
|
+
}
|
|
135
|
+
/** What a refusal judged from installs' receipts says it was judged from. */
|
|
136
|
+
export function installsReconciledNote(g) {
|
|
137
|
+
// #2184: the types a link has bound people to, where the reconcile reported any.
|
|
138
|
+
const bound = g.versionId !== null && g.boundShapes?.length ? `, where links have bound people to ${g.boundShapes.join(', ')}` : '';
|
|
139
|
+
const unfinished = g.versionId !== null && !g.retirementsFinished;
|
|
140
|
+
const unknown = g.versionId !== null && g.boundShapes === null;
|
|
141
|
+
// Review of #2220: a receipt behind what they run speaks for none of it.
|
|
142
|
+
const lags = receiptLags(g)
|
|
143
|
+
? `, and run ${g.runningVersionId}, which that receipt does not speak for: every bootstrap shape of ${g.runningVersionId} ` +
|
|
144
|
+
'with a table holder counts as bound and its retirements as not run'
|
|
145
|
+
: '';
|
|
146
|
+
if (unfinished || unknown) {
|
|
147
|
+
const gaps = [unfinished && 'with its retirements not finished', unknown && 'without reporting which binding shapes links have bound'];
|
|
148
|
+
const waits = [unfinished && 'their retirements to finish', unknown && 'their report'];
|
|
149
|
+
const report = unfinished && unknown ? 'retirement and binding reports (#2185, #2184)' : unfinished ? 'retirement report (#2185)' : 'binding report (#2184)';
|
|
150
|
+
return (`${g.installs} install(s) that reconciled ${g.versionId} ${gaps.filter(Boolean).join(' and ')}${bound} (one is ${g.example})${lags}` +
|
|
151
|
+
(unknown ? `, so every bootstrap shape of ${g.versionId} with a table holder counts as bound` : '') +
|
|
152
|
+
`; the drop waits for ${waits.filter(Boolean).join(' and ')}: the sweep reconciles them again each pass. ` +
|
|
153
|
+
"An install whose vertical's @substrat-run/adapter-cloudflare or @substrat-run/vertical-host predates the " +
|
|
154
|
+
`${report} stays here: push a version built on current releases of both packages`);
|
|
155
|
+
}
|
|
156
|
+
const which = g.versionId === null ? 'with no reconcile receipt (a switch, a rewind or a restore cleared it, or none was written yet)' : `that last reconciled ${g.versionId}${bound}`;
|
|
157
|
+
return (`${g.installs} install(s) ${which} (one is ${g.example})${lags}; the drop waits for their reconcile. ` +
|
|
158
|
+
"If that install's reconcile keeps failing or answers 'unsupported' (a vertical built on a vertical-host " +
|
|
159
|
+
'that cannot reconcile), no sweep writes its receipt: fix the reconcile or push a version built on a ' +
|
|
160
|
+
'current vertical-host, so the retirement reaches it');
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=install-receipts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install-receipts.js","sourceRoot":"","sources":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CAAC,CAAC,CAAC,+CAA+C,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,2BAA2B,CAAC,CAAC,CAAC,wBAAwB,CAAC;QAC7J,OAAO,CACL,GAAG,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,YAAY,CAAC,CAAC,OAAO,IAAI,IAAI,EAAE;YACpI,CAAC,OAAO,CAAC,CAAC,CAAC,iCAAiC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,CAAC,EAAE,CAAC;YACnG,wBAAwB,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,+CAA+C;YAC1G,2GAA2G;YAC3G,GAAG,MAAM,wEAAwE,CAClF,CAAC;IACJ,CAAC;IACD,MAAM,KAAK,GAAG,CAAC,CAAC,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,iGAAiG,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,SAAS,GAAG,KAAK,EAAE,CAAC;IACvL,OAAO,CACL,GAAG,CAAC,CAAC,QAAQ,eAAe,KAAK,YAAY,CAAC,CAAC,OAAO,IAAI,IAAI,wCAAwC;QACtG,0GAA0G;QAC1G,sGAAsG;QACtG,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
|
|
@@ -146,6 +146,29 @@ export interface InvocationLogLine {
|
|
|
146
146
|
* when none were dropped, so 16 calls and 500 do not read the same.
|
|
147
147
|
*/
|
|
148
148
|
storeCallsDropped?: number;
|
|
149
|
+
/**
|
|
150
|
+
* #2192: the outbound `fetch` calls the request made, recorded by the platform's entry
|
|
151
|
+
* (`vertical-host`'s outbound recorder). Omitted when there were none. Each entry is a
|
|
152
|
+
* host, a redacted path, a method, a status, a duration and an outcome — never a header,
|
|
153
|
+
* a body or a query string.
|
|
154
|
+
*/
|
|
155
|
+
outboundCalls?: readonly OutboundCallLine[];
|
|
156
|
+
/** #2192: calls past {@link OUTBOUND_CALL_LOG_CAP}, counted instead of named. */
|
|
157
|
+
outboundCallsDropped?: number;
|
|
158
|
+
/**
|
|
159
|
+
* #2192: the request that started this one through a path that leaves no event chain — today
|
|
160
|
+
* a peer call, whose target names the calling request's id. Omitted when there is none, so
|
|
161
|
+
* every other line stays what it was. For relating requests only: it is the caller's word for
|
|
162
|
+
* its own id, never authority.
|
|
163
|
+
*/
|
|
164
|
+
parentInvocationId?: string;
|
|
165
|
+
/**
|
|
166
|
+
* #2192: the scope whose line {@link parentInvocationId} is — the caller's own, as the platform
|
|
167
|
+
* named it, since a peer call always crosses from one scope to another. Present only beside
|
|
168
|
+
* `parentInvocationId`. Where to look, never authority: a reader still reads it under its own
|
|
169
|
+
* tenant.
|
|
170
|
+
*/
|
|
171
|
+
parentScopeId?: string;
|
|
149
172
|
/** How the unit ended — see {@link AsyncOutcome}. */
|
|
150
173
|
outcome?: AsyncOutcome;
|
|
151
174
|
/** A consumer's event type. */
|
|
@@ -223,6 +246,14 @@ export interface InvocationLineFields {
|
|
|
223
246
|
storeCalls?: readonly StoreCallLine[];
|
|
224
247
|
/** #2245: written only when calls past the cap were dropped. */
|
|
225
248
|
storeCallsDropped?: number;
|
|
249
|
+
/** #2192: outbound calls the request made. Omitted when there were none. */
|
|
250
|
+
outboundCalls?: readonly OutboundCallLine[];
|
|
251
|
+
/** #2192: written only when calls past the cap were dropped. */
|
|
252
|
+
outboundCallsDropped?: number;
|
|
253
|
+
/** #2192: written only when there is one. */
|
|
254
|
+
parentInvocationId?: string;
|
|
255
|
+
/** #2192: written only beside `parentInvocationId`. */
|
|
256
|
+
parentScopeId?: string;
|
|
226
257
|
async?: Pick<InvocationLogLine, 'outcome' | 'eventType' | 'eventId' | 'attempt' | 'dueAt' | 'latenessMs' | 'suppressed' | 'suppressedBy'>;
|
|
227
258
|
}
|
|
228
259
|
/** Build a line. Unfilled fields are `null` (or empty), as the line's contract says. */
|
|
@@ -250,6 +281,50 @@ export interface StoreCallTally {
|
|
|
250
281
|
* its four fields, so nothing else a caller put on the object reaches the line.
|
|
251
282
|
*/
|
|
252
283
|
export declare function tallyStoreCall(tally: StoreCallTally, call: StoreCallLine): void;
|
|
284
|
+
/**
|
|
285
|
+
* How an outbound call ended (#2192).
|
|
286
|
+
*
|
|
287
|
+
* - `ok` — the destination answered below 400.
|
|
288
|
+
* - `http-error` — the destination answered 400 or above.
|
|
289
|
+
* - `refused` — the PLATFORM refused it (the egress worker's `x-substrat-egress: refused`),
|
|
290
|
+
* which the caller otherwise sees as a bare 403 indistinguishable from the destination's.
|
|
291
|
+
* - `timeout` / `aborted` — the `fetch` rejected with a `TimeoutError` / an `AbortError`.
|
|
292
|
+
* - `failed` — the `fetch` rejected with anything else; `reason` names the error's class.
|
|
293
|
+
*/
|
|
294
|
+
export type OutboundCallOutcome = 'ok' | 'http-error' | 'refused' | 'timeout' | 'aborted' | 'failed';
|
|
295
|
+
/**
|
|
296
|
+
* One outbound call on an invocation line (#2192). The destination and how it answered,
|
|
297
|
+
* never what was sent or received: no header, no body, no query string, and a path whose
|
|
298
|
+
* segments that could be a credential are written `[redacted]`.
|
|
299
|
+
*/
|
|
300
|
+
export interface OutboundCallLine {
|
|
301
|
+
/** The destination's host, port included when the URL names one. */
|
|
302
|
+
readonly host: string;
|
|
303
|
+
/** The path, redacted segment by segment — see `vertical-host`'s `redactOutboundPath`. */
|
|
304
|
+
readonly path: string;
|
|
305
|
+
readonly method: string;
|
|
306
|
+
/** The status the destination answered, or `null` when the `fetch` rejected. */
|
|
307
|
+
readonly status: number | null;
|
|
308
|
+
readonly outcome: OutboundCallOutcome;
|
|
309
|
+
/** Milliseconds from the call to its response headers (or its rejection). */
|
|
310
|
+
readonly durationMs: number;
|
|
311
|
+
/** Milliseconds from the request's start to the call — where it sits on the timeline. */
|
|
312
|
+
readonly atMs: number;
|
|
313
|
+
/** A `failed` call's error class (`TypeError`, …), or `Error` when it reads as none — never the message. */
|
|
314
|
+
readonly reason?: string;
|
|
315
|
+
}
|
|
316
|
+
/** How many outbound calls one line names (#2192), as {@link STORE_CALL_LOG_CAP} does for stores. */
|
|
317
|
+
export declare const OUTBOUND_CALL_LOG_CAP = 16;
|
|
318
|
+
/** Where a request's outbound calls are tallied: the invocation record, or anything shaped like it. */
|
|
319
|
+
export interface OutboundCallTally {
|
|
320
|
+
outboundCalls?: OutboundCallLine[];
|
|
321
|
+
outboundCallsDropped?: number;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Add one outbound call to a tally (#2192): the first {@link OUTBOUND_CALL_LOG_CAP} are named,
|
|
325
|
+
* the rest counted. Rebuilt field by field, so nothing else on the object reaches the line.
|
|
326
|
+
*/
|
|
327
|
+
export declare function tallyOutboundCall(tally: OutboundCallTally, call: OutboundCallLine): void;
|
|
253
328
|
/** A recorder for one store call. Advisory: a throw from it is swallowed by the caller. */
|
|
254
329
|
export type StoreCallSink = (call: StoreCallLine) => void;
|
|
255
330
|
/**
|
|
@@ -265,10 +340,20 @@ export declare const STORE_CALL_SINK_KEY = "substrat.store-call-sink";
|
|
|
265
340
|
/** What the entry installs under {@link STORE_CALL_SINK_KEY}. */
|
|
266
341
|
export interface StoreCallSinkSlot {
|
|
267
342
|
current(): StoreCallSink | undefined;
|
|
343
|
+
/**
|
|
344
|
+
* #2192: the id of the request now running. Optional: a slot installed by a copy that
|
|
345
|
+
* predates it has none, and a caller then learns no id.
|
|
346
|
+
*/
|
|
347
|
+
invocationId?(): string | undefined;
|
|
268
348
|
}
|
|
269
349
|
/**
|
|
270
350
|
* The sink of the request now running, or `undefined` outside one (#2245). Never
|
|
271
351
|
* throws: a missing or broken slot means the call is not logged, never that it fails.
|
|
272
352
|
*/
|
|
273
353
|
export declare function currentStoreCallSink(): StoreCallSink | undefined;
|
|
354
|
+
/**
|
|
355
|
+
* The id of the request now running, or `undefined` outside one (#2192) — what a peer call
|
|
356
|
+
* hands on as its parent. Never throws, like {@link currentStoreCallSink}.
|
|
357
|
+
*/
|
|
358
|
+
export declare function currentInvocationId(): string | undefined;
|
|
274
359
|
//# sourceMappingURL=invocation-line.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invocation-line.d.ts","sourceRoot":"","sources":["../src/invocation-line.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,iGAAiG;IACjG,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,sFAAsF;IACtF,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,4EAA4E;IAC5E,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAChC,sFAAsF;IACtF,QAAQ,EAAE,YAAY,CAAC;IACvB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,uFAAuF;IACvF,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,6FAA6F;IAC7F,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;;;;;;;;;OAUG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,0FAA0F;IAC1F,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IAMnB,+FAA+F;IAC/F,KAAK,EAAE,eAAe,CAAC;IACvB,k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