Skip to content

feat: add distributed Ruby runtime coordination - #44

Merged
lucamykael merged 5 commits into
mainfrom
feat/distributed-runtime-java-actions
Aug 11, 2026
Merged

feat: add distributed Ruby runtime coordination#44
lucamykael merged 5 commits into
mainfrom
feat/distributed-runtime-java-actions

Conversation

@lucamykael

Copy link
Copy Markdown
Owner

Resumo

  • compartilha sessões entre instâncias por SQLite nativo, armazenando somente o SHA-256 dos bearer tokens
  • coordena Scheduled Events com claims atômicos, leases, heartbeat e recuperação após crash
  • usa .mxrb/runtime/<ambiente>-shared.sqlite3 por padrão, com modo local explícito
  • substitui Java Custom Actions por adapters Ruby registrados pelo nome Mendix qualificado
  • preserva parâmetros, resultados, transações e comportamento fail-closed, sem iniciar JVM
  • documenta configuração e exporta exemplos para todos os ambientes

Validação

  • 1.266 exemplos, 0 falhas, 2 pendentes por fixture opcional ausente
  • 100% de linhas (22.479/22.479)
  • 100% de branches (9.038/9.038)
  • RuboCop: 294 arquivos, 0 infrações
  • corrida real entre processos e heartbeat de job longo cobertos

Dependência

PR empilhado sobre #43. O diff desta PR contém somente a etapa de runtime distribuído e equivalentes Ruby para Custom Actions.

Base automatically changed from feat/export-modes-ruby-app to main August 11, 2026 03:23
…ime-java-actions

# Conflicts:
#	docs/de-DE/runtime-ruby.md
#	docs/en-US/runtime-ruby.md
#	docs/pt-BR/runtime-ruby.md
#	lib/mxrb.rb
#	lib/mxrb/initializer.rb
#	lib/mxrb/ruby_app.rb
#	lib/mxrb/ruby_app/exporter.rb
#	lib/mxrb/ruby_app/session_manager.rb
#	lib/mxrb/runtime/native.rb
#	lib/mxrb/runtime/scheduler.rb
#	spec/initializer_spec.rb
#	spec/native_runtime_spec.rb
#	spec/ruby_app_deep_coverage_spec.rb
#	spec/ruby_export_mode_spec.rb
#	spec/runtime_scheduler_spec.rb
@lucamykael
lucamykael merged commit 5a0b0d8 into main Aug 11, 2026
3 checks passed
@lucamykael
lucamykael deleted the feat/distributed-runtime-java-actions branch August 11, 2026 03:30
lucamykael added a commit that referenced this pull request Aug 12, 2026
* feat: add pure Ruby runtime and UML tooling

* fix: lock tzinfo for sqlite-vec CI

* fix: make coverage gate fixture-independent

* feat: coordinate distributed Ruby runtime
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