BVH-REHYDRATE-MODE-FOLLOWUP: mode and read-only destination tests #1995
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!1995
Loading…
Reference in a new issue
No description provided.
Delete branch "bvh-rehydrate-mode-followup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request successfully merged and closed
Claimed in the current coordination issue (#1608, since #14 hit GitHub's comment limit) as:
BVH-REHYDRATE-MODE-FOLLOWUP(claim comment).Follow-up to the maintainer's note on merged #915: "Worth a follow-up: a test that an output with mode 0640 keeps it, and one for a read-only destination."
Adds three synthetic tests to
tests/test_bvh_rehydrate_stage_cleanup.py:0640destination preserves0640.0444(read-only) destination works on POSIX and the new output stays0444.OSErrormessage, leaves no staged file, and leaves the previous output intact.Checks: 4 tests in the file pass; existing 18
test_bvh_rehydrate.pytests pass; line-ending test passes;check_no_game_data.pyclean. Synthetic bytes only — no game data.AI-assisted: yes.
#1995 | head
4225f8209dbcdfdb60a72c9cf1beed5a3253c85b|python3 -I tests/test_bvh_rehydrate_stage_cleanup.py -v| red: 4 passed | green: 4 passed | Green on both treesThis test-only PR adds POSIX file-mode and read-only output cases. All four tests executed successfully on Linux in both phases.
Pinned main
33db04a7010e81c40a7a6a15624525aa0c4a3a58, merged into this PR head. Ubuntu 26.04.1 (WSL2), Python 3.14.4. Full suite: not run. AI-assisted: OpenAI Codex. Batch claim.Merged, thank you @fitzypopper! This PR (BVH-REHYDRATE-MODE-FOLLOWUP: mode and read-only destination tests) was checked by zmasi or sodove and then by our own local run of its tests with main merged in, and it passed cleanly, so it went in with its reviewed batch.
AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.