Fix QuestPDF license error in UnifiedRecoveryKitPdfService
Details
Add Community license configuration in static constructor, matching
the existing pattern in EmergencyKitPdfService. Without this, QuestPDF
throws on PDF generation since it requires explicit license selection.
Add comprehensive entity_store test coverage (94 tests, 48%→88%)
Details
New test areas covering previously untested functionality:
- Sync ledger: list_all_entity_ids, entities_needing_sync (with
unsynced, modified-after-sync, local-only exclusion), mark_entity_synced,
mark_entities_synced batch, clear_sync_ledger_for_peer,
invalidate_sync_ledger_for_entity
- Storage estimation: estimate_storage_bytes, estimate_storage_by_types
- Cloud sync cursors: save/load/upsert/clear
- Plugin fuel history: record, metrics (avg/peak/count), clear, isolation
- RAG vector index: upsert, update, delete, delete_all, cosine similarity
search, type-filtered search, get_hashes with filter, fetch_all
- Orphan management: find_orphan_entities, delete with cascade, empty
valid_types early return
- Maintenance: checkpoint, run_maintenance orphan cleanup
- DB diagnostics: returns table metadata
- Query filter edge cases: path without slash prefix, missing field,
limit break, include_trashed, bool filter, string-to-number coercion,
string-to-bool coercion
- Compact: write/delete/compact/verify data integrity
Journal v1.9.2: update documentation for rich sections
Details
Updates PLUGIN_CONTEXT.md and DetailedDescription to document all new
section types (text, photos, audio, maps), progressive loading, and
section schema. Covers photo layouts, audio recording + transcription,
map geocoding, and backward compatibility with legacy plain-text entries.
Add cloud module test coverage: credential manager, envelope, sharing, error
Details
New test files and expanded existing ones for privstack-cloud:
- cred_manager_integration_tests.rs: 8 tests covering CredentialManager
lifecycle (caching, refresh, clear, expiry-driven refresh, error propagation)
- envelope_manager_tests.rs: 12 tests covering EnvelopeManager (keypair
state, open_dek roundtrip, seal_dek_for_user via wiremock, create_and_store,
retrieve_and_open)
- sharing_tests.rs: 8 tests covering ShareManager (create, accept, revoke,
get shares, error cases) via wiremock
- error_behavior_tests.rs: expanded from 24 to 37 tests, adding Display
coverage for all CloudError variants and Http variant testing via real
reqwest errors (connect failure, timeout)
- types_tests.rs: added RateLimitConfig, SyncProgress, StsCredentials
optional fields, BatchMeta int deserialization, QuotaInfo string parsing
- compaction_tests.rs: added recovery_key_s3_key format test
Coverage improvements: credential_manager 0%→98%, sharing 0%→72%,
envelope 0%→61%, error 78%→91%. Overall cloud coverage 45%→53%.
Add comprehensive test suite for privstack-datasets (73 tests)
Details
Covers all DatasetStore operations from 0% to near-full coverage:
- CRUD: create_empty, list, get, delete, rename, set_category
- Mutations: insert_row, update_cell, delete_rows, add_column,
drop_column, rename_column, alter_column_type, duplicate,
import_csv_content, execute_mutation (committed + dry-run)
- Queries: query_dataset (pagination, sort, filter), get_columns,
execute_raw_query, aggregate_query, aggregate_query_grouped,
execute_sql_v2 (with source: alias resolution)
- Relations: create, list, delete
- Row-page linking: link, get_page_for_row, get_row_for_page, unlink
- Saved queries: create, update, delete, list, is_view flag
- Views: create, update, delete, list, config roundtrip
- Types: DatasetId format, DatasetColumnType mapping, serde roundtrips,
RelationType, StatementType, FilterOperator, SortDirection
Get notified about new releases