Skip to content

fix: canonicalise HOME in transcript-tail test for macOS#68

Merged
attila merged 1 commit into
mainfrom
fix/macos-tempdir-canonicalisation
Jun 4, 2026
Merged

fix: canonicalise HOME in transcript-tail test for macOS#68
attila merged 1 commit into
mainfrom
fix/macos-tempdir-canonicalisation

Conversation

@attila

@attila attila commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • cargo test --features test-support --test hook hook_transcript_tail_toggle_populates_field_when_enabled passes locally on macOS
  • just ci passes (full pipeline: fmt, clippy, test, deny, doc)

The macOS tempdir lives under /var/folders/... which symlinks to
/private/var/folders/.... validate_transcript_path canonicalises
the transcript path before the startswith(HOME) check, so the test's
non-canonical HOME override failed the check on macOS while passing
on Linux. Canonicalise the tempdir path before setting HOME.

Also backfill the PR #67 (Ollama runtime probe) entry in ROADMAP.md
under Completed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@attila attila marked this pull request as ready for review June 4, 2026 21:08
@attila attila enabled auto-merge (squash) June 4, 2026 21:08
@attila attila merged commit 48fbc20 into main Jun 4, 2026
10 checks passed
@attila attila deleted the fix/macos-tempdir-canonicalisation branch June 4, 2026 21:09
@attila attila mentioned this pull request Jun 4, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant