Skip to content

Start replicated models based on version hash#2382

Draft
abstraktor wants to merge 2 commits intomainfrom
feat/start-replicated-models-by-version-hash
Draft

Start replicated models based on version hash#2382
abstraktor wants to merge 2 commits intomainfrom
feat/start-replicated-models-by-version-hash

Conversation

@abstraktor
Copy link
Collaborator

@abstraktor abstraktor commented Feb 12, 2026

@github-actions
Copy link
Contributor

github-actions bot commented Feb 12, 2026

Test Results

  247 files  +2    247 suites  +2   51m 12s ⏱️ - 1m 2s
1 410 tests +2  1 399 ✅ +2  11 💤 ±0  0 ❌ ±0 
1 420 runs  +2  1 409 ✅ +2  11 💤 ±0  0 ❌ ±0 

Results for commit 035cb2d. ± Comparison against base commit d8f91aa.

♻️ This comment has been updated with latest results.

The vue-model-api had a **leaky abstraction** around role handling:

1. **INodeJS API contract** promised: "Role objects returned from `getReferenceRoles()` can be passed back unchanged"
2. **Implementation reality**: `NodeAdapterJS.getReferenceRoles()` returns `IRoleReference` objects (Kotlin), but `ReactiveINodeJS` was forced to cast them to strings to work with `MapWithRoleKey.getOrPut(roleString: String)`
3. **Consequence**: As a result, we got a TypeError when calling getReferenceTargetNode(getReferenceRoles().first)
@abstraktor abstraktor force-pushed the feat/start-replicated-models-by-version-hash branch from 4e1dc75 to ac48054 Compare February 18, 2026 11:35
@abstraktor abstraktor changed the base branch from main to fix/reference-roles-in-inodejs February 18, 2026 11:36
@abstraktor abstraktor force-pushed the feat/start-replicated-models-by-version-hash branch 3 times, most recently from edb7441 to 9ea7d6f Compare February 18, 2026 13:47
@github-actions
Copy link
Contributor

github-actions bot commented Feb 18, 2026

JVM coverage report

Overall Project 58.9% -0.09%
Files changed 25.62%

File Coverage
ReplicatedModel.kt 79% -11.38%
IRole.kt 59.13% -7.33%

Base automatically changed from fix/reference-roles-in-inodejs to main February 18, 2026 14:28
@abstraktor abstraktor force-pushed the feat/start-replicated-models-by-version-hash branch from 9ea7d6f to 035cb2d Compare February 18, 2026 15:04
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

Comments