@open-mercato/cli 0.6.6-develop.6481.1.c1f82e3ed6 → 0.6.6-develop.6482.1.6441fffca2
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/.turbo/turbo-build.log +1 -1
- package/dist/agentic/guides/module-facts.json +53 -53
- package/dist/agentic/guides/modules/ai_assistant.md +1 -1
- package/dist/agentic/guides/modules/api_docs.md +1 -1
- package/dist/agentic/guides/modules/api_keys.md +1 -1
- package/dist/agentic/guides/modules/attachments.md +1 -1
- package/dist/agentic/guides/modules/audit_logs.md +1 -1
- package/dist/agentic/guides/modules/auth.md +1 -1
- package/dist/agentic/guides/modules/business_rules.md +1 -1
- package/dist/agentic/guides/modules/catalog.md +1 -1
- package/dist/agentic/guides/modules/channel_gmail.md +1 -1
- package/dist/agentic/guides/modules/channel_imap.md +1 -1
- package/dist/agentic/guides/modules/checkout.md +1 -1
- package/dist/agentic/guides/modules/communication_channels.md +1 -1
- package/dist/agentic/guides/modules/configs.md +1 -1
- package/dist/agentic/guides/modules/content.md +1 -1
- package/dist/agentic/guides/modules/currencies.md +1 -1
- package/dist/agentic/guides/modules/customer_accounts.md +1 -1
- package/dist/agentic/guides/modules/customers.md +1 -1
- package/dist/agentic/guides/modules/dashboards.md +1 -1
- package/dist/agentic/guides/modules/data_sync.md +1 -1
- package/dist/agentic/guides/modules/dictionaries.md +1 -1
- package/dist/agentic/guides/modules/directory.md +1 -1
- package/dist/agentic/guides/modules/entities.md +1 -1
- package/dist/agentic/guides/modules/events.md +1 -1
- package/dist/agentic/guides/modules/feature_toggles.md +1 -1
- package/dist/agentic/guides/modules/gateway_stripe.md +1 -1
- package/dist/agentic/guides/modules/generators.md +1 -1
- package/dist/agentic/guides/modules/inbox_ops.md +1 -1
- package/dist/agentic/guides/modules/integrations.md +1 -1
- package/dist/agentic/guides/modules/messages.md +1 -1
- package/dist/agentic/guides/modules/notifications.md +1 -1
- package/dist/agentic/guides/modules/onboarding.md +1 -1
- package/dist/agentic/guides/modules/payment_gateways.md +1 -1
- package/dist/agentic/guides/modules/perspectives.md +1 -1
- package/dist/agentic/guides/modules/planner.md +1 -1
- package/dist/agentic/guides/modules/portal.md +1 -1
- package/dist/agentic/guides/modules/progress.md +1 -1
- package/dist/agentic/guides/modules/query_index.md +1 -1
- package/dist/agentic/guides/modules/record_locks.md +1 -1
- package/dist/agentic/guides/modules/resources.md +1 -1
- package/dist/agentic/guides/modules/sales.md +1 -1
- package/dist/agentic/guides/modules/scheduler.md +1 -1
- package/dist/agentic/guides/modules/search.md +1 -1
- package/dist/agentic/guides/modules/security.md +1 -1
- package/dist/agentic/guides/modules/shipping_carriers.md +1 -1
- package/dist/agentic/guides/modules/sso.md +1 -1
- package/dist/agentic/guides/modules/staff.md +1 -1
- package/dist/agentic/guides/modules/storage_s3.md +1 -1
- package/dist/agentic/guides/modules/sync_akeneo.md +1 -1
- package/dist/agentic/guides/modules/sync_excel.md +1 -1
- package/dist/agentic/guides/modules/system_status_overlays.md +1 -1
- package/dist/agentic/guides/modules/translations.md +1 -1
- package/dist/agentic/guides/modules/webhooks.md +1 -1
- package/dist/agentic/guides/modules/workflows.md +1 -1
- package/dist/lib/testing/integration.js +16 -0
- package/dist/lib/testing/integration.js.map +2 -2
- package/package.json +5 -5
- package/src/lib/testing/integration.ts +21 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# feature_toggles — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.6-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
|
|
3
3
|
|
|
4
4
|
## Entities
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# gateway_stripe — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.6-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
|
|
3
3
|
|
|
4
4
|
## Entities
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# payment_gateways — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.6-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
|
|
3
3
|
|
|
4
4
|
## Entities
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# shipping_carriers — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.6-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
|
|
3
3
|
|
|
4
4
|
## Entities
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# system_status_overlays — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.6-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
|
|
3
3
|
|
|
4
4
|
## Entities
|
|
5
5
|
|
|
@@ -1439,6 +1439,14 @@ function buildReusableEnvironment(baseUrl, databaseUrl, queueBaseDir, captureScr
|
|
|
1439
1439
|
APP_URL: baseUrl,
|
|
1440
1440
|
NEXT_PUBLIC_APP_URL: baseUrl,
|
|
1441
1441
|
NODE_ENV: "production",
|
|
1442
|
+
// Share the app server's cache backend with the test process and the
|
|
1443
|
+
// queue-drain runners it spawns (drainIntegrationQueue children inherit
|
|
1444
|
+
// this env). Without it those processes default to the in-memory cache
|
|
1445
|
+
// strategy, their invalidateCrudCache calls never reach the app's sqlite
|
|
1446
|
+
// cache, and any test whose drain-runner wins the job race then polls a
|
|
1447
|
+
// stale CRUD response until the TTL (TC-CRM-028/079, TC-SX-001).
|
|
1448
|
+
CACHE_STRATEGY: "sqlite",
|
|
1449
|
+
CACHE_SQLITE_PATH: EPHEMERAL_CACHE_DB_PATH,
|
|
1442
1450
|
JWT_SECRET: process.env.JWT_SECRET ?? "om-ephemeral-integration-jwt-secret",
|
|
1443
1451
|
OM_SECURITY_MFA_SETUP_SECRET: process.env.OM_SECURITY_MFA_SETUP_SECRET ?? "om-ephemeral-integration-mfa-setup-secret",
|
|
1444
1452
|
// Integration probe + tests expect `admin@acme.com / secret` and
|
|
@@ -2590,6 +2598,8 @@ async function startEphemeralEnvironment(options) {
|
|
|
2590
2598
|
const databasePort = databaseContainer.getMappedPort(5432);
|
|
2591
2599
|
const databaseUrl = `postgres://${databaseUser}:${databasePassword}@${databaseHost}:${databasePort}/${databaseName}`;
|
|
2592
2600
|
await rm(EPHEMERAL_CACHE_DB_PATH, { force: true }).catch(() => void 0);
|
|
2601
|
+
await rm(`${EPHEMERAL_CACHE_DB_PATH}-wal`, { force: true }).catch(() => void 0);
|
|
2602
|
+
await rm(`${EPHEMERAL_CACHE_DB_PATH}-shm`, { force: true }).catch(() => void 0);
|
|
2593
2603
|
await rm(EPHEMERAL_QUEUE_BASE_DIR, { recursive: true, force: true }).catch(() => void 0);
|
|
2594
2604
|
const enterpriseModulesFlag = process.env.OM_ENABLE_ENTERPRISE_MODULES ?? "false";
|
|
2595
2605
|
const commandEnvironment = buildEnvironment({
|
|
@@ -2633,6 +2643,12 @@ async function startEphemeralEnvironment(options) {
|
|
|
2633
2643
|
ENABLE_CRUD_API_CACHE: "true",
|
|
2634
2644
|
MOCK_GATEWAY_WEBHOOK_SECRET: "open-mercato-mock-dev-webhook-secret",
|
|
2635
2645
|
MOCK_CARRIER_WEBHOOK_SECRET: "open-mercato-mock-dev-carrier-webhook-secret",
|
|
2646
|
+
// The mock inbound adapter refuses the dev-secret fallback under
|
|
2647
|
+
// NODE_ENV=production; without this the app 400s every mock_inbound
|
|
2648
|
+
// verification and the TC-WEBHOOK suite fails locally (CI exports the
|
|
2649
|
+
// var at the workflow level, masking the gap). Keep in sync with the
|
|
2650
|
+
// Playwright-process env block above.
|
|
2651
|
+
MOCK_INBOUND_WEBHOOK_SECRET: "open-mercato-mock-dev-inbound-webhook-secret",
|
|
2636
2652
|
NEXT_PUBLIC_OM_EXAMPLE_INJECTION_WIDGETS_ENABLED: "true",
|
|
2637
2653
|
NEXT_PUBLIC_UMES_DEVTOOLS: "true",
|
|
2638
2654
|
CI: "true",
|