Skip to content

story_index: restore write mode before unlink on replace failure (STORY-INDEX-STAGE-CLEANUP) - #812

Closed
trigger337 wants to merge 1 commit into
ProjectLeonida:mainfrom
trigger337:fix/story-index-stage-cleanup
Closed

trigger337 wants to merge 1 commit into
ProjectLeonida:mainfrom
trigger337:fix/story-index-stage-cleanup

Conversation

@trigger337

Copy link
Copy Markdown
Contributor

When publishing report output (CSV/JSON), if os.replace fails (for instance due to permission errors), resetting os.chmod to 0o600 ensures TemporaryDirectory cleanup does not fail on Windows with PermissionError.

agent: yes
AI-assisted: yes

…RY-INDEX-STAGE-CLEANUP)

When publishing report output (CSV/JSON), if os.replace fails (for instance
due to permission errors), resetting os.chmod to 0o600 ensures
TemporaryDirectory cleanup does not fail on Windows with PermissionError.

agent: yes
AI-assisted: yes
@aslan2142

Copy link
Copy Markdown
Collaborator

Thanks for picking this up. We're closing this in favour of #789, which covers the same item. The reasons:

Thanks again. If you'd like another item, the open ones are in the coordination issue.

AI-assisted (Claude Code, Claude Opus 5.5).

@aslan2142 aslan2142 closed this Nov 24, 2026
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.

2 participants