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
fix(v0.9.2): serialize CLAUDE_CONFIG_DIR mutation in discovery tests
Windows CI runner failed v0.9.1 release because four tests in
session::discovery::tests mutated CLAUDE_CONFIG_DIR concurrently
and observed each other's writes. Symptom:
assertion `left == right` failed
left: "C:\\Users\\runneradmin\\.claude"
right: "/tmp/custom-claude-config"
Fix: module-level `static ENV_LOCK: Mutex<()> = Mutex::new(());`
acquired at the top of every test that touches CLAUDE_CONFIG_DIR.
Also: claude_config_dir_handles_env_var uses std::env::temp_dir()
for a portable path instead of hardcoded /tmp/... which doesn't
exist on Windows.
Linux + macOS passed silently — the race existed there too but the
particular scheduling order didn't trip it. The mutex prevents the
race on every platform.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: plugin/.claude-plugin/plugin.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "task-journal",
3
-
"version": "0.9.1",
3
+
"version": "0.9.2",
4
4
"description": "Append-only journal of AI-coding task reasoning chains: hypotheses, decisions, rejections, evidence. Renders compact resume packs so an agent can pick up a 2-week-old task with full context.",
Copy file name to clipboardExpand all lines: plugin/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "task-journal",
3
-
"version": "0.9.1",
3
+
"version": "0.9.2",
4
4
"description": "Append-only journal of AI-coding task reasoning chains. Captures hypotheses, decisions, rejections, evidence — renders compact resume packs so an agent can pick up a 2-week-old task with full context.",
0 commit comments