v3.23.2: the start-reset ordering fix (review follow-up)

A suite with start_reset and an incomplete SCP80 preset reset the card and
only then refused the start: the reset block ran before _test_preset_error.
The reset now runs after the preset checks - a run that cannot start must
not touch the card - and stays before the ADM gate, which must see the
post-reset card session (the reset bumps card_session, invalidating the ADM
latch).  The ICCID re-match stays with the reset block.

Test: an incomplete preset refuses with 400 and _card_reset_reinit is not
called.  846 frontend + 830 Python; sw cache simple-v415.
This commit is contained in:
2026-10-07 10:09:14 +03:00
parent 9ef1a59f2c
commit 9ad22f2e26
5 changed files with 30 additions and 14 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = 'simple-v414';
const CACHE = 'simple-v415';
const URLS = [
'index.html',
'help.html',