field_ios

In-the-field app for Radroots on iOS
git clone https://radroots.dev/git/field_ios.git
Log | Files | Refs | README | LICENSE

commit 3b50c12a57c0bb8d9f385fe60f287180cc6c9eae
parent 03eeb14f0fda1a4efcd25e74afe638e151f1aabf
Author: triesap <tyson@radroots.org>
Date:   Sun,  9 Aug 2026 20:12:16 +0000

ios: accept bounded outage states

- Allow a clean pre-commit failure with no possible remote effect.
- Allow one explicit possible orphan after an indeterminate upload.
- Reject every other unavailable-media presentation state.
- Preserve the relaunch and reconnect retry requirements.

Diffstat:
MRadrootsUITests/RadrootsRemoteQualificationUITests.swift | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/RadrootsUITests/RadrootsRemoteQualificationUITests.swift b/RadrootsUITests/RadrootsRemoteQualificationUITests.swift @@ -420,8 +420,9 @@ final class RadrootsRemoteQualificationUITests: XCTestCase { XCTAssertTrue(exists) if exists { XCTAssertTrue( - mediaStatus.label.contains("1 possible orphan"), - "An unavailable upload did not preserve its indeterminate remote effect; " + mediaStatus.label == "0 of 1 photos verified" + || mediaStatus.label == "0 of 1 photos verified; 1 possible orphan", + "An unavailable upload did not preserve a bounded retry state; " + "media_status.label=\(mediaStatus.label)" ) }