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

Closed
madebyjordan wants to merge 2 commits from madebyjordan/Longshot:fix/help-intro-list into main
Member

Summary

The website doesn't build on main since #2286, so CI / Website build and checks and Website / Website on Cloudflare fail on main (runs 53536 and 53540 on be663a08a), and every pull request's Website checks fail with them. astro build stops in the site's reader of the Help page, website/src/repo-docs/format-common-issues.ts, which refuses two things #2286 added to docs/user/common-issues.md:

  1. 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.
  2. 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 in website/ (Node 24):

  • npm run build: fails on main @ be663a08a with 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.ts passes; the node tests pass except "the zip is one Python reads", which fails on Windows on main too (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 main and passes here).

Risks

None for players or the game. On the site, the Help page shows the doctor paragraph above the list of groups instead of below it. A revert is enough.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named).
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A fix: a game-free test that fails on main and passes here.
  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.

🤖 Generated with Claude Code

## Summary The website doesn't build on `main` since https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2286, so `CI / Website build and checks` and `Website / Website on Cloudflare` fail on `main` (runs [53536](https://git.magicbean.dev/MagicBeanDev/Longshot/actions/runs/53536) and [53540](https://git.magicbean.dev/MagicBeanDev/Longshot/actions/runs/53540) on `be663a08a`), and every pull request's Website checks fail with them. `astro build` stops in the site's reader of the Help page, `website/src/repo-docs/format-common-issues.ts`, which refuses two things #2286 added to `docs/user/common-issues.md`: 1. `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. 2. `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 in `website/` (Node 24): - `npm run build`: fails on `main @ be663a08a` with 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.ts` passes; the node tests pass except "the zip is one Python reads", which fails on Windows on `main` too (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 `main` and passes here). ## Risks None for players or the game. On the site, the Help page shows the `doctor` paragraph above the list of groups instead of below it. A revert is enough. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [x] `mise run test` passes (any failure that also fails on `main` is named). - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A fix: a game-free test that fails on `main` and passes here. - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(website): the site builds again: the Help page's doctor paragraph above its group list, and a search line for the .nup problem
Some checks failed
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website builds (pull_request_target) Has been skipped
Website / Website preview, build (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
Third-party parts / The same as upstream (pull_request) Has been skipped
Website / Website on Cloudflare (pull_request) Has been skipped
Website / Website preview, build (pull_request) Has been skipped
Website / Website preview, upload (pull_request) Has been skipped
PR description / Description follows the template (pull_request_target) Successful in 10s
CI / Conventional Commit title (pull_request) Successful in 13s
CI / Workflow lint (actionlint) (pull_request) Successful in 26s
Guide screenshots / Guide images and local UI source review (pull_request) Successful in 28s
Third-party parts / As their notes say (pull_request) Successful in 32s
CI / longshot-builder end to end (synthetic game) (pull_request) Successful in 1m41s
Website / Website builds (pull_request) Successful in 2m1s
CI / Website build and checks (pull_request) Successful in 2m1s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 2m59s
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Failing after 4m9s
98965b6c1d
#2286 added two things to docs/user/common-issues.md that the site's reader of that page
(website/src/repo-docs/format-common-issues.ts) refuses, so `astro build` stopped and every
pull request's Website checks failed, as main's own did:
- the "Not sure where to start? ... doctor" paragraph after the introduction's list of groups,
  where the list must end the introduction: it now comes before the list;
- "The game says it reads its files from your .nup, which is not there" without the line of
  report searches every problem ends with: it gets one (q=nup).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Member

Possibly related, for context:

  • PR #2513 WIP: feat(dlss): DLSS 5 on RTX 20, 30 and 40 with the community FP16 file (Windows) — Also reports the failing website build on main
Possibly related, for context: - PR #2513 WIP: feat(dlss): DLSS 5 on RTX 20, 30 and 40 with the community FP16 file (Windows) — Also reports the failing website build on main
Author
Member
@review
BeanBot left a comment

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.

  1. L1: The check CI / Rust (rustfmt, clippy, cargo test) (pull_request) fails on this head and passes on the base branch: Failing after 4m9s.

@fix can 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: 98965b6c1d against be663a08a3: 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:

  • The existing game-free website test reads the actual Help page and calls the formatter; it fails on the base’s structure and passes when both changes are present.
  • The commit records AI assistance, and the diff contains no game-derived files or generated output.
  • The reported website build results cover the stated fix.

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.

**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. 1. **L1**: The check `CI / Rust (rustfmt, clippy, cargo test) (pull_request)` fails on this head and passes on the base branch: Failing after 4m9s. `@fix` can do L1. <details> <summary>More: does it help, other systems, switches, what was read</summary> **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:** 98965b6c1d47 against be663a08a30f: 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:** - The existing game-free website test reads the actual Help page and calls the formatter; it fails on the base’s structure and passes when both changes are present. - The commit records AI assistance, and the diff contains no game-derived files or generated output. - The reported website build results cover the stated fix. **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. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by madebyjordan. Nothing was run; a maintainer decides.</sub>
Author
Member
@fix
Member

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.

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. --- <sub>Automated fix by BeanBot (gpt-6.1-terra), asked for by madebyjordan. Nothing was run; a maintainer decides.</sub>
Author
Member

BeanBot's review of 98965b6c

L1 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 is build-driver's channel::tests::a_game_process_says_hello_over_the_ends_it_inherits (from #2286):

sh: 1: Syntax error: Bad fd number
test channel::tests::a_game_process_says_hello_over_the_ends_it_inherits ... FAILED

Its stand-in game is sh -c '… >&$w; read a <&$r …'. On the Ubuntu runner sh is 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 @fix came 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.

### BeanBot's review of `98965b6c` **L1 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](https://git.magicbean.dev/MagicBeanDev/Longshot/actions/runs/53626) is `build-driver`'s `channel::tests::a_game_process_says_hello_over_the_ends_it_inherits` (from https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2286): ``` sh: 1: Syntax error: Bad fd number test channel::tests::a_game_process_says_hello_over_the_ends_it_inherits ... FAILED ``` Its stand-in game is `sh -c '… >&$w; read a <&$r …'`. On the Ubuntu runner `sh` is 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 https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/1999 ([run 53613](https://git.magicbean.dev/MagicBeanDev/Longshot/actions/runs/53613)). BeanBot's own `@fix` came 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.
Author
Member

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.

The flaky test's fix is https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2519 (both channel tests under bash). This PR doesn't need it: its Rust job only needs a run that misses the flake.
Author
Member
@review
ci: run the checks again (the Rust job's channel test is flaky on main, fixed by #2519)
All checks were successful
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website builds (pull_request_target) Has been skipped
Website / Website preview, build (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
Third-party parts / The same as upstream (pull_request) Has been skipped
Website / Website on Cloudflare (pull_request) Has been skipped
Website / Website preview, build (pull_request) Has been skipped
Website / Website preview, upload (pull_request) Has been skipped
PR description / Description follows the template (pull_request_target) Successful in 10s
CI / Conventional Commit title (pull_request) Successful in 9s
Guide screenshots / Guide images and local UI source review (pull_request) Successful in 19s
CI / Workflow lint (actionlint) (pull_request) Successful in 20s
Third-party parts / As their notes say (pull_request) Successful in 23s
Website / Website builds (pull_request) Successful in 1m29s
CI / Website build and checks (pull_request) Successful in 1m31s
CI / longshot-builder end to end (synthetic game) (pull_request) Successful in 1m35s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 2m57s
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Successful in 4m29s
374b3be913
Co-Authored-By: Claude Opus 5.5 <[email protected]>
BeanBot left a comment

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: 374b3be913 against be663a08a3: 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:

  • The group list is last in the introduction and matches the formatter’s expected order.
  • The new search link matches the formatter’s required pattern.
  • No files changed since the earlier review; the final commit is empty.

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.

**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 98965b6c1d47) Resolved: L1 (The check `CI / Rust (rustfmt, clippy, cargo test) (pull_request)` fails on this head and…) <details> <summary>More: does it help, other systems, switches, what was read</summary> **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:** 374b3be913e1 against be663a08a30f: 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:** - The group list is last in the introduction and matches the formatter’s expected order. - The new search link matches the formatter’s required pattern. - No files changed since the earlier review; the final commit is empty. **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. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by madebyjordan. Nothing was run; a maintainer decides.</sub>
Author
Member

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.

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.
madebyjordan closed this pull request 2026-11-25 17:18:24 +00:00
All checks were successful
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website builds (pull_request_target) Has been skipped
Website / Website preview, build (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
Third-party parts / The same as upstream (pull_request) Has been skipped
Website / Website on Cloudflare (pull_request) Has been skipped
Website / Website preview, build (pull_request) Has been skipped
Website / Website preview, upload (pull_request) Has been skipped
PR description / Description follows the template (pull_request_target) Successful in 10s
CI / Conventional Commit title (pull_request) Successful in 9s
Guide screenshots / Guide images and local UI source review (pull_request) Successful in 19s
CI / Workflow lint (actionlint) (pull_request) Successful in 20s
Third-party parts / As their notes say (pull_request) Successful in 23s
Website / Website builds (pull_request) Successful in 1m29s
CI / Website build and checks (pull_request) Successful in 1m31s
CI / longshot-builder end to end (synthetic game) (pull_request) Successful in 1m35s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 2m57s
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Successful in 4m29s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!2518
No description provided.