test: the checks that fail on main pass again, and two dev tool bugs they caught #2311
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2311
Loading…
Reference in a new issue
No description provided.
Delete branch "pepe999/Longshot:test/main-checks-again"
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 checks fail on
main@753fb5af. Guide screenshots runs on every push and pull request, so each one inherits its failure. The Python ones run by hand only for now (ci.yml,workflow_dispatch), so nothing shows them failing, and each pull request's author has to find out that they fail onmaintoo. This fixes the causes; the review order is the commits'.main's last pushes):device_policy.h(#2227, #2228) andvk_api.h(#2275) changed since the Graphics image was reviewed. Reviewed as the guide's README says: no file of the menu names what changed, so the image is kept.gpu_arch.h, whichdevice_policy.hnow includes, joins the reviewed sources. No new capture.computes_plan(precompile_computes_which(), ...)calls; #2193 added a third, rightly. It now reads every call's first argument, so another right call passes, and a wrong one anywhere fails, also incompute_warm_plan, which the count did not see.nx2/build.pyimportschunks.pyfor its cut (#1431), andpacks.build_scriptsfollowed the imports insidechunks.py's other functions tooot_patches.py. A pack of a game patch was taken as a build script change (both modules built and kept), and the check stopped there, its later checks not run. Of the modulesbuild.pyimports, only what they import at their top counts now."$@"is empty before that, somise run build --work Xpassed the development folder's--workas well. The task is now one command with the arguments last, right either way.-Werror.Testing
Tested: Linux, no game run (nothing the game runs changes).
scripts/check_guide_screenshots.py --review-sources,tests/test_guide_screenshots.pyandtests/test_launcher_capture.py, the Guide screenshots job's three steps: the first fails onmain, all pass here. The revision formula was checked to give the previous review's hash first.tests/run_all.py --strict, whatmise run testruns, in a container asci.ymlsets its job up (Ubuntu 24.04, clang 18.1.3, g++ 13.3, glslang 16.6.0, spirv-val, .NET 8; no network): 937 passed, 2 failed (test_dev_packs, test_pipeline_state_computes), 18 skipped onmain; 939 passed, 0 failed, 18 skipped here.--strict), at753fb5afand here:main; 916, 2, 39 here. The 2 (test_audio_source, test_obj_cache_size) need a sanitizer library this toolchain lacks.main, 5 here: test_audio_source (the same), nx2/test_mesh_first_types, test_link_skip and test_thinlto_tls (they need clang or lld on the PATH), and test_image_view_retry (g++'s-Wextraon a line ofvk_texture.cpp: not changed here).compute_warm_plan) each fail test_pipeline_state_computes; following every import, or none insidebuild.py's functions, fails test_dev_packs.Still to test:
mise run build --work Xreaches make_game.py with that--workalone (by hand)Measurements
Nothing to measure: checks, docs and dev tools only; the game, its build and its caches are unchanged.
Risks
A module
build.pyimports that came to import, inside a functionbuild.pycalls, another ofnx2/'s would not count as a build script in a pack; none does now (the four modules this leaves out areoot_patches,poll,unpackandzbic, used by the lift and the .nup's reading). A revert is enough. Players notice 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
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
Correction to the description as it was first: the Python source checks don't run for pull requests either, only by hand (
ci.yml,workflow_dispatch), so a pull request does not inherit those failures in CI. Guide screenshots, which runs on every push and pull request, it does. My message in the room (19:56) says the same wrong thing; the correction follows there when it takes the next post.tests/run_all.py --strictran in a container set up asci.yml's job:main@753fb5af937 passed and 2 failed, this head 939 passed and 0 failed, 18 skipped in both (Windows, a GPU, the dump).WIP: test: the checks that fail on main pass again, and two dev tool bugs they caughtto test: the checks that fail on main pass again, and two dev tool bugs they caught@rebase
I rebased this pull request onto
main(d02cac0fb4): the new head is40ef30a171.Conflicts resolved
Nothing was built or run: read the resolution before merging.
Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.
4289ac322740ef30a171Recommendation: Approve. The pull request combines unrelated fixes despite the repository’s one-topic rule. The guide review record also names the wrong revision. Nothing blocking is left. Recommend approval; not approved on the forge.
The change repairs several developer checks, narrows pack build-script classification, fixes build-task argument forwarding, and records a guide image source review. These changes improve developer workflows but do not change the game.
Should fix (1): not blocking, but worth doing before merging.
Nits (1): optional.
docs/user/images/guide/source-review-81e8a6ba.md:21: The review record says the manifest revision starts with 81e8a6ba, but the manifest records 55485e13. (more on the line) Do: Correct the stated revision and the document title or filename if those are intended to identify the same revision.@fixcan do L1 and L2.Checks: Still running: 6 checks.
More: does it help, other systems, switches, what was read
Does it help: Yes: the author reports the strict suite changing from 937 passed and 2 failed on main to 939 passed and 0 failed on this head, with 18 skipped in both. The author also reports testing the mise task with mise 2026.11.10; an older mise remains untested.
Other systems: Pack classification affects developer runtimes and Test Farm builds: the reviewed imports used by the current build remain included, while lift-only imports are excluded. The mise task affects developers on Windows and Linux; the reported task run was on Linux. No game runtime or GPU code changes.
Switches: None.
Reviewed:
40ef30a171againstd02cac0fb4: Read AGENTS.md, CONTRIBUTING.md, the pull request template, standards, the full diff and commit messages, and the changed code and its relevant callers. Skimmed the guide manifest and guide maintenance documentation. docs/review-checklist.md and the sibling Tooling checkout were absent. Large test fixtures and unrelated portions of the pack tool were skimmed.; nothing run (a code review).Checked and fine:
Testing: No commands from the project or tests were run, as requested. The author reports Linux suite and mise results; the older mise run and listed CI jobs remain outstanding.
Overlaps and merge order: Unknown; the network is closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.
@ -0,0 +18,4 @@version caption is the original capture's, as before. No fresh rendering, pixel comparison, game run, live GPU check ornew capture is claimed.The review revision in `manifest.json` (`sha256:81e8a6ba...`) is the SHA-256 of the sorted `<path> <sha256>` linesL2 (nit): The review record says the manifest revision starts with 81e8a6ba, but the manifest records 55485e13.
When: A maintainer using this record to identify or verify the reviewed source revision is directed to a hash that is not in the manifest.
Do: Correct the stated revision and the document title or filename if those are intended to identify the same revision.