test: the Windows sandbox check reads the builder's note as note_lines sets it #3133

Merged
HumanBean merged 1 commit from HumanBean/Longshot:test/sandbox-note-lines into main 2026-12-03 23:44:58 +00:00
Owner

Summary

tests/test_sandbox_windows.py fails on main since #3113: it looks for the line that pushed each of the builder's lines into the hello, which #3113 replaced with s.note = note_lines(&said);. The check now looks for the note being set from note_lines, with or without a super:: path (#3110 writes it with one).

Read first: the one changed check in test_source.

Testing

Tested: Linux, game-free only.

  • python3 -I tests/test_sandbox_windows.py: fails on main at 0a68a1de, passes here (19 checks).
  • Run without LONGSHOT_MINGW, so the Windows files were not syntax-checked. This changes none of them.

Still to test: None

Measurements

Nothing to measure: a test only.

Risks

  • The check reads the source's text. What note_lines returns is for build-core's own tests, not this one.
  • 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. (A test only: nothing the game runs changes)
  • mise run test passes (any failure that also fails on main is named). (Only the check above ran)
  • 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.
  • 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 `tests/test_sandbox_windows.py` fails on `main` since #3113: it looks for the line that pushed each of the builder's lines into the hello, which #3113 replaced with `s.note = note_lines(&said);`. The check now looks for the note being set from `note_lines`, with or without a `super::` path (#3110 writes it with one). Read first: the one changed `check` in `test_source`. ## Testing **Tested:** Linux, game-free only. - `python3 -I tests/test_sandbox_windows.py`: fails on `main` at 0a68a1de, passes here (19 checks). - Run without `LONGSHOT_MINGW`, so the Windows files were not syntax-checked. This changes none of them. **Still to test:** None ## Measurements Nothing to measure: a test only. ## Risks - The check reads the source's text. What `note_lines` returns is for `build-core`'s own tests, not this one. - 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. (A test only: nothing the game runs changes) - [ ] `mise run test` passes (any failure that also fails on `main` is named). (Only the check above ran) - [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] 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)
test: the Windows sandbox check reads the builder's note as note_lines sets it
Some checks failed
CI / What the change needs (pull_request) Successful in 8s
CI / Third-party parts and guide screenshots (pull_request) Successful in 11s
PR description / Title and description (pull_request_target) Failing after 6s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 18s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 13m45s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m33s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 17m8s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 16m34s
CI / Website build and checks (pull_request) Failing after 1m19s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 15m31s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 51m55s
60039e10b7
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Member

Possibly related, for context:

  • PR #3132 feat(sandbox)!: the sandbox is off by default — Merged sandbox change documents this exact stale test failure
  • PR #3124 fix(builder): import note_lines in Windows sandbox mod os — Merged change introduced note_lines use and source shape being checked
Possibly related, for context: - PR #3132 feat(sandbox)!: the sandbox is off by default — Merged sandbox change documents this exact stale test failure - PR #3124 fix(builder): import note_lines in Windows sandbox mod os — Merged change introduced note_lines use and source shape being checked
HumanBean changed title from WIP: test: the Windows sandbox check reads the builder's note as note_lines sets it to test: the Windows sandbox check reads the builder's note as note_lines sets it 2026-12-03 23:44:53 +00:00
HumanBean deleted branch test/sandbox-note-lines 2026-12-03 23:44:58 +00:00
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!3133
No description provided.