58442da3556d56887f861222bbf9339a7300e016
Three bugs caused sync to return 0 features after 37 minutes: 1. reloginAttempted was instance-level flag — once set to true after first 401, all subsequent 401s threw immediately without retry. Moved to per-request scope so each request can independently relogin on 401. 2. Session lastUsed never updated during pagination — after ~10 min of paginating, the session store considered it expired and cleanup could evict it. Added touchSession() call before every request. 3. Single eTerra client shared across all cities/steps for hours — now creates a fresh client per city/step (session cache still avoids unnecessary logins when session is valid). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
pre-launch hardening: Address Book type sort, Hot Desk proportions, TVA calculator, ROADMAP Phase 4B
Description
No description provided
Languages
TypeScript
98.7%
PLpgSQL
0.4%
Shell
0.3%
Dockerfile
0.2%
CSS
0.2%
Other
0.1%