Fix cross-platform memory probe test
This commit is contained in:
@@ -12,6 +12,12 @@
|
||||
|
||||
Updated: 2026-08-25
|
||||
|
||||
## V3.5.1 stabilization Phase 0 CI portability candidate (2026-08-25)
|
||||
|
||||
- V3.5.1 is feature-frozen for stabilization. Speculative performance changes and broad refactors are excluded; only measured bottlenecks may proceed after the remaining acceptance work closes.
|
||||
- The P2-5 process-memory regression is platform-aware without changing the probe or any Production path: RSS is required everywhere, USS is checked when the platform exposes it, and Windows private commit is tested only on Windows.
|
||||
- Local focused validation is `4 passed`; full Windows validation is `453 passed` with only the known `pynvml` FutureWarning. Syntax and `git diff --check` pass. Remote GitHub Actions remains to be confirmed before publication or updating the public validation count.
|
||||
|
||||
## V3.5.1 Issue #9 Conditioning Bridge candidate (2026-08-24)
|
||||
|
||||
- Added `H3ContinuumConditioningBridgeV35` / `H3 Continuum Conditioning Bridge V3.5` under `MiniMax H3/Continuum/Advanced`.
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# Work Log
|
||||
|
||||
## 2026-08-25 - Stabilization Phase 0 local CI portability fix
|
||||
|
||||
- Froze V3.5.1 feature work and began stabilization with a test-only change. Production Sampling, Layout, Session, Run Storage, Refine Context, UI, and runtime files were not changed.
|
||||
- Split the P2-5 process-memory assertion by actual platform contract: RSS is universal, USS is validated when present, and the Windows private-commit field is Windows-only.
|
||||
- Verified snapshot: `pre-stabilization-phase0-ci-platform-test-accepted-20260825_124156` (477 files), revision `cf92ac609341539de95675c86271fea11c85e040`, excluding top-level `.git` and the pre-existing inaccessible `.pytest_cache`. The standard snapshot attempt stopped on that known ACL before any edit.
|
||||
- Local focused validation is `4 passed`; full validation is `453 passed`; syntax and `git diff --check` pass. Only the known `pynvml` FutureWarning remains. Remote Actions confirmation, commit, and push were not performed.
|
||||
|
||||
## 2026-08-24 - V3.5.1 Issue #9 Conditioning Bridge CPU implementation
|
||||
|
||||
- Preserved all Issue #10 changes and created accepted pre-change snapshots: `pre-issue9-conditioning-bridge-source-accepted-20260824_190823` (460 files) and `pre-issue9-conditioning-bridge-runtime-w-accepted-20260824_190823` (337 files), excluding top-level `.git` and the pre-existing inaccessible `.pytest_cache`.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import importlib.util
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
import torch
|
||||
|
||||
|
||||
@@ -40,10 +42,18 @@ def test_p25_stress_prompt_bypasses_vae_and_preserves_assembler_contract():
|
||||
assert prompt["6"]["inputs"]["video_seam"] == "Auto"
|
||||
|
||||
|
||||
def test_p25_process_memory_snapshot_reports_windows_commit_fields():
|
||||
def test_p25_process_memory_snapshot_reports_portable_fields():
|
||||
probe = _probe_module()
|
||||
snapshot = probe._process_memory_snapshot()
|
||||
|
||||
assert snapshot["rss"] > 0
|
||||
if "uss" in snapshot:
|
||||
assert snapshot["uss"] > 0
|
||||
|
||||
|
||||
@pytest.mark.skipif(os.name != "nt", reason="Windows private commit field")
|
||||
def test_p25_process_memory_snapshot_reports_windows_commit_field():
|
||||
probe = _probe_module()
|
||||
snapshot = probe._process_memory_snapshot()
|
||||
|
||||
assert snapshot["private"] > 0
|
||||
assert snapshot["uss"] > 0
|
||||
|
||||
Reference in New Issue
Block a user