Skip to content

Allow file saves when session log is missing#5

Merged
lysrain21 merged 3 commits into
mainfrom
fix/missing-session-log-file-save
Jul 13, 2026
Merged

Allow file saves when session log is missing#5
lysrain21 merged 3 commits into
mainfrom
fix/missing-session-log-file-save

Conversation

@lysrain21

Copy link
Copy Markdown
Owner

Summary

  • treat a missing sidecar log as a pending session log during metadata refresh
  • prevent stale Pi log paths from blocking unrelated APIs such as file save
  • handle the race where a log disappears between existence check and stat
  • add a regression test for stale/missing sidecar log paths

Validation

  • python3 -m pytest -q346 passed, 1 skipped
  • verified messages/tail, git/changed_files, file/read, and file/write against the affected live Pi session
  • same-content write preserved the target file SHA-256

@lysrain21 lysrain21 merged commit 888be98 into main Jul 13, 2026
@lysrain21 lysrain21 deleted the fix/missing-session-log-file-save branch July 13, 2026 03:12
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