Skip to content

v1.1.0

Choose a tag to compare

@StressTestor StressTestor released this 17 Mar 23:55
· 93 commits to main since this release

hardening + new features. the big ones:

github action — drop StressTestor/pr-prism@main into a workflow and it auto-comments on PRs with duplicate matches. no config needed beyond an embedding API key.

prism compare — quick pairwise similarity check between any two PRs/issues. prism compare 42 99 tells you if they're dupes, related, or unrelated.

docker — docker build -t pr-prism . && docker run --rm --env-file .env pr-prism triage

error handling overhaul — every provider error now tells you what broke, why, and how to fix it. "ollama isn't running. start it with: ollama serve" instead of "TypeError: Cannot read properties of undefined"

pipeline extraction — core pipeline functions are now independently importable. import { runScan, runDupes } from "pr-prism" works for building custom integrations.

author cache — merge counts cached in sqlite with 24hr TTL. repeat rank/triage runs skip ~15s of GitHub API calls.

tests — 78 → 105. added coverage for the LLM reviewer, error classification, and pipeline functions.

fixes

  • embedding API response validation (was crashing on malformed responses)
  • LLM reviewer handles empty/refusal responses
  • SQLite busy_timeout for concurrent access
  • Zod and YAML config errors formatted for humans
  • scoring logic deduplicated between cluster and scorer modules
  • npm audit vulnerability resolved
  • unclosed database handles in triage command
  • multi-repo metadata spreading fixed

full changelog: https://github.com/StressTestor/pr-prism/blob/main/CHANGELOG.md