fix: main's checks pass again after the FPS cap, dynamic resolution and Skip cinematics changes #3057
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3057
Loading…
Reference in a new issue
No description provided.
Delete branch "llun/Longshot:fix/main-checks-fps-cap"
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?
Summary
Several of
main's own checks fail since pull requests that merged right after the mod API (#2822). This makes them pass again.maintest_framegen_auto_dlsscap_ratecall takes the custom cap toocargo fmt --all --checkcargo clippy -D warnings, ingame-coretest_menu_ini_keys,test_settings_area_keys,test_option_ids, and the menu's own tests (modtool)FROZEN, its place in the menu's layout and its entry among the Debug tab's English labels. ItslegacyId = 53is removed: those numbers are the input recordings', and a new setting takes noneRead first:
session.rson_event_skip, andgame/mods/developer/mod.toml.Testing
Tested: Windows 11 (build 26300), RTX 5080, driver 621.47, no MSVC (Rust's gnullvm host, the repository's llvm-mingw), the sandbox on. On
3d32546eb:dev.py smokepasses (Kokiri Forest, 900 frames, the menu opened). With Skip cinematics turned on over the control bridge, a teleport to Hyrule Field arrives and plays on at 60 fps. No cutscene was skipped in that run.cargo fmt --all --check, modtool's 229 tests, the generated files' checks,mise run lint, and the five Python checks this touches pass.mise run test, whole, on 37e895545 (the same but for #3055, #3056 and the last commit): 826 pass and 4 fail:test_menu_ini_keys,test_option_ids,test_settings_area_keysandtest_lifter(modtool's menu tests). Those are the last row of the table and pass here. The whole suite was not run again after that. Clippy ofapiandgame-core, and their 906 tests, passed on that version.Still to test:
Measurements
Nothing to measure: checks, formatting, a lint and a removed number.
Risks
on_event_skip(Debug > Skip cinematics, off by default) is rewritten, not changed: the same conditions, the same 79 bytes at most.Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named).main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
mainand passes here.tests/that reads changed source is updated, not weakened.Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.🤖 Generated with Claude Code
Tested in game: Windows 11 (build 26300), RTX 5080, driver 621.47, the sandbox on,
3d32546eb: dev.py smoke passes (Kokiri Forest, 900 frames, the menu opened). With Skip cinematics on, a teleport to Hyrule Field arrives and plays on at 60 fps; no cutscene was skipped in that run.@review
Recommendation: Approve. The changes appear to restore the checks without changing the hook’s read order. Nothing blocking is left. Recommend approval; not approved on the forge.
The PR updates stale checks and menu expectations, removes a newly assigned legacy recording ID, and reformats or rewrites code for Rust checks. The runtime rewrite adds no apparent behavioral cost; recordings that used option 53 lose that setting on replay, as disclosed.
Checks: Still running: 11 checks.
More: does it help, other systems, switches, what was read
Does it help: Unproven: the author reports the affected checks pass on the head, but the full suite and Linux checks have not yet completed on that revision. The game smoke run did not exercise a skipped cutscene.
Other systems: The session hook runs on both Windows and Linux; its conditions, byte limit, and read order appear unchanged. Removing legacy ID 53 affects recordings made with that ID, while the saved settings key remains unchanged. No renderer interface, GPU path, save format, or platform file handling is changed.
Switches: None added, changed, or removed.
Reviewed:
3d32546ebfagainst27ac13b75d: Read the diff, commit messages, repository rules, standards, PR template, session hook, developer manifest, option-ID check, and legacy recording lookup. Skimmed the larger changed test and API files and their surrounding references; not all of those files were read in full. The requested review checklist and adjacent Tooling AGENTS.md were absent.; nothing run (a code review).Checked and fine:
Testing: No code or tests were run during this review. The author reports Windows checks and a smoke run; head CI is still running.
Overlaps and merge order: Not checked; network access is unavailable.
Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.