@rulvar/store-conformance 1.246.0 → 1.248.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/index.js +5 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -484,6 +484,10 @@ function journalStoreConformance(mk) {
|
|
|
484
484
|
tenant: "acme",
|
|
485
485
|
account: "prod-billing",
|
|
486
486
|
project: "audit"
|
|
487
|
+
},
|
|
488
|
+
scopeNormalize: {
|
|
489
|
+
version: 1,
|
|
490
|
+
fields: { tenant: ["trim", "lowercase"] }
|
|
487
491
|
}
|
|
488
492
|
}));
|
|
489
493
|
const roundTripped = (await store.listRuns()).find((candidate) => candidate.runId === RUN$3);
|
|
@@ -491,6 +495,7 @@ function journalStoreConformance(mk) {
|
|
|
491
495
|
ensure(roundTripped?.maxInFlightExposureUsd === .07, "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (maxInFlightExposureUsd)");
|
|
492
496
|
ensure(roundTripped?.budgetPolicy === "immutable-lifetime", "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (budgetPolicy)");
|
|
493
497
|
ensure(roundTripped?.scope?.tenant === "acme" && roundTripped.scope.account === "prod-billing" && roundTripped.scope.project === "audit", "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (scope)");
|
|
498
|
+
ensure(roundTripped?.scopeNormalize?.version === 1 && roundTripped.scopeNormalize.fields.tenant?.length === 2 && roundTripped.scopeNormalize.fields.tenant[0] === "trim" && roundTripped.scopeNormalize.fields.tenant[1] === "lowercase", "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (scopeNormalize)");
|
|
494
499
|
ensure(roundTripped?.strictPricing?.maxRatesAgeDays === 30 && roundTripped.strictPricing.allowUnpriced?.[0] === "local:llama", "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (strictPricing)");
|
|
495
500
|
ensure(roundTripped?.segments === 3, "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (segments)");
|
|
496
501
|
ensure(roundTripped?.argsProvided === true && roundTripped.argsHash === "a".repeat(64), "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (argsProvided, argsHash)");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rulvar/store-conformance",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.248.0",
|
|
4
4
|
"description": "Rulvar executable store conformance kit (DEF-4).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@rulvar/core": "1.
|
|
25
|
+
"@rulvar/core": "1.248.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.20.1",
|