From 4f6c53a3b1c90cc466b95cc3a8e8b59a036c8e8a Mon Sep 17 00:00:00 2001 From: lex00 <121451605+lex00@users.noreply.github.com> Date: Sun, 15 Nov 2026 14:44:43 -0700 Subject: [PATCH] build: behold takes chant 0.124.98, which turns on --discover reads and catalog edges (#1079, #1080) --- .../k8s-workspace/chant.workspace.json | 2 +- .../pulumi-workspace/chant.workspace.json | 2 +- example-choudoufu-estate/chant.workspace.json | 2 +- example-terraform-estate/README.md | 4 +- example-terraform-estate/chant.workspace.json | 2 +- example-three-cloud/chant.workspace.json | 4 +- example-three-cloud/package-lock.json | 48 +++++------ example-three-cloud/package.json | 10 +-- package-lock.json | 84 +++++++++---------- package.json | 16 ++-- packages/graph/package.json | 4 +- src/__fixtures__/read-graph/bare.json | 4 +- src/__fixtures__/read-graph/workspace.json | 10 +-- src/chant-release.ts | 2 +- src/component-status.test.ts | 7 +- src/example-workspaces.test.ts | 4 +- 16 files changed, 105 insertions(+), 100 deletions(-) diff --git a/e2e/fixtures/k8s-workspace/chant.workspace.json b/e2e/fixtures/k8s-workspace/chant.workspace.json index 26521d58..a2481a5f 100644 --- a/e2e/fixtures/k8s-workspace/chant.workspace.json +++ b/e2e/fixtures/k8s-workspace/chant.workspace.json @@ -4,7 +4,7 @@ "pins": [ { "package": "@intentius/chant-lexicon-k8s", - "version": "0.124.58" + "version": "0.124.98" } ], "members": [ diff --git a/e2e/fixtures/pulumi-workspace/chant.workspace.json b/e2e/fixtures/pulumi-workspace/chant.workspace.json index c81bd61c..1fd5857e 100644 --- a/e2e/fixtures/pulumi-workspace/chant.workspace.json +++ b/e2e/fixtures/pulumi-workspace/chant.workspace.json @@ -4,7 +4,7 @@ "pins": [ { "package": "@intentius/chant-lexicon-pulumi", - "version": "0.124.58" + "version": "0.124.98" } ], "members": [ diff --git a/example-choudoufu-estate/chant.workspace.json b/example-choudoufu-estate/chant.workspace.json index 1ac82db6..33feefc5 100644 --- a/example-choudoufu-estate/chant.workspace.json +++ b/example-choudoufu-estate/chant.workspace.json @@ -4,7 +4,7 @@ "pins": [ { "package": "@intentius/chant-lexicon-terraform", - "version": "0.124.58" + "version": "0.124.98" } ], "members": [ diff --git a/example-terraform-estate/README.md b/example-terraform-estate/README.md index 012bcd70..37a6b7e8 100644 --- a/example-terraform-estate/README.md +++ b/example-terraform-estate/README.md @@ -93,7 +93,7 @@ naming both packages, the ranges behold declares, where it looked, and the line that puts them back: ```sh -npm install @intentius/chant-lexicon-terraform@^0.124.58 @cdktn/hcl2json@^0.24.0 +npm install @intentius/chant-lexicon-terraform@^0.124.98 @cdktn/hcl2json@^0.24.0 ``` The estate is a declared chant workspace, and chant reads a member's kind from @@ -105,7 +105,7 @@ copy and sets the copy's pin to that version (#484). It says so as it loads: your own declared workspace is different: install the pinned lexicon in its root, the way `chant workspace check` asks. -The pin in `chant.workspace.json` names chant 0.124.58, the release behold +The pin in `chant.workspace.json` names chant 0.124.98, the release behold depends on (`CHANT_RELEASE` in src/chant-release.ts, behold#1005), so a plain `npm ci` beside behold installs what it pins. That release also carries what promote's dry run on a real root with a `terraform.tfstate` and the drift diff --git a/example-terraform-estate/chant.workspace.json b/example-terraform-estate/chant.workspace.json index ab1f1bce..ca71b3d5 100644 --- a/example-terraform-estate/chant.workspace.json +++ b/example-terraform-estate/chant.workspace.json @@ -4,7 +4,7 @@ "pins": [ { "package": "@intentius/chant-lexicon-terraform", - "version": "0.124.58" + "version": "0.124.98" } ], "members": [ diff --git a/example-three-cloud/chant.workspace.json b/example-three-cloud/chant.workspace.json index 69befb03..3d92ea2a 100644 --- a/example-three-cloud/chant.workspace.json +++ b/example-three-cloud/chant.workspace.json @@ -4,11 +4,11 @@ "pins": [ { "package": "@intentius/chant-lexicon-terraform", - "version": "0.124.58" + "version": "0.124.98" }, { "package": "@intentius/chant-lexicon-pulumi", - "version": "0.124.58" + "version": "0.124.98" } ], "members": [ diff --git a/example-three-cloud/package-lock.json b/example-three-cloud/package-lock.json index ec019100..db19e112 100644 --- a/example-three-cloud/package-lock.json +++ b/example-three-cloud/package-lock.json @@ -6,11 +6,11 @@ "": { "name": "behold-example-three-cloud", "dependencies": { - "@intentius/chant": "^0.124.58", - "@intentius/chant-lexicon-aws": "^0.124.58", - "@intentius/chant-lexicon-gcp": "^0.124.58", - "@intentius/chant-lexicon-pulumi": "^0.124.58", - "@intentius/chant-lexicon-terraform": "^0.124.58" + "@intentius/chant": "^0.124.98", + "@intentius/chant-lexicon-aws": "^0.124.98", + "@intentius/chant-lexicon-gcp": "^0.124.98", + "@intentius/chant-lexicon-pulumi": "^0.124.98", + "@intentius/chant-lexicon-terraform": "^0.124.98" } }, "node_modules/@dagrejs/dagre": { @@ -445,9 +445,9 @@ } }, "node_modules/@intentius/chant": { - "version": "0.124.58", - "resolved": "https://registry.npmjs.org/@intentius/chant/-/chant-0.124.58.tgz", - "integrity": "sha512-v8I7QJLwQem3F2fWU2hTmZYUVqjBB4BaI+bNAjDOHy1i0Tm1wFmS6Mubp489WQXTKlL25xdOEHB/KTnPq6V2/g==", + "version": "0.124.98", + "resolved": "https://registry.npmjs.org/@intentius/chant/-/chant-0.124.98.tgz", + "integrity": "sha512-Tf1RKkcmrtRd8JOVs73ZxHsXBlnGzpvqat4LvwOBU0zKwKXtd8GaBvJPPoL4qsPbRIu18wpP+q8wr3QcW6N+og==", "license": "Apache-2.0", "dependencies": { "@dagrejs/dagre": "^3.0.0", @@ -486,22 +486,22 @@ } }, "node_modules/@intentius/chant-lexicon-aws": { - "version": "0.124.58", - "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-aws/-/chant-lexicon-aws-0.124.58.tgz", - "integrity": "sha512-b0xQlfDvj4t5CDuvxqXPWmCuzypleDyQ+cKj4NZGsvvd2nUtqR1ZvhIeg8LiXiFUeKFxTjnbYu10W4h6LYCNOQ==", + "version": "0.124.98", + "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-aws/-/chant-lexicon-aws-0.124.98.tgz", + "integrity": "sha512-8Mi66mguNuN1+oGl7Y4eQUXZvuO2kZHOzvy8HoV+QezLkHqcrLI6RfHGIYJmhGz3oDeLGR7LZUE3OU418khg9w==", "license": "Apache-2.0", "dependencies": { "fflate": "^0.8.2", "js-yaml": "^4.3.1" }, "peerDependencies": { - "@intentius/chant": "^0.124.58" + "@intentius/chant": "^0.124.98" } }, "node_modules/@intentius/chant-lexicon-gcp": { - "version": "0.124.58", - "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-gcp/-/chant-lexicon-gcp-0.124.58.tgz", - "integrity": "sha512-cf3sLKBFtk48469uUin2KiJgRZ0H4obaxJKYD7Fl5+eudRz4u1pVcldyQLjwjmi5I7UPr62Ew8dD020lPw6SSw==", + "version": "0.124.98", + "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-gcp/-/chant-lexicon-gcp-0.124.98.tgz", + "integrity": "sha512-mqKQJbO8Zucych1v2u35iWkflBkBZt3uutk4MfhFukH3PzGBRDl/7CtCBRT+dKbqbYxxhp6XvXeSCLj/Znb/WQ==", "license": "Apache-2.0", "dependencies": { "@types/js-yaml": "^4.0.9", @@ -509,26 +509,26 @@ "js-yaml": "^4.3.1" }, "peerDependencies": { - "@intentius/chant": "^0.124.58" + "@intentius/chant": "^0.124.98" } }, "node_modules/@intentius/chant-lexicon-pulumi": { - "version": "0.124.58", - "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-pulumi/-/chant-lexicon-pulumi-0.124.58.tgz", - "integrity": "sha512-fWQ1i0V48t6j+rSmHRG3YrM46km4BUPsK6yiJXYqdDkgp7tDnfGQuPNuxW06Gpo7XBK/bmjUE4LNtVBHq6lZbQ==", + "version": "0.124.98", + "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-pulumi/-/chant-lexicon-pulumi-0.124.98.tgz", + "integrity": "sha512-I/oTgB0qF0P+9pXHTyFUsHMbt7Lza9cptFr9h5bTmj87w+wo/TGFz1MPSbacmdIvhJGc1cLEpEgedfMjZjNxLQ==", "license": "Apache-2.0", "peerDependencies": { - "@intentius/chant": "^0.124.58", + "@intentius/chant": "^0.124.98", "zod": "^4.3.6" } }, "node_modules/@intentius/chant-lexicon-terraform": { - "version": "0.124.58", - "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-terraform/-/chant-lexicon-terraform-0.124.58.tgz", - "integrity": "sha512-pJVymn/IOwRA6Oial//h7tKTXt5aiAs+4TM+riaczyr3oVoO1CMtKdaz7goSpMc9PeHXnBpDn6E6+d9AYcsi9Q==", + "version": "0.124.98", + "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-terraform/-/chant-lexicon-terraform-0.124.98.tgz", + "integrity": "sha512-X5/JRKWT/EQctpeonIzNqPEhpn9QmxsKTg7BtOy89pxaurP/ktAE1VIwjAv/uDSGOG8zwNcbSfmZpQ/S4h+DYA==", "license": "Apache-2.0", "peerDependencies": { - "@intentius/chant": "^0.124.58", + "@intentius/chant": "^0.124.98", "zod": "^4.3.6" } }, diff --git a/example-three-cloud/package.json b/example-three-cloud/package.json index 5dd25281..c5a7c69e 100644 --- a/example-three-cloud/package.json +++ b/example-three-cloud/package.json @@ -9,10 +9,10 @@ "change-set": "tsx scripts/front-door.ts plan --out .front-door/change-set.json" }, "dependencies": { - "@intentius/chant": "^0.124.58", - "@intentius/chant-lexicon-aws": "^0.124.58", - "@intentius/chant-lexicon-gcp": "^0.124.58", - "@intentius/chant-lexicon-pulumi": "^0.124.58", - "@intentius/chant-lexicon-terraform": "^0.124.58" + "@intentius/chant": "^0.124.98", + "@intentius/chant-lexicon-aws": "^0.124.98", + "@intentius/chant-lexicon-gcp": "^0.124.98", + "@intentius/chant-lexicon-pulumi": "^0.124.98", + "@intentius/chant-lexicon-terraform": "^0.124.98" } } diff --git a/package-lock.json b/package-lock.json index af7634c4..2436f848 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,9 +11,9 @@ "dependencies": { "@cdktn/hcl2json": "^0.24.0", "@hono/node-server": "^2.0.5", - "@intentius/chant": "^0.124.58", - "@intentius/chant-k8s-client": "^0.124.58", - "@intentius/chant-lexicon-terraform": "^0.124.58", + "@intentius/chant": "^0.124.98", + "@intentius/chant-k8s-client": "^0.124.98", + "@intentius/chant-lexicon-terraform": "^0.124.98", "@intentius/pinhole": "^0.6.0", "@modelcontextprotocol/sdk": "1.30.1", "ajv": "^8.20.0", @@ -23,11 +23,11 @@ "behold": "bin/behold.js" }, "devDependencies": { - "@intentius/chant-lexicon-k8s": "0.124.58", - "@intentius/chant-lexicon-otel": "0.124.58", - "@intentius/chant-lexicon-prometheus": "0.124.58", - "@intentius/chant-lexicon-pulumi": "^0.124.58", - "@intentius/chant-lexicon-sql": "^0.124.58", + "@intentius/chant-lexicon-k8s": "0.124.98", + "@intentius/chant-lexicon-otel": "0.124.98", + "@intentius/chant-lexicon-prometheus": "0.124.98", + "@intentius/chant-lexicon-pulumi": "^0.124.98", + "@intentius/chant-lexicon-sql": "^0.124.98", "@types/node": "^26.4.1", "esbuild": "^0.28.0", "playwright": "^1.62.1", @@ -501,9 +501,9 @@ } }, "node_modules/@intentius/chant": { - "version": "0.124.58", - "resolved": "https://registry.npmjs.org/@intentius/chant/-/chant-0.124.58.tgz", - "integrity": "sha512-v8I7QJLwQem3F2fWU2hTmZYUVqjBB4BaI+bNAjDOHy1i0Tm1wFmS6Mubp489WQXTKlL25xdOEHB/KTnPq6V2/g==", + "version": "0.124.98", + "resolved": "https://registry.npmjs.org/@intentius/chant/-/chant-0.124.98.tgz", + "integrity": "sha512-Tf1RKkcmrtRd8JOVs73ZxHsXBlnGzpvqat4LvwOBU0zKwKXtd8GaBvJPPoL4qsPbRIu18wpP+q8wr3QcW6N+og==", "license": "Apache-2.0", "dependencies": { "@dagrejs/dagre": "^3.0.0", @@ -542,31 +542,31 @@ } }, "node_modules/@intentius/chant-k8s-client": { - "version": "0.124.58", - "resolved": "https://registry.npmjs.org/@intentius/chant-k8s-client/-/chant-k8s-client-0.124.58.tgz", - "integrity": "sha512-pUImg+JQysPkZ2HJZYpZaGfmc8wuT1Y2jBFxVoDEMI4l2rs9twBcRCHPLbV2UZkRHPjpDYbk2DVHA6EzzffZ4g==", + "version": "0.124.98", + "resolved": "https://registry.npmjs.org/@intentius/chant-k8s-client/-/chant-k8s-client-0.124.98.tgz", + "integrity": "sha512-V/Iq1jItvQXcXwv9h9gkon5Ra8ARN4CkBOKp17FsexGmGq2Tfhh/uWnsBYq0QffFcaRxbXIXCbFIQGOlh6GI5g==", "license": "Apache-2.0", "dependencies": { "@kubernetes/client-node": "^2.0.0" } }, "node_modules/@intentius/chant-lexicon-k8s": { - "version": "0.124.58", - "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-k8s/-/chant-lexicon-k8s-0.124.58.tgz", - "integrity": "sha512-lPSc+16WVrc68BXBRuPdiHpXcH3g0Bt3LS59XnY8AHKcUi000MvFjoSCV/u+LehLPshlZmDUVSSOIYF9i8wyhg==", + "version": "0.124.98", + "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-k8s/-/chant-lexicon-k8s-0.124.98.tgz", + "integrity": "sha512-h+/av8Zmf0j1UsLlrzja85U7qoYWpzV2JYJUc9jCysPRoF2XvagpYBb4MFIwOqmqdLIfIUQpLxdNc7ywzR8bSg==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@intentius/chant-lexicon-otel": "^0.124.58", - "@intentius/chant-lexicon-prometheus": "^0.124.58", + "@intentius/chant-lexicon-otel": "^0.124.98", + "@intentius/chant-lexicon-prometheus": "^0.124.98", "@types/js-yaml": "^4.0.9", "js-yaml": "^4.3.1" }, "optionalDependencies": { - "@intentius/chant-k8s-client": "^0.124.58" + "@intentius/chant-k8s-client": "^0.124.98" }, "peerDependencies": { - "@intentius/chant": "^0.124.58", + "@intentius/chant": "^0.124.98", "zod": "^4.3.6" } }, @@ -594,9 +594,9 @@ } }, "node_modules/@intentius/chant-lexicon-otel": { - "version": "0.124.58", - "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-otel/-/chant-lexicon-otel-0.124.58.tgz", - "integrity": "sha512-eKo67Yke4Dfij8DUP+T50HP7xzWRvWM52BhGk0bgzw9XoiCL3IOGN6I3+J6aOykdTKTMIVcG/nmgyAK4gbHQcA==", + "version": "0.124.98", + "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-otel/-/chant-lexicon-otel-0.124.98.tgz", + "integrity": "sha512-iSXdo6yaqezJk7GbJdVfA9Km18DPGC0o0r3nbcZ4jrx1rXEHyz6phM9gWstUWdxNQFoZL0nhpuHNzUJw/XEbMg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -604,7 +604,7 @@ "zod": "^4.3.6" }, "peerDependencies": { - "@intentius/chant": "^0.124.58" + "@intentius/chant": "^0.124.98" } }, "node_modules/@intentius/chant-lexicon-otel/node_modules/js-yaml": { @@ -631,13 +631,13 @@ } }, "node_modules/@intentius/chant-lexicon-prometheus": { - "version": "0.124.58", - "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-prometheus/-/chant-lexicon-prometheus-0.124.58.tgz", - "integrity": "sha512-ODod8neq1ZYM4RgB1NdsL4Z/0cZa0o33OELyJnHKHQ+uft8vpBcYilOEst1qxXsDg4Fjsu0Yevxtii7dsLDPgg==", + "version": "0.124.98", + "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-prometheus/-/chant-lexicon-prometheus-0.124.98.tgz", + "integrity": "sha512-vXU564A+x3q+rT2xDt213fxEQbME9h1RpQg99KNimZJ+ofTmBXxmgwDdIHSRiTWiNWQt22o3VIKiFKdUaaqafg==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@intentius/chant-lexicon-otel": "^0.124.58", + "@intentius/chant-lexicon-otel": "^0.124.98", "@lezer/highlight": "^1.2.4", "@lezer/lr": "^1.4.10", "@prometheus-io/lezer-promql": "0.315.0", @@ -645,7 +645,7 @@ "zod": "^4.3.6" }, "peerDependencies": { - "@intentius/chant": "^0.124.58" + "@intentius/chant": "^0.124.98" } }, "node_modules/@intentius/chant-lexicon-prometheus/node_modules/js-yaml": { @@ -672,20 +672,20 @@ } }, "node_modules/@intentius/chant-lexicon-pulumi": { - "version": "0.124.58", - "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-pulumi/-/chant-lexicon-pulumi-0.124.58.tgz", - "integrity": "sha512-fWQ1i0V48t6j+rSmHRG3YrM46km4BUPsK6yiJXYqdDkgp7tDnfGQuPNuxW06Gpo7XBK/bmjUE4LNtVBHq6lZbQ==", + "version": "0.124.98", + "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-pulumi/-/chant-lexicon-pulumi-0.124.98.tgz", + "integrity": "sha512-I/oTgB0qF0P+9pXHTyFUsHMbt7Lza9cptFr9h5bTmj87w+wo/TGFz1MPSbacmdIvhJGc1cLEpEgedfMjZjNxLQ==", "dev": true, "license": "Apache-2.0", "peerDependencies": { - "@intentius/chant": "^0.124.58", + "@intentius/chant": "^0.124.98", "zod": "^4.3.6" } }, "node_modules/@intentius/chant-lexicon-sql": { - "version": "0.124.58", - "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-sql/-/chant-lexicon-sql-0.124.58.tgz", - "integrity": "sha512-Lccqexe4IIBnIZ63MNbnycyfto14GXyC3UhOGmeqsLIO3b64jFnDO27VXBhO4Qqp7u1naiirCdu+t9wSrt/0+g==", + "version": "0.124.98", + "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-sql/-/chant-lexicon-sql-0.124.98.tgz", + "integrity": "sha512-1hR+eattQZsY+rIUDuWe0p791VtUqeNbMVeEpS+ZXKucpMCCwukwsbrqLg0/SfyU1o4iXsVumVb0+aj1Tn0W8g==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -693,16 +693,16 @@ "zod": "^4.3.6" }, "peerDependencies": { - "@intentius/chant": "^0.124.58" + "@intentius/chant": "^0.124.98" } }, "node_modules/@intentius/chant-lexicon-terraform": { - "version": "0.124.58", - "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-terraform/-/chant-lexicon-terraform-0.124.58.tgz", - "integrity": "sha512-pJVymn/IOwRA6Oial//h7tKTXt5aiAs+4TM+riaczyr3oVoO1CMtKdaz7goSpMc9PeHXnBpDn6E6+d9AYcsi9Q==", + "version": "0.124.98", + "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-terraform/-/chant-lexicon-terraform-0.124.98.tgz", + "integrity": "sha512-X5/JRKWT/EQctpeonIzNqPEhpn9QmxsKTg7BtOy89pxaurP/ktAE1VIwjAv/uDSGOG8zwNcbSfmZpQ/S4h+DYA==", "license": "Apache-2.0", "peerDependencies": { - "@intentius/chant": "^0.124.58", + "@intentius/chant": "^0.124.98", "zod": "^4.3.6" } }, diff --git a/package.json b/package.json index 56842bbd..9aec2fe5 100644 --- a/package.json +++ b/package.json @@ -58,9 +58,9 @@ "dependencies": { "@cdktn/hcl2json": "^0.24.0", "@hono/node-server": "^2.0.5", - "@intentius/chant": "^0.124.58", - "@intentius/chant-k8s-client": "^0.124.58", - "@intentius/chant-lexicon-terraform": "^0.124.58", + "@intentius/chant": "^0.124.98", + "@intentius/chant-k8s-client": "^0.124.98", + "@intentius/chant-lexicon-terraform": "^0.124.98", "@intentius/pinhole": "^0.6.0", "@modelcontextprotocol/sdk": "1.30.1", "ajv": "^8.20.0", @@ -79,11 +79,11 @@ } }, "devDependencies": { - "@intentius/chant-lexicon-k8s": "0.124.58", - "@intentius/chant-lexicon-otel": "0.124.58", - "@intentius/chant-lexicon-prometheus": "0.124.58", - "@intentius/chant-lexicon-pulumi": "^0.124.58", - "@intentius/chant-lexicon-sql": "^0.124.58", + "@intentius/chant-lexicon-k8s": "0.124.98", + "@intentius/chant-lexicon-otel": "0.124.98", + "@intentius/chant-lexicon-prometheus": "0.124.98", + "@intentius/chant-lexicon-pulumi": "^0.124.98", + "@intentius/chant-lexicon-sql": "^0.124.98", "@types/node": "^26.4.1", "esbuild": "^0.28.0", "playwright": "^1.62.1", diff --git a/packages/graph/package.json b/packages/graph/package.json index 92a5e44f..62e99cef 100644 --- a/packages/graph/package.json +++ b/packages/graph/package.json @@ -21,8 +21,8 @@ }, "dependencies": { "@cdktn/hcl2json": "^0.24.0", - "@intentius/chant": "^0.124.58", - "@intentius/chant-lexicon-terraform": "^0.124.58", + "@intentius/chant": "^0.124.98", + "@intentius/chant-lexicon-terraform": "^0.124.98", "@intentius/pinhole": "^0.6.0", "ajv": "^8.20.0" }, diff --git a/src/__fixtures__/read-graph/bare.json b/src/__fixtures__/read-graph/bare.json index 02d87f7b..d315239a 100644 --- a/src/__fixtures__/read-graph/bare.json +++ b/src/__fixtures__/read-graph/bare.json @@ -8,7 +8,7 @@ }, "attributes": { "status": 200, - "sha256": "a818f7e5bff32603ed163a9702dacda831d81553e691c96de1fcff58f0ed7de1", + "sha256": "498386cf4c1de358e1c12f14e377d5d03f862f5b258081051836462bb2f49797", "nodes": 36, "edges": 36, "note": "2 roots — prod, platform; skipped backends (no resource, data or module block — nothing to draw), modules/service (called as a module, never applied on its own); showing the estate — 4 terraform blocks, 1 provider not drawn · alike: 28 cards stacked into 5, 2 cards carry a count instead of its lines (click a stack to see its cards)" @@ -29,7 +29,7 @@ }, "logical": { "status": 200, - "sha256": "70c9ac818584290747f19d7817cc6d9fca340844f3e8e47809c8b6670e2cf222", + "sha256": "2a34311f7367bdaedd13dd16c9505ed7581d814e9e538700fd611059b34acf51", "nodes": 37, "edges": 31, "note": "2 roots — prod, platform; skipped backends (no resource, data or module block — nothing to draw), modules/service (called as a module, never applied on its own); showing the estate — 13 variables, 9 outputs, 4 terraform blocks, 1 provider not drawn (outputs and variables appear at detail 3 — ⌘K → attributes)" diff --git a/src/__fixtures__/read-graph/workspace.json b/src/__fixtures__/read-graph/workspace.json index a34992a3..597afd9a 100644 --- a/src/__fixtures__/read-graph/workspace.json +++ b/src/__fixtures__/read-graph/workspace.json @@ -1,35 +1,35 @@ { "resources": { "status": 200, - "sha256": "a820de4a11220eeee960cfda14b0bfd31016c2b092127c818436e829b5cebc99", + "sha256": "89da19dd0b6cd7817efa5f3be044daace6547b08976e6496452de6f14a7d7890", "nodes": 30, "edges": 27, "note": "1 root — prod; 1 root — platform; showing the estate — 13 variables, 9 outputs, 4 terraform blocks, 1 provider not drawn (outputs and variables appear at detail 3 — ⌘K → attributes) · alike: 10 cards stacked into 3 (click a stack to see its cards)" }, "attributes": { "status": 200, - "sha256": "b62edf00e70697d02310ca89e6b1921a5ac5a6a16f10c7bd6851d55efaf292d1", + "sha256": "b1068540ba6d4b8952204c2288c05a565b67e0c620c9c5af9041a9c26b556cc0", "nodes": 36, "edges": 36, "note": "1 root — prod; 1 root — platform; showing the estate — 4 terraform blocks, 1 provider not drawn · alike: 28 cards stacked into 5, 2 cards carry a count instead of its lines (click a stack to see its cards)" }, "every-card": { "status": 200, - "sha256": "c290183f104011cb0e4b0c6f1e2a58cca18514b45f06f3eb468038ff0977053a", + "sha256": "981e9cbabc61f777929901fe9c91afaf16f8ce4153eb7a21bce5ccc26df3001a", "nodes": 37, "edges": 31, "note": "1 root — prod; 1 root — platform; showing the estate — 13 variables, 9 outputs, 4 terraform blocks, 1 provider not drawn (outputs and variables appear at detail 3 — ⌘K → attributes)" }, "collapsed": { "status": 200, - "sha256": "a820de4a11220eeee960cfda14b0bfd31016c2b092127c818436e829b5cebc99", + "sha256": "89da19dd0b6cd7817efa5f3be044daace6547b08976e6496452de6f14a7d7890", "nodes": 30, "edges": 27, "note": "1 root — prod; 1 root — platform; showing the estate — 13 variables, 9 outputs, 4 terraform blocks, 1 provider not drawn (outputs and variables appear at detail 3 — ⌘K → attributes) · alike: 10 cards stacked into 3 (click a stack to see its cards)" }, "logical": { "status": 200, - "sha256": "e303cdb9ea6157695a16829efbc8841773a98c13c8b46bb73f37c80a2948c0b7", + "sha256": "19bebb3264bb23b3f089d9026d707dd3246f72190379998af8486008da6a4342", "nodes": 37, "edges": 31, "note": "1 root — prod; 1 root — platform; showing the estate — 13 variables, 9 outputs, 4 terraform blocks, 1 provider not drawn (outputs and variables appear at detail 3 — ⌘K → attributes)" diff --git a/src/chant-release.ts b/src/chant-release.ts index d9f0eb9d..ea2627e9 100644 --- a/src/chant-release.ts +++ b/src/chant-release.ts @@ -27,7 +27,7 @@ * `npx tsx scripts/chant-release.ts --check` fails when a written file * disagrees with this line (src/chant-release.test.ts runs it). */ -export const CHANT_RELEASE = { version: "0.124.58", released: true } as const; +export const CHANT_RELEASE = { version: "0.124.98", released: true } as const; /** The newest chant on npm, the range a dependency keeps while {@link CHANT_RELEASE} is unreleased. */ export const PUBLISHED_CHANT = "0.124.58"; diff --git a/src/component-status.test.ts b/src/component-status.test.ts index f1e00da4..51e63618 100644 --- a/src/component-status.test.ts +++ b/src/component-status.test.ts @@ -710,6 +710,11 @@ describe("pins chant's ReleaseRecord key union (chant#2045)", () => { // The ^0.124.58 bump (chant#4595): the version a release is listed by in the // release catalog. Not read here; behold passes the record through. releaseVersion: true, + // The ^0.124.98 bump: a run that found its inputs unchanged names the release + // it matched (`unchangedSince`), and the inputs chant normalized before it + // compared them (`normalizedInputs`). Not read here; behold passes the record through. + unchangedSince: true, + normalizedInputs: true, }; // Every key chant's ReleaseRecord declares must appear in KEYS: the day the @@ -722,7 +727,7 @@ describe("pins chant's ReleaseRecord key union (chant#2045)", () => { it("the pinned key list is the one this test expects — runOrigin is read as chant's own type", () => { expect(Object.keys(KEYS).sort()).toEqual([ - "actor", "admission", "approver", "component", "digest", "digestKind", "env", "flags", "gitSha", "inputDigest", "manifestDigest", "profileOverride", "promotedFrom", "redeploys", "releaseDigest", "releaseVersion", "restores", "runId", "runOrigin", "timestamp", "version", + "actor", "admission", "approver", "component", "digest", "digestKind", "env", "flags", "gitSha", "inputDigest", "manifestDigest", "normalizedInputs", "profileOverride", "promotedFrom", "redeploys", "releaseDigest", "releaseVersion", "restores", "runId", "runOrigin", "timestamp", "unchangedSince", "version", ]); }); }); diff --git a/src/example-workspaces.test.ts b/src/example-workspaces.test.ts index 490bb859..6d3b8ea3 100644 --- a/src/example-workspaces.test.ts +++ b/src/example-workspaces.test.ts @@ -57,7 +57,7 @@ describe("the bundled estates' workspace declarations", () => { // Terraform output of that name. behold#1000: the aws site is a Pulumi // program on plunge, its output a stack output of that name. behold#1005: // the two lexicons that supply those kinds are pinned by package at the - // chant release CHANT_RELEASE names (src/chant-release.ts, 0.124.58, which carries the + // chant release CHANT_RELEASE names (src/chant-release.ts, 0.124.98, which carries the // first release with the pulumi lexicon), and the example's package.json // depends on that release of each. it("example-three-cloud declares dns and three clouds on three engines, each cloud's output named like a dns parameter", () => { @@ -66,7 +66,7 @@ describe("the bundled estates' workspace declarations", () => { expect(decl.members).toEqual(["dns", "aws", "azure", "gcp"].map((n) => ({ name: n, dir: n, kind: kind[n] }))); const PULUMI_LEXICON = "@intentius/chant-lexicon-pulumi"; const deps = (JSON.parse(readFileSync(join(REPO, "example-three-cloud", "package.json"), "utf8")) as { dependencies: Record }).dependencies; - expect(CHANT_RELEASE).toEqual({ version: "0.124.58", released: true }); + expect(CHANT_RELEASE).toEqual({ version: "0.124.98", released: true }); expect(decl.pins).toEqual([{ package: TERRAFORM_LEXICON, version: CHANT_RELEASE.version }, { package: PULUMI_LEXICON, version: CHANT_RELEASE.version }]); expect(deps[TERRAFORM_LEXICON]).toBe(`^${CHANT_RELEASE.version}`); expect(deps[PULUMI_LEXICON]).toBe(`^${CHANT_RELEASE.version}`);