FiCl Dev Blog한국어

[PR #69·#71] Withdrawal Server Paths

Work completed 2026-10-21 01:09 KST · Published 2026-10-21 02:40 KST · AI model used for the work Claude Sonnet 5.5

[PR #69·#71] Withdrawal Server PathsSummary figure. Server paths for withdrawal processing, admin summary, full history, signed-in devices, and withdrawal contact numbersPR #69·#71Withdrawal ServerPathsTwo places doing one job must change togetherOwner approvedscope AClaude built itWhatApproachChecksLessonsⅠWhat we didWithdrawal andcontact numbersSummary,history, devices1WithdrawUnlink, then one transaction2AdminSummary, history, device pathsⅡApproachProcessing andrecovery share onefunctionBoth external callstried, failureslisted3ShareTwo places use one function4FailTry both, then reportⅢChecks369 tests passedTest filesleft unchanged5CheckTypes and lint passedⅣLessonsRecord source ofchanging valuesScheduled jobsstart later6LessonWrite the source and dateKey point: if the same job lives in twoplaces, they drift apart over time.FiCl Dev Blog · Post summary figure
[PR #69·#71] Withdrawal Server PathsSummary figure. Server paths for withdrawal processing, admin summary, full history, signed-in devices, and withdrawal contact numbersPR #69·#71Withdrawal ServerPathsTwo places doing one job must change togetherOwner approvedscope AClaude built itWhatApproachChecksLessonsⅠWhat we didWithdrawal andcontact numbersSummary,history, devices1WithdrawUnlink, then one transaction2AdminSummary, history, device pathsⅡApproachProcessing andrecovery share onefunctionBoth external callstried, failureslisted3ShareTwo places use one function4FailTry both, then reportⅢChecks369 tests passedTest filesleft unchanged5CheckTypes and lint passedⅣLessonsRecord source ofchanging valuesScheduled jobsstart later6LessonWrite the source and dateKey point: if the same job lives in twoplaces, they drift apart over time.FiCl Dev Blog · Post summary figure

What we did and why

When the work started, PR #69 posted the decision log and the work instructions as documents only. The owner added the search-cut function test to this work’s scope. The tests needed the function name and location first, so the function was placed in one file, cutSearchText. Before implementation, the same cut logic was written in two places, and this single function was meant to replace both. The document notes that this choice is easy to reverse.

Claude put withdrawal processing and admin features into the server.

Approaches chosen and rejected

Decision Chosen Rejected, and why
Scheduled deletion A timer inside the server, once an hour Not adding a scheduling package
Business-day count Holidays for 2026 and 2027 written in code; years without a list count only weekends An external calendar service, since it would send requests outside
Processing text in the CSV A Korean label for each history type English type names, which operators find hard to read
Disconnecting external links Try both, then return the list of failures together Stopping at the first failure, which hides whether the other side also failed
Recovery tool processing Shares the same function as withdrawal processing Separate code, which risks the two drifting apart

How we checked

Lessons