fix: improve stability - timeouts, parameter setting, Camoufox retry, error handling#12
Open
maebahesioru wants to merge 7 commits intoMag1cFall:mainfrom
Open
fix: improve stability - timeouts, parameter setting, Camoufox retry, error handling#12maebahesioru wants to merge 7 commits intoMag1cFall:mainfrom
maebahesioru wants to merge 7 commits intoMag1cFall:mainfrom
Conversation
… error handling Parameter Setting: - Use fill() instead of type() for spinbutton inputs (fixes decimal truncation) - Re-expand advanced settings panel if parameter inputs not visible - scroll_into_view_if_needed for Google Search toggle and stop sequence input - Google Search: JS label click fallback when force click fails Submission: - Submit Button wait timeout: 2s -> 10s - Textarea locator timeout: 5s -> 15s - If shortcut fails but response already started, treat as success Camoufox Launch: - Retry up to 3 times on WebSocket endpoint timeout - Find free port before each attempt to avoid EADDRINUSE - Early exit on EADDRINUSE detection (no need to wait full 90s) Error Handling / Log Noise: - Downgrade TargetClosedError in model management and localStorage init to DEBUG - Downgrade noisy button check warnings to DEBUG - STREAM proxy: retry with port increment on failure Other: - Clear chat verification: fallback to textarea when zero_state not visible - Tools panel / Google Search: skip if button not found (new UI layout) - Fuzzy model ID matching when model not in parsed_model_list - SLEEP_LONG 0.5s -> 1.0s
added 6 commits
March 19, 2026 21:11
…ngrade proxy errors to WARNING
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Comprehensive stability improvements based on real-world log analysis.
Fixes
Parameter Setting
fill()instead oftype()for spinbutton inputs (fixes decimal truncation:1.0→10→ clamped to2)scroll_into_view_if_neededbefore interacting with Google Search toggle and stop sequence inputSubmission
Camoufox Launch
Error Handling / Log Noise
TargetClosedErrorin model management and localStorage init to DEBUGOther
SLEEP_LONG0.5s → 1.0s