@tokenoftrust/storefront-runner 2.4.89 → 2.4.90
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/apps/storefront/astro.config.mjs +1 -1
- package/apps/storefront/drizzle.config.apps.ts +1 -1
- package/apps/storefront/env.d.ts +1 -1
- package/apps/storefront/migrations/README.md +5 -5
- package/apps/storefront/src/components/catalog/storefront/CollectionCard.astro +1 -1
- package/apps/storefront/src/components/catalog/storefront/ProductCard.astro +1 -1
- package/apps/storefront/src/components/catalog/storefront/commerce/BrandGrid.astro +1 -1
- package/apps/storefront/src/components/catalog/storefront/commerce/TagFilterCloud.astro +1 -1
- package/apps/storefront/src/components/catalog/storefront/islands/QuickView.tsx +1 -1
- package/apps/storefront/src/components/catalog/storefront/islands/RecentlyViewed.tsx +1 -1
- package/apps/storefront/src/components/catalog/storefront/islands/SearchTypeahead.tsx +1 -1
- package/apps/storefront/src/components/catalog/storefront/plp/ActiveFilters.astro +2 -2
- package/apps/storefront/src/components/catalog/storefront/plp/FacetSidebar.astro +2 -2
- package/apps/storefront/src/components/catalog/storefront/plp/Pagination.astro +1 -1
- package/apps/storefront/src/components/content/storefront/Breadcrumbs.astro +1 -1
- package/apps/storefront/src/components/content/storefront/EmptyState.astro +1 -1
- package/apps/storefront/src/components/content/storefront/blog/ReactionBar.astro +2 -2
- package/apps/storefront/src/components/content/storefront/chrome/NavDropdown.astro +1 -1
- package/apps/storefront/src/components/content/storefront/chrome/SiteFooter.astro +1 -1
- package/apps/storefront/src/components/content/storefront/chrome/SiteHeader.astro +1 -1
- package/apps/storefront/src/components/content/storefront/chrome/UtilityNav.astro +1 -1
- package/apps/storefront/src/components/content/storefront/commerce/ArticleCard.astro +1 -1
- package/apps/storefront/src/components/content/storefront/home/Hero.astro +1 -1
- package/apps/storefront/src/components/content/storefront/marketing/CardGrid.astro +1 -1
- package/apps/storefront/src/components/content/storefront/marketing/Integrations.astro +1 -1
- package/apps/storefront/src/components/content/storefront/marketing/MarketingCtas.astro +1 -1
- package/apps/storefront/src/components/customers/storefront/islands/SavedList.tsx +1 -1
- package/apps/storefront/src/config/resolver.ts +1 -1
- package/apps/storefront/src/layouts/Layout.astro +1 -1
- package/apps/storefront/src/lib/access/auth/adminEntry.ts +1 -1
- package/apps/storefront/src/lib/access/auth/brokerAssertion.ts +1 -1
- package/apps/storefront/src/lib/access/auth/devAuth.ts +1 -1
- package/apps/storefront/src/lib/access/auth/identityToken.ts +1 -1
- package/apps/storefront/src/lib/access/auth/mcpClientAssertion.ts +1 -1
- package/apps/storefront/src/lib/access/auth/route.ts +1 -1
- package/apps/storefront/src/lib/access/auth/totAccessClient.ts +1 -1
- package/apps/storefront/src/lib/access/dashboard/delegateGate.ts +1 -1
- package/apps/storefront/src/lib/access/dashboard/staffVendorAccess.ts +1 -1
- package/apps/storefront/src/lib/access/shared/developerInvites.ts +1 -1
- package/apps/storefront/src/lib/access/shared/principalGrants.ts +1 -1
- package/apps/storefront/src/lib/access/shared/tenantRouting.ts +1 -1
- package/apps/storefront/src/lib/activity/killSwitch.ts +1 -1
- package/apps/storefront/src/lib/activity/uiActor.ts +1 -1
- package/apps/storefront/src/lib/assets/durableR2Bindings.ts +1 -1
- package/apps/storefront/src/lib/checkout/commerce/checkoutHandoffCorrelation.ts +1 -1
- package/apps/storefront/src/lib/checkout/shared/checkoutCommerce.ts +1 -1
- package/apps/storefront/src/lib/compliance/enforcement.ts +1 -1
- package/apps/storefront/src/lib/compliance/tamper-sentinel-boot.ts +1 -1
- package/apps/storefront/src/lib/compliance/verification/totVerificationClient.ts +1 -1
- package/apps/storefront/src/lib/content/blog/collection.ts +1 -1
- package/apps/storefront/src/lib/content/blog/provider.ts +1 -1
- package/apps/storefront/src/lib/content/shared/heroSlideshow.ts +1 -1
- package/apps/storefront/src/lib/content/shared/homeVisualParity.ts +1 -1
- package/apps/storefront/src/lib/content/shared/rawMarketingHtml.ts +1 -1
- package/apps/storefront/src/lib/developer-experience/dev/cliSignInCode.ts +1 -1
- package/apps/storefront/src/lib/developer-experience/dev/rendezvousBroker.ts +1 -1
- package/apps/storefront/src/lib/developer-experience/http/mcpServiceCall.ts +1 -1
- package/apps/storefront/src/lib/developer-experience/types/cloudflare-workers.d.ts +1 -1
- package/apps/storefront/src/lib/engagement/messaging/messagesClient.ts +1 -1
- package/apps/storefront/src/lib/engagement/newsletter/resendClient.ts +1 -1
- package/apps/storefront/src/lib/engagement/social/tokenStore.ts +1 -1
- package/apps/storefront/src/lib/fulfillment/fulfillmentService.ts +1 -1
- package/apps/storefront/src/lib/integrations/apps/gatewayKeys.ts +1 -1
- package/apps/storefront/src/lib/integrations/apps/registryAccess.ts +1 -1
- package/apps/storefront/src/lib/integrations/webhooks/emit.ts +1 -1
- package/apps/storefront/src/lib/integrations/webhooks/getDispatcher.ts +1 -1
- package/apps/storefront/src/lib/measurement/attribution/orderConversionD1.ts +1 -1
- package/apps/storefront/src/lib/measurement/tracking/d1Control.ts +1 -1
- package/apps/storefront/src/lib/measurement/tracking/interactionCollector.ts +1 -1
- package/apps/storefront/src/lib/measurement/tracking/tenantD1Registry.ts +1 -1
- package/apps/storefront/src/lib/observability/performance/webVitals.ts +1 -1
- package/apps/storefront/src/lib/orders/providers/foxyOrderClient.ts +1 -1
- package/apps/storefront/src/lib/{env.ts → publication/shared/env.ts} +1 -1
- package/apps/storefront/src/lib/{previewReload.ts → publication/shared/previewReload.ts} +1 -1
- package/apps/storefront/src/lib/{url.ts → publication/shared/url.ts} +1 -1
- package/apps/storefront/src/middleware/candidatePin.ts +1 -1
- package/apps/storefront/src/middleware/controlPlane.ts +2 -2
- package/apps/storefront/src/middleware/index.ts +2 -2
- package/apps/storefront/src/middleware/publicRender.ts +2 -2
- package/apps/storefront/src/middleware/renderChain.ts +4 -4
- package/apps/storefront/src/middleware/staticBundle.ts +2 -2
- package/apps/storefront/src/pages/404.astro +1 -1
- package/apps/storefront/src/pages/api/activity.ts +1 -1
- package/apps/storefront/src/pages/api/admin/activity-alerts.ts +1 -1
- package/apps/storefront/src/pages/api/admin/interaction-insights.ts +1 -1
- package/apps/storefront/src/pages/api/admin/orders/[id].ts +1 -1
- package/apps/storefront/src/pages/api/admin/orders.ts +1 -1
- package/apps/storefront/src/pages/api/auth/send.ts +1 -1
- package/apps/storefront/src/pages/api/auth/verify.ts +1 -1
- package/apps/storefront/src/pages/api/blog/[collection]/[slug]/react.ts +1 -1
- package/apps/storefront/src/pages/api/checkout-style.css.ts +1 -1
- package/apps/storefront/src/pages/api/cli/policy.ts +1 -1
- package/apps/storefront/src/pages/api/commerce/final-cart-authorization.ts +1 -1
- package/apps/storefront/src/pages/api/newsletter/[collection]/subscribe.ts +1 -1
- package/apps/storefront/src/pages/api/newsletter/confirm.ts +1 -1
- package/apps/storefront/src/pages/api/newsletter/unsubscribe.ts +2 -2
- package/apps/storefront/src/pages/api/newsletter.ts +2 -2
- package/apps/storefront/src/pages/api/request-access.ts +1 -1
- package/apps/storefront/src/pages/api/rum/vitals.ts +1 -1
- package/apps/storefront/src/pages/api/tracking/interaction.ts +1 -1
- package/apps/storefront/src/pages/auth/login.astro +1 -1
- package/apps/storefront/src/pages/capabilities.astro +1 -1
- package/apps/storefront/src/pages/collections/[handle].astro +2 -2
- package/apps/storefront/src/pages/feed.json.ts +1 -1
- package/apps/storefront/src/pages/index.astro +1 -1
- package/apps/storefront/src/pages/llms.txt.ts +1 -1
- package/apps/storefront/src/pages/products/[handle].astro +1 -1
- package/apps/storefront/src/pages/search-index.json.ts +1 -1
- package/apps/storefront/src/pages/search.astro +1 -1
- package/apps/storefront/src/pages/sitemap.xml.ts +1 -1
- package/apps/storefront/src/pages/tenants/[id]/[...path].ts +1 -1
- package/apps/storefront/test/pipeline/fake-preview-services.ts +2 -2
- package/apps/storefront/test/pipeline/harness.ts +1 -1
- package/apps/storefront/test/pipeline/matrix-faults.ts +4 -4
- package/apps/storefront/test/pipeline/pipeline-host.ts +9 -9
- package/apps/storefront/test/pipeline/publish-kinds.ts +4 -4
- package/apps/storefront/test/pipeline/synthetic-job.ts +3 -3
- package/apps/storefront/test/pipeline-faults/matrix-lib.ts +2 -2
- package/package.json +1 -1
- package/packages/public-runtime/src/hosted-image-media-types.ts +1 -1
- package/packages/public-runtime/src/retention-holds.ts +1 -1
- /package/apps/storefront/src/lib/{d1 → publication/d1}/schema-apps.ts +0 -0
- /package/apps/storefront/src/lib/{email → publication/notifications}/candidateConflictEmail.ts +0 -0
- /package/apps/storefront/src/lib/{basePath.ts → publication/shared/basePath.ts} +0 -0
- /package/apps/storefront/src/lib/{cdnForward.ts → publication/shared/cdnForward.ts} +0 -0
- /package/apps/storefront/src/lib/{edgeCache.ts → publication/shared/edgeCache.ts} +0 -0
- /package/apps/storefront/src/lib/{runtimeEnv.ts → publication/shared/runtimeEnv.ts} +0 -0
|
@@ -17,7 +17,7 @@ import { getTheBuildSettings, listBuildPosts } from "@/lib/content/the-build/pro
|
|
|
17
17
|
import { resolveTheBuildIndexCopy } from "@/lib/content/the-build/pagination.js";
|
|
18
18
|
import { isIndexableHtml, rawPageCanonicalUrl } from "@/lib/content/shared/rawMarketingHtml.js";
|
|
19
19
|
import { compileRouteTierIndexV1 } from "@tot/public-runtime";
|
|
20
|
-
import { readKv } from "@/lib/runtimeEnv.js";
|
|
20
|
+
import { readKv } from "@/lib/publication/shared/runtimeEnv.js";
|
|
21
21
|
import {
|
|
22
22
|
declaresMountedSpacesV1,
|
|
23
23
|
mountedDiscoveryUrlV1,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "@tot/public-runtime";
|
|
44
44
|
import { publicationRecoveryActiveV1, publicationRecoveryKeyV1 } from "@tot/public-runtime/publication-recovery";
|
|
45
45
|
import { readWithImagePreviewRewriteOverlay } from "@tot/public-runtime/image-preview-rewrite-overlay";
|
|
46
|
-
import { readR2, readKv, readEnv } from "@/lib/env";
|
|
46
|
+
import { readR2, readKv, readEnv } from "@/lib/publication/shared/env";
|
|
47
47
|
import {
|
|
48
48
|
resolvePreviewVersionFromCookies,
|
|
49
49
|
resolveSharedPreviewAssetVersion,
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
* A fault fires `times` times (0 = every time); its firing is persisted before it acts.
|
|
23
23
|
*/
|
|
24
24
|
import type { DurableObjectState } from "cloudflare:workers";
|
|
25
|
-
import { ForgeToolError, ForgeTransportError } from "../../src/lib/forge/errors";
|
|
25
|
+
import { ForgeToolError, ForgeTransportError } from "../../src/lib/publication/forge/errors";
|
|
26
26
|
import {
|
|
27
27
|
BUILD_CHECKPOINT_EVERY,
|
|
28
28
|
type MembershipEntry,
|
|
29
29
|
type MergeCandidate,
|
|
30
30
|
type PreviewJobServices,
|
|
31
|
-
} from "../../src/lib/pipeline/preview-jobs";
|
|
31
|
+
} from "../../src/lib/publication/pipeline/preview-jobs";
|
|
32
32
|
|
|
33
33
|
/** Files a fake build materializes. */
|
|
34
34
|
export const FAKE_FILE_COUNT = 250;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Shared helpers for the TenantPipeline harness tests (run inside workerd). */
|
|
2
2
|
import { env } from "cloudflare:test";
|
|
3
3
|
import { expect } from "vitest";
|
|
4
|
-
import type { JobState, JobView, TransitionView } from "../../src/lib/pipeline/job-runner";
|
|
4
|
+
import type { JobState, JobView, TransitionView } from "../../src/lib/publication/pipeline/job-runner";
|
|
5
5
|
import type { TenantPipeline } from "./pipeline-host";
|
|
6
6
|
import { S3_CHUNKS, SYNTHETIC_KIND, type Fault } from "./synthetic-job";
|
|
7
7
|
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
* engine's live record — a kill that leaves them apart with no compensation armed is a finding.
|
|
27
27
|
*/
|
|
28
28
|
import type { DurableObjectState } from "cloudflare:workers";
|
|
29
|
-
import { JobKindRegistry, type JobKindDefinition, type StepContext, type StepDefinition } from "../../src/lib/pipeline/job-runner";
|
|
30
|
-
import type { PreviewJobServices } from "../../src/lib/pipeline/preview-jobs";
|
|
31
|
-
import { readLivePointer } from "../../src/lib/pipeline/publish/live-pointer";
|
|
32
|
-
import { projectionStore, type TestKv } from "../../src/lib/pipeline/publish/publish-test-support";
|
|
29
|
+
import { JobKindRegistry, type JobKindDefinition, type StepContext, type StepDefinition } from "../../src/lib/publication/pipeline/job-runner";
|
|
30
|
+
import type { PreviewJobServices } from "../../src/lib/publication/pipeline/preview-jobs";
|
|
31
|
+
import { readLivePointer } from "../../src/lib/publication/pipeline/publish/live-pointer";
|
|
32
|
+
import { projectionStore, type TestKv } from "../../src/lib/publication/pipeline/publish/publish-test-support";
|
|
33
33
|
|
|
34
34
|
export type MatrixMode = "before" | "after" | "resume" | "effect" | "hold";
|
|
35
35
|
|
|
@@ -8,25 +8,25 @@
|
|
|
8
8
|
* fault matrix's kill points (`./matrix-faults.ts`), inert until a test arms one.
|
|
9
9
|
*/
|
|
10
10
|
import type { DurableObjectState } from "cloudflare:workers";
|
|
11
|
-
import { TenantPipeline as DeployedTenantPipeline } from "../../src/lib/pipeline/tenant-pipeline";
|
|
12
|
-
import { submitIntent, tenantPipeline, type TenantPipelineNamespace } from "../../src/lib/pipeline/intake";
|
|
13
|
-
import { submitPreviewSync } from "../../src/lib/pipeline/preview-sync-intake";
|
|
14
|
-
import { JobKindRegistry, StaleExecutionError, type PipelineIntent } from "../../src/lib/pipeline/job-runner";
|
|
11
|
+
import { TenantPipeline as DeployedTenantPipeline } from "../../src/lib/publication/pipeline/tenant-pipeline";
|
|
12
|
+
import { submitIntent, tenantPipeline, type TenantPipelineNamespace } from "../../src/lib/publication/pipeline/intake";
|
|
13
|
+
import { submitPreviewSync } from "../../src/lib/publication/pipeline/preview-sync-intake";
|
|
14
|
+
import { JobKindRegistry, StaleExecutionError, type PipelineIntent } from "../../src/lib/publication/pipeline/job-runner";
|
|
15
15
|
import { abandonedContexts, syntheticJobKinds, syntheticSpans } from "./synthetic-job";
|
|
16
|
-
import { registerPreviewJobKinds, type PreviewJobTiming } from "../../src/lib/pipeline/preview-jobs";
|
|
16
|
+
import { registerPreviewJobKinds, type PreviewJobTiming } from "../../src/lib/publication/pipeline/preview-jobs";
|
|
17
17
|
import { configureFake, fakePreviewServices, readFakeState, type FakeFault, type FakeState } from "./fake-preview-services";
|
|
18
18
|
import { MatrixFaults, previewServicesWithEffects, type Landed, type MatrixFault } from "./matrix-faults";
|
|
19
|
-
import { kvAbandonServices, legacyOperationKey, registerSeedJobKind, type SeedServices } from "../../src/lib/pipeline/seed-from-legacy";
|
|
19
|
+
import { kvAbandonServices, legacyOperationKey, registerSeedJobKind, type SeedServices } from "../../src/lib/publication/pipeline/seed-from-legacy";
|
|
20
20
|
import { readAssetsPointer } from "@tot/public-runtime";
|
|
21
|
-
import { readLivePointer } from "../../src/lib/pipeline/publish/live-pointer";
|
|
21
|
+
import { readLivePointer } from "../../src/lib/publication/pipeline/publish/live-pointer";
|
|
22
22
|
import {
|
|
23
23
|
listIntegrationRuns,
|
|
24
24
|
listReleaseReceipts,
|
|
25
25
|
readReleaseTruth,
|
|
26
26
|
writeIntegrationRun,
|
|
27
27
|
type ReleaseModelKv,
|
|
28
|
-
} from "../../src/lib/change/store/aggregate-release-store";
|
|
29
|
-
import { projectionStore, seedGreenAggregate, testVersionStore, type TestKv } from "../../src/lib/pipeline/publish/publish-test-support";
|
|
28
|
+
} from "../../src/lib/publication/change/store/aggregate-release-store";
|
|
29
|
+
import { projectionStore, seedGreenAggregate, testVersionStore, type TestKv } from "../../src/lib/publication/pipeline/publish/publish-test-support";
|
|
30
30
|
import {
|
|
31
31
|
armPublishFault,
|
|
32
32
|
firedPublishFaults,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The REAL publish / rollback / hotfix job kinds for the TenantPipeline fault harness, over the
|
|
3
|
-
* stand-in world (`src/lib/pipeline/publish/publish-test-support.ts`: GitHub Actions, CloudFront,
|
|
3
|
+
* stand-in world (`src/lib/publication/pipeline/publish/publish-test-support.ts`: GitHub Actions, CloudFront,
|
|
4
4
|
* the Cloudflare edge, the MCP promotion ledger). Test-only.
|
|
5
5
|
*
|
|
6
6
|
* Every byte of state — the job's KV (release ledger, version store, `live` pointer) and the
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
* SQLite record, projected to the harness KV) — the production writer.
|
|
20
20
|
*/
|
|
21
21
|
import type { DurableObjectState } from "cloudflare:workers";
|
|
22
|
-
import { JobKindRegistry, type JobKindDefinition, type StepDefinition } from "../../src/lib/pipeline/job-runner";
|
|
23
|
-
import { registerPublishJobKinds, type PublishKindTuning, type PublishTiming } from "../../src/lib/pipeline/publish/publish-job";
|
|
22
|
+
import { JobKindRegistry, type JobKindDefinition, type StepDefinition } from "../../src/lib/publication/pipeline/job-runner";
|
|
23
|
+
import { registerPublishJobKinds, type PublishKindTuning, type PublishTiming } from "../../src/lib/publication/pipeline/publish/publish-job";
|
|
24
24
|
import {
|
|
25
25
|
PublishWorld,
|
|
26
26
|
movePreview,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
type CiDispatch,
|
|
30
30
|
type TestKv,
|
|
31
31
|
type WorldDesignation,
|
|
32
|
-
} from "../../src/lib/pipeline/publish/publish-test-support";
|
|
32
|
+
} from "../../src/lib/publication/pipeline/publish/publish-test-support";
|
|
33
33
|
import type { Landed } from "./matrix-faults";
|
|
34
34
|
|
|
35
35
|
type SiteVersionStore = ReturnType<typeof testVersionStore>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A synthetic 5-step job kind for the TenantPipeline fault harness. Test-only: the deployed
|
|
3
|
-
* registry (`src/lib/pipeline/job-kinds.ts`) never contains it.
|
|
3
|
+
* registry (`src/lib/publication/pipeline/job-kinds.ts`) never contains it.
|
|
4
4
|
*
|
|
5
5
|
* Steps s1..s5. s3 works in three chunks and checkpoints after each one. s2 records a commit
|
|
6
6
|
* fact, s4 evidence, s5 the live state, so retried fact writes are exercised too. Every step
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* persisted before it acts so it survives the eviction it causes.
|
|
15
15
|
*/
|
|
16
16
|
import type { DurableObjectState } from "cloudflare:workers";
|
|
17
|
-
import { PipelineRefusal } from "../../src/lib/pipeline/classify";
|
|
17
|
+
import { PipelineRefusal } from "../../src/lib/publication/pipeline/classify";
|
|
18
18
|
import {
|
|
19
19
|
InvalidJobInput,
|
|
20
20
|
JobKindRegistry,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
type StepContext,
|
|
24
24
|
type StepDefinition,
|
|
25
25
|
type StepOutcome,
|
|
26
|
-
} from "../../src/lib/pipeline/job-runner";
|
|
26
|
+
} from "../../src/lib/publication/pipeline/job-runner";
|
|
27
27
|
|
|
28
28
|
export type FaultMode = "throw" | "hang" | "evict" | "refuse" | "crash";
|
|
29
29
|
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* a CI dispatch is completed and its callback delivered, a hotfix's static prebuild is staged and
|
|
12
12
|
* reported. The cell's outcome is then held against the scenario's unfaulted run (`baselineOf`).
|
|
13
13
|
*/
|
|
14
|
-
import type { JobView, TransitionView } from "../../src/lib/pipeline/job-runner";
|
|
14
|
+
import type { JobView, TransitionView } from "../../src/lib/publication/pipeline/job-runner";
|
|
15
15
|
import type { MatrixEffect, MatrixFault, MatrixKill } from "../pipeline/matrix-faults";
|
|
16
|
-
import type { CiDispatch } from "../../src/lib/pipeline/publish/publish-test-support";
|
|
16
|
+
import type { CiDispatch } from "../../src/lib/publication/pipeline/publish/publish-test-support";
|
|
17
17
|
import { pipelineFor, uniqueTenant } from "../pipeline/harness";
|
|
18
18
|
|
|
19
19
|
export type Provider = "worker-r2-pointer" | "s3-overwrite";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tokenoftrust/storefront-runner",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.90",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"description": "World-shareable storefront runner: multi-tenant renderer on Astro/Cloudflare. No control plane.",
|
|
6
6
|
"packageManager": "pnpm@11.9.0",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* These used to be independent literal objects copy-pasted across the S3 and
|
|
5
5
|
* R2 publish paths -- which is exactly how one of them silently fell out of
|
|
6
6
|
* sync (the SVG entry landed in scripts/publish/lib/hosted-original-publication.mjs's
|
|
7
|
-
* EXT map but not apps/storefront/src/lib/change/publication/hostedOriginalPoolStage.ts's
|
|
7
|
+
* EXT map but not apps/storefront/src/lib/publication/change/publication/hostedOriginalPoolStage.ts's
|
|
8
8
|
* MEDIA_TYPES map, so a tenant with a pinned SVG favicon staged to CloudFront but
|
|
9
9
|
* was silently rejected on the Cloudflare/R2 mirror). Importing from here instead
|
|
10
10
|
* of re-declaring the literal is what makes that class of drift impossible, not just
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Retention holds and the pool-GC lease (ADR 0038) — ONE implementation for both stores.
|
|
3
3
|
*
|
|
4
4
|
* The S3 pool GC (`scripts/publish/gc-asset-pool.mjs`) and the R2 bundle GC
|
|
5
|
-
* (`apps/storefront/src/lib/publish/bundleGc.ts`) both import these rules, so the two CDNs cannot
|
|
5
|
+
* (`apps/storefront/src/lib/publication/publish/bundleGc.ts`) both import these rules, so the two CDNs cannot
|
|
6
6
|
* drift on what a hold protects, when it is released, or how a sweep and a publish order their steps.
|
|
7
7
|
*
|
|
8
8
|
* Hold keys (objects in the same bucket as the pool, `assets/<sha256><ext>`):
|
|
File without changes
|
/package/apps/storefront/src/lib/{email → publication/notifications}/candidateConflictEmail.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|