Repository navigation
build: pinhole 0.6.0, the painter and viewer build for a browser in CI, VS Code extension (#1069 #1070 #1072) - #1096
Merged
Merged
Conversation
Runs `npm run check:browser-bundle` after the build. It passes once behold depends on the pinhole release whose root entry imports no Node built-in (the chant CLI wrapper at `@intentius/pinhole/chant`); against pinhole 0.5.0 it fails on pinhole's root entry.
Needs pinhole 0.6.0: on 0.5.0 the build stops on the Node built-ins in pinhole's root entry, which INTENTIUS/pinhole#133 removes.
…or the Marketplace and Open VSX (#1072) One command, "behold: Show infrastructure graph", in surfaces/vscode-behold. The reader runs in the extension host with the part of chant that reads Terraform staged in the VSIX, run by the host's own binary (BEHOLD_CHANT_BIN, so no node on PATH). The single-file viewer draws in a webview under a nonce CSP, the panel redraws on save, a card click opens its file, and the viewer now says when it drew or refused a document.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1069
Closes #1070
Part of #1072 (the Marketplace and Open VSX publishers, and an install in Cursor or VSCodium, are maintainer steps)
Batch 7 of the estate-read work in behold (INTENTIUS/chant#5105). INTENTIUS/pinhole 0.6.0 is published (INTENTIUS/pinhole#133, #134), so behold takes
^0.6.0here, and so doespackages/graph. That turns on the CI steps that were waiting for it.#1069: the painter bundles for a browser
npm run check:browser-bundle)./api/graphSVG is byte-identical, and icons still draw. Both were already merged in feat: estate-read batch 1, readGraph, graph document, contract kinds, cuts, plugins, Pages template (#1057 and more) #1089.Once it could run, the check found a regression: #1080's
catalog-draw.tsimportedreference-catalog.ts, and through itchant.tsand Node built-ins, into the painter. The catalog's types andcatalogOfIrnow live insrc/reference-catalog-shape.ts, which imports nothing.reference-catalog.tsre-exports them.#1070: the single-file viewer
file://, and by message under a strict CSP with no violation. The 21 viewer browser tests now run instead of skipping.EventSourceorWebSocket. The check now matches whole identifiers, so an AWS attribute such asEventSourceArnin a painter table is no longer counted.kubernetes/k8s.io'sinfra/(609 cards) is 688 ms, measured in feat: estate-read batch 3, SVG, the GitHub Action, graph.json, MCP view, Grafana, Headlamp, viewer (#1061 #1062 #1071 #1073 #1075 #1084 #1070) #1092.#1072: VS Code extension (
surfaces/vscode-behold/)nodeon PATH, it draws a folder of.tffiles, redraws when a saved file adds a resource, and opens the file when a card is clicked (npm run test:vscodein VS Code 1.146.0).OVSX_PAT), and an install of the same VSIX into Cursor or VSCodium. The publisher accounts are maintainer steps, listed insurfaces/vscode-behold/PUBLISHING.md.Local gate:
just checkpassed (372 files, 5325 tests),npm run build:vieweris within budget, andcheck:browser-bundlepassed.