Skip to content

UCAAS-1486: remote capability gating and registry alignment - #147

Merged
JanFellner merged 11 commits into
mainfrom
feature/UCAAS-1486-remote-capability
Aug 20, 2026
Merged

UCAAS-1486: remote capability gating and registry alignment#147
JanFellner merged 11 commits into
mainfrom
feature/UCAAS-1486-remote-capability

Conversation

@JanFellner

@JanFellner JanFellner commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Related

  • global submodule bump branch: feature/UCAAS-1486-remote-capability on gitlab.estos.de/estos/windows-global/global (open MR there)
  • procall integration: feature/UCAAS-1486-interface-handshake on procall_develop

Summary

  • Add remote capability gating to SnaccROSEBase and TS gluecode (ROSE_REJECT_REMOTENOTCAPABLE, negotiate snapshot apply/clear, IsSupportedOperation).
  • Align registry APIs (getLoadedModules / GetLoadedModules, lookUp* / LookUp*, including LookUpModuleName).
  • Add ensure_compiler CMD/bash scripts and gluecode test runners for CMake-based esnacc builds.
  • Add explicit AsnInt getters (GetInt/GetUInt return plain int/unsigned int) and TryGet* accessors.
  • Improve debug asserts: optional ASSERT messages, ASSERT_FAILED printf-style helper, C-compatible header; descriptive asserts in ROSE base and TS gluecode.
  • Bump esnacc to 7.0.15.

Test plan

  • C++ cpp-lib-sample-runtime-testsModuleRegistry* and RemoteCapability* (10 tests)
  • TS gluecode — scripts/run_gluecode_tests.bat (12 tests)
  • Samples integration — node-client pnpm test (11 tests)
  • CI build on this PR

JanFellner and others added 11 commits August 19, 2026 13:11
…code.

Gate outbound invokes when negotiate snapshot is applied and mode is enabled, add ROSE_REJECT_REMOTENOTCAPABLE, module-capability helpers, and registry-aligned lookup APIs. Bump esnacc to 7.0.15.

Co-authored-by: Cursor <cursoragent@cursor.com>
Pure CMD and bash helpers configure CMake when needed, run cmake --build --target compiler, and resolve the compiler path from CMakeCache. Wire ROSE/makesnaccrose and samples/prepare entry points.

Co-authored-by: Cursor <cursoragent@cursor.com>
Expose LookUpModuleName on SnaccROSEBase, fix C++ remote-capability harness assertions, extend TS gluecode unit tests, and add run_gluecode_tests scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add GetInt/GetLong/GetInt64 and GetUInt/GetULong/GetUInt64 with range and sign checks that throw INTEGER_ERROR. GetInt and GetUInt return plain int and unsigned int for cast-free use (e.g. printf). Add matching TryGet* overloads for non-throwing reads; refactor existing conversion paths to share decode logic.

Co-authored-by: Cursor <cursoragent@cursor.com>
Extend snacc-assert.h with optional ASSERT messages, printf-style ASSERT_FAILED, and C-compatible inline helpers. Use descriptive asserts in SnaccROSEBase for remote-capability rejects, encoding detection, and registration preconditions; add matching snaccAssert helpers in TS gluecode.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Route generated RegisterOperations through SnaccROSEComponent static helpers, keep module metadata in generated .cpp only, and restore inline m_iid for switch dispatch. Use ordered loaded-module maps with debug-only operation names and TS opName metadata.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep gluecode limited to compiler-emitted runtime files; run scripts and build docs point at the dedicated test folder.

Co-authored-by: Cursor <cursoragent@cursor.com>
Test runners assemble tests/workdir/gluecode from gluecode plus sample ENetUC_Common stubs instead of copying fixtures into the compiler gluecode tree.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copy gluecode and sample stubs directly into tests/workdir instead of nesting another gluecode folder.

Co-authored-by: Cursor <cursoragent@cursor.com>
Emit OPID_* macros from generated ROSE headers instead of duplicating numeric operation IDs in RegisterOperation calls.

Co-authored-by: Cursor <cursoragent@cursor.com>
@JanFellner
JanFellner merged commit 59e12ed into main Aug 20, 2026
5 checks passed
@JanFellner
JanFellner deleted the feature/UCAAS-1486-remote-capability branch August 26, 2026 08:36
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