release.yml duplication, dead manifest platforms, and platform cfg branches outside atlas_core::sys

Abierto
#317 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
22/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github-actions, python, rust

Línea de trabajo

Start with .github/workflows/release.yml and count the repeated Rust-install, apt and SOURCE_DATE_EPOCH blocks, since the composite action is the most self-contained piece. Then read scripts/generate-manifest.py around lines 81-82 to drop the never-built darwin entries, and compare install.rs, uninstall.rs, desktop.rs and update_core.rs against the atlas_core::sys rule before moving their cfg branches. The large test-file splits in self_update.rs, tests/mcp.rs, tests/hostd.rs must keep test counts identical; done is one install block, a manifest of only built platforms, and unchanged test totals. This is a tracking issue spanning several subsystems, so pick one bullet rather than the whole list.

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

Descripción

area: ci area: cli priority: 3 low status: confirmed type: chore

Roadmap item (tracking: #289). From a read-only code audit at main (9c32731); key claims re-checked in code where marked verified. [INFERENCE] = not observed at runtime.

Problem

  • release.yml repeats the Rust install block 6x, apt block 5x, SOURCE_DATE_EPOCH 9x.
  • scripts/generate-manifest.py:81-82 lists x86_64-apple-darwin, universal-apple-darwin, never built.
  • Platform cfg branches in 121 files under atlas-{cli,core,tui,host,desktop}/src; install.rs, uninstall.rs, desktop.rs, update_core.rs branch locally against the atlas_core::sys rule.
  • Largest files: self_update.rs 1803, tests/mcp.rs 1850, manager/tests.rs 1637, tests/hostd.rs 1664, atlas-desktop/src/main.rs 830.

Proposal

Composite action for release setup; delete dead platforms; move install/uninstall cfg behind atlas_core::sys; split the largest test files (keep test counts).

Acceptance

  • One Rust-install block and one epoch line in release.yml; manifest lists only built platforms; test counts equal before/after splits.
Lenguaje dominante
Rust
Estrellas
3
Forks
1
Merge medio
9 h 51 min
PR fusionados (30 d)
310

Preparar el entorno

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 codeatlasdev/atlas

Todos los issues de codeatlasdev/atlas

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.