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