fix(website): the site builds again: the Help page's doctor paragraph above its group list, and a search line for the .nup problem #2518
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!2518
Loading…
Reference in a new issue
No description provided.
Delete branch "madebyjordan/Longshot:fix/help-intro-list"
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
The website doesn't build on
mainsince #2286, soCI / Website build and checksandWebsite / Website on Cloudflarefail onmain(runs 53536 and 53540 onbe663a08a), and every pull request's Website checks fail with them.astro buildstops in the site's reader of the Help page,website/src/repo-docs/format-common-issues.ts, which refuses two things #2286 added todocs/user/common-issues.md:Help page group list changed: it must link each group in order: the "Not sure where to start? …doctor" paragraph came after the introduction's list of groups, and that list must end the introduction (the problem finder replaces it). The paragraph now comes before the list, word for word.Help page problem structure changed: The game says it reads its files from your .nup, which is not there(shown once the first is fixed): every problem ends with a line of report searches, and the new one had none. It gets[Search .nup reports](https://longshot.magicbean.dev/progress/#problem-search?q=nup).Nothing else changes; the page's words are the same. Read
docs/user/common-issues.md.Testing
Tested: Windows 11,
scripts/website_check.sh's steps inwebsite/(Node 24):npm run build: fails onmain @ be663a08awith the first error above, then (with only the paragraph moved) with the second; passes here (21 pages).tests/run_all.py --changed forge/main: no check reads the page apart from the site's (1 passed, the byte-compile).npm run check:check-site.tspasses; the node tests pass except "the zip is one Python reads", which fails on Windows onmaintoo (CRLF line ends in its listing) and passes on Linux CI.Still to test: none (CI's Website checks run the same on Linux).
Measurements
Nothing to measure: a docs page's layout, which the site's build checks (it fails on
mainand passes here).Risks
None for players or the game. On the site, the Help page shows the
doctorparagraph above the list of groups instead of below it. A revert is enough.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
mainand passes here.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
Possibly related, for context:
@review
Recommendation: Request changes. The existing website test and the reported builds show that the Help page is accepted again. The head-only Rust CI failure still needs to be resolved before merge. (It stands on L1: The check
CI / Rust (rustfmt, clippy, cargo test) (pull_request)fails on this head and passes on the base branch: Failing after 4m9s.)Moves the doctor paragraph above the Help page’s group list and adds the missing report-search link, restoring the website build without changing game code.
Blocking (1): must change before merging.
CI / Rust (rustfmt, clippy, cargo test) (pull_request)fails on this head and passes on the base branch: Failing after 4m9s.@fixcan do L1.More: does it help, other systems, switches, what was read
Does it help: Yes. The author reports that the website build fails on the base with the two identified structure errors and passes on this head with 21 pages.
Other systems: The repository document and website Help page both retain the doctor paragraph; the website reader replaces the group list with its problem finder. The new search link uses the progress page’s supported query format. No game or platform code changes.
Switches: None.
Reviewed:
98965b6c1dagainstbe663a08a3: Read AGENTS.md, CONTRIBUTING.md, the pull request template, standards, the commit, the complete diff, the changed Help page, the website formatter and its caller, its existing test, and the search-link handling. The review checklist and adjacent Tooling checkout were absent. No generated files or recorded runs were changed.; nothing run (a code review).Checked and fine:
Testing: Read-only review; no commands from the project or tests were run. The author reports a passing website build on Windows and a pre-existing Windows zip test failure.
Overlaps and merge order: None found in the supplied information.
Automated code review by BeanBot (gpt-6.1-terra), asked for by madebyjordan. Nothing was run; a maintainer decides.
@fix
I didn't fix this pull request: the check of my change found a blocking problem in it: The builder channel test fix is a separate topic from repairing the website build, contrary to the repository’s one-topic rule (L2). Nothing was pushed.
Automated fix by BeanBot (gpt-6.1-terra), asked for by madebyjordan. Nothing was run; a maintainer decides.
BeanBot's review of
98965b6cL1 is not this PR's: it's a flaky test on
main. This PR changes one Markdown page; no Rust reads it. The one failure in run 53626 isbuild-driver'schannel::tests::a_game_process_says_hello_over_the_ends_it_inherits(from #2286):Its stand-in game is
sh -c '… >&$w; read a <&$r …'. On the Ubuntu runnershis dash, which takes only one-digit descriptors in a redirection, and the channel's pipe ends get whatever numbers are free in the test process at the time, which runs its tests in parallel. When one end is 10 or more, the shell refuses. The same base,be663a08a, passed this job half an hour earlier on #1999 (run 53613). BeanBot's own@fixcame to the same place: fixing the test here would be a second topic. That fix is its own PR.The two Website checks this PR is for pass on this head.
The flaky test's fix is #2519 (both channel tests under bash). This PR doesn't need it: its Rust job only needs a run that misses the flake.
@review
Recommendation: Approve. The Help page now meets the website reader’s required structure, and the author reports that the website build passes. The change is limited to moving the existing paragraph and adding the missing search link. Recommend approval; not approved on the forge.
Restores the website build and gives readers of the missing .nup problem a report-search link. The change is small and preserves the troubleshooting guidance.
Since the last review (on
98965b6c1d)Resolved: L1 (The check
CI / Rust (rustfmt, clippy, cargo test) (pull_request)fails on this head and…)More: does it help, other systems, switches, what was read
Does it help: Yes: the author reports that the website build fails on the base and passes here with 21 pages. This is not a performance change.
Other systems: The Markdown page is also readable directly; the doctor paragraph moves above the group links and the .nup section gains a search link. Game code and platform behavior are unchanged.
Switches: None.
Reviewed:
374b3be913againstbe663a08a3: Read AGENTS.md, CONTRIBUTING.md, the diff, the changed Help page and its website formatter; inspected the commit log and supplied CI and author reports. The pull request template and referenced standards were not read; no generated files or translations changed.; nothing run (a code review).Checked and fine:
Testing: The author reports a successful website build and site check, with a Windows-only zip test failure also present on the base. The author reports that both website checks pass on the earlier head; supplied CI lists no failures on this head. No commands were run to build or test.
Overlaps and merge order: No overlapping pull request found for this website fix; #2519 separately addresses the reported flaky Rust test.
Automated code review by BeanBot (gpt-6.1-terra), asked for by madebyjordan. Nothing was run; a maintainer decides.
Superseded: #2536 moved the doctor paragraph above the group list and #2547 added the .nup search line, so main's docs/user/common-issues.md is now byte-identical to this branch, and main's 'Website build and checks' passes (
e9e4065c8). Closing as a duplicate.Pull request closed