CI: the baked cargo registry is a wall, not a floor

Abierto
#36 1 comentario 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
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
docker, rust

Línea de trabajo

Start with the CI image Dockerfile and release workflow, then inspect the fmt-layers job and its failing offline Cargo fetch. Update the image’s Cargo network settings and re-ship the image; the Dockerfile change is already carried by the release-workflow-repair PR. Done when a branch with a different lockfile builds green in the CI image.

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

Descripción

bug ci milestone

The CI image bakes cargo fetch --locked from one committed Cargo.lock into /usr/local/cargo/registry and sets ENV CARGO_NET_OFFLINE=true. Any branch whose lockfile pins different crate versions dies in its first cargo step.

Observed 2026-11-09: origin/main run 8151c21e-6269-4031-a44f-2aa10211bb04 fails in job fmt-layers with "failed to download time v0.3.45 … --offline was specified"; the other seven jobs are cancelled.

Work

  • Change the image to CARGO_NET_OFFLINE=false with CARGO_NET_RETRY=5 — a fast floor, not a wall (measured index ~0.09 s, crate ~0.12 s).
  • Re-ship the image; the ENV is baked in, so a Dockerfile change alone does not take effect.

Acceptance

  • A branch with a different lockfile builds green in the CI image.

Tracking: campaign P2.1; the Dockerfile change is carried by the release-workflow-repair PR.

Lenguaje dominante
Rust
Estrellas
11
Forks
1
Merge medio
9 h 48 min
PR fusionados (30 d)
13

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 aliasfoxkde/FireCraft

Todos los issues de aliasfoxkde/FireCraft

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.