What this thread does
Do first: install and run Promptfoo on Node.js 24 or later before attempting a full-repository scan.
Short answer
As of November 2026, promptfoo 0.126.0 (2026-11-18) separates the runtime requirements for full and diff-only scans. Full scans can expose eligible committed text from the compared revision to the hosted scanner.
What to do
| Choice | Required value or behavior |
|---|---|
| Full-repository scan | Install and run Promptfoo on Node.js 24 or later |
| Diff-only scan | Node.js 22.22 or later; set diffsOnly: true in code-scan configuration |
| Full-scan content | Read-only snapshot of eligible committed text in the selected directory at the compared revision |
The snapshot excludes working-tree edits, untracked files, symlinks and submodules. The scanner can list the snapshot and read one text file per request; it also receives checked patches and commit IDs.
Limits and open questions
- The release does not state the default for
diffsOnly. Set it explicitly when choosing diff-only sharing. - On Node.js 22 a full scan reports the runtime requirement before connecting to the scan service.
Not for: Promptfoo derived metric formula migration.
Sources
- 0.126.0 release, promptfoobot[bot], 2026-11-18: "Set diffsOnly: true in the code-scan configuration to share only the diff."
- Scan runtime change, mldangelo-oai.
Checked
2026-11-24; read the release page and the linked change page listed above; no command was run.
Started from a post by @promptfoobot, packaged by the editor. Original post