fix(ci): the website, guide-image and game-free checks pass on main again #2463
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2463
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:main-ci-fixes"
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
Three CI jobs fail on
mainat8aa5ab87, for every pull request and for the hourly Website on Cloudflare deploy. A setof game-free checks fails there too. Each failure comes from a change already merged to
main(mostly #2383's splitRender resolution and Frame generation rows, also #2258's stale log and #2338's RADV workaround) that the checks were
not updated for. This brings them back in line. No game code changes: only the website's checks, the docs, the guide
image,
tests/and the mise Node pin.The table names no condition for FSR 4 model, which the menu shows only on some PCs; with that fixed,table/menu graphics coverage mismatch at Dynamic resolutionand thenat Frame generation multiplier.docs/user/graphics-and-controls.mdis reworded to the site's "shown only on AMD GPUs" form.website/src/repo-docs/graphics-settings.tsaccepts #2383's two unsaved view rows (&dyn_res_ui,&fg_mult_ui)by key, and adds badges for their conditions ("shown while Frame generation is Fixed", "shown while Dynamic
resolution is Off", and Dynamic resolution's "shown unless the Upscaler fixes the render size", its
.shownhook).
settings-graphics.pngchanged. A capture with themaintained UI-only helper (
scripts/screenshots/capture_menu.py), compared by eye with the old image, shows theimage really is stale: Render resolution's "Auto (dynamic)" is now #2383's Dynamic resolution Off/On row, inside the
pictured view. The image is replaced with the helper's output, and the manifest records the new capture and review.
test or group:
test_pipeline_share: reads Frame generation's names from #2383's two functions.test_crt_options,test_menu_text_field: stubpreview_locked.test_menu_save_atomic:Row::setting, plus a new check that an unsaved row writes no line.test_vibration_menu,test_rumble_menu: stand-ins for #2383's Render resolution helpers; the wheel check reads!drag_state.active().test_amd_subgroup_profiles,test_shader_profile_caps: RADV's driver id,VK_MAKE_VERSION,driverVersion.test_target_image_reuse,test_readback_timeout_source: cut in the realgone_note,Texture::id.test_flat_map: the realcompat/longshot_env.hand a tracedtexture_still_resolved.test_wb_spans:#include <memory>.test_vram_compact: looks forgone_note(t->id).test_rdna2_mesh_only: aprofile(), plus a check that the RADV workaround keeps programs apart in the cache.test_guest_holes: passes and assertsupload_all_zero'schecked.test_nonuniform_image_arrays: the same RADV stand-ins intests/nonuniform_image_arrays_ir.cpp.test_dev_packs: looks for--romfs <folder>as a pair anywhere in the preparation's command (the journal flagsnow follow it).
test_appimage_package_retry: #2373'ssed -iover/etc/apt/sources.list.d/*.listis stood in for, as apt is(it ran the real
sed: every case failed on a PC without/etc/apt, and on a Debian one it would edit themachine's own sources); the success case checks it rewrites the PPA's host once, after enrollment.
test_native_float_atomic_add,test_split_ub_flush,test_ub_snapshot_default,test_vk_occlusion_queries:no
-isystemfor a headers folder the compiler searches anyway. WithLONGSHOT_VULKAN_HEADERS=/usr/include,-isystem /usr/includecame before the C++ library's own folders and broke<cstdlib>'s#include_next <stdlib.h>("'stdlib.h' file not found"). That is a PC's setup, not main's code: the same checkspass with the same headers from a folder of their own.
mise.tomlpinned Node 22.12.0, which the website's Astro refuses (engines>=22.23.4).mise.tomland
mise.locknow pin 22.23.5, with nodejs.org's published checksums.Read first:
website/src/repo-docs/graphics-settings.ts,docs/user/images/guide/manifest.json, then the tests.Testing
Tested: on Linux (CachyOS, clang 23.1.4), game-free only; nothing here runs in the game.
scripts/website_check.shpasses (Astro build,check-site.ts, 94/94 node tests) under mise's new Node 22.23.5.scripts/check_guide_screenshots.py --review-sources,tests/test_guide_screenshots.pyandtests/test_launcher_capture.pypass. The Launcher images stay NOT CHECKED (no Launcher checkout given), as onmain.
tests/run_all.py --strictat the head, as one job through the PC's queue (build mode), Vulkan and SPIR-Vheaders from the system's
/usr/include: 961 passed, 0 failed, 18 skipped (each a Windows-only check, one needinggame files, or one needing a Vulkan device). On
mainthe same run had 22 failures, all fixed here.Still to test:
Measurements
Nothing to measure: checks, docs, a guide image and a tool pin; no code the game runs changes.
Risks
Nothing a player notices; a revert is enough. Developers' mise installs Node 22.23.5 on the next
mise install.The guide image's version text now reads
nightly-798-8aa5ab87-1-ge78aa33d6.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
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
mise.toml pinned Node 22.12.0, and the website's Astro refuses it ("Node.js v22.12.0 is not supported by Astro! ... >=22.23.4"), so scripts/website_check.sh failed under mise's Node. mise.toml and mise.lock now pin 22.23.5, the newest 22.x, each platform's checksum from nodejs.org's SHASUMS256.txt for that release. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016o1k1SkKpc592GgxftLP8oPossibly related, for context:
WIP: fix(ci): the website, guide-image and game-free checks pass on main againto fix(ci): the website, guide-image and game-free checks pass on main again