vscode-mermaid-preview

Previews Mermaid diagrams

Runs with mockssource: GitHubTypeScriptMITcommit 6e98ec94ffe0

TypeScript, MIT licensed. The project labels itself: diagram, hacktoberfest, mermaid, previews mermaid diagrams, uml and vscode.

vscode-mermaid-preview runs, with stand-ins for the services it depends on. An Argusic agent installed it in 19 minutes and hit 5 errors and fixed every one without help on a clean machine with no GPU, and the whole session was recorded.

With local substitutes for the 5 private @mermaid-chart packages, the project installs via pnpm, compiles and bundles, lints with 0 errors, passes its VS Code integration test (1 passing), packages into vscode-mermaid-preview-2.2.0.vsix which installs and lists in VS Code 1.143.1, and renders a mermaid flowchart to valid SVG through its markdown-preview bundle in headless Chrome.

What the agent ended up with on a clean machine, in its own words. How this is measured

Measured by Argusic on a fresh machine every time. Every number links to its evidence. Argusic Score 92 of 100 (the mean of this project's run scores).

At a glance

verdict
Runs with mocks
Argusic Score
92 / 100
cost of the verifying run
$0.29 (measured)
recorded runs
1
last tested
stars
248
forks
39
open issues
53
watchers
12
size
26 MB
created
last push

Subject data from GitHub, linked at the top of this page, refreshed . Test data by Argusic (CC BY 4.0); every number links to a run page with the full log, the recording, and their sha256 hashes.

What was measured

From the run that decided this verdict. Every line is a recorded value, not an estimate.

Time lost to each failure while testing vscode-mermaid-preview, drawn from the recorded run
Every bar is a failure the agent recorded, with the time it cost. Drawn from this run, not from anywhere else.

What went wrong, in the agent's own words

The agent's own words, worst first, never rewritten into advice.

  • pnpm install 401: 5 private @mermaid-chart/* packages hosted on GitHub Packages require auth8 minutes
  • pnpm test failed: out/test/runTest.js never emitted (compile uses tsc --noEmit; rootDir . emits to out/src/test)5 minutes
  • pnpm not installed and no root for global npm install2 minutes
  • TypeScript 4.9.5 cannot parse modern @types/[email protected] (const type parameters) pulled by public mermaid2 minutes
  • pnpm package crashed: [email protected] requires Node >=20.18.1 (File is not defined on Node 18.19.1)2 minutes
Install time
19 minutes
Cold machine to finish
19 minutes
Errors hit and fixed
5 hit, 5 fixed with no human help
How the result was proved
pnpm test exited 0 (VS Code 1.143.1 Extension Test Suite: 1 passing, 2ms); pnpm package built vscode-mermaid-preview-2.2.0.vsix (148 files, 10.23 MB) and code --list-extensions returned vstirbu.vscode-mermaid-preview; headless Chrome loading dist-preview/bundle.js rendered a flowchart to XML-well-formed SVG with class=flowchart, viewBox='0 0 283.171875 407.90625', aria-roledescription=flowchart-v2 (17764 chars)
Model tokens used
647,310
Exact commit tested
6e98ec94ffe0
Container image
sha256:cdd920bce783

What was not measured

The other half, so you can see exactly how far this evidence goes. A gap is printed as a gap and never filled in.

Peak GPU memory
this ran on a CPU machine, so there was no GPU to sample
Behaviour over a long run
each attempt uses the smallest documented settings and a fixed time budget, so this measures whether it runs, not how it holds up under load
Behaviour against real services
this run was verified against stand-in services only

Watch the session

The whole run, from a clean machine, at the speed it actually happened. Nothing is cut and nothing is sped up.

A recording of attempt 1, run , the attempt that decided the verdict above. The terminal recording it was made from is the evidence, stored with a sha256 fingerprint; the video is a rendering of it. Nothing loads from the video host until you press play.

The end of the recording

The last lines of the terminal session that decided this verdict, exactly as they were recorded.

- TypeScript 4.9.5 failed to parse modern `@types/[email protected]` (`const` type params) pulled b…
- `pnpm test` was broken in-repo: `test` script ran `node ./out/test/runTest.js` but `compile` uses…
- `pnpm package` crashed (`File is not defined`): `[email protected]` requires Node ≥20.18.1, container…
**Verified (all observed):**
- `pnpm install` → all 7 workspace projects resolved, mocks linked.
- `pnpm compile` → tsc + esbuild (`out/extension.js`, 486 KB) + webpack `dist-preview/bundle.js` (1…
- `pnpm --filter ./webview build` → vite built `out/svelte/bundle.js` (2214 modules).
- `pnpm lint` → 0 errors (17 pre-existing style warnings).
- `pnpm test` → exit 0, real VS Code 1.143.1 Extension Test Suite: `1 passing`.
- `pnpm package` → `vscode-mermaid-preview-2.2.0.vsix` (148 files, 10.23 MB); `code --install-exten…
- Headless Chrome (puppeteer) load of the repo's own `dist-preview/bundle.js` rendered a flowchart …
The mock is insufficient only for the fork-specific extras (ELK layout algorithm and the private aw…

Replay the whole session, every command from a clean machine to this point.

How it was tested

One agent, one container, no human help. It installs the project the way its own documentation says to, runs it, and fixes what breaks. Everything below is recorded as it happened: the terminal session, the log and the exact commit. The full method.

Strengths and limits

Measured facts, not opinions. How this is written.

What went well

  • Recovered from all 5 errors without a human stepping in, which says the failures are documented well enough to solve.
  • Licensed MIT, as reported by its host.

What did not, or is not known

  • Only reached a running state against stand-in services, so nothing here proves it works against the real ones.
  • Took 19 minutes to install, slower than the median of the 13 comparable projects Argusic has measured.
  • Measured once so far. A single attempt shows it can run, not that it runs reliably.

Of the 14 diagram projects Argusic has installed and timed, vscode-mermaid-preview was the 14th fastest to reach a running state, and 11 of 14 reached one at all.

Also tested, in the same area

Every one of these was installed and run by Argusic on a clean machine. Nothing appears here that was not tested.

Run history

tested byattemptoutcomescorecost USDwhen
Argusic Runner1/3Runs with mocks92.000.29

Topics (from GitHub)

diagramhacktoberfestmermaidpreviews-mermaid-diagramsumlvscode

Embed the badge

Markdown for the project README. It links back here; terms on the terms page.

[![Tested by Argusic](https://argusic.com/badge/vscode-mermaid-preview.svg)](https://argusic.com/subject/vscode-mermaid-preview)

Questions

Does vscode-mermaid-preview run?
vscode-mermaid-preview runs, with mocks standing in for external services. Argusic installed and launched it on a clean machine in 19 minutes, hitting 5 errors on the way, and recorded the session.
How did Argusic test vscode-mermaid-preview?
On a fresh, disposable machine, with every command recorded and the repository pinned at commit 6e98ec94ffe0. One attempt is recorded, and the full method is on the methodology page.
What did it cost to test vscode-mermaid-preview?
The run that produced this verdict cost $0.29: real compute and model cost, not a list price per million tokens. It is recorded on that run's page.
How long does vscode-mermaid-preview take to install?
19 minutes in the run that decided this verdict, from a clean machine to a running state. That is one measured attempt, not an average.
Does vscode-mermaid-preview need a GPU?
Not to start. Argusic reached a running state on a machine with no GPU.
What goes wrong when installing vscode-mermaid-preview?
5 things broke in the recorded run, and 5 were fixed without human help. Each one, and the time it cost, is listed on this page.
How does vscode-mermaid-preview compare with the alternatives?
Of the 14 diagram projects Argusic has installed and timed, vscode-mermaid-preview was the 14th fastest to reach a running state, and 11 of 14 reached one at all.
Where is the evidence for vscode-mermaid-preview?
The recorded run is on this page, each linking to its full log and terminal recording, stored with a sha256 fingerprint so it cannot be quietly altered.

Discussion