feat: populate event/document metadata capabilities + tenant-scoped document diagnostics (9.12.0-alpha.1)#4790
Merged
jeremydmiller merged 3 commits intoJun 27, 2026
Conversation
…tore usage descriptors Map MetadataConfig (events) and per-document metadata (documents) onto the new JasperFx.Events/JasperFx descriptor capability blocks so store-aware consumers (CritterWatch) can gate query facets by what the store actually persists. Stream/document common facets keep the descriptor's default true; event + document opt-in columns reflect the live config. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Honour DocumentQueryOptions.TenantId: database-per-tenant stores resolve the tenant's physical database (Tenancy.FindOrCreateDatabase); conjoined-tenancy mappings stay in the default database with a tenant_id filter. Null tenant keeps the prior default-tenant behaviour. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Consumes the JasperFx 2.17.0 metadata-capabilities + DocumentQueryOptions.TenantId APIs this branch implements (EventMetadata/DocumentMetadata population + tenant-scoped QueryDocumentsAsync). Prerelease pending the JasperFx 2.17.0 publish. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
jeremydmiller
deleted the
feat/475-populate-event-document-metadata-capabilities
branch
June 27, 2026 12:23
This was referenced Jun 30, 2026
Merged
This was referenced Jul 9, 2026
This was referenced Jul 20, 2026
This was referenced Jul 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the JasperFx 2.17.0 monitoring-descriptor surfaces for store-aware consoles (CritterWatch). Part of the Event Store / Document Store Explorer work.
Changes
EventStoreUsage.EventMetadata(from the eventMetadataConfig) andDocumentStoreUsage.DocumentMetadata(from per-document metadata) in the store usage descriptors (Wrap DDL scripts generated by WritePatch() with a transaction #475) — so a console can gate query facets by what the store actually captures.IDocumentStoreDiagnostics.QueryDocumentsAsyncviaDocumentQueryOptions.TenantId: database-per-tenant resolves the tenant database (Tenancy.FindOrCreateDatabase); conjoined tenancy filters thetenant_idcolumn; null keeps the prior default-tenant behaviour.JasperFx.*pins → 2.17.0.Depends on
JasperFx 2.17.0 (JasperFx/jasperfx#477) — the abstraction +
DocumentQueryOptions.TenantId. Publish that first; CI here stays red until 2.17.0 is on NuGet.🤖 Generated with Claude Code