Play: say at the start when a newer release is out (#3720) #3727
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3727
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3727"
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?
@sansj24k on GitHub · 2026-11-30 05:04 UTC · original
sansj24k:feat/update-check→main· +192 −0 · 4 files · 1 commits · closed without mergingFixes #3720 (the check; see "Left out" for the parts it does not do)
What it changes
Releases come several a day, and nothing told a player that a newer one was out short of looking on GitHub, so reports kept arriving from builds a later one had already fixed.
apps/victory/build.rssetsVICTORY_BUILD_COMMITfromgit rev-parse HEAD, or from the environment when that is set (a build outside a checkout). It is empty when unknown, and then there is no check. The build script reruns only when HEAD, the branch's ref orpacked-refschanges, and only files that exist are watched.apps/victory/src/update.rs: afterplay::preparehas set the environment (its SAFETY note says no other thread runs before that), a threadvictory-update-checkruns Windows PowerShell, asget-dlssand the other fetchers already do, so there is no new crate andCargo.lockis unchanged. It makes two requests to GitHub's API:releases/latest, thencompare/<this build's commit>...<tag>. When the release has commits this build lacks (ahead, ordivergedfor a branch made from an older main) it prints:A newer release is out: v2026.11.29.05 (356 commits this build does not have). Download it from https://github.com/trustno1-coder/VIctory-NVIDIA/releases/latest (VICTORY_UPDATE_CHECK=0 turns this check off).identicalorbehindprints nothing.User-Agent.VICTORY_UPDATE_CHECK=0turns it off. It is read beforeprepare, becauseprepareclearsVICTORY_*variables it doesn't keep, and again after it (--set,victory-settings.txt). The README's quick start says what the check does.Left out, on purpose
victory update).victory.exeis unsigned, and a program that rewrites itself from the network is a bigger decision than a notice. The notice gives the link, and the player downloads as before.UPDATE AVAILABLEline in F1, and nothing inscripts\play-foxhound.ps1. Script users build from a checkout andgit pull. Both could follow if this shape is wanted.How it was tested
prepareneeds the title, so the thread itself was not started end to end. Its parts were tested separately:VICTORY_BUILD_COMMITis in the builtvictory.exe(41adb551…), and a secondcargo buildis up to date (the build script doesn't rerun).v2026.11.29.05 identical 0(nothing printed), and withmain~40it returnsv2026.11.29.05 ahead 356(announced).update.rs: the switch either way and no commit (wanted), reading the reply only when every part is the API's (parse), and which statuses are announced (notice).cargo test -p victory: 86 passed (83 + 1 + 2), 0 failed.cargo clippy -p victory --all-targets --no-deps -- -D warnings: clean forapps/victory. The workspace gate fails on main for the reasons #2019 / #3530 fix.cargo xtask policy --staged: ok.cargo testpassed for the crates it touches: yes.Checked for overlap
build.rsmain()for non-Windows targets: whichever lands second needs a small rebase there. Its order withbuild_commit()does not matter, sinceupdate.rsiscfg(windows). Themain.rschange is two lines in thePlayarm.@trustno1-coder on GitHub · 2026-12-01 18:49 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed