Stable Homes cannot check for updates while a Test version is published

Đang mở
#564 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
backend, release

Hướng nghiên cứu

Start with the release head selection described in the issue and elastos/crates/elastos-server/src/update.rs, then trace how update check results reach gateway_home_update.rs and System, About. The issue says the publisher keeps a head per channel; check how Stable Homes obtain that head while preserving the existing refusal to downgrade or change channels. Done when Stable Homes report the Stable status during a Test release instead of a connection problem.

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

Mô tả

While a Test version is published (now: 2.0.1-rc.1 since 9 Nov ~04:15 UTC), every Home on Stable cannot check for updates, and System, About tells it the wrong reason.

Facts:

  • The seed serves one head at the root for every channel: https://elastos.elacitylabs.com/release-head.json is 2.0.1-rc.1 with channel canary; no per-channel path (/channels/stable/release-head.json is not served).
  • A Stable Home's check refuses that head: Error: Signed release channel 'canary' differs from trusted source 'default' subscription 'stable'. To follow 'canary' releases on this Home, run: elastos source switch-channel 'default' 'canary', then try again. (update --check exit 1 on fresh Linux x86_64, Linux arm64 and macOS Homes on 9 Nov; report ~/omp-inbox/2.0.1-rc1-installed-checks.md). Same refusal in 2.0.0 (elastos/crates/elastos-server/src/update.rs:180 at v2.0.0).
  • System, About in 2.0.0 then shows "Could not check for updates. Check again when Carrier is connected." (gateway_home_update.rs at v2.0.0, None arm), which blames the connection. The refusal itself is right: no downgrade or channel change is offered.
  • 2.0.0 is the first stable with Homes in use, so this is the first rc window where it shows to people. It ends when the stable release is published.
  • The same root cause stops a stable-pinned launcher from installing during an rc window (Elacity/elastos-launcher#62, comment 6732364060), and fresh installs with the install command get the Test version.

Expected: a Stable Home keeps getting the newest Stable head while a Test version is out (the publisher keeps a head per channel), and a channel mismatch is reported as "You are up to date on Stable" rather than a connection problem.

Ngôn ngữ chính
Rust
Star
6
Fork
2
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
42

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 elastos/elastos-runtime

Tất cả issue của elastos/elastos-runtime

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.