Compare commits

..

2 Commits

Author SHA1 Message Date
houseme 30706c60c9 Merge branch 'main' into overtrue/install-protocol-socket-oracle 2026-08-23 12:10:09 +08:00
overtrue 417fefc1bc ci: install protocol socket oracle 2026-08-23 04:03:05 +08:00
2 changed files with 7 additions and 2 deletions
@@ -196,8 +196,11 @@ jobs:
cache-save-if: 'false'
install-build-packaging-tools: 'false'
- name: Verify protocol socket oracle
run: ss -tn state CLOSE-WAIT >/dev/null
- name: Install and verify protocol socket oracle
run: |
sudo apt-get update -qq
sudo apt-get install -y -qq iproute2
ss -tn state CLOSE-WAIT >/dev/null
# The suite owns fixed protocol ports and serializes its internal cases.
- name: Verify protocol e2e membership
@@ -270,7 +270,9 @@ pub(super) fn resolve_latest_object_info_candidates(
.into_iter()
.filter(|candidate| latest_candidate_mod_time(candidate) == Some(latest_mod_time))
.collect::<Vec<_>>();
latest_candidates.sort_by_key(|candidate| std::cmp::Reverse(candidate.idx));
let Some(winner) = latest_candidates.first() else {
return Err(Error::ErasureReadQuorum);
};