@rulvar/store-conformance 1.244.0 → 1.246.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 +7 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -479,12 +479,18 @@ function journalStoreConformance(mk) {
|
|
|
479
479
|
argsProvided: true,
|
|
480
480
|
argsHash: "a".repeat(64),
|
|
481
481
|
genesis: "g".repeat(26),
|
|
482
|
-
execKeyDerivation: 2
|
|
482
|
+
execKeyDerivation: 2,
|
|
483
|
+
scope: {
|
|
484
|
+
tenant: "acme",
|
|
485
|
+
account: "prod-billing",
|
|
486
|
+
project: "audit"
|
|
487
|
+
}
|
|
483
488
|
}));
|
|
484
489
|
const roundTripped = (await store.listRuns()).find((candidate) => candidate.runId === RUN$3);
|
|
485
490
|
ensure(roundTripped?.budgetUsd === 12.5, "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (budgetUsd)");
|
|
486
491
|
ensure(roundTripped?.maxInFlightExposureUsd === .07, "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (maxInFlightExposureUsd)");
|
|
487
492
|
ensure(roundTripped?.budgetPolicy === "immutable-lifetime", "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (budgetPolicy)");
|
|
493
|
+
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)");
|
|
488
494
|
ensure(roundTripped?.strictPricing?.maxRatesAgeDays === 30 && roundTripped.strictPricing.allowUnpriced?.[0] === "local:llama", "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (strictPricing)");
|
|
489
495
|
ensure(roundTripped?.segments === 3, "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (segments)");
|
|
490
496
|
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.246.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.246.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.20.1",
|