fix: merge _get_hermes_home() dynamic resolution and feishu receive_id_type detection#13725
Closed
dengtaoyuan450-a11y wants to merge 1 commit into
Closed
fix: merge _get_hermes_home() dynamic resolution and feishu receive_id_type detection#13725dengtaoyuan450-a11y wants to merge 1 commit into
dengtaoyuan450-a11y wants to merge 1 commit into
Conversation
…d_type detection - scheduler.py: Replace static _hermes_home with dynamic _get_hermes_home() function to support profile switching at runtime (HERMES_HOME override) - scheduler.py: Replace static _LOCK_DIR/_LOCK_FILE with _get_lock_paths() function for profile-aware lock path resolution - feishu.py: Add receive_id_type detection (oc_/ou_ -> open_id, else chat_id) to fix Feishu API '[230001] ext=invalid receive_id' error for user DMs
32d4f8d to
25d81b0
Compare
2 tasks
teknium1
added a commit
that referenced
this pull request
May 5, 2026
After PR #13725 replaced the module-level _LOCK_DIR/_LOCK_FILE constants with a dynamic _get_lock_paths() helper, the xdist-isolation fixture needs to patch the function instead of the removed constants.
RationallyPrime
pushed a commit
to RationallyPrime/hermes-agent
that referenced
this pull request
May 8, 2026
After PR NousResearch#13725 replaced the module-level _LOCK_DIR/_LOCK_FILE constants with a dynamic _get_lock_paths() helper, the xdist-isolation fixture needs to patch the function instead of the removed constants.
rmulligan
pushed a commit
to rmulligan/hermes-agent
that referenced
this pull request
May 11, 2026
After PR NousResearch#13725 replaced the module-level _LOCK_DIR/_LOCK_FILE constants with a dynamic _get_lock_paths() helper, the xdist-isolation fixture needs to patch the function instead of the removed constants.
JinyuID
pushed a commit
to JinyuID/hermes-agent
that referenced
this pull request
May 11, 2026
After PR NousResearch#13725 replaced the module-level _LOCK_DIR/_LOCK_FILE constants with a dynamic _get_lock_paths() helper, the xdist-isolation fixture needs to patch the function instead of the removed constants.
jsboige
pushed a commit
to jsboige/hermes-agent
that referenced
this pull request
May 14, 2026
After PR NousResearch#13725 replaced the module-level _LOCK_DIR/_LOCK_FILE constants with a dynamic _get_lock_paths() helper, the xdist-isolation fixture needs to patch the function instead of the removed constants.
gweeteve
pushed a commit
to gweeteve/hermes-agent
that referenced
this pull request
Jun 2, 2026
After PR NousResearch#13725 replaced the module-level _LOCK_DIR/_LOCK_FILE constants with a dynamic _get_lock_paths() helper, the xdist-isolation fixture needs to patch the function instead of the removed constants.
Egavasyug
pushed a commit
to Egavasyug/hermes-agent
that referenced
this pull request
Jun 10, 2026
After PR NousResearch#13725 replaced the module-level _LOCK_DIR/_LOCK_FILE constants with a dynamic _get_lock_paths() helper, the xdist-isolation fixture needs to patch the function instead of the removed constants.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修复内容
scheduler.py 动态解析
_hermes_home→ 动态函数_get_hermes_home()_LOCK_DIR/_LOCK_FILE→ 动态函数_get_lock_paths()feishu.py receive_id_type 检测
receive_id_type动态检测(oc_/ou_→open_id,其他 →chat_id)[230001] ext=invalid receive_id错误关联任务