1.1.5 (build 7) 릴리스 (develop → main) - #265
Merged
Merged
Conversation
진행 중인 요청을 `_reserveRequest`/`_cancelRequest` 단일 슬롯에 담아 두어, machineId·reservationId 와 무관하게 그 요청이 그대로 반환됐다. 1번 기기 예약이 진행 중일 때 2번을 누르면 2번의 요청은 아예 나가지 않고 1번의 결과를 받는다. 호출부는 `isSuccess: (r) => r != null` 로 판정하므로 이를 성공으로 처리하고, 스낵바의 기기명은 호출 시점에 캡처된 2번이라 문구와 실제 결과가 어긋난다. 취소도 동일하다. `_runSingleFlight` 를 키 기반으로 바꿔 공용 헬퍼 한 곳에서 닫는다. 같은 대상이면 기존처럼 합류하고, 다른 대상이면 각자 요청을 보낸다. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
🔀 :: (#261) - 예약/취소 single-flight 를 대상 키 기준으로 수정
…n-state-v2 🔀 :: (#259) - 세탁 완료 알림 상태 갱신 및 알림 목록 파싱 수정
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
💡 개요
1.1.5 (build 7) 릴리스 PR.
develop에 모인 변경사항을main으로 올린다.🔗 관련 이슈
📃 작업내용
RUNNING/IN_USE인데expectedCompletionTime이 비어 있으면 polling 을 유지 (기존엔RESERVED가 사라지면 중단돼 계속분석중으로 남았다)datawrapper 로 내려오는 경우도 파싱하도록 처리 (wrapper 없는 응답도 그대로 지원)_reserveRequest/_cancelRequest단일 슬롯 →Map<String, Future<Object?>> _inflightreserve:$machineId/cancel:$reservationId— 같은 대상이면 합류, 다른 대상이면 각자 요청test/features/reservation/reservation_test.dart)1.1.5+6→1.1.5+7fastlane/metadata/ko/release_notes.txt) 이번 릴리스 내용 추가🔍 테스트 방법
flutter test41개 통과,flutter analyze이슈 없음. #261 회귀 테스트는 수정 전 코드에서 실제로 깨지는 것을 확인.🙋♂️ 질문사항
laundry_status_dialog.dart:82)엔 예약 화면과 달리!isReservationActionLoading가드가 없다. single-flight 키로 오동작은 닫혔지만 가드 자체는 별도로 맞출지 논의 필요.state가 슬롯 하나라 실패 문구는 여전히 섞일 수 있다. ♻️ :: 예약 결과 전달을 반환값/state 두 갈래에서 state 한 곳으로 통일 #262 에서 다룬다.✅ 체크리스트