feat(dev): run_all.py --container runs the checks with CI's tools #2319

Merged
HumanBean merged 2 commits from pepe999/Longshot:feat/checks-container into main 2026-11-23 16:50:08 +00:00
Contributor

Summary

mise run test is asked of every pull request, and its result is what the author's PC has installed: a check whose tool is missing (clang, spirv-val, glslang, .NET, a sanitizer library) fails with --strict or is skipped without it. On one Linux PC that was 62 skipped with g++ alone and 39 with clang, and CI doesn't fill the gap for now (ci.yml runs these checks by hand).

mise run test --container (tests/run_all.py --container) runs the same checks, on Linux, in a container with the tools and versions of ci.yml's job: Ubuntu 24.04, its packages, the pinned Python packages, glslang and headers. Podman or Docker; scripts/linux/checks.sh builds the image once (checks.Dockerfile) and passes the other arguments on. A --junit path is resolved relative to the caller's directory and must be inside the checkout. The checks run as the caller, with no network, and can write the checkout alone; a git worktree's repository is mounted read-only. No new mise task. CC and CXX are passed on, so CXX=g++ mise run test --container ub_ runs some with the other compiler.

It doesn't run the website's checks (node), nor the checks that need the game or a GPU.

Read first: scripts/linux/checks.sh, then in_container in tests/run_all.py.

Testing

Tested: Linux (Fedora, SELinux enforcing, rootless Podman 6.1.3), in a git worktree, through mise run test --container: 937 passed, 3 failed, 18 skipped (Windows, a GPU, the dump). Two of the 3 fail on main (test_dev_packs, test_pipeline_state_computes: #2311). The third, test_longshot_saves, passes as root, as in CI, and fails as the caller: a bug it finds in longshot_saves.py, fixed in a pull request of its own. Nothing the caller doesn't own is left in the checkout, and git status is clean after.

tests/test_checks_container.py, game-free, with a stand-in for podman and docker: the versions are ci.yml's and mise.toml's, no network, the mounts, the user under Podman, Docker and rootless Docker, the arguments, the exit status, no engine. Six broken versions of the script each fail it. ShellCheck passes.

Still to test:

  • Linux with Docker, a root daemon and rootless: mise run test --container ub_, expecting the checks to run and no file of root's in the checkout (by hand)

Measurements

Verdict: the whole --strict suite in about 3 minutes on a PC that can't run it otherwise.

Setup: Linux, 28 threads, rootless Podman, main @ 753fb5af and this branch; the PC was not reserved for timing.

Before: main @ 753fb5af After: this PR @ 023d5970
run_all.py, g++ alone (not --strict) 62 skipped 18 skipped
The suite's time 143-146 s (with 39 to 62 skipped) 193 s, 4.6 minutes with the image's first build
The image none 2.25 GB, once

Risks

The image's versions could fall behind CI's: the check compares them. Ubuntu's packages are as its archive has them that day, as CI's are. Without --container nothing changes. Players notice nothing; 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

  • 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 `mise run test` is asked of every pull request, and its result is what the author's PC has installed: a check whose tool is missing (clang, spirv-val, glslang, .NET, a sanitizer library) fails with `--strict` or is skipped without it. On one Linux PC that was 62 skipped with g++ alone and 39 with clang, and CI doesn't fill the gap for now (`ci.yml` runs these checks by hand). `mise run test --container` (`tests/run_all.py --container`) runs the same checks, on Linux, in a container with the tools and versions of `ci.yml`'s job: Ubuntu 24.04, its packages, the pinned Python packages, glslang and headers. Podman or Docker; `scripts/linux/checks.sh` builds the image once (`checks.Dockerfile`) and passes the other arguments on. A `--junit` path is resolved relative to the caller's directory and must be inside the checkout. The checks run as the caller, with no network, and can write the checkout alone; a git worktree's repository is mounted read-only. No new mise task. `CC` and `CXX` are passed on, so `CXX=g++ mise run test --container ub_` runs some with the other compiler. It doesn't run the website's checks (node), nor the checks that need the game or a GPU. Read first: `scripts/linux/checks.sh`, then `in_container` in `tests/run_all.py`. ## Testing **Tested:** Linux (Fedora, SELinux enforcing, rootless Podman 6.1.3), in a git worktree, through `mise run test --container`: 937 passed, 3 failed, 18 skipped (Windows, a GPU, the dump). Two of the 3 fail on `main` (test_dev_packs, test_pipeline_state_computes: #2311). The third, test_longshot_saves, passes as root, as in CI, and fails as the caller: a bug it finds in `longshot_saves.py`, fixed in a pull request of its own. Nothing the caller doesn't own is left in the checkout, and `git status` is clean after. `tests/test_checks_container.py`, game-free, with a stand-in for podman and docker: the versions are `ci.yml`'s and `mise.toml`'s, no network, the mounts, the user under Podman, Docker and rootless Docker, the arguments, the exit status, no engine. Six broken versions of the script each fail it. ShellCheck passes. **Still to test:** - Linux with Docker, a root daemon and rootless: `mise run test --container ub_`, expecting the checks to run and no file of root's in the checkout (by hand) ## Measurements **Verdict:** the whole `--strict` suite in about 3 minutes on a PC that can't run it otherwise. Setup: Linux, 28 threads, rootless Podman, `main` @ 753fb5af and this branch; the PC was not reserved for timing. | | Before: main @ 753fb5af | After: this PR @ 023d5970 | |---|---|---| | `run_all.py`, g++ alone (not `--strict`) | 62 skipped | 18 skipped | | The suite's time | 143-146 s (with 39 to 62 skipped) | 193 s, 4.6 minutes with the image's first build | | The image | none | 2.25 GB, once | ## Risks The image's versions could fall behind CI's: the check compares them. Ubuntu's packages are as its archive has them that day, as CI's are. Without `--container` nothing changes. Players notice nothing; 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] 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)
feat(dev): run_all.py --container runs the checks with CI's tools
Some checks failed
Website / Website on Cloudflare (pull_request_target) Has been skipped
PR description / Description follows the template (pull_request_target) Successful in 12s
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
023d59709e
A check whose tool a PC lacks (clang, spirv-val, glslang, .NET, a sanitizer)
fails with --strict, or is skipped without it: 39 to 62 of them on one. CI
runs these checks by hand for now, so each pull request rests on what its
author has installed. scripts/linux/checks.sh builds an image with the tools
and versions of CI's job and runs the checks in it, as the caller, with no
network and only the checkout to write.

Assisted-by: Claude Code
Co-Authored-By: Claude Opus 5.5 <[email protected]>
pepe999 changed title from WIP: feat(dev): run_all.py --container runs the checks with CI's tools to feat(dev): run_all.py --container runs the checks with CI's tools 2026-11-23 00:10:38 +00:00
Owner
@review
BeanBot left a comment

Recommendation: Approve. Rootless Docker runs the checks as container root, so permission-sensitive checks can pass when they fail for the caller. The container also changes where JUnit output can be written, despite forwarding that option unchanged. Nothing blocking is left. Recommend approval; not approved on the forge.

Adds an opt-in Linux container for running game-free checks with CI-like tools. It reduces missing-tool skips at the cost of an image build and storage; the Podman run reported 937 passes and 18 skips, with three failures.

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

  • L1 scripts/linux/checks.sh:31: Rootless Docker runs the checks as UID 0 inside the container, which changes permission-sensitive test results. (more on the line) Do: Run the checks under a non-root container identity that maps to the caller's writable checkout, and add a permission-sensitive check for rootless Docker.
  • L2 scripts/linux/checks.sh:23: The checkout-only mount and changed working directory break forwarded --junit paths outside the checkout. (more on the line) Do: Preserve the caller's output-path semantics by resolving and mounting the requested report destination, or reject unsupported destinations before starting the suite and document the restriction.

@fix can do L1 and L2.

Checks: Still running: 10 checks.

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

Does it help: Yes: the reported Fedora Podman run reduced skips from 39–62 to 18. The reported suite time was 193 seconds, versus 143–146 seconds with more checks skipped; the image used 2.25 GB.

Other systems: The ordinary test path and game code are unchanged. Podman was tested on Fedora; Docker with rootful and rootless daemons remains untested. The image uses an x86-64 glslang release.

Switches: --container is opt-in and defaults off. DOCKER selects an engine, defaulting to Podman then Docker; LONGSHOT_CHECKS_IMAGE defaults to longshot-checks. CC and CXX are forwarded when set.

Reviewed: 023d59709e against 753fb5af68: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the diff, commit and trailers, checks.sh, checks.Dockerfile, test_checks_container.py, run_all.py and fetch_commit.sh. Skimmed developing.md, standards references, mise.toml and CI configuration. No review checklist file or adjacent Tooling checkout was present.; nothing run (a code review).

Checked and fine:

  • The commit records AI assistance with trailers.
  • The new files contain no apparent game-derived output.
  • The worktree common Git directory is mounted read-only, and the check container has networking disabled.
  • Build and run failures propagate their exit status.

Testing: No commands from the change or tests were run. The author reports a Fedora rootless Podman run; Docker runs and several CI checks are still pending.

Overlaps and merge order: Not checked; network access is unavailable.


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

**Recommendation: Approve.** Rootless Docker runs the checks as container root, so permission-sensitive checks can pass when they fail for the caller. The container also changes where JUnit output can be written, despite forwarding that option unchanged. Nothing blocking is left. Recommend approval; not approved on the forge. Adds an opt-in Linux container for running game-free checks with CI-like tools. It reduces missing-tool skips at the cost of an image build and storage; the Podman run reported 937 passes and 18 skips, with three failures. **Should fix (2)**: not blocking, but worth doing before merging. - **L1** `scripts/linux/checks.sh:31`: Rootless Docker runs the checks as UID 0 inside the container, which changes permission-sensitive test results. (more on the line) **Do:** Run the checks under a non-root container identity that maps to the caller's writable checkout, and add a permission-sensitive check for rootless Docker. - **L2** `scripts/linux/checks.sh:23`: The checkout-only mount and changed working directory break forwarded --junit paths outside the checkout. (more on the line) **Do:** Preserve the caller's output-path semantics by resolving and mounting the requested report destination, or reject unsupported destinations before starting the suite and document the restriction. `@fix` can do L1 and L2. **Checks:** Still running: 10 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes: the reported Fedora Podman run reduced skips from 39–62 to 18. The reported suite time was 193 seconds, versus 143–146 seconds with more checks skipped; the image used 2.25 GB. **Other systems:** The ordinary test path and game code are unchanged. Podman was tested on Fedora; Docker with rootful and rootless daemons remains untested. The image uses an x86-64 glslang release. **Switches:** --container is opt-in and defaults off. DOCKER selects an engine, defaulting to Podman then Docker; LONGSHOT_CHECKS_IMAGE defaults to longshot-checks. CC and CXX are forwarded when set. **Reviewed:** 023d59709e28 against 753fb5af6860: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the diff, commit and trailers, checks.sh, checks.Dockerfile, test_checks_container.py, run_all.py and fetch_commit.sh. Skimmed developing.md, standards references, mise.toml and CI configuration. No review checklist file or adjacent Tooling checkout was present.; nothing run (a code review). **Checked and fine:** - The commit records AI assistance with trailers. - The new files contain no apparent game-derived output. - The worktree common Git directory is mounted read-only, and the check container has networking disabled. - Build and run failures propagate their exit status. **Testing:** No commands from the change or tests were run. The author reports a Fedora rootless Podman run; Docker runs and several CI checks are still pending. **Overlaps and merge order:** Not checked; network access is unavailable. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
@ -0,0 +20,4 @@
"$DOCKER" build -t "$IMAGE" -f scripts/linux/checks.Dockerfile scripts >&2
RUN=(run --rm --init --network none -v "$ROOT:$ROOT" -w "$ROOT")
Member

L2 (should fix): The checkout-only mount and changed working directory break forwarded --junit paths outside the checkout.

When: For example, --container --junit /home/user/results/report.xml reaches run_all.py, but the host directory is not mounted, so writing the report fails after the checks finish. A relative path supplied from another working directory is resolved under the checkout instead.

Do: Preserve the caller's output-path semantics by resolving and mounting the requested report destination, or reject unsupported destinations before starting the suite and document the restriction.

**L2** (should fix): The checkout-only mount and changed working directory break forwarded --junit paths outside the checkout. *When:* For example, --container --junit /home/user/results/report.xml reaches run_all.py, but the host directory is not mounted, so writing the report fails after the checks finish. A relative path supplied from another working directory is resolved under the checkout instead. **Do:** Preserve the caller's output-path semantics by resolving and mounting the requested report destination, or reject unsupported destinations before starting the suite and document the restriction.
@ -0,0 +28,4 @@
# (the user: as docker.sh, beside this, says)
if "$DOCKER" --version 2>/dev/null | grep -qi podman; then
RUN+=(--userns=keep-id)
elif "$DOCKER" info --format '{{.SecurityOptions}}' 2>/dev/null | grep -q rootless; then
Member

L1 (should fix): Rootless Docker runs the checks as UID 0 inside the container, which changes permission-sensitive test results.

When: With a rootless Docker daemon, this branch adds no --user option. The reported longshot_saves test passes as root but fails as the caller, so this path can report a pass for the very failure the Podman run found.

Do: Run the checks under a non-root container identity that maps to the caller's writable checkout, and add a permission-sensitive check for rootless Docker.

**L1** (should fix): Rootless Docker runs the checks as UID 0 inside the container, which changes permission-sensitive test results. *When:* With a rootless Docker daemon, this branch adds no --user option. The reported longshot_saves test passes as root but fails as the caller, so this path can report a pass for the very failure the Podman run found. **Do:** Run the checks under a non-root container identity that maps to the caller's writable checkout, and add a permission-sensitive check for rootless Docker.
Owner
@fix
BeanBot force-pushed feat/checks-container from 023d59709e
Some checks failed
Website / Website on Cloudflare (pull_request_target) Has been skipped
PR description / Description follows the template (pull_request_target) Successful in 12s
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 8ec8a0cc7b
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 14s
PR description / Description follows the template (pull_request_target) Successful in 30s
CI / Workflow lint (actionlint) (pull_request) Successful in 22s
Guide screenshots / Guide images and local UI source review (pull_request) Failing after 21s
Third-party parts / As their notes say (pull_request) Successful in 22s
CI / Website build and checks (pull_request) Successful in 3m49s
2026-11-23 00:34:50 +00:00
Compare
BeanBot left a comment

Recommendation: Approve. The container runs the checks with CI’s tools on the tested Podman setup. The two remaining limitations are minor and do not prevent the feature from being useful. Recommend approval; not approved on the forge.

What @fix changed
I changed this pull request: the new head is 8ec8a0cc7b. I rebased it onto main (21d5bdf9bc). I edited its description to match the change.

Changed

  • Container JUnit paths: scripts/linux/checks.sh:12: Resolved report paths from the caller’s directory and reject destinations outside the checkout before building. Documented the restriction and added coverage in tests/test_checks_container.py:117. Tests were not run, as requested.

Not done

  • Rootless Docker identity: scripts/linux/checks.sh:31: A non-root container UID maps to a subordinate host ID and normally cannot write the caller-owned checkout. This needs a reliable identity mapping and a permission-sensitive rootless Docker check; I could not establish a safe implementation.

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

Developers can run more of the game-free suite in a Linux container without installing its tools locally. The image costs 2.25 GB and an initial build; the reported suite took 193 seconds.

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

  • L1 scripts/linux/checks.sh:31: Rootless Docker runs the checks as UID 0 inside the container, which changes permission-sensitive test results. When: With a rootless Docker daemon, this branch adds no --user option. The reported longshot_saves test passes as root but fails as the caller, so this path can report a pass for the very failure the Podman run found. Do: Run the checks under a non-root container identity that maps to the caller's writable checkout, and add a permission-sensitive check for rootless Docker.
  • L2 scripts/linux/checks.sh:23: JUnit destinations outside the checkout are rejected rather than supported. When: A caller requesting --junit /tmp/results.xml receives exit status 2 before the checks run instead of a report at that path. Do: Support writing the requested external report, for example by writing it inside the container and copying it to the caller’s destination after the run.

@fix can do L1 and L2.

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

Also noticed (1; not asked for, not blocking)
  • The supplied base diff includes changes to rendering and pipeline assets outside the described container feature.
More: does it help, other systems, switches, what was read

Does it help: Yes. The author reports 18 skipped checks in the container versus 62 with g++ alone on the same PC; the recorded run had 937 passes, three failures and 18 skips. This is a tooling feature, not a player performance change.

Other systems: The reported run covers rootless Podman on SELinux-enforcing Fedora and a git worktree. Rootful and rootless Docker remain untested with real engines; the stand-in checks inspect their arguments. The game and Windows execution are unaffected.

Switches: Adds --container, off by default; LONGSHOT_CHECKS_IMAGE defaults to longshot-checks; DOCKER defaults to the first available engine, preferring Podman. CC and CXX are passed through when set. These defaults fit the feature.

Reviewed: 8ec8a0cc7b against 21d5bdf9bc: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the fix diff, scripts/linux/checks.sh, scripts/linux/checks.Dockerfile and tests/test_checks_container.py. Read the runner’s container and JUnit paths and skimmed the remaining runner and base diff. The stated base diff also contains unrelated merged changes, which were not reviewed in full. Tooling’s AGENTS.md and docs/review-checklist.md were unavailable.; nothing run (a code review).

Checked and fine:

  • The fix resolves supported relative JUnit paths from the caller’s directory and checks symlink destinations before starting the container.
  • The fix keeps the container feature enabled and preserves argument forwarding for supported JUnit paths.

Testing: No commands from the project or tests were run during this read-only review. The author reports a real Podman run and stand-in engine checks; Docker runs remain listed as still to test.

Overlaps and merge order: Not checked; network access is unavailable.


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 container runs the checks with CI’s tools on the tested Podman setup. The two remaining limitations are minor and do not prevent the feature from being useful. Recommend approval; not approved on the forge. **What `@fix` changed** I changed this pull request: the new head is 8ec8a0cc7be1. I rebased it onto `main` (21d5bdf9bc64). I edited its description to match the change. **Changed** - **Container JUnit paths: scripts/linux/checks.sh:12**: Resolved report paths from the caller’s directory and reject destinations outside the checkout before building. Documented the restriction and added coverage in tests/test_checks_container.py:117. Tests were not run, as requested. **Not done** - **Rootless Docker identity: scripts/linux/checks.sh:31**: A non-root container UID maps to a subordinate host ID and normally cannot write the caller-owned checkout. This needs a reliable identity mapping and a permission-sensitive rootless Docker check; I could not establish a safe implementation. Nothing was built or run: the checks run again on the new head. Developers can run more of the game-free suite in a Linux container without installing its tools locally. The image costs 2.25 GB and an initial build; the reported suite took 193 seconds. **Should fix (2)**: not blocking, but worth doing before merging. - **L1** `scripts/linux/checks.sh:31`: Rootless Docker runs the checks as UID 0 inside the container, which changes permission-sensitive test results. *When:* With a rootless Docker daemon, this branch adds no --user option. The reported longshot_saves test passes as root but fails as the caller, so this path can report a pass for the very failure the Podman run found. **Do:** Run the checks under a non-root container identity that maps to the caller's writable checkout, and add a permission-sensitive check for rootless Docker. - **L2** `scripts/linux/checks.sh:23`: JUnit destinations outside the checkout are rejected rather than supported. *When:* A caller requesting --junit /tmp/results.xml receives exit status 2 before the checks run instead of a report at that path. **Do:** Support writing the requested external report, for example by writing it inside the container and copying it to the caller’s destination after the run. `@fix` can do L1 and L2. **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 supplied base diff includes changes to rendering and pipeline assets outside the described container feature. </details> <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes. The author reports 18 skipped checks in the container versus 62 with g++ alone on the same PC; the recorded run had 937 passes, three failures and 18 skips. This is a tooling feature, not a player performance change. **Other systems:** The reported run covers rootless Podman on SELinux-enforcing Fedora and a git worktree. Rootful and rootless Docker remain untested with real engines; the stand-in checks inspect their arguments. The game and Windows execution are unaffected. **Switches:** Adds --container, off by default; LONGSHOT_CHECKS_IMAGE defaults to longshot-checks; DOCKER defaults to the first available engine, preferring Podman. CC and CXX are passed through when set. These defaults fit the feature. **Reviewed:** 8ec8a0cc7be1 against 21d5bdf9bc64: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the fix diff, scripts/linux/checks.sh, scripts/linux/checks.Dockerfile and tests/test_checks_container.py. Read the runner’s container and JUnit paths and skimmed the remaining runner and base diff. The stated base diff also contains unrelated merged changes, which were not reviewed in full. Tooling’s AGENTS.md and docs/review-checklist.md were unavailable.; nothing run (a code review). **Checked and fine:** - The fix resolves supported relative JUnit paths from the caller’s directory and checks symlink destinations before starting the container. - The fix keeps the container feature enabled and preserves argument forwarding for supported JUnit paths. **Testing:** No commands from the project or tests were run during this read-only review. The author reports a real Podman run and stand-in engine checks; Docker runs remain listed as still to test. **Overlaps and merge order:** Not checked; network access is unavailable. </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 feat/checks-container 2026-11-23 16:50:09 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 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!2319
No description provided.