docs(guide): retain the Graphics image after the menu source review #2255
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
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!2255
Loading…
Reference in a new issue
No description provided.
Delete branch "dazemc/Longshot:docs/guide-source-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?
Summary
main(a2dc5385) fails the shared Guide screenshots check:scripts/check_guide_screenshots.py --review-sourcesreports 10REVIEW REQUIREDinputs forsettings-graphics.png(rx_nvn.h,device_policy.h,reshade.cpp,sprint.cpp,menu_i18n.h,vk_api.h,vk_internal.h,vk_menu.cpp,vk_menu.h,vk_texture.h).None of the 10 changes a pictured Graphics row, label, default, help, order, top tab or navigation. The Simulated turf row and the Post-processing section are below the first unscrolled view; the Sprint and reset changes are on the Controls tab; the rest are internal declarations, comments, translations and device policy. The image is therefore retained, not recaptured.
This updates only
reviewed_source.files, its content-derived revision andreview.notes, and addsdocs/user/images/guide/source-review-35be7b3d.md. The PNG, dimensions, SHA-256, capture date, version,captured_sourceandfixture_filesare unchanged.The second commit adds a
.gitleaks.tomlallowlist fordocs/user/images/guide/manifest.json: the newgpu/vk/vk_api.hfingerprint trips gitleaks'generic-api-keyrule because the path containsapiand the value is a high-entropy hash. It is a hash, not a credential. Only that path is allowlisted.Read first:
docs/user/images/guide/manifest.json(settings-graphics.png),docs/user/images/guide/source-review-35be7b3d.md,scripts/check_guide_screenshots.py(check,hashes),.gitleaks.toml.#2252 must merge first. It fixes the separate shared Website check (
table/menu graphics coverage mismatch at Simulated turf); until it lands, this PR's Website job is red for that reason. The Guide check itself is independent and green with this change.See also #2204 (WIP), which touches the same guide manifest and the website Graphics reader; if it lands, it should rebase and drop the guide/website hunks this PR and #2252 already cover.
Testing
Tested: game-free, Linux.
python -I -B scripts/check_guide_screenshots.py --review-sources→ exit 0, 0REVIEW REQUIREDforsettings-graphics.png(10 before); only the expected LauncherNOT CHECKEDnotices remain.python -I -B tests/test_guide_screenshots.py→ 14 tests, OK.python -I -B tests/test_launcher_capture.py→ 4 tests, OK.mise exec -- pre-commit run --from-ref main --to-ref HEAD→ all hooks pass, including gitleaks with the allowlist.Still to test: None.
Measurements
Verdict: the Guide screenshots source check goes from 10
REVIEW REQUIREDto 0, with the image and capture provenance unchanged.Setup: Linux, the repository's
scripts/check_guide_screenshots.pyand the two guide tests; no game, build or renderer run.a2dc53858e893388settings-graphics.pngREVIEW REQUIREDtest_guide_screenshots.pytest_launcher_capture.pyRisks
.gitleaks.tomlallowlist needs maintainer review. It allowlists onlydocs/user/images/guide/manifest.json; every other file is still scanned. Reverting it restores the false positive.Checklist
Ready for review
main; the title is a Conventional Commit. (The gitleaks allowlist is the companion needed for the manifest update to pass lint.)mise run testpasses (any failure that also fails onmainis named). (Not run: the focused guide checks and pre-commit pass, but the full game-free suite has not run for this docs/config-only change. The Website check remains red onmainuntil #2252.)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. (Website red until #2252)WIP: docs(guide): retain the Graphics image after the menu source reviewto docs(guide): retain the Graphics image after the menu source reviewPutting this back to WIP for an honesty correction: the full
mise run testsuite was not run, so the Ready-for-reviewmise run testbox must not stay ticked. It is now unticked. The focused guide evidence is unchanged:check_guide_screenshots --review-sourcesexit 0 with 0 REVIEW REQUIRED,test_guide_screenshots.py14/14,test_launcher_capture.py4/4, and pre-commit passes. The PR stays open. #2252 still must merge first for the Website job, and the.gitleaks.tomlallowlist still needs maintainer review.docs(guide): retain the Graphics image after the menu source reviewto WIP: docs(guide): retain the Graphics image after the menu source reviewWIP: docs(guide): retain the Graphics image after the menu source reviewto docs(guide): retain the Graphics image after the menu source review