You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add geo_sort option for server resource (#103)
* Add geo_sort option for server resource
Adds support for the geo_sort server setting which enables geographic-based
host selection for replicated servers. When enabled, clients will connect
to the closest host based on GeoIP lookup.
Closes #102
* Update test Docker image and fix default route handling
- Update test Docker image to 1.32.4469.94 (supports geo_sort)
- Delete new default DNS route (8.8.8.8/32) added in newer Pritunl versions
- Add geo_sort tests (geo_sort=true skipped - requires enterprise license)
* Fix geo_sort not being set on server creation and enable test
The geo_sort field was missing from CreateServer() in client.go,
causing the value to never be sent to the API. Added the missing
field handling and removed the test skip now that it passes.
* Improve CI reliability with proper API polling
- Remove fixed sleeps in favor of polling
- Use wait-for-it with 60s timeout for MongoDB and web server
- Poll /state endpoint until API is ready after setting credentials
* Add workflow_dispatch for manual test runs
* Fix MongoDB readiness check to run inside container
* Remove workflow_dispatch from CI workflow
* Remove CLAUDE.md
* Refactor CI wait loops into reusable scripts
* Restore error handling for route deletion
* Fix error message for route deletion