pyvider 2026-03-20
Memray Memory Profiling Infrastructure
35 files · 809+ · 81-

Memray Memory Profiling Infrastructure

33 files changed
  • pyproject.toml Updated pyproject.toml (+9/-2 lines)
  • add_spdx_headers.py Updated add_spdx_headers.py (+13/-19 lines)
  • __init__.py Updated __init__.py (+0/-0 lines)
  • memray_analysis.py Added memray_analysis.py (+157 lines)
  • memray_conversion_stress.py Added memray_conversion_stress.py (+69 lines)
  • memray_hub_stress.py Added memray_hub_stress.py (+56 lines)
  • memray_schema_stress.py Added memray_schema_stress.py (+65 lines)
  • validate_spdx_headers.py Updated validate_spdx_headers.py (+4/-4 lines)
  • availability.py Updated availability.py (+1/-1 lines)
  • schema_adapter.py Updated schema_adapter.py (+37/-6 lines)
  • decorators.py Updated decorators.py (+2/-1 lines)
  • decorators.py Updated decorators.py (+1/-1 lines)
  • adapters.py Updated adapters.py (+3/-1 lines)
  • handler.py Updated handler.py (+1/-1 lines)
  • components.py Updated components.py (+4/-4 lines)
  • discovery.py Updated discovery.py (+1/-1 lines)
  • validators.py Updated validators.py (+4/-2 lines)
  • service.py Updated service.py (+6/-5 lines)
  • function_adapter.py Updated function_adapter.py (+1/-1 lines)
  • apply_resource_change.py Updated apply_resource_change.py (+3/-2 lines)
  • call_function.py Updated call_function.py (+11/-4 lines)
  • plan_resource_change.py Updated plan_resource_change.py (+5/-3 lines)
  • utils.py Updated utils.py (+8/-5 lines)
  • decorators.py Updated decorators.py (+1/-1 lines)
  • test_availability.py Updated test_availability.py (+2/-2 lines)
  • __init__.py Updated __init__.py (+0/-0 lines)
  • baselines.json Added baselines.json (+5 lines)
  • conftest.py Added conftest.py (+8 lines)
  • test_conversion_memory.py Added test_conversion_memory.py (+16 lines)
  • test_hub_memory.py Added test_hub_memory.py (+16 lines)
  • test_schema_memory.py Added test_schema_memory.py (+16 lines)
  • uv.lock Updated uv.lock (+246/-4 lines)
  • wrknv.toml Added wrknv.toml (+6 lines)
  • Added memray profiling setup to identify and measure memory usage in pyvider hot paths streamline internal
    36 files
    • ci.yml
    • .gitignore
    • VERSION
    • pyproject.toml
    • add_spdx_headers.py
    • __init__.py
    • memray_analysis.py
    • memray_conversion_stress.py
    • memray_hub_stress.py
    • memray_schema_stress.py
    • validate_spdx_headers.py
    • availability.py
    • schema_adapter.py
    • decorators.py
    • decorators.py
    • adapters.py
    • handler.py
    • components.py
    • discovery.py
    • validators.py
    • service.py
    • function_adapter.py
    • apply_resource_change.py
    • call_function.py
    • plan_resource_change.py
    • utils.py
    • decorators.py
    • test_availability.py
    • __init__.py
    • baselines.json
    • conftest.py
    • test_conversion_memory.py
    • test_hub_memory.py
    • test_schema_memory.py
    • uv.lock
    • wrknv.toml
  • Excluded memray tests from default pytest run to keep the standard test suite fast qualify behavioral
    36 files
    • ci.yml
    • .gitignore
    • VERSION
    • pyproject.toml
    • add_spdx_headers.py
    • __init__.py
    • memray_analysis.py
    • memray_conversion_stress.py
    • memray_hub_stress.py
    • memray_schema_stress.py
    • validate_spdx_headers.py
    • availability.py
    • schema_adapter.py
    • decorators.py
    • decorators.py
    • adapters.py
    • handler.py
    • components.py
    • discovery.py
    • validators.py
    • service.py
    • function_adapter.py
    • apply_resource_change.py
    • call_function.py
    • plan_resource_change.py
    • utils.py
    • decorators.py
    • test_availability.py
    • __init__.py
    • baselines.json
    • conftest.py
    • test_conversion_memory.py
    • test_hub_memory.py
    • test_schema_memory.py
    • uv.lock
    • wrknv.toml

Logger Call Migrations and f-String Guards

36 files changed
  • ci.yml Changes to ci.yml
  • .gitignore Changes to .gitignore
  • VERSION Changes to VERSION
  • pyproject.toml Changes to pyproject.toml
  • add_spdx_headers.py Changes to add_spdx_headers.py
  • __init__.py Changes to __init__.py
  • memray_analysis.py Changes to memray_analysis.py
  • memray_conversion_stress.py Changes to memray_conversion_stress.py
  • memray_hub_stress.py Changes to memray_hub_stress.py
  • memray_schema_stress.py Changes to memray_schema_stress.py
  • validate_spdx_headers.py Changes to validate_spdx_headers.py
  • availability.py Changes to availability.py
  • schema_adapter.py Changes to schema_adapter.py
  • decorators.py Changes to decorators.py
  • decorators.py Changes to decorators.py
  • adapters.py Changes to adapters.py
  • handler.py Changes to handler.py
  • components.py Changes to components.py
  • discovery.py Changes to discovery.py
  • validators.py Changes to validators.py
  • service.py Changes to service.py
  • function_adapter.py Changes to function_adapter.py
  • apply_resource_change.py Changes to apply_resource_change.py
  • call_function.py Changes to call_function.py
  • plan_resource_change.py Changes to plan_resource_change.py
  • utils.py Changes to utils.py
  • decorators.py Changes to decorators.py
  • test_availability.py Changes to test_availability.py
  • __init__.py Changes to __init__.py
  • baselines.json Changes to baselines.json
  • conftest.py Changes to conftest.py
  • test_conversion_memory.py Changes to test_conversion_memory.py
  • test_hub_memory.py Changes to test_hub_memory.py
  • test_schema_memory.py Changes to test_schema_memory.py
  • uv.lock Changes to uv.lock
  • wrknv.toml Changes to wrknv.toml
  • Replaced f-string logger calls with kwargs-style logging (e.g., logger.debug("msg %s", val) instead of logger.debug(f"msg {val}")) decouple errata
    36 files
    • ci.yml
    • .gitignore
    • VERSION
    • pyproject.toml
    • add_spdx_headers.py
    • __init__.py
    • memray_analysis.py
    • memray_conversion_stress.py
    • memray_hub_stress.py
    • memray_schema_stress.py
    • validate_spdx_headers.py
    • availability.py
    • schema_adapter.py
    • decorators.py
    • decorators.py
    • adapters.py
    • handler.py
    • components.py
    • discovery.py
    • validators.py
    • service.py
    • function_adapter.py
    • apply_resource_change.py
    • call_function.py
    • plan_resource_change.py
    • utils.py
    • decorators.py
    • test_availability.py
    • __init__.py
    • baselines.json
    • conftest.py
    • test_conversion_memory.py
    • test_hub_memory.py
    • test_schema_memory.py
    • uv.lock
    • wrknv.toml
  • Guarded f-string debug log calls with is_debug_enabled() checks as an additional optimization streamline behavioral
    36 files
    • ci.yml
    • .gitignore
    • VERSION
    • pyproject.toml
    • add_spdx_headers.py
    • __init__.py
    • memray_analysis.py
    • memray_conversion_stress.py
    • memray_hub_stress.py
    • memray_schema_stress.py
    • validate_spdx_headers.py
    • availability.py
    • schema_adapter.py
    • decorators.py
    • decorators.py
    • adapters.py
    • handler.py
    • components.py
    • discovery.py
    • validators.py
    • service.py
    • function_adapter.py
    • apply_resource_change.py
    • call_function.py
    • plan_resource_change.py
    • utils.py
    • decorators.py
    • test_availability.py
    • __init__.py
    • baselines.json
    • conftest.py
    • test_conversion_memory.py
    • test_hub_memory.py
    • test_schema_memory.py
    • uv.lock
    • wrknv.toml

CI Modernization

2 files changed
  • .gitignore Added .gitignore (+5 lines)
  • ci.yml Updated ci.yml (+27/-11 lines)
  • Updated GitHub Actions to Node.js 24-compatible versions decouple internal
    1 file
    • .gitignore
  • Fixed CI workflow to use venv-scoped wrknv and individual steps remediate internal
    1 file
    • .gitignore
  • Added stale venv patterns to .gitignore instantiate internal
    1 file
    • .gitignore

Type and Lint

36 files changed
  • ci.yml Changes to ci.yml
  • .gitignore Changes to .gitignore
  • VERSION Changes to VERSION
  • pyproject.toml Changes to pyproject.toml
  • add_spdx_headers.py Changes to add_spdx_headers.py
  • __init__.py Changes to __init__.py
  • memray_analysis.py Changes to memray_analysis.py
  • memray_conversion_stress.py Changes to memray_conversion_stress.py
  • memray_hub_stress.py Changes to memray_hub_stress.py
  • memray_schema_stress.py Changes to memray_schema_stress.py
  • validate_spdx_headers.py Changes to validate_spdx_headers.py
  • availability.py Changes to availability.py
  • schema_adapter.py Changes to schema_adapter.py
  • decorators.py Changes to decorators.py
  • decorators.py Changes to decorators.py
  • adapters.py Changes to adapters.py
  • handler.py Changes to handler.py
  • components.py Changes to components.py
  • discovery.py Changes to discovery.py
  • validators.py Changes to validators.py
  • service.py Changes to service.py
  • function_adapter.py Changes to function_adapter.py
  • apply_resource_change.py Changes to apply_resource_change.py
  • call_function.py Changes to call_function.py
  • plan_resource_change.py Changes to plan_resource_change.py
  • utils.py Changes to utils.py
  • decorators.py Changes to decorators.py
  • test_availability.py Changes to test_availability.py
  • __init__.py Changes to __init__.py
  • baselines.json Changes to baselines.json
  • conftest.py Changes to conftest.py
  • test_conversion_memory.py Changes to test_conversion_memory.py
  • test_hub_memory.py Changes to test_hub_memory.py
  • test_schema_memory.py Changes to test_schema_memory.py
  • uv.lock Changes to uv.lock
  • wrknv.toml Changes to wrknv.toml
  • Fixed mypy type error in schema_adapter nesting mode map specify internal
    36 files
    • ci.yml
    • .gitignore
    • VERSION
    • pyproject.toml
    • add_spdx_headers.py
    • __init__.py
    • memray_analysis.py
    • memray_conversion_stress.py
    • memray_hub_stress.py
    • memray_schema_stress.py
    • validate_spdx_headers.py
    • availability.py
    • schema_adapter.py
    • decorators.py
    • decorators.py
    • adapters.py
    • handler.py
    • components.py
    • discovery.py
    • validators.py
    • service.py
    • function_adapter.py
    • apply_resource_change.py
    • call_function.py
    • plan_resource_change.py
    • utils.py
    • decorators.py
    • test_availability.py
    • __init__.py
    • baselines.json
    • conftest.py
    • test_conversion_memory.py
    • test_hub_memory.py
    • test_schema_memory.py
    • uv.lock
    • wrknv.toml
  • Fixed lint and formatting issues for CI compliance remediate errata
    1 file
    • VERSION