fix(tests): main's own failing checks pass again (the hook-site list, a Linux compile, the website) #3083
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3083
Loading…
Reference in a new issue
No description provided.
Delete branch "llun/Longshot:fix/main-failing-tests"
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 of
main's own checks fail, so every pull request has to explain failures that are not its own. This fixes the ones nobody else is fixing. They share one pull request because they are all the same thing: checks that fail onmainby themselves. Each fix is small and is its own commit.mainsites:every_site_has_one_owner_and_the_sites_are_the_ones_before_the_split(run bytest_lifter)event.skipwithout adding it to the test's list. The site is intended; the list was out of date.site_owners.txttest_vk_wb_cpu_words_faston Linuxstd::minon two number types that are the same on Windows and different on Linux. Any Linux compiler refuses it, not only GCC 16.uint64_t. The renderer is unchanged.test_i18n_completealso fails onmain; #3065 fixes it, so it is not here.Read first:
builder/crates/sites/tests/site_owners.txt,BADGESinwebsite/src/repo-docs/graphics-settings.ts.Testing
Tested: on Windows 11 (Rust
1.99.1-x86_64-pc-windows-gnullvm, llvm-mingw) and Linux (WSL, Ubuntu 24.04). No game run: nothing here is built into the game or the builder.cargo test -p sites --test repositoryfails on that one test withmain's list and passes with this one. All ofcargo test -p sitespasses (46 + 6).test_vk_wb_cpu_words_fast: on Linux it does not compile onmainwith g++ 13 (thestd::minerror) and passes here with g++ 13 and clang++. It passes here on Windows with llvm-mingw's clang++. GCC 16 was not available, so it is not tried there.scripts/website_check.shbuilds and passes 101 of 101 tests. Withmain's rules put back, 21 of the 27 settings tests fail with the Dynamic resolution minimum error, the two new ones among them. With only that rule added, the build stopped at Custom frame rate cap. The zip test failed on Windows before its fix.Not run: the whole suite (
mise run test). Only the checks above were run; no other check or crate reads the changed files.Still to test:
tests/test_vk_wb_cpu_words_fast.py, expecting a pass (by hand).Measurements
Nothing to measure: only tests, a test's list and the website's settings page change. Nothing the game, the build or a cache uses is touched.
Risks
A revert is enough. The settings page on the website gains two badges: "While Dynamic resolution is On" and "While Game frame rate cap is Custom". A player's game and saves do not change. #3082 edits the same comment in
site_owners.txt, so whichever merges second has a small text conflict.Checklist
Ready for review
main; the title is a Conventional Commit. (One topic:main's own failing checks, as the Summary says.)mise run testpasses (any failure that also fails onmainis named). Not ticked: the whole suite was not run, by the author's choice. The affected checks were, as Testing says.main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
mainand passes here.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
@review
Recommendation: Approve. The fixes address reported failures, but they combine unrelated changes in violation of the repository’s one-topic rule. The full suite and the remaining reported checks have not yet completed. Nothing blocking is left. Recommend approval; not approved on the forge.
The change restores hook-site coverage, fixes a Linux test compilation error, repairs website settings generation and normalizes Windows test output. The fixes are small, but they affect independent checks and should be reviewed separately.
Should fix (1): not blocking, but worth doing before merging.
@fixcan do L1.Questions (1) (not confirmed from the code; they don't hold the recommendation)
website/src/repo-docs/graphics-settings.ts:32: What visual problem appears when the two badges are rendered?Checks: Still running: 11 checks.
More: does it help, other systems, switches, what was read
Does it help: Yes, according to the author’s reported runs: the site test passes, the C++ test compiles and passes on the tested Linux and Windows compilers, and the website build and 101 tests pass on Windows. GCC 16 and the full suite remain untested.
Other systems: The game, renderer, builder output and player saves are unchanged. The website gains two condition badges; the reported website checks cover their source data, but no rendered screenshot was supplied.
Switches: None added, changed or removed.
Reviewed:
57d0900844againstb4d56f5264: Read AGENTS.md, CONTRIBUTING.md, docs/dev/standards.md, the PR template, all changed files, the commits and diff, and the relevant site, menu and test harness code. Skimmed related references and translations; docs/review-checklist.md and ../Tooling/AGENTS.md were absent.; nothing run (a code review).Checked and fine:
Testing: Read-only review; no project code or tests were run. The author reports affected checks on Windows and Linux; GCC 16 and the full suite remain outstanding, and CI is still running.
Overlaps and merge order: #3082 edits the same site_owners.txt comment; whichever merges second will need to resolve the text conflict.
Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.
Thanks. On the two points:
main's own failing checks, each is small, and each is its own commit, so any one can be reviewed or reverted alone. The Summary says so.The whole suite has still not been run, so this stays WIP.
WIP: fix(tests): main's own failing checks pass again (the hook-site list, a Linux compile, the website)to fix(tests): main's own failing checks pass again (the hook-site list, a Linux compile, the website)Recommendation: Approve. The pull request combines unrelated fixes, contrary to the repository’s explicit one-topic rule. Separate commits do not resolve that rule because the pull request is squash-merged. Nothing blocking is left. Recommend approval; not approved on the forge.
The changes restore several failing checks and add two website settings badges. The individual fixes are small, but they address unrelated causes and should be separated.
Should fix (1): not blocking, but worth doing before merging.
@fixcan do L1.Since the last review (on
57d0900844)Still open: L1 (This combines unrelated fixes despite the repository’s one-topic rule, which explicitly re…)
Checks: Still running: 11 checks.
Also noticed (2; not asked for, not blocking)
More: does it help, other systems, switches, what was read
Does it help: Yes: the author reports that the affected checks fail on main and pass with the respective fixes on Windows or Linux. GCC 16 remains untested.
Other systems: The changes affect test code and the website settings page, not the game or builder runtime. The author checked the badges at 1024 px in a dark theme; phone width and light theme were not checked.
Switches: None.
Reviewed:
57d0900844againstb4d56f5264: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the diff and commit list. Read the available output for standards and the changed files; the combined file output was truncated, so not all changed code was read in full. No review checklist was found in the listed docs.; nothing run (a code review).Checked and fine:
Testing: No commands that build or run tests were executed. The author reports affected-check runs on Windows and Linux; CI is still running.
Overlaps and merge order: #3082 edits the same site_owners.txt comment; whichever merges second will need to resolve the text conflict.
Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, as llun took it out of WIP. Nothing was run; a maintainer decides.
57d0900844f450fc8103Rebased onto main @
1f5377c51(headf450fc810). The four commits are unchanged (git range-diff). Rerun on Windows: the website's settings, HUD and zip tests pass on this head; the hook-site tests passed one main commit earlier (a99b4d4fb), and #3074, the commit since, changes no hook site. The whole website build and the C++ test were not rerun.A correction to my comment above: the pull request is ready for review, not WIP. The whole suite has still not been run, by the author's choice, so its box stays unticked.