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

Đang mở
#317 0 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
22/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, python, rust
Lĩnh vực
build-system, ci-cd, release

Hướng nghiên cứu

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.

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

Mô tả

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.
Ngôn ngữ chính
Rust
Star
3
Fork
1
Merge trung bình
9 giờ 51 phút
Pull request đã merge (30 ngày)
310

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

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

Tất cả issue của codeatlasdev/atlas

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.