Skip to content

Fix: restore the proxy pool removed in 0.7.0 (issue #545) - #548

Open
danishkumar26 wants to merge 2 commits into
BaaRai:mainfrom
danishkumar26:fix/restore-proxy-pool
Open

danishkumar26 wants to merge 2 commits into
BaaRai:mainfrom
danishkumar26:fix/restore-proxy-pool

Conversation

@danishkumar26

@danishkumar26 danishkumar26 commented Nov 25, 2026 •

Copy link
Copy Markdown

Restores the multi-proxy egress pool that ARTEX 0.7.0 dropped (fixes #545).

What changed

  • Backend API (GET /api/settings/proxy-pool): list/add/delete pool entries,
    per-entry enable/disable and active selection (only one active at a time),
    egress-IP testing via POST /api/settings/proxy-pool/test, and a rotation
    strategy (none / on_failure / timed) via PUT /api/settings/proxy-pool/rotation.
  • Database: migration 0015_proxy_pool.sql plus schema.sql table
    (proxy_pool: id, address, enabled, active, last_tested, egress_ip,
    fail_count, timestamps).
  • Manager: ProxyPool, Add/Delete/SetProxyPoolEntry, ProxyPoolRotation,
    TestProxyPoolEntry (real HTTP egress-IP probe through http/https/socks5
    proxies).
  • UI: ProxyPoolCard in System settings — add proxies, toggle enabled/active,
    test egress IP, delete entries, set rotation strategy.
  • Types/API client: ProxyPoolEntry type plus proxyPool/addProxyPool/
    deleteProxyPool/patchProxyPool/testProxyPool/putProxyPoolRotation.

Verification

  • go build ./..., go vet ./server/... ./db/... — clean
  • tsc -p tsconfig.json --noEmit — clean
  • next build — clean

Closes #545.

Restore the multi-proxy egress pool that 0.7.0 dropped (issue BaaRai#545),
bringing back GET /api/settings/proxy-pool (list/add/delete), per-entry
enable/disable and active selection, egress-IP testing, and a rotation
strategy (none / on_failure / timed), plus a settings UI to manage it.

- db: migration 0015_proxy_pool.sql plus schema.sql table
  (id, address, enabled, active, last_tested, egress_ip, fail_count)
- server: Manager methods (ProxyPool, Add/Delete/SetProxyPoolEntry,
  ProxyPoolRotation, TestProxyPoolEntry), proxy-pool routes and
  handlers, proxy_pool/proxy_pool_rotation in the settings payload
- web: ProxyPoolEntry type, proxy-pool API client, ProxyPoolCard in
  System settings
- gofmt server/manager.go and server/server.go
- db/migrate_test.go: expect migration versions 1 to 15 (added 0015_proxy_pool.sql)
- web i18n: add missing proxy-pool strings to tr.json and zh-CN.json
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.

Proxy pool regression: 0.7.0 removed the multi-proxy pool and rotation (single global proxy only)

1 participant