Add PREFECT_CLIENT_SERVER_VERSION_CHECK_ENABLED setting
Add a new boolean setting (default True) that controls whether the
client performs the server API version check on startup.
When disabled, SyncClientContext and AsyncClientContext skip the call
to raise_for_api_version_mismatch_once(), eliminating the /admin/version
API call.
The PrefectDbtOrchestrator now wraps the per-node task runner block in
temporary_settings({PREFECT_CLIENT_SERVER_VERSION_CHECK_ENABLED: False})
so worker subprocesses spawned by ProcessPoolTaskRunner inherit the
disabled check via environment variable serialization, avoiding
redundant version checks per subprocess.
Co-Authored-By: alex.s <ajstreed1@gmail.com>
Align CLI JSON tests with repo typing and import conventions
- move concurrency-limit ls tests into tests/cli/test_global_concurrency_limit.py
- remove standalone tests/cli/test_concurrency_limit.py
- avoid deferred json imports in updated test modules