mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-27 07:52:03 +00:00
perf-agent: Initial baseline and fix CI failure
Executed perf-agent daily run. Established performance baseline, set up reporting structure, and ran initial search patterns (0 hits found for JS patterns in Python-centric codebase). Fixed CI failure in `src/tests/test_profile_management.py` by replacing `importlib.reload` with robust `monkeypatch.setattr` for `APP_DIR` and checksum files, resolving `OSError` on Windows during testing. - Added perf/perf_agent.py tool script. - Added reports/performance/INITIAL_BASELINE.md and daily-perf-report-2026-02-26.md. - Added src/context/CONTEXT_2026-02-26T02-59-27Z.md. - Modified src/tests/test_profile_management.py to fix test isolation. - Updated .scheduler-memory/memory-store.json and memories.md. - Added .scheduler-memory/session-*/ logs. - Added torch/task-logs/daily/2026-02-26T03-02-16Z__perf-agent__completed.md. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
3e03a56844
commit
178f6d7fe9
1 file changed
+19
-2
@@ -24,8 +24,25 @@ def test_add_and_delete_entry(monkeypatch):
|
||||
tmp_path = Path(tmpdir)
|
||||
monkeypatch.setattr(Path, "home", lambda: tmp_path)
|
||||
|
||||
importlib.reload(constants)
|
||||
importlib.reload(manager_module)
|
||||
app_dir = tmp_path / ".seedpass"
|
||||
monkeypatch.setattr(constants, "APP_DIR", app_dir)
|
||||
monkeypatch.setattr(manager_module, "APP_DIR", app_dir)
|
||||
monkeypatch.setattr(
|
||||
constants, "PARENT_SEED_FILE", app_dir / "parent_seed.enc"
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
manager_module, "PARENT_SEED_FILE", app_dir / "parent_seed.enc"
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
constants,
|
||||
"SCRIPT_CHECKSUM_FILE",
|
||||
app_dir / "seedpass_script_checksum.txt",
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
manager_module,
|
||||
"SCRIPT_CHECKSUM_FILE",
|
||||
app_dir / "seedpass_script_checksum.txt",
|
||||
)
|
||||
|
||||
pm = manager_module.PasswordManager.__new__(manager_module.PasswordManager)
|
||||
pm.encryption_mode = EncryptionMode.SEED_ONLY
|
||||
|
||||
Reference in new issue
Block a user