Deployment view: process, thread, partition, container and OS/SoC nodes derived from allocations

Abierto
#370 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
24/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript, rust, yaml

Línea de trabajo

Start with the diagram-generation design in #334 and the parent work in #363, item 6, then inspect the repository’s model and diagram entry points. Define a small SysML model for the SoC, partitions, and processes and trace how it could produce the requested IR and SVG. Done means deployment structure, allocation checks, and the grid-tie example meet the listed acceptance criteria.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Part of #363 (item 6). Related to the diagram-generation design (#334).

Current state

The derived Allocation diagram draws logical and physical swimlanes joined by allocation edges. Deployment structure (process, thread, partition, container, OS, SoC) cannot be expressed or drawn as nested nodes.

Proposal

  1. Deployment structure. Hardware nodes (domain: hardware) contain execution environments (OS or hypervisor, partition, container), which contain deployment units (process, thread). A deploymentKind: on a part (soc, core, partition, container, process, thread) plus Allocation of software components onto them; nesting by composition.
  2. Derived Deployment diagram (diagramKind: Deployment): nested nodes (SoC > core > OS > process > thread) with the allocated components inside and the communication links between nodes (buses, IPC) labelled by interface. --config shows one product's deployment.
  3. Checks: a component allocated to nothing, allocated twice, or to a node that cannot host it (an ASIL/SIL above the partition's, a different OS); the timing and resource budgets (E) roll up per node.

Acceptance (tests first)

  • Golden IR/SVG for a small model with a SoC, two partitions and three processes.
  • A component allocated to two partitions is reported unless marked replicated.
  • Grid-tie model: the firmware drawn inside the STM32 core with its tasks.

Part of #272 (executable MBSE / software design).


Generated by Claude Code

Lenguaje dominante
Rust
Estrellas
8
Forks
1
Merge medio
3 h 35 min
PR fusionados (30 d)
69

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de sjames/syscribe

Todos los issues de sjames/syscribe

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.