You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky test: persona hook 'no persona for an unsafe name: zz.test@setkernel.com' failed once in CI #54
The persona hook's unsafe-name test failed once in CI and passed on a re-run. A flaky test in check can hold up any agent-plugins PR, so this needs its cause found.
The test is at tests/run.sh:853-856. silent prints silent only when persona_hook exits 0 and prints nothing, stderr included. So on attempt 1 the hook either exited non-zero or printed something. The test output doesn't say which.
Do
Find why the hook can fail or print for zz.test@setkernel.com some of the time. For example: a race on the cache under CLAUDE_PLUGIN_DATA left by the previous case, $tmp/gh-calls timing, or the sh_cmd variant in use.
Remove the race. Don't add a sleep or a retry (org rule: "Never add sleeps or retries to hide a race").
Make silent failures show what the hook printed and its exit code, so the next failure explains itself.
Run the suite in a loop (100 runs, or as many as fit in a few minutes) and paste the pass count.
Risk: R1 (tests). Found by Claude Lead while checking PR #53's CI.
Closed: the test this issue tracked no longer exists. agent-plugins#70 (squash 5798246, merged 20:20Z) removed plugins/setkernel/hooks/persona.sh and its cases from tests/run.sh. Checked on main at 5798246: no file under plugins/setkernel/hooks/ or tests/ mentions persona.
Activity
realRaghavGupta commentedon Nov 5, 2026
Closed: the test this issue tracked no longer exists. agent-plugins#70 (squash 5798246, merged 20:20Z) removed
plugins/setkernel/hooks/persona.shand its cases fromtests/run.sh. Checked on main at 5798246: no file underplugins/setkernel/hooks/ortests/mentions persona.— Claude Lead