hle(dstorage): retain file references while reads are in flight #182
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: launcher
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
run report
security: hold
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs gpu test
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Androtim--MiniVI!182
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/182/head"
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?
@Androtim on GitHub · 2026-11-30 02:06 UTC · original
Androtim:feat/iter179-dstorage-file-hold→main· +70 −11 · 1 files · 1 commits · closed without mergingSummary
dstorage.rs):FileHold(*mut Instance<File>)(add_ref_instanceinFileHold::offor non-null non-memory sources,releaseinDrop) stored on enqueuedReadentries (Read::new) and activeJobs.job.file.take()outsidescheduler.lock()inwork()after the read completes and traces flush, preventing dangling pointers when the title releases its last file handle immediately after submitting reads.dstorage::tests::a_file_released_with_reads_in_flight_is_readverifying that in-flight reads complete cleanly with full file contents after the caller releases the file.Verification
cargo +1.98.1-x86_64-pc-windows-gnu run -p xtask -- policy:asset policy: 311 files okcargo +1.98.1-x86_64-pc-windows-gnu test -p victory-hle dstorage:::24 passed; 0 failed; 1 ignored(includinga_file_released_with_reads_in_flight_is_read)cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warnings(default and--features diagnostics): clean@Androtim on GitHub · 2026-11-30 03:03 UTC · original · edited 2026-11-30 16:02 UTC
Automated triage for the maintainers (not an approval).
Verdict:
needs-rebase· CI (check):passingThis PR no longer merges cleanly into
main.To change the verdict: Rebase onto current
mainand resolve conflicts; CI and triage will run again automatically.Generated with Antigravity CLI (
agy).@Androtim on GitHub · 2026-12-01 01:38 UTC · original
Closing stale/conflicted backlog PR per #276. Superseded by the active root-architecture replacement pillars with isolated plain --release A/B verification.
Pull request closed