chore(gateway): remove the per-driver launcher Cargo features
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- docker, github-actions, kubernetes, rust
- Área
- build-system, ci-cd
Línea de trabajo
Start with the compute-driver-docker, compute-driver-podman and compute-driver-vm entries in crates/openshell-gateway/Cargo.toml, then find their cfg gates in the gateway source and in tests/config_preflight.rs. Check the branch-checks.yml feature matrix and the in-tree-compute-drivers and defaults-without-telemetry features. Done means the three launcher features are removed or kept as deprecated aliases, the matrix and cfg attributes match, and the build docs are updated.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
User Story
I build and package the gateway, and I follow the move of the desktop compute drivers out of this repository (#5200). I directly encountered, while changing the Docker, Podman and VM drivers to launch as subprocesses, that the gateway still has a Cargo feature per launched driver that no longer does what its name says. This affects anyone who builds the gateway from source and the size of the CI feature matrix.
Problem Statement
compute-driver-docker, compute-driver-podman and compute-driver-vm in crates/openshell-gateway/Cargo.toml used to link each driver into the gateway. After the launcher change, each one only enables the shared driver-launcher feature and the cfg gates for that driver's launch code and registration. The compute-driver-kubernetes and compute-driver-mxc features still link their driver crates. The three launcher features keep a per-driver build matrix and cfg gates in the code, without linking anything.
Impact / Why This Matters
Each feature subset must compile and test on its own, which the Rust gateway core features and Rust gateway extended features jobs do. The launcher change hit two failures from this: a test that referenced another driver's module in a single-driver build, and dead-code warnings in subsets that lacked a driver. Those gates add maintenance cost and no capability for drivers that are no longer linked. They also keep a public build interface (--features compute-driver-podman) that suggests a gateway without that driver's code, when the driver is a separate binary.
Desired Workflow
The gateway builds with the launcher support always on, or behind one feature, and no per-driver launcher features. Downstream packagers who disabled a driver feature get a clear deprecation notice, and the CI matrix lists the feature combinations that still matter (Kubernetes and MXC). Success: fewer feature combinations, no cfg gates for the Docker, Podman and VM launchers, and the same set of drivers launchable at runtime.
Acceptance Criteria
- The three per-driver launcher features are removed, or kept as deprecated aliases for one release.
in-tree-compute-drivers,defaults-without-telemetryand therust:verify:defaults-without-telemetrycheck stay consistent.- The
branch-checks.ymlfeature matrix and thecfgattributes intests/config_preflight.rsare updated. - The change is documented for people who build the gateway from source.
Related: #5200, #5384, #5385. Deferred from the launcher PR (#5914).
- Lenguaje dominante
- Rust
- Estrellas
- 21.5k
- Forks
- 2.1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NVIDIA/OpenShell
-
state:triage-needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
-
state:triage-needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failurePosiblemente ocupada @TaylorMutch la tomó hace 9 días. Abiertostate:accepted state:pr-opened
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
state:triage-needed
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
-
state:triage-needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Todos los issues de NVIDIA/OpenShell
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 2 días
-
autofixer: follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
tursodatabase/turso#12531 ·
Los mantenedores suelen responder en 1 día
-
bug help wanted ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
userFRM/egui-charts#4292 ·
Los mantenedores suelen responder en 1 día
-
CHANGELOG.md out of dateAbiertoIssue-Bug Need-Review
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
PowerShell/DSC#1832 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día