Skip to content

feat(prompts): versioning, approval provenance, and usage stats#1021

Merged
cjimti merged 1 commit into
mainfrom
feat/1009-prompt-versioning
Jul 22, 2026
Merged

feat(prompts): versioning, approval provenance, and usage stats#1021
cjimti merged 1 commit into
mainfrom
feat/1009-prompt-versioning

feat(prompts): versioning, approval provenance, and usage stats (#1009)

519c5cd
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 22, 2026 in 1s

89.31% (target 82.00%)

View this Pull Request on Codecov

89.31% (target 82.00%)

Details

Codecov Report

❌ Patch coverage is 88.87262% with 76 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.31%. Comparing base (899b882) to head (519c5cd).

Files with missing lines Patch % Lines
pkg/prompt/postgres/version.go 80.67% 20 Missing and 20 partials ⚠️
pkg/prompt/versionhttp/handler.go 94.23% 3 Missing and 3 partials ⚠️
pkg/prompt/versionhttp/usage.go 90.32% 3 Missing and 3 partials ⚠️
internal/platform/promptlayer/listchanged.go 83.33% 4 Missing ⚠️
pkg/audit/postgres/usage.go 78.94% 2 Missing and 2 partials ⚠️
pkg/prompt/postgres/store.go 91.11% 2 Missing and 2 partials ⚠️
internal/platform/promptlayer/tool.go 86.36% 3 Missing ⚠️
pkg/admin/prompt_handler.go 80.00% 2 Missing and 1 partial ⚠️
internal/platform/promptlayer/serve.go 95.65% 1 Missing and 1 partial ⚠️
pkg/platform/platform.go 50.00% 1 Missing and 1 partial ⚠️
... and 2 more
Additional details and impacted files
@@           Coverage Diff            @@
##             main    #1021    +/-   ##
========================================
  Coverage   89.30%   89.31%            
========================================
  Files         458      465     +7     
  Lines       50757    51375   +618     
========================================
+ Hits        45330    45885   +555     
- Misses       3615     3649    +34     
- Partials     1812     1841    +29     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.