Skip to content

fix: quick-export Excel race without overwrite - #7

Merged
D-sudoasd merged 1 commit into
mainfrom
fix/quick-export-os-link-race
Aug 12, 2026
Merged

fix: quick-export Excel race without overwrite#7
D-sudoasd merged 1 commit into
mainfrom
fix/quick-export-os-link-race

Conversation

@D-sudoasd

Copy link
Copy Markdown
Owner

Summary

  • When overwrite=False, publish the completed workbook with os.link so a target that appears after the preflight check is preserved (FileExistsError).
  • Adds a race-unit test and CHANGELOG note.

Test plan

  • pytest tests/test_quick_export.py -q
  • CI green

Use os.link for non-overwrite atomic publish so a target created mid-export is not replaced; cover the race with a unit test.
@D-sudoasd
D-sudoasd merged commit 3eac247 into main Aug 12, 2026
8 checks passed
@D-sudoasd
D-sudoasd deleted the fix/quick-export-os-link-race branch August 12, 2026 12:35
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