fix(website): the Graphics reader takes the Simulated turf page row #2252
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!2252
Loading…
Reference in a new issue
No description provided.
Delete branch "dazemc/Longshot:fix/website-sim-turf-page"
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's shared Website check fails, so every PR built on it inherits a red run:To see it on
main(a2dc5385): run the command above, ornpm run build, which stops in the Graphics guide's table.The Graphics menu's Simulated turf row (
gpu/vk/menu/sim_turf.cpp:66) is a Page row (menu::Kind::Page) with no option pointer; it opens thesim_turf_settingspage.readGraphicsSettingsaccepted only option-pointer rows and five registered special cases, so the documented row had no accepted source and the site refused to publish.This takes that row by its key, kind and page (the way the ReShade rows are registered) and reads the module's named help string (
sim_turf_about). A Page row with an unknown key or page still fails, so a wrong or partial table cannot publish. Read first:website/src/repo-docs/graphics-settings.ts(namedString,readModuleRows,readGraphicsSettings) and the new test inwebsite/tests/graphics-settings.test.ts.The parser change and its regression test are HumanBean's, taken from #2213 (WIP), so
main's check can pass while that broader PR lands. Proposed to its author in the #2213 comment; no objection was posted in the 15-minute window, and #2213 can drop its website hunk when this merges.Testing
Tested: game-free, Linux, Node 26.13.1 (this PC).
maina2dc5385:cd website && node --test tests/graphics-settings.test.ts→ 21 tests, 7 passed, 14 failed, each fortable/menu graphics coverage mismatch at Simulated turf(the line CI reports).e6359bcf: the same command → 22 tests, 22 passed.npm ciinstalled the locked dependencies; no Astro build, suite or game run, per the machine owner's constraint.Still to test: None.
Measurements
Nothing to measure: the change is the website's source reader and its unit test, with no game, shader, build or runtime path.
Risks
openstarget changes, the check fails instead of publishing a wrong card; that is the intended guard.Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named). (N/A: the machine owner allowed only the focused website check this session; the diff touches no game-free check.node --test tests/graphics-settings.test.tspasses 22/22.)main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
mainand passes here.Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.Pull request closed