mirror of
https://github.com/jahruz67/wisp-open.git
synced 2026-08-08 18:14:08 +00:00
[PR #1] [MERGED] Harden config storage, fix toggle concurrency, and validate local Whisper install #1
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/jahruz67/wisp-open/pull/1
Author: @jahruz67
Created: 5/15/2026
Status: ✅ Merged
Merged: 5/15/2026
Merged by: @jahruz67
Base:
main← Head:codex/review-code-for-bugs-and-improvements📝 Commits (1)
ccf4d61Harden config storage and fix concurrency/install checks📊 Changes
3 files changed (+13 additions, -7 deletions)
View changed files
📝
app.go(+5 -3)📝
internal/config/config.go(+2 -2)📝
internal/services/whisper/whisper.go(+6 -2)📄 Description
Motivation
installed.jsoncontains unknown or corrupted model names by validating the model key before using it.Description
time.Timedebounce state with an atomicint64nanosecond timestamp inApp.ToggleRecordingto make debounce checks thread-safe (app.go).0755/0644to0700/0600to limit access to the current user (internal/config/config.go).installed.jsonby checking theModelsmap before constructing the model path to avoid false-positive install detection (internal/services/whisper/whisper.go).Testing
go test ./...; the test run attempted to build and failed due to missing native Linux desktop dependencies (X11/extensions/XTest.hforrobotgoand theayatana-appindicator3-0.1pkg-config package), which causedinternal/ui/trayand the overall build to fail in this environment.Codex Task
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.