github nesquena/hermes-webui v0.50.161
v0.50.161 — CI flakiness fix

latest releases: v0.50.164, v0.50.163, v0.50.162...
5 hours ago

Fixed

  • CI test flakiness eliminatedtest_set_key_writes_to_env_file was non-deterministically failing in full-suite runs because two test files (test_profile_env_isolation.py, test_profile_path_security.py) permanently removed api.profiles from the Python module cache via sys.modules.pop(). Subsequent tests that imported the module got a freshly re-initialized version with different HERMES_HOME state, causing path resolution to go to the wrong directory. Fixed by replacing sys.modules.pop/del with monkeypatch.delitem() so pytest auto-restores the original module reference after each test.
  • api/providers.py _write_env_file() hardened_ENV_LOCK now held for the entire load → modify → mkdir → write cycle (previously only covered os.environ mutations); new .env files created owner-read/write-only (0600) from first byte via os.open.

Reviewed by Opus (test-only + providers.py fix — no independent review required per project policy).

What's Changed

  • fix(ci): add missing provider i18n keys to es/de/zh/ru/zh-Hant — v0.50.160 by @nesquena-hermes in #878
  • fix(ci): eliminate test_set_key flakiness — sys.modules isolation in profile tests by @nesquena-hermes in #879

Full Changelog: v0.50.160...v0.50.161

Don't miss a new hermes-webui release

NewReleases is sending notifications on new releases.