test(input): the pads-after-menu check takes Sprint's constants from nn_hid.c #2215

Merged
HumanBean merged 3 commits from dazemc/Longshot:fix/pads-after-menu-sprint-l3 into main 2026-12-05 19:31:40 +00:00
Contributor

Summary

This pull request's original purpose is already on main. fe1c437c (#2213) made tests/test_pads_after_menu.py compile and pass: line 87 now carries the hand-copied enum { SPRINT_KEY = 1, SPRINT_PAD = 2, SPRINT_L3 = 4 }, and line 119 asserts sprint_now == (SPRINT_PAD | SPRINT_L3), matching host/nn_hid.c:1200 and pad_sprint_down()'s SPRINT_PAD | (p == HOS_PAD_LSTICK ? SPRINT_L3 : 0) (line 1211). fe1c437c is an ancestor of this branch's base, 8aa5ab87, and of current main (8f7300756).

The earlier Summary and its 911/23 → 912/22 table were measured against main @ a2dc5385, before #2213 merged; they no longer describe main or this head.

What is left: the check stops hand-copying Sprint's enum. It cuts host/nn_hid.c's own (SPRINT_KEY, SPRINT_PAD, SPRINT_L3) the way it already cuts the HOS_* enums from gpu/vk/vk_api.h, so the next constant added for Sprint cannot drift from the check. That is a drift guard, not a fix for a red check: a mismatch still fails the check's compile, as #2038's did. Test-only, tests/test_pads_after_menu.py only (4 lines added, 1 removed).

The branch's commits still carry their original messages; squash them into one with this description when it is next pushed.

Rebase status (2026-11-25, current): c24abdca3 → 55444d6e2 onto main @ 8f7300756701b7c9a278e576bb075ac20e622a32. Stable patch-id e4719c92c0782aa74647f8095914feb6cdb4ec4f is unchanged and main's old-base→new-main file intersection with this PR is empty. The evidence already named below (suite, platform, in-game and measurement, as applicable) therefore still stands at the historical heads that produced it. Earlier rebase notes are history; where they say "this head", they mean the evidence commit named beside that run, not 55444d6e2.

Testing

Rebase (2026-11-25). Rebased onto origin/main be663a08a30fa953420104d3cef6877bed6674a2. Old head e8fb91c4796d5845699838f93ad58e290088265e → new head c24abdca333d099aaaca3e74f5d56ea88beb6136. git diff -U0 8aa5ab87..e8fb91c4 and git diff -U0 be663a08a3..c24abdca hold the identical changed-line set (5 added/removed lines, 0 differing), so the rebase changed none of this PR's content. Main's new commits touch neither the one tests/test_pads_after_menu.py this PR changes nor host/nn_hid.c (the intersection is empty), so the suite below still describes this check; it was taken at e8fb91c4 and this rebase is the only change since. No suite re-run is owed.

Tested: the strict suite at head e8fb91c4 on this PC, 942 passed, 19 failed, 18 skipped in 406 s (linux, 5 at once); all 19 failing ids are CORE under AMENDMENT 1 with their baseline exception classes, and tests/test_pads_after_menu.py is pass. Log prrefresh-logs/2215.log, sha256 4b30734a0f6b30197b713a4eeed075021a88a1a9732b8fd927982d0f6ae95370. No game run applies: the change is a check under tests/ and no game path changes.

Still to test: the red Guide screenshots check's review of the guide images and local UI source, by hand; it also fails on main @ 21d5bdf9 and is not this change.

Measurements

Nothing to measure: test-only, no source the game runs changes; the suite run above is what verifies the check.

Risks

A test-only change: nothing the game runs changes. If nn_hid.c's enum is renamed or changes shape, the check's cut fails loudly; if it gains a constant, the check takes it with no edit. No assertion is removed. #152 (open) edits the same file a few lines above, adding pad_count_now near line 165; this change removes line 87 and adds the cut near line 168, so no line is changed by both.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit. — Rebased head 55444d6e2 is directly on main @ 8f7300756701b7c9a278e576bb075ac20e622a32; the preserved diff is the single topic described in Summary.
  • Tested on my own PC, in the game for a change the game runs, as Testing says. (test-only: git diff --name-only 8aa5ab87..e8fb91c4 names only tests/test_pads_after_menu.py — nothing under gpu/, host/, nx2/, assets/ or third_party/ — so the change is a check under tests/ and no game path changes; no game run applies)
  • mise run test passes (any failure that also fails on main is named). At head e8fb91c4: 942 passed, 19 failed, 18 skipped in 406 s, compared before baseline3 existed; the basis then was baseline2's 19 ids, which differs from baseline3 only by tests/test_crash_record.py — same failure set as baseline 8aa5ab87 (19 ids, ~/.local/share/longshot-dev/goal/resume-2026-11-23/BASELINE-8AA5AB87.md) and same 18 skips. main itself is red on those 19 ids; this PR does not pass them. Under AMENDMENT 1 every failing id is CORE with its baseline exception class, and no id outside CORE ∪ FLAKY fails. Log prrefresh-logs/2215.log, sha256 4b30734a0f6b30197b713a4eeed075021a88a1a9732b8fd927982d0f6ae95370, exit 1.
  • Measured against main, or Measurements says why there is nothing to measure. (test-only; the Verdict says why nothing is measured)
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A check under tests/ that reads changed source is updated, not weakened. (the constants are cut from nn_hid.c; no assertion removed)
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers. (head e8fb91c4 is message-only and says Assisted-by: DeepSeek V4.1 Flash 1017 (opencode-go))

Ready to merge

  • Everything in Still to test has run, its results in Tested. — Merge gate: outstanding items remain in Still to test or are confirmed during review; this update does not tick it.
  • Tier 1 hardware it can affect is tested. (test-only: it affects no hardware)
  • Approved in review, every comment answered. — Awaiting reviewer approval and resolution of any review comments.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold. — Awaiting CI on the current head; this update does not claim a CI run.
## Summary **This pull request's original purpose is already on `main`.** [`fe1c437c`](https://git.magicbean.dev/MagicBeanDev/Longshot/commit/fe1c437cbccd0ed34c6a9c3d147eee2040e19bf7) (#2213) made `tests/test_pads_after_menu.py` compile and pass: line 87 now carries the hand-copied `enum { SPRINT_KEY = 1, SPRINT_PAD = 2, SPRINT_L3 = 4 }`, and line 119 asserts `sprint_now == (SPRINT_PAD | SPRINT_L3)`, matching `host/nn_hid.c:1200` and `pad_sprint_down()`'s `SPRINT_PAD | (p == HOS_PAD_LSTICK ? SPRINT_L3 : 0)` (line 1211). `fe1c437c` is an ancestor of this branch's base, `8aa5ab87`, and of current `main` (`8f7300756`). The earlier Summary and its 911/23 → 912/22 table were measured against `main @ a2dc5385`, before #2213 merged; they no longer describe `main` or this head. **What is left:** the check stops hand-copying Sprint's enum. It cuts `host/nn_hid.c`'s own (`SPRINT_KEY`, `SPRINT_PAD`, `SPRINT_L3`) the way it already cuts the `HOS_*` enums from `gpu/vk/vk_api.h`, so the next constant added for Sprint cannot drift from the check. That is a drift guard, not a fix for a red check: a mismatch still fails the check's compile, as #2038's did. Test-only, `tests/test_pads_after_menu.py` only (4 lines added, 1 removed). The branch's commits still carry their original messages; squash them into one with this description when it is next pushed. **Rebase status (2026-11-25, current):** `c24abdca3` → `55444d6e2` onto `main @ 8f7300756701b7c9a278e576bb075ac20e622a32`. Stable patch-id `e4719c92c0782aa74647f8095914feb6cdb4ec4f` is unchanged and main's old-base→new-main file intersection with this PR is **empty**. The evidence already named below (suite, platform, in-game and measurement, as applicable) therefore still stands at the historical heads that produced it. Earlier rebase notes are history; where they say "this head", they mean the evidence commit named beside that run, not `55444d6e2`. ## Testing **Rebase (2026-11-25).** Rebased onto `origin/main` `be663a08a30fa953420104d3cef6877bed6674a2`. Old head `e8fb91c4796d5845699838f93ad58e290088265e` → new head `c24abdca333d099aaaca3e74f5d56ea88beb6136`. `git diff -U0 8aa5ab87..e8fb91c4` and `git diff -U0 be663a08a3..c24abdca` hold the identical changed-line set (5 added/removed lines, 0 differing), so the rebase changed none of this PR's content. Main's new commits touch neither the one `tests/test_pads_after_menu.py` this PR changes nor `host/nn_hid.c` (the intersection is empty), so the suite below still describes this check; it was taken at `e8fb91c4` and this rebase is the only change since. No suite re-run is owed. **Tested:** the strict suite at head `e8fb91c4` on this PC, `942 passed, 19 failed, 18 skipped in 406 s (linux, 5 at once)`; all 19 failing ids are CORE under AMENDMENT 1 with their baseline exception classes, and `tests/test_pads_after_menu.py` is `pass`. Log `prrefresh-logs/2215.log`, sha256 `4b30734a0f6b30197b713a4eeed075021a88a1a9732b8fd927982d0f6ae95370`. No game run applies: the change is a check under `tests/` and no game path changes. **Still to test:** the red `Guide screenshots` check's review of the guide images and local UI source, by hand; it also fails on `main @ 21d5bdf9` and is not this change. ## Measurements Nothing to measure: test-only, no source the game runs changes; the suite run above is what verifies the check. ## Risks A test-only change: nothing the game runs changes. If `nn_hid.c`'s enum is renamed or changes shape, the check's cut fails loudly; if it gains a constant, the check takes it with no edit. No assertion is removed. `#152` (open) edits the same file a few lines above, adding `pad_count_now` near line 165; this change removes line 87 and adds the cut near line 168, so no line is changed by both. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. — Rebased head `55444d6e2` is directly on `main @ 8f7300756701b7c9a278e576bb075ac20e622a32`; the preserved diff is the single topic described in Summary. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. (test-only: `git diff --name-only 8aa5ab87..e8fb91c4` names only `tests/test_pads_after_menu.py` — nothing under `gpu/`, `host/`, `nx2/`, `assets/` or `third_party/` — so the change is a check under `tests/` and no game path changes; no game run applies) - [x] `mise run test` passes (any failure that also fails on `main` is named). At head `e8fb91c4`: 942 passed, 19 failed, 18 skipped in 406 s, compared before baseline3 existed; the basis then was baseline2's 19 ids, which differs from baseline3 only by `tests/test_crash_record.py` — same failure set as baseline 8aa5ab87 (19 ids, `~/.local/share/longshot-dev/goal/resume-2026-11-23/BASELINE-8AA5AB87.md`) and same 18 skips. `main` itself is red on those 19 ids; this PR does not pass them. Under AMENDMENT 1 every failing id is CORE with its baseline exception class, and no id outside CORE ∪ FLAKY fails. Log `prrefresh-logs/2215.log`, sha256 `4b30734a0f6b30197b713a4eeed075021a88a1a9732b8fd927982d0f6ae95370`, exit 1. - [x] Measured against `main`, or Measurements says why there is nothing to measure. (test-only; the Verdict says why nothing is measured) - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A check under `tests/` that reads changed source is updated, not weakened. (the constants are cut from `nn_hid.c`; no assertion removed) - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. (head `e8fb91c4` is message-only and says `Assisted-by: DeepSeek V4.1 Flash 1017 (opencode-go)`) ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. — Merge gate: outstanding items remain in Still to test or are confirmed during review; this update does not tick it. - [ ] Tier 1 hardware it can affect is tested. (test-only: it affects no hardware) - [ ] Approved in review, every comment answered. — Awaiting reviewer approval and resolution of any review comments. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. — Awaiting CI on the current head; this update does not claim a CI run.
#2038 made the left stick's press a Sprint input of its own (SPRINT_L3) and did not update this
check, whose prelude carried a hand-copied "enum { SPRINT_PAD = 2 }". The cut pad_sprint_down uses
SPRINT_L3, so the check has not compiled since: "SPRINT_L3 undeclared".

It now cuts nn_hid.c's enum (SPRINT_KEY, SPRINT_PAD, SPRINT_L3) the way the HOS_ enums are cut
from vk_api.h, so the next Sprint constant cannot drift from the check. No source change.
test(input): the pads-after-menu check expects the left stick's Sprint to set SPRINT_L3 too
Some checks failed
PR description / Description follows the template (pull_request_target) Successful in 9s
Website / Website on Cloudflare (pull_request_target) Has been skipped
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
Guide screenshots / Guide images and local UI source review (pull_request) Has been cancelled
Third-party parts / As their notes say (pull_request) Has been cancelled
Third-party parts / The same as upstream (pull_request) Has been cancelled
3d7704eb82
#2038 made pad_sprint_down() return SPRINT_PAD | SPRINT_L3 for the left stick's press, so the L3
sprint is told from another pad button. This check binds Sprint to HOS_PAD_LSTICK and still
expected SPRINT_PAD alone.

The first fix here (the constants cut from nn_hid.c) let the check compile for the first time
since #2038, and the run then caught this: FAIL:342 game(s) == 0 && sprint_now == SPRINT_PAD.
The assertion now expects both bits, as pad_sprint_down() returns them; no assertion is removed.

Test-only: no source change.
Member
@review
BeanBot left a comment

Recommendation: Approve. The change restores the check without changing player code, and the reported run shows it passing against a failing baseline. CI is still running. Nothing blocking is left. Recommend approval; not approved on the forge.

The test now takes Sprint constants from the host source and expects both bits for a left-stick press. This restores coverage of pad input after the menu without changing the game.

@fix will do (1)

  1. L1 (minor): The checklist says baseline failures are named, but the description gives only their count and says the same 22 names remain. List the failing checks on the base and head so the stated comparison can be checked against the repository's test rule.

Checks: Still running: CI / Conventional Commit title (pull_request), CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request), CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request), CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request), CI / Workflow lint (actionlint) (pull_request), CI / Website build and checks (pull_request), Guide screenshots / Guide images and local UI source review (pull_request), Third-party parts / As their notes say (pull_request), Third-party parts / The same as upstream (pull_request).

More: does it help, other systems, switches, what was read

Does it help: Yes: the author reports that the test changes from a compile failure on base a2dc5385 to a pass on head 3d7704eb; the full suite changes from 911 passed, 23 failed and 18 skipped to 912 passed, 22 failed and 18 skipped.

Other systems: The diff changes only a game-free test. It does not change gameplay, rendering, platform code, saves, audio or input handling.

Switches: None added, changed or removed.

Reviewed: 3d7704eb82 against a2dc538590: Read AGENTS.md, CONTRIBUTING.md, docs/dev/standards.md, the pull request template, both commits, the complete changed test and the relevant host input code. Skimmed the Sprint test and test runner. docs/review-checklist.md and ../Tooling/AGENTS.md were unavailable; no generated files, translations or recorded runs were changed.; nothing run (a code review).

Checked and fine:

  • The extracted enum precedes both the stand-in and extracted function, and the revised assertion checks the bits returned for L3.
  • No game-derived output, generated file, API version or switch changes appear in the diff.
  • The change is one topic and matches the pull request description.

Testing: No code or tests were run, as requested. The author's baseline and head results were reviewed; the listed CI checks are still running.

Overlaps and merge order: The description identifies WIP PR #152 as editing a different hunk of the same test; it reports no textual overlap.


Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The change restores the check without changing player code, and the reported run shows it passing against a failing baseline. CI is still running. Nothing blocking is left. Recommend approval; not approved on the forge. The test now takes Sprint constants from the host source and expects both bits for a left-stick press. This restores coverage of pad input after the menu without changing the game. **`@fix` will do (1)** 1. **L1** (minor): The checklist says baseline failures are named, but the description gives only their count and says the same 22 names remain. List the failing checks on the base and head so the stated comparison can be checked against the repository's test rule. **Checks:** Still running: `CI / Conventional Commit title (pull_request)`, `CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request)`, `CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request)`, `CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request)`, `CI / Workflow lint (actionlint) (pull_request)`, `CI / Website build and checks (pull_request)`, `Guide screenshots / Guide images and local UI source review (pull_request)`, `Third-party parts / As their notes say (pull_request)`, `Third-party parts / The same as upstream (pull_request)`. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes: the author reports that the test changes from a compile failure on base a2dc5385 to a pass on head 3d7704eb; the full suite changes from 911 passed, 23 failed and 18 skipped to 912 passed, 22 failed and 18 skipped. **Other systems:** The diff changes only a game-free test. It does not change gameplay, rendering, platform code, saves, audio or input handling. **Switches:** None added, changed or removed. **Reviewed:** 3d7704eb8209 against a2dc53859018: Read AGENTS.md, CONTRIBUTING.md, docs/dev/standards.md, the pull request template, both commits, the complete changed test and the relevant host input code. Skimmed the Sprint test and test runner. docs/review-checklist.md and ../Tooling/AGENTS.md were unavailable; no generated files, translations or recorded runs were changed.; nothing run (a code review). **Checked and fine:** - The extracted enum precedes both the stand-in and extracted function, and the revised assertion checks the bits returned for L3. - No game-derived output, generated file, API version or switch changes appear in the diff. - The change is one topic and matches the pull request description. **Testing:** No code or tests were run, as requested. The author's baseline and head results were reviewed; the listed CI checks are still running. **Overlaps and merge order:** The description identifies WIP PR #152 as editing a different hunk of the same test; it reports no textual overlap. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
dazemc left a comment

The When it applies section has no AI assistance recorded box, and neither commit (3d7704eb, 298986e4) has an Assisted-by: trailer. Add them (and the A fix box if the updated check counts).

The `When it applies` section has no `AI assistance recorded` box, and neither commit (`3d7704eb`, `298986e4`) has an `Assisted-by:` trailer. Add them (and the `A fix` box if the updated check counts).
chore: record the Assisted-by trailer
Some checks failed
PR description / Description follows the template (pull_request_target) Successful in 6s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
Guide screenshots / Guide images and local UI source review (pull_request) Has been cancelled
Third-party parts / As their notes say (pull_request) Has been cancelled
Third-party parts / The same as upstream (pull_request) Has been cancelled
663f0e1bcb
Assisted-by: DeepSeek V4.1 Flash 1017 (opencode-go)
Author
Contributor

AI-assistance box added with real evidence: head 663f0e1b is an empty, message-only commit carrying Assisted-by: DeepSeek V4.1 Flash 1017 (opencode-go); tree 6280eceac7db695ff772a99326d6062393499bc4 is the same object as 3d7704eb's, so the runs still describe the head's tree. Pushed fast-forward, no force.

AI-assistance box added with real evidence: head `663f0e1b` is an empty, message-only commit carrying `Assisted-by: DeepSeek V4.1 Flash 1017 (opencode-go)`; tree `6280eceac7db695ff772a99326d6062393499bc4` is the same object as `3d7704eb`'s, so the runs still describe the head's tree. Pushed fast-forward, no force.
Owner
@rebase
Member

I rebased this pull request onto main (753fb5af68): the new head is b0752f28e3.

Conflicts resolved

  • tests/test_pads_after_menu.py: Kept the base branch’s Sprint L3 assertion and the pull request’s enum extraction from nn_hid.c.
  • tests/test_pads_after_menu.py: Kept the assertion expecting both sprint bits and the pull request’s explanatory comment.

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.

I rebased this pull request onto `main` (753fb5af6860): the new head is b0752f28e31a. **Conflicts resolved** - tests/test_pads_after_menu.py: Kept the base branch’s Sprint L3 assertion and the pull request’s enum extraction from nn_hid.c. - tests/test_pads_after_menu.py: Kept the assertion expecting both sprint bits and the pull request’s explanatory comment. Nothing was built or run: read the resolution before merging. --- <sub>Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
BeanBot force-pushed fix/pads-after-menu-sprint-l3 from 663f0e1bcb
Some checks failed
PR description / Description follows the template (pull_request_target) Successful in 6s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
Guide screenshots / Guide images and local UI source review (pull_request) Has been cancelled
Third-party parts / As their notes say (pull_request) Has been cancelled
Third-party parts / The same as upstream (pull_request) Has been cancelled
to b0752f28e3
Some checks failed
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been skipped
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been skipped
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been skipped
Third-party parts / The same as upstream (pull_request) Has been skipped
Website / Website on Cloudflare (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Successful in 9s
Guide screenshots / Guide images and local UI source review (pull_request) Failing after 12s
CI / Workflow lint (actionlint) (pull_request) Successful in 13s
Third-party parts / As their notes say (pull_request) Successful in 15s
CI / Website build and checks (pull_request) Successful in 3m13s
PR description / Description follows the template (pull_request_target) Successful in 6s
2026-11-22 19:59:52 +00:00
Compare
BeanBot left a comment

Recommendation: Approve. The test now takes Sprint constants from the source and retains the correct L3 bitmask assertion. The remaining description issue is minor. Recommend approval; not approved on the forge.

Keeps the pads-after-menu test aligned with Sprint’s constants without changing game behavior. It removes a copied enum at the cost of relying on the source enum’s marker for extraction.

Should fix (1): not blocking, but worth doing before merging.

  • L1: The checklist says baseline failures are named, but the description gives only their count and says the same 22 names remain. List the failing checks on the base and head so the stated comparison can be checked against the repository's test rule.

@fix can do L1.

Since the last review (on 3d7704eb82)
Still open: L1 (The checklist says baseline failures are named, but the description gives only their count…)

Checks: Still running: 6 checks.

Also noticed (2; not asked for, not blocking)
  • The description’s compile-error baseline and two-commit account no longer describe the rebased diff: the current base already has the L3 enum and bitmask expectation.
  • The reported suite comparison was made against a different base before the rebase.
More: does it help, other systems, switches, what was read

Does it help: Not a performance change. The reported earlier run passed this test, but its baseline and head precede the rebase; the current base already contains the L3 constants and bitmask expectation.

Other systems: Only the game-free test harness changes; no game, platform, GPU, input, or launcher code changes.

Switches: None.

Reviewed: b0752f28e3 against 753fb5af68: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the full changed test, the diff and commits, and the relevant Sprint and pad-input source excerpts. Skimmed the applicable standards and reported runs. docs/review-checklist.md is absent.; nothing run (a code review).

Checked and fine:

  • The extracted Sprint enum precedes the harness code that uses it, and the L3 assertion matches pad_sprint_down().
  • The test retains its menu-release and independent-pad-input assertions.
  • The head records an Assisted-by trailer.

Testing: Not run; review is read-only. The author reports a passing test and full-suite comparison before the rebase; CI is still running.

Overlaps and merge order: The description identifies #152 as editing another hunk of the same test.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The test now takes Sprint constants from the source and retains the correct L3 bitmask assertion. The remaining description issue is minor. Recommend approval; not approved on the forge. Keeps the pads-after-menu test aligned with Sprint’s constants without changing game behavior. It removes a copied enum at the cost of relying on the source enum’s marker for extraction. **Should fix (1)**: not blocking, but worth doing before merging. - **L1**: The checklist says baseline failures are named, but the description gives only their count and says the same 22 names remain. List the failing checks on the base and head so the stated comparison can be checked against the repository's test rule. `@fix` can do L1. **Since the last review** (on 3d7704eb8209) Still open: L1 (The checklist says baseline failures are named, but the description gives only their count…) **Checks:** Still running: 6 checks. <details> <summary>Also noticed (2; not asked for, not blocking)</summary> - The description’s compile-error baseline and two-commit account no longer describe the rebased diff: the current base already has the L3 enum and bitmask expectation. - The reported suite comparison was made against a different base before the rebase. </details> <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Not a performance change. The reported earlier run passed this test, but its baseline and head precede the rebase; the current base already contains the L3 constants and bitmask expectation. **Other systems:** Only the game-free test harness changes; no game, platform, GPU, input, or launcher code changes. **Switches:** None. **Reviewed:** b0752f28e31a against 753fb5af6860: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the full changed test, the diff and commits, and the relevant Sprint and pad-input source excerpts. Skimmed the applicable standards and reported runs. docs/review-checklist.md is absent.; nothing run (a code review). **Checked and fine:** - The extracted Sprint enum precedes the harness code that uses it, and the L3 assertion matches pad_sprint_down(). - The test retains its menu-release and independent-pad-input assertions. - The head records an Assisted-by trailer. **Testing:** Not run; review is read-only. The author reports a passing test and full-suite comparison before the rebase; CI is still running. **Overlaps and merge order:** The description identifies #152 as editing another hunk of the same test. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.</sub>
Author
Contributor

The remote head b0752f28 is already 0 behind / 3 ahead of 753fb5af; the local worktree is stale and diverged, so no rebase or push was made.

The remote head b0752f28 is already 0 behind / 3 ahead of 753fb5af; the local worktree is stale and diverged, so no rebase or push was made.
dazemc changed title from test(input): the pads-after-menu check follows Sprint's SPRINT_L3, in its constants and its bitmask to WIP: test(input): the pads-after-menu check takes Sprint's constants from nn_hid.c 2026-11-23 00:41:03 +00:00
dazemc force-pushed fix/pads-after-menu-sprint-l3 from b0752f28e3
Some checks failed
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been skipped
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been skipped
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been skipped
Third-party parts / The same as upstream (pull_request) Has been skipped
Website / Website on Cloudflare (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Successful in 9s
Guide screenshots / Guide images and local UI source review (pull_request) Failing after 12s
CI / Workflow lint (actionlint) (pull_request) Successful in 13s
Third-party parts / As their notes say (pull_request) Successful in 15s
CI / Website build and checks (pull_request) Successful in 3m13s
PR description / Description follows the template (pull_request_target) Successful in 6s
to be73125b58
Some checks failed
PR description / Description follows the template (pull_request_target) Successful in 3s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
Guide screenshots / Guide images and local UI source review (pull_request) Has been cancelled
Third-party parts / As their notes say (pull_request) Has been cancelled
Third-party parts / The same as upstream (pull_request) Has been cancelled
Website / Website on Cloudflare (pull_request) Has been cancelled
2026-11-23 03:15:24 +00:00
Compare
dazemc force-pushed fix/pads-after-menu-sprint-l3 from be73125b58
Some checks failed
PR description / Description follows the template (pull_request_target) Successful in 3s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
Guide screenshots / Guide images and local UI source review (pull_request) Has been cancelled
Third-party parts / As their notes say (pull_request) Has been cancelled
Third-party parts / The same as upstream (pull_request) Has been cancelled
Website / Website on Cloudflare (pull_request) Has been cancelled
to e8fb91c479
Some checks failed
PR description / Description follows the template (pull_request_target) Successful in 5s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
Guide screenshots / Guide images and local UI source review (pull_request) Has been cancelled
Third-party parts / As their notes say (pull_request) Has been cancelled
Third-party parts / The same as upstream (pull_request) Has been cancelled
Website / Website on Cloudflare (pull_request) Has been cancelled
2026-11-24 05:23:40 +00:00
Compare
Author
Contributor

@HumanBean — fork CI for head e8fb91c4, please.

What it is: the pads-after-menu check stops hand-copying Sprint's enum and cuts it from host/nn_hid.c (test-only, 4 lines).
Asked: approve this head's fork CI runs, and a review when you have the time.
Evidence: suite at this head prrefresh-logs/2215.log — 942 passed / 19 failed / 18 skipped, the same 19 ids as the frozen 8aa5ab87 baseline (BASELINE-8AA5AB87.md).
Still WIP — suites land one at a time, so this is not a merge request.

@HumanBean — fork CI for head `e8fb91c4`, please. **What it is:** the pads-after-menu check stops hand-copying Sprint's enum and cuts it from `host/nn_hid.c` (test-only, 4 lines). **Asked:** approve this head's fork CI runs, and a review when you have the time. **Evidence:** suite at this head `prrefresh-logs/2215.log` — 942 passed / 19 failed / 18 skipped, the same 19 ids as the frozen `8aa5ab87` baseline (`BASELINE-8AA5AB87.md`). Still WIP — suites land one at a time, so this is not a merge request.
Author
Contributor

Suite at e8fb91c4796d5845699838f93ad58e290088265e: 942 passed, 19 failed, 18 skipped in 406 s (linux, 5 at once), log prrefresh-logs/2215.log, sha256 4b30734a0f6b30197b713a4eeed075021a88a1a9732b8fd927982d0f6ae95370 (matches), .start 2026-11-23T21:43:20-08:00 / .end 21:50:07-08:00 / .exit 1 / .xml present, sampler .pressure.log clean (no guard fired). JUnit tests="979" failures="19" skipped="18" time="406.104" reconciles: 961 ran + 18 skipped = 979, and 942 + 19 = 961. The 19 ==== FAIL blocks, the 19 FAIL rows and the summary agree in both directions; no TIMEOUT.

Ids verdict: PASS under AMENDMENT 1. The 19 failing ids are exactly the CORE table, each with the exception class recorded for it there; no id outside CORE ∪ FLAKY fails. The 18 skips are the baseline's 18 ids with byte-identical reasons.

Head witness: there is no .head file and no .compare.txt for this ticket, so no .head is claimed. The log's own frames and the JUnit name the run tree /home/daze/GitHub/Longshot-2215-e8fb91c4, whose git rev-parse HEAD is e8fb91c4796d5845699838f93ad58e290088265e and whose git status --porcelain is empty; the PR's head is the same sha. That is the witness, not a .head.

Ticked One topic (merge-base 8aa5ab87 = current main; three commits, one file, tests/test_pads_after_menu.py) and Tested on my own PC (test-only: no path under gpu/, host/, nx2/, assets/, third_party/; no game path changes), and Testing now records the head run. No Ready-to-merge box touched.

Suite at `e8fb91c4796d5845699838f93ad58e290088265e`: `942 passed, 19 failed, 18 skipped in 406 s (linux, 5 at once)`, log `prrefresh-logs/2215.log`, sha256 `4b30734a0f6b30197b713a4eeed075021a88a1a9732b8fd927982d0f6ae95370` (matches), `.start` 2026-11-23T21:43:20-08:00 / `.end` 21:50:07-08:00 / `.exit` 1 / `.xml` present, sampler `.pressure.log` clean (no guard fired). JUnit `tests="979" failures="19" skipped="18" time="406.104"` reconciles: 961 ran + 18 skipped = 979, and 942 + 19 = 961. The 19 `==== FAIL` blocks, the 19 `FAIL` rows and the summary agree in both directions; no `TIMEOUT`. **Ids verdict:** PASS under AMENDMENT 1. The 19 failing ids are exactly the CORE table, each with the exception class recorded for it there; no id outside CORE ∪ FLAKY fails. The 18 skips are the baseline's 18 ids with byte-identical reasons. **Head witness:** there is no `.head` file and no `.compare.txt` for this ticket, so no `.head` is claimed. The log's own frames and the JUnit name the run tree `/home/daze/GitHub/Longshot-2215-e8fb91c4`, whose `git rev-parse HEAD` is `e8fb91c4796d5845699838f93ad58e290088265e` and whose `git status --porcelain` is empty; the PR's head is the same sha. That is the witness, not a `.head`. Ticked `One topic` (merge-base `8aa5ab87` = current `main`; three commits, one file, `tests/test_pads_after_menu.py`) and `Tested on my own PC` (test-only: no path under `gpu/`, `host/`, `nx2/`, `assets/`, `third_party/`; no game path changes), and Testing now records the head run. No Ready-to-merge box touched.
dazemc changed title from WIP: test(input): the pads-after-menu check takes Sprint's constants from nn_hid.c to test(input): the pads-after-menu check takes Sprint's constants from nn_hid.c 2026-11-24 11:09:06 +00:00
dazemc force-pushed fix/pads-after-menu-sprint-l3 from e8fb91c479
Some checks failed
PR description / Description follows the template (pull_request_target) Successful in 5s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
Guide screenshots / Guide images and local UI source review (pull_request) Has been cancelled
Third-party parts / As their notes say (pull_request) Has been cancelled
Third-party parts / The same as upstream (pull_request) Has been cancelled
Website / Website on Cloudflare (pull_request) Has been cancelled
to c24abdca33
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
Guide screenshots / Guide images and local UI source review (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
Website / Website on Cloudflare (pull_request) Blocked by required conditions
Website / Website builds (pull_request) Blocked by required conditions
Website / Website preview, build (pull_request) Blocked by required conditions
Website / Website preview, upload (pull_request) Blocked by required conditions
PR description / Description follows the template (pull_request_target) Successful in 7s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Has been cancelled
CI / longshot-builder end to end (synthetic game) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-11-25 09:03:39 +00:00
Compare
dazemc force-pushed fix/pads-after-menu-sprint-l3 from c24abdca33
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
Guide screenshots / Guide images and local UI source review (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
Website / Website on Cloudflare (pull_request) Blocked by required conditions
Website / Website builds (pull_request) Blocked by required conditions
Website / Website preview, build (pull_request) Blocked by required conditions
Website / Website preview, upload (pull_request) Blocked by required conditions
PR description / Description follows the template (pull_request_target) Successful in 7s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Has been cancelled
CI / longshot-builder end to end (synthetic game) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 55444d6e2d
Some checks failed
Website / Website on Cloudflare (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
Guide screenshots / Guide images and local UI source review (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
PR description / Description follows the template (pull_request_target) Successful in 17s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Has been cancelled
CI / longshot-builder end to end (synthetic game) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 3/4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 4/4) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-11-25 17:55:19 +00:00
Compare
Author
Contributor

Rebased c24abdca3 to 55444d6e2 on main 8f7300756; patch-id unchanged and intersection empty. Existing test-only suite evidence stands.

Rebased c24abdca3 to 55444d6e2 on main 8f7300756; patch-id unchanged and intersection empty. Existing test-only suite evidence stands.
futondestroyer left a comment

Source review: no blocking findings. #2213 already fixed the Sprint L3 assertion and restored compilation. This PR still removes a duplicate declaration by pulling Sprint's enum directly from the host, while preserving the L3 and controller-release assertions. It changes one test file.

Main now also changes this fixture and its XInput source for #1349. The merge is textually clean and preserves both updates. Please rerun tests/test_pads_after_menu.py on the combined tree before merge. The author's Linux pass at e8fb91c4 used a byte-identical fixture, and predates that combination. The exact-head description check passed. The candidate CI and Guide jobs remain blocked. Original Sprint fix · Linux suite · CI · Guide CI

Reviewed 55444d6e2d989e5bd1f5a134a5e743e2ac20314b against 8f7300756701b7c9a278e576bb075ac20e622a32 and checked the merge against current main 1413b172907220e21ae0f9503e040d0b115bcda9.

**Source review: no blocking findings.** #2213 already fixed the Sprint L3 assertion and restored compilation. This PR still removes a duplicate declaration by pulling Sprint's enum directly from the host, while preserving the L3 and controller-release assertions. It changes one test file. Main now also changes this fixture and its XInput source for #1349. The merge is textually clean and preserves both updates. Please rerun `tests/test_pads_after_menu.py` on the combined tree before merge. The author's Linux pass at `e8fb91c4` used a byte-identical fixture, and predates that combination. The exact-head description check passed. The candidate CI and Guide jobs remain blocked. [Original Sprint fix](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2213) · [Linux suite](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2215#issuecomment-78809) · [CI](https://git.magicbean.dev/MagicBeanDev/Longshot/actions/runs/54241) · [Guide CI](https://git.magicbean.dev/MagicBeanDev/Longshot/actions/runs/54246) Reviewed `55444d6e2d989e5bd1f5a134a5e743e2ac20314b` against `8f7300756701b7c9a278e576bb075ac20e622a32` and checked the merge against current main `1413b172907220e21ae0f9503e040d0b115bcda9`.
Owner
@fix
Owner
@fix
BeanBot force-pushed fix/pads-after-menu-sprint-l3 from 55444d6e2d
Some checks failed
Website / Website on Cloudflare (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
Guide screenshots / Guide images and local UI source review (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
PR description / Description follows the template (pull_request_target) Successful in 17s
CI / Conventional Commit title (pull_request) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Has been cancelled
CI / longshot-builder end to end (synthetic game) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 3/4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 4/4) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
CI / Workflow lint (actionlint) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to ba404c7b2a
Some checks are pending
PR description / Title and description (pull_request_target) Successful in 5s
CI / What the change needs (pull_request) Successful in 8s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Waiting to run
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Waiting to run
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Waiting to run
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Waiting to run
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Waiting to run
CI / Website build and checks (pull_request) Waiting to run
CI / Third-party parts and guide screenshots (pull_request) Successful in 12s
2026-12-05 19:23:35 +00:00
Compare
BeanBot left a comment

Recommendation: Approve. The test now takes Sprint’s constants from the production enum and preserves its assertions. The remaining description omission is minor. Recommend approval; not approved on the forge.

What @fix changed
I changed this pull request: the new head is ba404c7b2a. I rebased it onto main (ed57ec5464).

Conflicts resolved

  • tests/test_pads_after_menu.py: Kept the base branch’s settings and pad changes, and extracted the Sprint constants from nn_hid.c. No tests or builds were run.

Nothing was built or run: the checks run again on the new head.

The test no longer maintains a separate copy of Sprint’s constants, reducing the chance that the fixture drifts from the host code. It adds a small dependency on the enum’s source shape.

Should fix (1): not blocking, but worth doing before merging.

  • L1: The checklist says baseline failures are named, but the description gives only their count and says the same 22 names remain. List the failing checks on the base and head so the stated comparison can be checked against the repository's test rule.

@fix can do L1.

Checks: they run again on this head; a failure shows on the pull request.

Also noticed (1; not asked for, not blocking)
  • The source reviewer requested a run of tests/test_pads_after_menu.py on the combined tree before merge.
More: does it help, other systems, switches, what was read

Does it help: Yes: the fixture reads the enum used by pad_sprint_down; the reported Linux suite passed this test. This is not a performance change.

Other systems: Only a game-free test changes; no game, platform, or hardware path changes. The reported test pass predates the current combined tree.

Switches: None.

Reviewed: ba404c7b2a against ed57ec5464: Read the complete changed test, its diff and commit list, AGENTS.md, CONTRIBUTING.md, the PR template, and the relevant Sprint references in host/nn_hid.c. The rest of host/nn_hid.c and recorded runs were not read in full.; nothing run (a code review).

Checked and fine:

  • The extracted enum precedes the test prelude and the extracted pad_sprint_down function.
  • The Sprint L3 and controller-release assertions remain in the test.

Testing: The author reports the test passed in a Linux suite at e8fb91c4; no commands or tests were run for this review. CI has not run on the supplied head.

Overlaps and merge order: The description identifies #152 as editing nearby lines; the source review also identifies a current-main fixture and XInput update from #1349.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The test now takes Sprint’s constants from the production enum and preserves its assertions. The remaining description omission is minor. Recommend approval; not approved on the forge. **What `@fix` changed** I changed this pull request: the new head is ba404c7b2a50. I rebased it onto `main` (ed57ec54647f). **Conflicts resolved** - tests/test_pads_after_menu.py: Kept the base branch’s settings and pad changes, and extracted the Sprint constants from nn_hid.c. No tests or builds were run. Nothing was built or run: the checks run again on the new head. The test no longer maintains a separate copy of Sprint’s constants, reducing the chance that the fixture drifts from the host code. It adds a small dependency on the enum’s source shape. **Should fix (1)**: not blocking, but worth doing before merging. - **L1**: The checklist says baseline failures are named, but the description gives only their count and says the same 22 names remain. List the failing checks on the base and head so the stated comparison can be checked against the repository's test rule. `@fix` can do L1. **Checks:** they run again on this head; a failure shows on the pull request. <details> <summary>Also noticed (1; not asked for, not blocking)</summary> - The source reviewer requested a run of tests/test_pads_after_menu.py on the combined tree before merge. </details> <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes: the fixture reads the enum used by pad_sprint_down; the reported Linux suite passed this test. This is not a performance change. **Other systems:** Only a game-free test changes; no game, platform, or hardware path changes. The reported test pass predates the current combined tree. **Switches:** None. **Reviewed:** ba404c7b2a50 against ed57ec54647f: Read the complete changed test, its diff and commit list, AGENTS.md, CONTRIBUTING.md, the PR template, and the relevant Sprint references in host/nn_hid.c. The rest of host/nn_hid.c and recorded runs were not read in full.; nothing run (a code review). **Checked and fine:** - The extracted enum precedes the test prelude and the extracted pad_sprint_down function. - The Sprint L3 and controller-release assertions remain in the test. **Testing:** The author reports the test passed in a Linux suite at e8fb91c4; no commands or tests were run for this review. CI has not run on the supplied head. **Overlaps and merge order:** The description identifies #152 as editing nearby lines; the source review also identifies a current-main fixture and XInput update from #1349. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.</sub>
HumanBean deleted branch fix/pads-after-menu-sprint-l3 2026-12-05 19:31:40 +00:00
Some checks are pending
PR description / Title and description (pull_request_target) Successful in 5s
CI / What the change needs (pull_request) Successful in 8s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Waiting to run
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Waiting to run
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Waiting to run
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Waiting to run
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Waiting to run
CI / Website build and checks (pull_request) Waiting to run
CI / Third-party parts and guide screenshots (pull_request) Successful in 12s
Some workflows are waiting to be reviewed.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
5 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!2215
No description provided.