{"repo":"NousResearch/hermes-agent","public_id":"126766","display_label":"Memoization error in pytest-ancestor detection logic","summary":"A bug causes `_has_pytest_ancestor` to permanently cache a `False` result when a transient `psutil` failure occurs during the ancestry probe, incorrectly disabling a production-DB guard. The fixes stop memoizing indeterminate or erroring probe outcomes.","subsystem":"agent","counts":{"members":4,"open_issues":1,"open_issues_distinct":1,"open_prs":1,"closed_issues":0,"merged_prs":0,"attempt_prs":3},"landed_fix":null,"resolution":{"state":"unresolved","by":null},"freshness":{"state":"never_verified","last_verified_at":null,"is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.5},"fix_edges":[],"members":[{"kind":"issue","number":126766,"title":"[Bug] `_has_pytest_ancestor` memoizes a `False` derived from a transient `psutil` failure, permanently disarming the live-production-DB guard for the process","url":null,"state":"open"},{"kind":"pr","number":126798,"title":"fix(state): do not memoize a failed pytest-ancestor walk","url":null,"state":"closed","close_reason":{"category":"stale_abandoned","implication":"active"},"merged":false},{"kind":"pr","number":126813,"title":"fix(state): stop memoizing an indeterminate pytest-ancestry probe","url":null,"state":"open","close_reason":{"category":"silent_close","implication":"active"},"merged":false},{"kind":"pr","number":130046,"title":"fix(state): do not memoize indeterminate pytest-ancestor walk (#126766)","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#126798","number":126798}],"category":"superseded_by_pr","implication":"superseded"},"merged":false}],"trust":{"default_tier":"verified","includes_suggested":false}}