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!2554
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:push-kuswyqttvqqz"
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
Follows #2553. Its CI run (54316) still failed lint and three of the four game-free parts: the checks hadn't run anywhere since #2286 (the Rust builder) and #2411 (game code in
game/). Each failure and its fix:CI's environment (
.forgejo/workflows/ci.yml)shellcheck: command not found: thequickrunner's image has no ShellCheck. It is now installed from apt when missing.not found: llvm_mc) and test_obj_cache_size.py (cannot find libclang_rt.asan-x86_64.a):scripts/ci_apt.shinstalls with--no-install-recommends, which leaves out clang's sanitizer runtimes, and nothing installedllvm-mcon PATH. The tests job now installsllvmandlibclang-rt-18-dev, and so doesscripts/linux/checks.Dockerfile(test_checks_container keeps the two lists the same).cargo build --releaseof longshot-builder (or build-driver'sredactexample) from cold. They share one target folder and run beside nine other checks, so they passed the 600 s per-check limit before running anything. A cold release build takes about 3 min on 4 fast cores here, with the runner to itself. test_recorder_sync.py (445 s on CircleCI) printedALL PASSfor its stream runs and was stopped while building its broken variants. Now the part whose checks run the release builder builds it in a step before them (found withrun_all.py --list --shard). The per-check limit is 900 s and the job's limit 45 min.Stale tests (they read what #2286 / #2411 moved)
hos_main.c's start now callsbc_claim()(#2286's builder channel). The fixture gets a stub for it, like its other stubs./tmp/mods-sizes-XXXX/long/...is shorter. The game folder's name is now padded to that length, so the case works in any scratch folder. Same check, same 4,040-byte RomFS path.index("upload-artifact")found the header comment that names the action, not the step. It now finds theuses:line. The cache paths were split on whitespace, and${{ runner.temp }}has spaces. They are now split by line. Same assertions.vulkanjob. It is now thepackagejob's last step. The test checks the same things insidepackage: dav1d from the bundle under Wine, and only the build check gated byRELEASE_CHECKED.nx2/oot_patches.py, which #2286 removed. Its host-side checks (the strip helpers and the HUD planner) still run. The lifted half is dropped: the patch pipeline and the pairing of its anchors across lifted files. #2286 has no counterpart for it, which is a real bug, not fixed here: no hook site callshos_wide_title_prepare,_drawor_reset(game/hos_wide_ui.c). So the wide area title card that docs/user/graphics-and-controls.md describes is no longer drawn.ui.pictureConstants(f_815505b0+0x144) andui.pictureDraw(f_81550720+0x20) are already at two of its three places, but their callbacks only draw the pause menu's background. There is no site at f_8156abc0, the reset. Adding sites needs the game's code for their signatures, and the fix needs a game run. It should get an issue and a PR of its own, with its hook check next to the sites, as tests/test_camera_speed.py does.Release job names (own commit): Forgejo shows a reusable workflow's call and its inner job as two rows. The inner jobs are now
longshot-builder (Linux): buildandlongshot-builder (Windows): build, to pair with release.yml'slongshot-builder (Linux)/(Windows). Job ids, needs and outputs are unchanged, and nothing matched on the old names. releases.md's row no longer calls the Windows build check "a job of its own".Testing
Tested: on Linux, each changed check passes locally: test_display_startup_failure, test_mods_sizes, test_release_workflow, test_windows_on_linux, test_title_card_strips, test_checks_container, test_linux_docker_packages, test_recomplauncher_json, test_renhdrum. test_lifter_semantics and test_log_redact pass once the builder is built (87 s). actionlint passes with
.forgejo/actionlint.yaml. CI only, no game code changed: nothing for the game to run.Still to test: None beyond this PR's CI (test_lifter and test_obj_cache_size need the packages that only CI installs).
Measurements
Nothing to measure: CI and tests only.
Risks
CI only. Each run of the tests part that holds test_lifter_semantics and test_log_redact takes a few more minutes for the release build. Nothing changes for players.
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.🤖 Generated with Claude Code
- lint: the quick runner's image has no ShellCheck; installed from apt - tests: llvm (llvm-mc, test_lifter.py) and libclang-rt-18-dev (the ASan runtime, test_obj_cache_size.py), which --no-install-recommends left out; the same in scripts/linux/checks.Dockerfile - tests: the release longshot-builder (and build-driver's redact example) built before the checks in the part that runs them; --timeout 900 (test_recorder_sync) - test_display_startup_failure: a stub for bc_claim, which main now calls - test_mods_sizes: the long path's case pads its game folder, so /tmp's short scratch folder still makes the path too long - test_release_workflow: the upload-artifact step, not the header comment naming it; cache paths split by line (${{ runner.temp }} has spaces) - test_windows_on_linux: the Vulkan build check is a step of the package job now - test_title_card_strips: nx2/oot_patches.py is gone; its host checks kept. The title card's hooks have no hook site since #2286 (a bug, not fixed here) Co-Authored-By: Claude Opus 5.5 <[email protected]>Possibly related, for context:
WIP: fix(ci): the game-free checks and lint pass again after #2286 and #2411to fix(ci): the game-free checks and lint pass again after #2286 and #2411