plating 2026-03-21
Memray profiling infrastructure, ruff lint fixes, and provide-foundation pin
25 files · 377+ · 80-

Memray memory profiling test suite

10 files changed
  • __init__.py Package init
  • baselines.json Memory baseline thresholds for three hot paths
  • conftest.py Shared fixtures for memray tests
  • test_doc_generator_memory.py Memory regression test for doc_generator hot path
  • test_schema_formatting_memory.py Memory regression test for schema formatting hot path
  • test_template_engine_memory.py Memory regression test for template engine hot path
  • memray_doc_generator_stress.py 74-line stress script for doc generator
  • memray_schema_formatting_stress.py 105-line stress script for schema formatting
  • memray_template_engine_stress.py 94-line stress script for template engine
  • wrknv.toml Added memray task targets
  • Added memray memory regression tests for doc_generator, schema formatting, and template engine hot paths. Each test exercises the path and asserts peak allocations stay within baselines.json thresholds. Excluded from default pytest recursion via testpaths config. Standalone stress scripts drive higher-load scenarios for profiling sessions. qualify internal
    9 files
    • __init__.py
    • baselines.json
    • conftest.py
    • test_doc_generator_memory.py
    • test_schema_formatting_memory.py
    • test_template_engine_memory.py
    • memray_doc_generator_stress.py
    • memray_schema_formatting_stress.py
    • memray_template_engine_stress.py

Ruff lint compliance

11 files changed
  • auto_detect.py Ruff formatting fixes
  • main.py Ruff formatting fixes
  • pyproject.py Ruff formatting fixes
  • doc_generator.py Ruff formatting fixes
  • index_merger.py Ruff formatting fixes
  • project_utils.py Ruff formatting fixes
  • markdown_validator.py Ruff formatting fixes
  • nav_generator.py Ruff formatting fixes
  • registry.py Ruff formatting fixes
  • engine.py Ruff formatting fixes
  • functions.py Ruff formatting fixes
  • Applied ruff format and lint pass across all source modules. No behavioral changes — whitespace, quote normalization, and import ordering. remediate errata
    11 files
    • auto_detect.py
    • main.py
    • pyproject.py
    • doc_generator.py
    • index_merger.py
    • project_utils.py
    • markdown_validator.py
    • nav_generator.py
    • registry.py
    • engine.py
    • functions.py

Provide-foundation pin and version bump

4 files changed
  • VERSION Version bump
  • pyproject.toml Pinned provide-foundation>=0.3.21; excluded tests/memray from default pytest recursion
  • uv.lock Lockfile update for provide-foundation 0.3.21
  • .gitignore Added memray output artifacts to gitignore
  • Pinned provide-foundation>=0.3.21 in pyproject.toml. Updated uv.lock. Excluded tests/memray from pytest default testpaths to prevent memray tests from running in the default suite. baseline internal
    4 files
    • pyproject.toml
    • uv.lock
    • VERSION
    • .gitignore