mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
feat: 新增 Python 3.14t 自由线程镜像 (#6434)
* fix(resource): select free-threaded extension ABI * chore(deps): require moviepilot-rust 0.2.9 * perf: add free-threaded runtime comparison * feat: add free-threaded runtime profile * chore(deps): require moviepilot-rust 0.3.0 * test: isolate system endpoint import graph * fix(docker): preserve runtime profile during recovery * feat(runtime): expose active GIL state * feat(plugin): log GIL fallback attribution * test: refresh runtime observability dependency baseline * fix(plugin): validate the active uv runtime profile * test(runtime): expand free-threaded benchmark evidence * docs(runtime): define v3t governance gates * test(runtime): separate rust benchmark modes * docs: sync free-threaded architecture baseline * perf: add PostgreSQL driver comparison * docs(runtime): record final free-threaded evidence * fix(runtime): converge dual-profile dependency verification * fix(runtime): scope Python 3.14 warning filter * fix(runtime): match actual oss2 syntax warning * docs(runtime): refresh free-threaded benchmark evidence * test(architecture): refresh runtime dependency baseline * ci: skip unused Trivy Java database * build: exclude local verification artifacts * docs(runtime): refresh PostgreSQL driver benchmarks * docs(runtime): record plugin restore acceptance * docs(runtime): record amd64 candidate acceptance * ci: pin beta image publisher action * test(architecture): merge runtime dependency baseline * feat(runtime): expose Python GIL status * docs(runtime): document Python runtime status fields
This commit is contained in:
@@ -71,6 +71,7 @@ from app.schemas.event import ConfigChangeEventData
|
||||
from app.schemas.exception import PluginMutationRejectedError
|
||||
from app.schemas.types import SystemConfigKey, EventType
|
||||
from app.foundation.crypto import HashUtils
|
||||
from app.foundation.environment import is_free_threaded_runtime, is_gil_enabled
|
||||
from app.adapters.network.http import RequestUtils, AsyncRequestUtils
|
||||
from app.adapters.system import rust as rust_accel
|
||||
from app.application.security.url import SecurityUtils
|
||||
@@ -802,6 +803,8 @@ async def get_user_global_setting(_: ApiPrincipal = Depends(get_current_active_u
|
||||
"USER_UNIQUE_ID": MoviePilotServerHelper.get_user_uuid(),
|
||||
"SUBSCRIBE_SHARE_MANAGE": share_admin,
|
||||
"WORKFLOW_SHARE_MANAGE": share_admin,
|
||||
"PYTHON_FREE_THREADED": is_free_threaded_runtime(),
|
||||
"PYTHON_GIL_ENABLED": is_gil_enabled(),
|
||||
}
|
||||
)
|
||||
return _SchemaResponse(success=True, data=info)
|
||||
@@ -827,8 +830,12 @@ async def get_env_setting(
|
||||
"AUTH_VERSION": SitesHelper().auth_version,
|
||||
"INDEXER_VERSION": SitesHelper().indexer_version,
|
||||
"FRONTEND_VERSION": SystemChain().get_frontend_version(),
|
||||
"RUST_ACCEL": rust_accel.is_config_enabled(),
|
||||
"RUST_ACCEL_AVAILABLE": rust_accel.is_available(),
|
||||
"RUST_ACCEL_ENABLED": rust_accel.is_enabled(),
|
||||
"RUST_ACCEL_REQUIRED": rust_accel.is_required(),
|
||||
"PYTHON_FREE_THREADED": is_free_threaded_runtime(),
|
||||
"PYTHON_GIL_ENABLED": is_gil_enabled(),
|
||||
}
|
||||
)
|
||||
return _SchemaResponse(success=True, data=info)
|
||||
|
||||
Reference in New Issue
Block a user