Skip to content

feat(prompts): resource attachments - SOPs carry their templates and reference files (#1013)#1034

Merged
cjimti merged 1 commit into
mainfrom
feat/1013-prompt-attachments
Jul 23, 2026
Merged

feat(prompts): resource attachments - SOPs carry their templates and reference files (#1013)#1034
cjimti merged 1 commit into
mainfrom
feat/1013-prompt-attachments

feat(prompts): resource attachments - SOPs carry their templates and …

e265a50
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 23, 2026 in 0s

89.40% (target 82.00%)

View this Pull Request on Codecov

89.40% (target 82.00%)

Details

Codecov Report

❌ Patch coverage is 89.02821% with 70 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.40%. Comparing base (fb5d153) to head (e265a50).

Files with missing lines Patch % Lines
internal/httpserver/promptversions.go 0.00% 21 Missing ⚠️
pkg/resource/permission.go 0.00% 16 Missing ⚠️
pkg/admin/prompt_handler.go 0.00% 8 Missing ⚠️
internal/platform/promptlayer/listchanged.go 50.00% 5 Missing and 2 partials ⚠️
internal/platform/promptlayer/attachments.go 73.91% 3 Missing and 3 partials ⚠️
pkg/prompt/attachserve/attachserve.go 97.22% 4 Missing and 1 partial ⚠️
pkg/prompt/attachhttp/handler.go 98.41% 2 Missing and 1 partial ⚠️
internal/platform/promptlayer/use.go 77.77% 1 Missing and 1 partial ⚠️
pkg/resource/store.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1034      +/-   ##
==========================================
+ Coverage   89.38%   89.40%   +0.02%     
==========================================
  Files         475      480       +5     
  Lines       52028    52634     +606     
==========================================
+ Hits        46505    47060     +555     
- Misses       3665     3704      +39     
- Partials     1858     1870      +12     

☔ 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.