Skip to content

feat(sdk): ingredient JUMBF archives, archive metadata typing#2007

Open
gpeacock wants to merge 1 commit intomainfrom
gpeacock/archive_ingredients
Open

feat(sdk): ingredient JUMBF archives, archive metadata typing#2007
gpeacock wants to merge 1 commit intomainfrom
gpeacock/archive_ingredients

Conversation

@gpeacock
Copy link
Copy Markdown
Member

@gpeacock gpeacock commented Apr 2, 2026

  • Add Builder write_ingredient_archive(ingredient_id) and add_ingredient_from_archive
  • Tag JUMBF archives with org.contentauth.archive.metadata (archive:type builder|ingredient)
  • Add labels ARCHIVE_METADATA, ARCHIVE_TYPE_BUILDER, ARCHIVE_TYPE_INGREDIENT
  • Add INGREDIENT_ARCHIVE_MIME; to_archive uses builder archive type
  • Internal ArchiveKind + working_store_sign(kind); scoped one-ingredient claim via scoped_for_ingredient_archive
  • Preserve parent claim thumbnail and copy assertions (exclude archive metadata & box hash); merge archive resources on import
  • Reader::active_archive_type for ingredient-archive checks
  • Test round-trip with claim thumbnail and resource merge

- Add  Builder write_ingredient_archive(ingredient_id) and add_ingredient_from_archive
- Tag JUMBF archives with org.contentauth.archive.metadata (archive:type builder|ingredient)
- Add labels ARCHIVE_METADATA, ARCHIVE_TYPE_BUILDER, ARCHIVE_TYPE_INGREDIENT
- Add INGREDIENT_ARCHIVE_MIME; to_archive uses builder archive type
- Internal ArchiveKind + working_store_sign(kind); scoped one-ingredient claim via scoped_for_ingredient_archive
- Preserve parent claim thumbnail and copy assertions (exclude archive metadata & box hash); merge archive resources on import
- Reader::active_archive_type for ingredient-archive checks
- Test round-trip with claim thumbnail and resource merge
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

❌ Patch coverage is 81.19658% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.46%. Comparing base (e0e4cc2) to head (4bc536b).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
sdk/src/builder.rs 79.43% 22 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main    #2007    +/-   ##
========================================
  Coverage   77.45%   77.46%            
========================================
  Files         176      176            
  Lines       44142    44256   +114     
========================================
+ Hits        34192    34284    +92     
- Misses       9950     9972    +22     

☔ View full report in Codecov by Sentry.
📢 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.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Apr 2, 2026

Merging this PR will not alter performance

✅ 32 untouched benchmarks
⏩ 2 skipped benchmarks1


Comparing gpeacock/archive_ingredients (4bc536b) with main (122110d)

Open in CodSpeed

Footnotes

  1. 2 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant