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

Đang mở
#36 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
docker, rust
Lĩnh vực
build-system, ci-cd

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
11
Fork
1
Merge trung bình
9 giờ 48 phút
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aliasfoxkde/FireCraft

Tất cả issue của aliasfoxkde/FireCraft

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.