hotfix(critical): single-instance lock — multi-process SQLite race 방지
dogfood 발견 — 앱 아이콘 클릭 시마다 새 process 가 떠서 트레이 아이콘 여러 개, SQLite 동시 접근 + AiWorker 중복 처리 + HealthChecker 중복 polling 등 **데이터 corruption 위험**. 원인: app.requestSingleInstanceLock() 호출 부재. Electron default 가 multi-instance 라 .exe 실행마다 별도 process. Fix: - app.requestSingleInstanceLock() 첫 줄에서 호출 - 두 번째 인스턴스 → app.quit() 즉시 종료 - 'second-instance' 이벤트 → 기존 inbox 창 restore + show + focus (사용자 의도는 "앱 보기" 라 가정) 게이트: typecheck 0 / 단위 413 / e2e 1 version: 0.2.4 → 0.2.5 (critical hotfix patch) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "inkling",
|
||||
"version": "0.2.4",
|
||||
"version": "0.2.5",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "inkling",
|
||||
"version": "0.2.4",
|
||||
"version": "0.2.5",
|
||||
"dependencies": {
|
||||
"better-sqlite3": "12.9.0",
|
||||
"electron-log": "5.2.0",
|
||||
|
||||
Reference in New Issue
Block a user