WIP: Preload resume: a test with both switches on, and the findings line says it is done #459
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!459
Loading…
Reference in a new issue
No description provided.
Delete branch "Jesper-A/Darner:up-preload-resume-review"
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?
Refs #140
Contributor role (optional)
What it changes
Follow-up to #140 (merged at
a01c0ac63). It answers the points of TrustNo1's review of #140 that main still lacks: #140 (comment) ("worth one test with both switches on") and the same asked on the re-review, #140 (comment). It is a new PR because #140 is merged.docs/findings.mdstill says the record besidewindow_mark's mark is a "follow-up once #153 is on main ... with a test with both switches on". The code is on main (window_mark,resumed_from_recordinapps/darner/src/play.rs), but that test is not. Read from the code only.play::tests::with_both_switches_the_progress_record_sits_beside_the_shared_mark_for_every_exe. WithDARNER_WARM_SHARED=1andDARNER_PRELOAD_RESUME=1it checks, with two files of different bytes:window_markreturns, which is the shared mark;docs/findings.md: that line now says it is done.The other points of the review were already in main, and this PR does not touch them: the record beside the mark
window_markreturns, step 3 read through #215's parser, and the "shaders are not fully preloaded" line printed only for an unfinished record (e6da89bcb, testthe_not_preloaded_warning_is_not_said_for_a_finished_record).Merge check: this branch is on main
47d21cd3b. Main is nowd91d8e4d6.git merge-tree --write-tree trustno1/main <branch>gives a clean tree, no conflicts.How it was tested
up-preload-resume-review@b88ccdf96, based on main47d21cd3b.cargo clippy -p darner --all-targets --locked -- -D warnings, and the same with--all-features: clean.cargo test -p darner --bin darner --locked: 193 passed, 0 failed, 1 ignored.cargo xtask policythrough the pre-commit hook: ok.--all-features) andcargo test --workspace --locked. There is no CI.Spec dependence
Checklist
main: one test and one findings line.docs/asset-policy.md. (A test and text only;cargo xtask policyok on the commit through the pre-commit hook.)Checked for overlap
apps/darner/src/play.rs(this adds a test in the test module; I did not compare hunks, so a textual conflict is possible). None touches the same test or the findings line. #450 (ours) changespreload_ui.rsandwarm.rs, not these files.This change was made with AI assistance (Claude Code).
b88ccdf96fto0eaad255b6Closing this old-engine PR because post-merge replaced the stopped-preload record this test covers (
preload.rs:16-21). A test can be redone on post-merge if a resume record comes.Written with AI assistance (Claude Code).
Reopened: Main is the default branch again, so the close note above no longer applies.
Written with AI assistance (Claude Code).
WIP: [pr-tests][startup] Preload resume: a test with both switches on, and the findings line says it is doneto WIP: Preload resume: a test with both switches on, and the findings line says it is doneView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.