Skip to content

NAKSHA-33: Batch PostgreSQL writes and automate partition maintenance - #692

Merged
gunplar merged 130 commits into
v3from
v3-naksha-33
Nov 27, 2026
Merged

gunplar merged 130 commits into
v3from
v3-naksha-33

Conversation

@xeus2001

Copy link
Copy Markdown
Member

Summary

  • Batch PostgreSQL mutations using UNNEST/CTEs and ordered HEAD locking, preserving identity, history, and request atomicity.
  • Serialize admin bootstrap and automate partition maintenance with pg_cron, retaining synchronous partition coverage on the write path.
  • Reduce tuple-encoding overhead with native member references and collection-owned member layouts.
  • Align local and GitHub JVM/Node checks with ./gradlew cleanAndTest, update the Naksha README and logo, and bump the project to 3.0.0-beta.57.

Verification

  • Local CI-equivalent run on PostgreSQL v18.6-rc1: 1,856 JVM and 349 Node tests passed with no failures; JaCoCo coverage generated. Known failing Node cases are explicitly quarantined.
  • ./gradlew assemble --no-build-cache passed after the beta.57 version bump. Hosted PR verification remains pending.

Rollout

Merge this PR into v3 before merging the downstream GitLab CI template change. Validate an untagged v3 build before publishing the release.

NAKSHA-33

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
…r numeric identifiers.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
…search, and adding partman support.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
…d collection and catalog number calculation.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
…orage.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
…abaseImpl

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
… postgres specific class (PgTx)

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
…failure to NakshaError.

Deprecated the exception as it is not JSON serializable. We have a
NakshaException as carrier exception, when we want to transport
exceptions, we should not serialize them, not even try to.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
…latform threading support.

The local primary IP is used as emergency fallback to appId and appName,
so that when it is not initialized by an app, at least some value is
available. This avoids plenty of issues when using Naksha class to get
instances of storages, where these values are less of importance.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
…NakshaFeature.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
…thod from Id

We now compare catalog id, collection id, then feature id to order
writes, so that now everything uses the same algorithm. Remove
dictionary support as it was never used and we do not support any more
(we have JBON books as replacement, better designed, to be supported
soon). Removed validate, it need to be done in the storage, it is not
reliable here. We as well removed not used purge method (clients should
use NakshaCollection).

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
xeus2001 and others added 10 commits November 23, 2026 16:40
Replace IMemberEncoder and the model routing trie with a declarative builder, privately copied flat reference plans and incremental encoder traversal. Reuse content-checked per-MemberList snapshots without caching payloads or coercion types; preserve raw edits, book positions, prefix/root behavior, dictionary reset and deferred missing-slot errors.

Migrate callback tests to actual reference emission, add cache invalidation/publication and JavaScript int32 input guards, and record passing JVM/PLV8/cron validation plus measured allocation reductions and mixed throughput. Reproduce the expanded Node float failures against the saved baseline rather than attributing them to this rewrite.

Save this user-approved checkpoint before quieter unattended CPU/throughput experiments. Keep beta.55, preserve the user's delegation-hint commit, and perform no deployment or upgrade work.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Check cached member-reference layouts during the required extraction pass instead of rereading all member proxies afterward. Preserve current coercion, readonly processor contracts, actual book positions, complete entry/count checks and cold-layout validation.

Use checked overlap-safe byte-array copies for encoder compaction and fresh tuple assembly, accounting for mapped-view offsets without changing Binary accessor contracts or JBON bytes. Add boundary, Unicode, offset-sentinel and cache-mutation coverage; verify a 40-case byte corpus against the saved checkpoint.

Record four quiet interleaved comparisons showing about 31% less small-tuple encoding CPU and 61-62% less large-tuple CPU, with consistent large INSERT/UPDATE gains and disclosed mixed cases. Verified forced metadata/JVM/JS compilation, 1852 ordinary JVM cases, 85 isolated PostgreSQL cases, focused JVM/Node tests and real cron workers. Keep beta.55 and leave the next idea for discussion.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Compile privately copied member names, types, paths and native reference plans once per PgCollection descriptor. Fill independently owned values arrays through fixed logical slots, and share immutable name lookups without per-feature index-array or map construction.

Route storage encoding and PostgreSQL row reconstruction through explicit member/book/column mappings. Preserve split tuple numbers, ordinal conversion, null slots, tombstone identity, processor values and undeclared content. Copy array-backed books for batch/history metadata updates and invalidate cached successor numbers on nextVersion changes; retain content checks for mutable raw declarations and leave local/global dictionaries unchanged.

Add IBook ownership, lookup, hash-collision, snapshot, byte-parity, action and row-mapping coverage. Resolve independent-review findings for required member types and optional/virtual Origin. Verify forced metadata/JVM/JS compilation, 1863 ordinary JVM cases, 85 isolated PostgreSQL cases, focused JVM/Node tests and actual cron workers.

Record four serial comparisons: small-tuple encoding CPU falls 44-46% and allocation falls by 2352 bytes per feature; large encoding improves only 1-2.5%. Whole-request CPU/allocation improves across measured cases, with noisy throughput and existing JS/PLV8 coverage limits disclosed. Keep beta.55 and perform no migration, deployment or server-setting change.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Advance the Gradle project version, generated NakshaVersion.CURRENT and OpenAPI version to 3.0.0-beta.56 for the user to publish manually. Include the saved tuple CPU and collection-layout optimization checkpoints in the branch handoff.

Keep adminVersion at beta.55 and minimum compatible admin at beta.53 because this version-only handoff adds no SQL installation change. Generate versions explicitly before assembly; verify assemble without build cache, 10 focused JVM version/layout tests and the assembled model JAR version resource. Defer further optimizations and perform no artifact publication, release tag, deployment or database upgrade work.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: phmai <phuc.mai@here.com>
…AKSHA_TEST_PSQL_DB_URL

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Make cleanAndTest compile the project and run fresh JVM and Node checks through the pinned Gradle wrapper. Require a disposable shared PostgreSQL URL and keep fixtures on that database without dropping it or honoring local URL files during aggregate runs. Quarantine only Node methods that failed in the unfiltered baseline.

Run GitHub PR checks with the PostgreSQL 18.6-rc1 service and publish JVM and Node test reports. Align managed test image pins and refresh the README with Naksha branding, a Mercator map logo, and reproducible test setup and environment guidance.

The local CI-equivalent run on 18.6-rc1 passed 1,856 JVM and 349 Node tests and produced JaCoCo coverage. A fresh-container TCP login verified the final disposable password.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
Set the project, generated library version, and OpenAPI version to 3.0.0-beta.57. Leave PostgreSQL admin compatibility unchanged.

Remove the NAKSHA-33 working files from the checkout after archiving them in the sibling AI workspace. Keep contributor-facing test setup and isolated-suite recipes in docs/testing.md. Update the branch-local AI guidance to prefer a sibling .ai ticket directory and fall back to a checkout-local ai ticket directory.

Verified version generation, assembly without the build cache, and the archive inventory, links, and SQL includes.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
@github-actions

Copy link
Copy Markdown

Code Coverage

Overall Project 63.55% -2.8% 🍏
Files changed 73.12% 🍏

File Coverage
MemberBookLayout.kt 100% 🍏
JbMemberReferencePlan.kt 100% 🍏
StandardMembers.kt 100% 🍏
NakshaAdminCollections.kt 100% 🍏
XyzIndices.kt 100% 🍏
NakshaAdminCatalogs.kt 100% 🍏
NakshaCatalogCollection.kt 100% 🍏
StandardIndices.kt 100% 🍏
NakshaTxCatalogByName.kt 100% 🍏
NakshaAdminTransactions.kt 100% 🍏
NakshaAdminBooks.kt 100% 🍏
RequestTypesUtil.java 100% 🍏
PlatformIterator.kt 100% 🍏
IdAttribute.kt 100% 🍏
Attribute.kt 100% 🍏
PgCatalog.kt 100% 🍏
PgOrder.kt 100% 🍏
NewTuple.kt 100% 🍏
XyzMembers.kt 99.74% 🍏
PgNames.kt 98.96% 🍏
TupleMemberReferenceLayout.kt 98.49% -1.51% 🍏
MockValidationHandler.java 98.19% 🍏
IdTextType.kt 97.95% -2.05% 🍏
AuthorizationEventHandler.java 97.94% 🍏
EndorsementHandler.java 97.12% 🍏
MemberValuesBook.kt 97.09% -2.91% 🍏
PgCollectionCreateOptions.kt 96.34% 🍏
AdminFeatureEventHandler.java 96.1% 🍏
PgSchemaName.kt 95.92% 🍏
Attributable.jvm.kt 95.65% -4.35% 🍏
PgTableName.kt 95.56% 🍏
PgRowsColumn.kt 94.39% 🍏
CompiledMemberLayout.kt 94.17% -5.83% 🍏
JbMemberReferenceBuilder.kt 93.52% -6.48% 🍏
GeneratingStorage.java 93.45% -1.31% 🍏
PgColumn.kt 91.85% 🍏
PgPartitions.kt 91.77% 🍏
NakshaAdmin.kt 91.74% -8.26% 🍏
MemberRetain.kt 91.67% -8.33% 🍏
PgQueryWhereClause.kt 91.43% 🍏
PgMaintenance.kt 91.43% 🍏
NakshaVersion.kt 90.36% 🍏
PgBatchMutation.kt 90.29% -9.71% 🍏
WriteFeatureApiTask.java 89.93% 🍏
PgWriter.kt 88.45% 🍏
SessionOptions.kt 87.82% 🍏
Action.kt 87.1% -1.38% 🍏
IntHandlerForEventHandlerConfigs.java 86.85% 🍏
AbstractStorage.kt 86.44% -13.56% 🍏
XyzProcessors.kt 86.22% -11.81% 🍏
TupleHeapCache.jvm.kt 85.64% 🍏
AttributeMap.jvm.kt 85.12% -14.88% 🍏
HttpXyzErrorResponse.java 84.91% -3.77% 🍏
LibPsql.kt 84.84% 🍏
PgLocalConfig.kt 84.69% 🍏
DefaultStorageHandler.java 84.35% 🍏
PgCollection.kt 84.16% 🍏
NakshaError.kt 83.82% -2.94% 🍏
Write.kt 81.34% -14.74% 🍏
PgReader.kt 81.33% 🍏
PgIndex.kt 81.09% 🍏
IntHandlerForStorageConfigs.java 80.23% 🍏
MapProxy.kt 79.4% -1.51% 🍏
SyncService.java 79.23% -5.8% 🍏
NHSpaceStorageWriter.java 78.93% -3.2% 🍏
PgQueryWhereBuilder.kt 77.55% 🍏
NakshaFeature.kt 76.99% -3.13% 🍏
PgInstanceConfig.kt 76.69% 🍏
NakshaException.jvm.kt 76.6% 🍏
PgQueryBuilder.kt 76.44% 🍏
NHSpaceStorage.java 76.11% -1.67% 🍏
PgUtil.kt 75.9% 🍏
PgConfig.kt 75.17% 🍏
PgRows.kt 74.73% 🍏
JbEncoder2.kt 74.07% -0.86% 🍏
IWriteSession.kt 74.07% 🍏
PgCache.kt 73.82% -26.18% 🍏
PgSession.kt 73.66% 🍏
MemberType.kt 72.94% -1.42% 🍏
TupleNumber.kt 71% -5.06% 🍏
Id.kt 70.21% -12.42% 🍏
PlatformMapApi.kt 69.57% -13.04% 🍏
Platform.kt 69.31% -0.52% 🍏
StreamOnlyStorage.java 69.05% -3.57% 🍏
FeatureTuple.kt 66.88% -12.34% 🍏
NakshaCollection.kt 66.31% -16.21% 🍏
PgIndexName.kt 65.83% 🍏
PgWrite.kt 65.57% 🍏
ReadFeatures.kt 64.21% 🍏
MemberList.kt 63.04% -36.96% 🍏
JvmList.kt 62.61% 🍏
NakshaStorage.kt 61.22% -1.36% 🍏
PgDatabaseName.kt 60% 🍏
NakshaHttpVerticle.java 59.81% 🍏
Int64Member.kt 59.52% -14.29% 🍏
TupleCache.kt 58.63% -0.15% 🍏
Index.kt 58.42% -12.79% 🍏
GeneratingSession.java 57.58% 🍏
PlatformUtil.kt 56.66% -22.99% 🍏
NakshaTxCollection.kt 56.05% -11.05% 🍏
Naksha.kt 55.01% -0.16% 🍏
PgDatabase.kt 53.99% 🍏
Tuple.kt 53.11% -8.54% 🍏
NakshaTxCatalog.kt 53.09% -32.47% 🍏
NHAdminStorage.java 52.13% -4.26% 🍏
NakshaException.kt 52% -9.6% 🍏
NakshaCatalog.kt 51.15% -12.64% 🍏
NakshaContext.kt 50.34% 🍏
OrderBy.kt 47.64% 🍏
NakshaTx.kt 47.51% -10.45% 🍏
IStorage.kt 46.64% 🍏
PgTxn.kt 42.86% 🍏
ListProxy.kt 40.89% -10.31% 🍏
Member.kt 39.39% -12.94% 🍏
TupleNumberMember.kt 39.2% -13.6% 🍏
SpatialMember.kt 39.2% -13.6% 🍏
StringMember.kt 39.2% -13.6% 🍏
NakshaHub.java 38.53% 🍏
TagMapMember.kt 37.6% -17.6% 🍏
IReadSession.kt 37.1% 🍏
PlatformListApi.kt 35.85% -8.73% 🍏
ByteArrayMember.kt 35.2% -17.6% 🍏
Int32Member.kt 33.33% -15.91% 🍏
ReadTransactions.kt 32.61% -65.22% 🍏
XyzNs.kt 30.43% -4.09% 🍏
PgQuery.kt 23.35% 🍏
PgCluster.kt 17.86% -82.14% 🍏
TagListMember.kt 16.8% -17.6% 🍏
Float64Member.kt 16.67% -18.25% 🍏
PgPlatform.kt 11.76% 🍏
LibBase.kt 3.47% -73.61% 🍏
StreamFeature.kt 0% 🍏
Notification.kt 0% -8.62% 🍏
Int8Member.kt 0% -22.22% 🍏
MemberAndIndices.kt 0% 🍏
Float32Member.kt 0% -21.83% 🍏
Int16Member.kt 0% -22.22% 🍏
BoolMember.kt 0% -18.9% 🍏
PgWriterInsert.kt 0% 🍏
PgWriterUpdate.kt 0% 🍏
PgSessionReadConn.kt 0% 🍏
PgWriterDelete.kt 0% 🍏
PgWriterUpsert.kt 0% 🍏
NakshaDatabaseImpl.kt 0% 🍏
TupleNumberBinaryArray.kt 0% -0.48% 🍏

gunplar
gunplar previously approved these changes Nov 25, 2026
Use the configured PostgreSQL database as a control connection and allocate a fresh numbered database per test invocation. Use a persistent counter, pad names to at least three digits, skip occupied names, and retain every run database for inspection after either success or failure. Direct test tasks keep their existing behavior.

Standardize the shared local test container on host port 15432 in the documentation and Gradle setup hint. Two consecutive CI-profile runs on the same container each passed 1,856 JVM and 349 Node tests. Verified database retention, collision handling, and padding beyond 999.

Signed-off-by: Alexander Lowey-Weber <alexander.weber@here.com>
@github-actions

This comment was marked as off-topic.

@hirenkp2000 hirenkp2000 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed following submodules:

  • here-naksha-app-service
  • here-naksha-lib-handlers
  • here-naksha-lib-hub
  • here-naksha-lib-view
  • here-naksha-storage-http

createHandler(nakshaClient, "CollectionModification/setup/historySpace/create_event_handler.json");
createSpace(nakshaClient, "CollectionModification/setup/historySpace/create_space.json");

// History mode is a creation-time setting, so the OFF case uses its own collection and activity view.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good-to-have comment. Not mandatory to block MR.
From code readability perspective, we can create JSON files for spaces and handlers and refer them here instead of adding 20+ lines of code (similar to how existing spaces/handlers are setup in setup() function)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion. I left the setup inline in this PR to keep the follow-up focused on the behavioral fixes. Moving the space and handler definitions into JSON fixtures would be a useful readability cleanup.

# Conflicts:
#	here-naksha-lib-model/src/commonMain/kotlin/naksha/model/Tuple.kt
Signed-off-by: phmai <phuc.mai@here.com>
@github-actions

Copy link
Copy Markdown

Code Coverage

Overall Project 63.72% -2.77% 🍏
Files changed 73.11% 🍏

File Coverage
MemberBookLayout.kt 100% 🍏
JbMemberReferencePlan.kt 100% 🍏
StandardMembers.kt 100% 🍏
NakshaAdminCollections.kt 100% 🍏
XyzIndices.kt 100% 🍏
NakshaAdminCatalogs.kt 100% 🍏
NakshaCatalogCollection.kt 100% 🍏
StandardIndices.kt 100% 🍏
NakshaTxCatalogByName.kt 100% 🍏
NakshaAdminTransactions.kt 100% 🍏
NakshaAdminBooks.kt 100% 🍏
RequestTypesUtil.java 100% 🍏
PlatformIterator.kt 100% 🍏
IdAttribute.kt 100% 🍏
Attribute.kt 100% 🍏
PgCatalog.kt 100% 🍏
PgOrder.kt 100% 🍏
NewTuple.kt 100% 🍏
XyzMembers.kt 99.74% 🍏
PgNames.kt 98.96% 🍏
TupleMemberReferenceLayout.kt 98.49% -1.51% 🍏
MockValidationHandler.java 98.19% 🍏
IdTextType.kt 97.95% -2.05% 🍏
AuthorizationEventHandler.java 97.94% 🍏
EndorsementHandler.java 97.12% 🍏
MemberValuesBook.kt 97.09% -2.91% 🍏
PgCollectionCreateOptions.kt 96.34% 🍏
AdminFeatureEventHandler.java 96.1% 🍏
PgSchemaName.kt 95.92% 🍏
Attributable.jvm.kt 95.65% -4.35% 🍏
PgTableName.kt 95.56% 🍏
PgRowsColumn.kt 94.39% 🍏
CompiledMemberLayout.kt 94.17% -5.83% 🍏
JbMemberReferenceBuilder.kt 93.52% -6.48% 🍏
GeneratingStorage.java 93.45% -1.31% 🍏
PgColumn.kt 91.85% 🍏
PgPartitions.kt 91.77% 🍏
NakshaAdmin.kt 91.74% -8.26% 🍏
MemberRetain.kt 91.67% -8.33% 🍏
PgQueryWhereClause.kt 91.43% 🍏
PgMaintenance.kt 91.43% 🍏
NakshaVersion.kt 90.36% 🍏
Action.kt 90.32% -1.38% 🍏
PgBatchMutation.kt 90.29% -9.71% 🍏
WriteFeatureApiTask.java 89.93% 🍏
PgWriter.kt 88.45% 🍏
SessionOptions.kt 87.82% 🍏
IntHandlerForEventHandlerConfigs.java 86.85% 🍏
AbstractStorage.kt 86.44% -13.56% 🍏
XyzProcessors.kt 86.22% -11.81% 🍏
TupleHeapCache.jvm.kt 85.64% 🍏
AttributeMap.jvm.kt 85.12% -14.88% 🍏
HttpXyzErrorResponse.java 84.91% -3.77% 🍏
LibPsql.kt 84.84% 🍏
PgLocalConfig.kt 84.69% 🍏
DefaultStorageHandler.java 84.35% 🍏
PgCollection.kt 84.16% 🍏
NakshaError.kt 83.82% -2.94% 🍏
Write.kt 81.34% -14.74% 🍏
PgReader.kt 81.33% 🍏
PgIndex.kt 81.09% 🍏
IntHandlerForStorageConfigs.java 80.23% 🍏
MapProxy.kt 79.4% -1.51% 🍏
SyncService.java 79.23% -5.8% 🍏
NHSpaceStorageWriter.java 78.93% -3.2% 🍏
PgQueryWhereBuilder.kt 77.55% 🍏
NakshaFeature.kt 76.99% -3.13% 🍏
PgInstanceConfig.kt 76.69% 🍏
NakshaException.jvm.kt 76.6% 🍏
PgQueryBuilder.kt 76.44% 🍏
StreamV2.kt 76.43% -0.6% 🍏
NHSpaceStorage.java 76.11% -1.67% 🍏
PgUtil.kt 75.9% 🍏
PgConfig.kt 75.17% 🍏
PgRows.kt 74.73% 🍏
StreamReadSessionV2.kt 74.4% 🍏
JbEncoder2.kt 74.07% -0.86% 🍏
IWriteSession.kt 74.07% 🍏
PgCache.kt 73.82% -26.18% 🍏
PgSession.kt 73.66% 🍏
MemberType.kt 72.94% -1.42% 🍏
TupleNumber.kt 71% -5.06% 🍏
Id.kt 70.21% -12.42% 🍏
PlatformMapApi.kt 69.57% -13.04% 🍏
Platform.kt 69.31% -0.52% 🍏
StreamOnlyStorage.java 69.05% -3.57% 🍏
FeatureTuple.kt 66.88% -12.34% 🍏
NakshaCollection.kt 66.31% -16.21% 🍏
PgIndexName.kt 65.83% 🍏
PgWrite.kt 65.57% 🍏
ReadFeatures.kt 64.21% 🍏
MemberList.kt 63.04% -36.96% 🍏
JvmList.kt 62.61% 🍏
NakshaStorage.kt 61.22% -1.36% 🍏
PgDatabaseName.kt 60% 🍏
NakshaHttpVerticle.java 59.81% 🍏
Int64Member.kt 59.52% -14.29% 🍏
TupleCache.kt 58.63% -0.15% 🍏
Index.kt 58.42% -12.79% 🍏
GeneratingSession.java 57.58% 🍏
PlatformUtil.kt 56.66% -22.99% 🍏
NakshaTxCollection.kt 56.05% -11.05% 🍏
Naksha.kt 55.01% -0.16% 🍏
PgDatabase.kt 53.99% 🍏
Tuple.kt 53.11% -8.54% 🍏
NakshaTxCatalog.kt 53.09% -32.47% 🍏
NHAdminStorage.java 52.13% -4.26% 🍏
NakshaException.kt 52% -9.6% 🍏
NakshaCatalog.kt 51.15% -12.64% 🍏
NakshaContext.kt 50.34% 🍏
OrderBy.kt 47.64% 🍏
NakshaTx.kt 47.51% -10.45% 🍏
IStorage.kt 46.64% 🍏
PgTxn.kt 42.86% 🍏
ListProxy.kt 40.89% -10.31% 🍏
Member.kt 39.39% -12.94% 🍏
TupleNumberMember.kt 39.2% -13.6% 🍏
SpatialMember.kt 39.2% -13.6% 🍏
StringMember.kt 39.2% -13.6% 🍏
NakshaHub.java 38.53% 🍏
TagMapMember.kt 37.6% -17.6% 🍏
IReadSession.kt 37.1% 🍏
PlatformListApi.kt 35.85% -8.73% 🍏
ByteArrayMember.kt 35.2% -17.6% 🍏
Int32Member.kt 33.33% -15.91% 🍏
ReadTransactions.kt 32.61% -65.22% 🍏
XyzNs.kt 30.43% -4.09% 🍏
PgQuery.kt 23.35% 🍏
PgCluster.kt 17.86% -82.14% 🍏
TagListMember.kt 16.8% -17.6% 🍏
Float64Member.kt 16.67% -18.25% 🍏
PgPlatform.kt 11.76% 🍏
LibBase.kt 3.47% -73.61% 🍏
StreamFeature.kt 0% 🍏
Notification.kt 0% -8.62% 🍏
Int8Member.kt 0% -22.22% 🍏
MemberAndIndices.kt 0% 🍏
Float32Member.kt 0% -21.83% 🍏
Int16Member.kt 0% -22.22% 🍏
BoolMember.kt 0% -18.9% 🍏
PgWriterInsert.kt 0% 🍏
PgWriterUpdate.kt 0% 🍏
PgSessionReadConn.kt 0% 🍏
PgWriterDelete.kt 0% 🍏
PgWriterUpsert.kt 0% 🍏
NakshaDatabaseImpl.kt 0% 🍏
TupleNumberBinaryArray.kt 0% -0.48% 🍏

hirenkp2000
hirenkp2000 previously approved these changes Nov 26, 2026
@github-actions

Copy link
Copy Markdown

Code Coverage

Overall Project 63.74% -2.76% 🍏
Files changed 73.19% 🍏

File Coverage
MemberBookLayout.kt 100% 🍏
JbMemberReferencePlan.kt 100% 🍏
StandardMembers.kt 100% 🍏
NakshaAdminCollections.kt 100% 🍏
XyzIndices.kt 100% 🍏
NakshaAdminCatalogs.kt 100% 🍏
NakshaCatalogCollection.kt 100% 🍏
StandardIndices.kt 100% 🍏
NakshaTxCatalogByName.kt 100% 🍏
NakshaAdminTransactions.kt 100% 🍏
NakshaAdminBooks.kt 100% 🍏
RequestTypesUtil.java 100% 🍏
PlatformIterator.kt 100% 🍏
IdAttribute.kt 100% 🍏
Attribute.kt 100% 🍏
PgCatalog.kt 100% 🍏
PgOrder.kt 100% 🍏
NewTuple.kt 100% 🍏
XyzMembers.kt 99.74% 🍏
PgNames.kt 98.96% 🍏
TupleMemberReferenceLayout.kt 98.49% -1.51% 🍏
MockValidationHandler.java 98.19% 🍏
IdTextType.kt 97.95% -2.05% 🍏
AuthorizationEventHandler.java 97.94% 🍏
EndorsementHandler.java 97.12% 🍏
MemberValuesBook.kt 97.09% -2.91% 🍏
PgCollectionCreateOptions.kt 96.34% 🍏
AdminFeatureEventHandler.java 96.1% 🍏
PgSchemaName.kt 95.92% 🍏
Attributable.jvm.kt 95.65% -4.35% 🍏
PgTableName.kt 95.56% 🍏
PgRowsColumn.kt 94.39% 🍏
CompiledMemberLayout.kt 94.17% -5.83% 🍏
JbMemberReferenceBuilder.kt 93.52% -6.48% 🍏
GeneratingStorage.java 93.45% -1.31% 🍏
PgColumn.kt 91.85% 🍏
PgPartitions.kt 91.77% 🍏
NakshaAdmin.kt 91.74% -8.26% 🍏
MemberRetain.kt 91.67% -8.33% 🍏
PgQueryWhereClause.kt 91.43% 🍏
PgMaintenance.kt 91.43% 🍏
NakshaVersion.kt 90.36% 🍏
Action.kt 90.32% -1.38% 🍏
PgBatchMutation.kt 90.29% -9.71% 🍏
WriteFeatureApiTask.java 89.93% 🍏
PgWriter.kt 88.5% 🍏
SessionOptions.kt 87.82% 🍏
IntHandlerForEventHandlerConfigs.java 86.85% 🍏
AbstractStorage.kt 86.44% -13.56% 🍏
XyzProcessors.kt 86.22% -11.81% 🍏
TupleHeapCache.jvm.kt 85.64% 🍏
AttributeMap.jvm.kt 85.12% -14.88% 🍏
HttpXyzErrorResponse.java 84.91% -3.77% 🍏
LibPsql.kt 84.84% 🍏
PgLocalConfig.kt 84.69% 🍏
DefaultStorageHandler.java 84.35% 🍏
PgCollection.kt 84.16% 🍏
NakshaError.kt 83.82% -2.94% 🍏
Write.kt 82.26% -13.83% 🍏
PgReader.kt 81.33% 🍏
PgIndex.kt 81.09% 🍏
IntHandlerForStorageConfigs.java 80.23% 🍏
MapProxy.kt 79.4% -1.51% 🍏
PgInstanceConfig.kt 79.38% 🍏
SyncService.java 79.23% -5.8% 🍏
NHSpaceStorageWriter.java 78.93% -3.2% 🍏
PgQueryWhereBuilder.kt 77.55% 🍏
NakshaFeature.kt 76.99% -3.13% 🍏
NakshaException.jvm.kt 76.6% 🍏
PgQueryBuilder.kt 76.44% 🍏
StreamV2.kt 76.43% -0.6% 🍏
NHSpaceStorage.java 76.11% -1.67% 🍏
PgUtil.kt 75.9% 🍏
PgConfig.kt 75.06% 🍏
PgRows.kt 74.73% 🍏
StreamReadSessionV2.kt 74.4% 🍏
JbEncoder2.kt 74.07% -0.86% 🍏
IWriteSession.kt 74.07% 🍏
PgCache.kt 73.82% -26.18% 🍏
PgSession.kt 73.66% 🍏
MemberType.kt 72.94% -1.42% 🍏
TupleNumber.kt 71% -5.06% 🍏
Id.kt 70.21% -12.42% 🍏
PlatformMapApi.kt 69.57% -13.04% 🍏
Platform.kt 69.07% -0.52% 🍏
StreamOnlyStorage.java 69.05% -3.57% 🍏
PgWrite.kt 67.45% 🍏
FeatureTuple.kt 66.88% -12.34% 🍏
NakshaCollection.kt 66.31% -16.21% 🍏
PgIndexName.kt 65.83% 🍏
ReadFeatures.kt 64.21% 🍏
MemberList.kt 63.04% -36.96% 🍏
JvmList.kt 62.61% 🍏
NakshaStorage.kt 61.22% -1.36% 🍏
PgDatabaseName.kt 60% 🍏
NakshaHttpVerticle.java 59.81% 🍏
Int64Member.kt 59.52% -14.29% 🍏
TupleCache.kt 58.63% -0.15% 🍏
Index.kt 58.42% -12.79% 🍏
GeneratingSession.java 57.58% 🍏
PlatformUtil.kt 56.66% -22.99% 🍏
NakshaTxCollection.kt 56.05% -11.05% 🍏
Naksha.kt 55.01% -0.16% 🍏
PgDatabase.kt 53.99% 🍏
Tuple.kt 53.11% -8.54% 🍏
NakshaTxCatalog.kt 53.09% -32.47% 🍏
NHAdminStorage.java 52.13% -4.26% 🍏
NakshaException.kt 52% -9.6% 🍏
NakshaCatalog.kt 51.15% -12.64% 🍏
NakshaContext.kt 50.34% 🍏
OrderBy.kt 47.64% 🍏
NakshaTx.kt 47.51% -10.45% 🍏
IStorage.kt 46.64% 🍏
PgTxn.kt 42.86% 🍏
ListProxy.kt 40.89% -10.31% 🍏
Member.kt 39.39% -12.94% 🍏
TupleNumberMember.kt 39.2% -13.6% 🍏
SpatialMember.kt 39.2% -13.6% 🍏
StringMember.kt 39.2% -13.6% 🍏
NakshaHub.java 38.53% 🍏
TagMapMember.kt 37.6% -17.6% 🍏
IReadSession.kt 37.1% 🍏
PlatformListApi.kt 35.85% -8.73% 🍏
ByteArrayMember.kt 35.2% -17.6% 🍏
Int32Member.kt 33.33% -15.91% 🍏
ReadTransactions.kt 32.61% -65.22% 🍏
XyzNs.kt 30.43% -4.09% 🍏
PgQuery.kt 23.35% 🍏
PgCluster.kt 17.86% -82.14% 🍏
TagListMember.kt 16.8% -17.6% 🍏
Float64Member.kt 16.67% -18.25% 🍏
PgPlatform.kt 11.76% 🍏
LibBase.kt 3.47% -73.61% 🍏
StreamFeature.kt 0% 🍏
Notification.kt 0% -8.62% 🍏
Int8Member.kt 0% -22.22% 🍏
MemberAndIndices.kt 0% 🍏
Float32Member.kt 0% -21.83% 🍏
Int16Member.kt 0% -22.22% 🍏
BoolMember.kt 0% -18.9% 🍏
PgWriterInsert.kt 0% 🍏
PgWriterUpdate.kt 0% 🍏
PgSessionReadConn.kt 0% 🍏
PgWriterDelete.kt 0% 🍏
PgWriterUpsert.kt 0% 🍏
NakshaDatabaseImpl.kt 0% 🍏
TupleNumberBinaryArray.kt 0% -0.48% 🍏

@gunplar
gunplar merged commit 97a9ff0 into v3 Nov 27, 2026
2 of 3 checks passed
@gunplar
gunplar deleted the v3-naksha-33 branch November 27, 2026 08:35
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.

4 participants