fix: main's Clippy, event-code table and guide screenshot checks pass again #2698
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2698
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:fix-main-checks"
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
mainfails its own CI, so every pull request does. This makes three checks pass again:needless_borrowerrors inrebuild_reason(builder/crates/build-driver/src/play.rs).build-driver'scodestest: the builder sayslog_unavailableandplay_notice(since #2688), whichdocs/dev/reference/build-events.md's table lacked.gpu/vk/device_policy.hchanged in #2158, a flag the policy's log prints and no menu row reads.settings-graphics.pngis retained, with the review recorded (source-review-3b699a6c.md).Testing
Tested: on CachyOS Linux on main
a396b07a(since rebased onto3b699a6c, which changed nothing underbuilder/; the screenshot checks run again there):cargo fmt --all --check,cargo clippy --workspace --all-targets --locked -- -D warnings,cargo test --workspace --locked(787 passed, 0 failed, 2 ignored),scripts/check_guide_screenshots.py --review-sourcesandtests/test_guide_screenshots.pypass. Not run in the game, as asked: the code change only drops borrows of a value that is already a reference. The screenshot was reviewed by reading the source change; nothing was captured.Still to test: None.
Measurements
Nothing to measure: lint, documentation and a review record.
Risks
The code compiles to the same behaviour; a revert is enough. A player notices nothing.
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
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
ab35f845de3ee74483b6WIP: fix: main's Clippy, event-code table and guide screenshot checks pass againto fix: main's Clippy, event-code table and guide screenshot checks pass again