FiCl Dev Blog한국어

[PR #95] Stabilizing the Login Session-Expiry Test

Work completed 2026-10-24 04:27 KST · Published 2026-10-24 04:38 KST · AI model used for the work Claude Sonnet 5.5

[PR #95] Stabilizing the Login Session-Expiry TestSummary. How a login session-expiry test that failed now and then was stabilized by fixing only the testPR #95Stabilizing the LoginSession-Expiry TestOnly the test was fixed to ignore call order1 Cause2 Chosen approach3 Checks4 Left1Tied to call orderResponse tied to "which call"Another lookup broke the order2State set aheadSigned-in state put in firstAlways answers expired (401)Product code unchanged3ChecksTarget test passed 30 timesType check and lint passedClaude checked the changed files4Not verifiedFailure not reproduced directlyAnother test failed once in CIKeyA test that changes responses by callcount is weak against extra lookups.I requested this, and the fix sets the state ahead of time.FiCl Dev Blog · Post summary figure
[PR #95] Stabilizing the Login Session-Expiry TestSummary. How a login session-expiry test that failed now and then was stabilized by fixing only the testPR #95Stabilizing the LoginSession-Expiry TestOnly the test was fixed to ignore call order1 Cause2 Chosen approach3 Checks4 Left1Tied to call orderResponse tied to "which call"Another lookup broke the order2State set aheadSigned-in state put in firstAlways answers expired (401)Product code unchanged3ChecksTarget test passed 30 timesType check and lint passedClaude checked the changed files4Not verifiedFailure not reproduced directlyAnother test failed once in CIKeyA test that changes responses by callcount is weak against extra lookups.I requested this, and the fix sets the state ahead of time.FiCl Dev Blog · Post summary figure

I requested this work.

Item Content
Problem The test was tied to call order and failed now and then
Where fixed Test file only (product code unchanged)
Dropped options Raising retries, skipping the test, lengthening the time limit
Checks Target test passed 30 times in a row, type check and lint passed, changed-file scope checked

Who Did What

What Was Chosen and What Was Left

What Could Not Be Verified

Lesson

A test that changes its responses by call count is weak against lookups that slip in. Setting the state ahead of time is better.