Skip to content

Enhance manifest cache and CLI catalog worker functionality - #136

Merged
reiase merged 3 commits into
mainfrom
feature/fix_dataset_explore
Sep 14, 2026
Merged

reiase merged 3 commits into
mainfrom
feature/fix_dataset_explore

Conversation

@reiase

@reiase reiase commented Sep 13, 2026

Copy link
Copy Markdown
Contributor
  • Introduced a new summary_under method in ManifestCache to aggregate cached manifest observations for a given key prefix, improving data retrieval efficiency.
  • Updated the refresh_mount method to log the number of refreshed entries, enhancing traceability during cache updates.
  • Refactored CLI to run the catalog worker before the async runtime, ensuring proper environment setup for catalog operations.
  • Enhanced request logging in the CLI server to include metrics for catalog operations, improving performance insights.
  • Updated documentation and tests to reflect changes in catalog handling and manifest caching mechanisms.

This commit aims to improve the efficiency and reliability of dataset management and querying in the application.

- Introduced a new `summary_under` method in `ManifestCache` to aggregate cached manifest observations for a given key prefix, improving data retrieval efficiency.
- Updated the `refresh_mount` method to log the number of refreshed entries, enhancing traceability during cache updates.
- Refactored CLI to run the catalog worker before the async runtime, ensuring proper environment setup for catalog operations.
- Enhanced request logging in the CLI server to include metrics for catalog operations, improving performance insights.
- Updated documentation and tests to reflect changes in catalog handling and manifest caching mechanisms.

This commit aims to improve the efficiency and reliability of dataset management and querying in the application.
- Introduced a HashSet to track seen datasets during grant operations, improving efficiency by preventing duplicates in granted and remaining datasets.
- Updated error messages for clarity in the revoke_datasets function, enhancing user feedback.
- Renamed dataset references in tests from "public" to "shared" to reflect changes in dataset naming conventions.
- Added a new RFC document outlining the pChronicle catalog resolution and manifest cache, detailing the caching mechanisms and their impact on dataset management.

This commit aims to improve the performance and clarity of dataset grant handling while providing comprehensive documentation for future reference.
- Added logging for server stderr to capture errors during catalog worker initialization, improving debugging capabilities.
- Refactored the test for anonymous access to ensure proper scoping and validation of access rights, enhancing security checks.
- Introduced a new asynchronous function to assert anonymous access is scoped correctly, improving test clarity and maintainability.

This commit aims to strengthen the reliability of catalog worker tests and enhance error reporting for better troubleshooting.
@reiase
reiase merged commit 10e5eef into main Sep 14, 2026
48 of 51 checks passed
@reiase
reiase deleted the feature/fix_dataset_explore branch September 14, 2026 02:41
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