Skip to content

Fix tab routing persistence, retry deadlines and startup request caching - #71

Merged
andre487 merged 1 commit into
mainfrom
fix/review-routing-retries-cache
Oct 22, 2026
Merged

andre487 merged 1 commit into
mainfrom
fix/review-routing-retries-cache

Conversation

@andre487

@andre487 andre487 commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Manual Firefox tab routing could silently revert after a background restart, CLI updates could fail after rate-limit backoff, and Chromium's early startup request cache could keep growing after tabs closed.

  • Persist manual tab overrides in storage.session with the routing configuration they belong to. Restore only open tabs with matching rules, preserve overrides across unrelated sync updates, and remove them on tab close or routing changes. A failed session write leaves the live override unchanged.
  • Add per-attempt timeout support to the shared HTTP retry helper and use it for identity, schema, catalog and GOST downloads. Explicit caller cancellation remains effective.
  • Limit early Chromium request evidence to 256 tab/host pairs, retain only origins instead of full URLs, remove closed-tab entries, and persist initialization so worker recreation does not restart collection.
  • Add regression coverage for all three problems.

Validation: lint and build passed; all 205 unit tests passed. Browser tests excluding Docker/MegaProxyServer: 231 passed, 14 skipped, one Chromium scenario failed with ERR_SSL_PROTOCOL_ERROR while opening the local HTTPS fixture before proxy activation; that scenario then passed three consecutive runs without changes. MegaProxyServer tests could not run locally because the Docker daemon is unavailable.

Installation archives

Build: 4316905 · archives: success.
Extract the ZIP and load manifest.json. Firefox builds are unsigned temporary add-ons. Archives expire after 14 days; downloading requires signing in to GitHub.

@andre487
andre487 merged commit 0173299 into main Oct 22, 2026
9 of 11 checks passed
@andre487
andre487 deleted the fix/review-routing-retries-cache branch October 22, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant