From 1446df507cef4048b0aa76cc7698902e30ecefbc Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 08:33:47 +0200 Subject: [PATCH 01/33] security(ci): suppress automatic Docker build records in base-image.yml --- .github/workflows/base-image.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/base-image.yml b/.github/workflows/base-image.yml index 6928ee81..2e209c02 100644 --- a/.github/workflows/base-image.yml +++ b/.github/workflows/base-image.yml @@ -17,6 +17,11 @@ permissions: packages: write id-token: write +# Public-source security hold: BuildKit history may contain unreviewed build diagnostics. +# Retain normal job logs/explicit artifacts; suppress automatic .dockerbuild upload. +env: + DOCKER_BUILD_RECORD_UPLOAD: 'false' + defaults: run: shell: bash -euo pipefail {0} From 6d3ffa1af381a6bbe4670965227965fd4030a33a Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 08:33:51 +0200 Subject: [PATCH 02/33] security(ci): suppress automatic Docker build records in nightly-soak.yml --- .github/workflows/nightly-soak.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/nightly-soak.yml b/.github/workflows/nightly-soak.yml index e5924da7..2c1bc465 100644 --- a/.github/workflows/nightly-soak.yml +++ b/.github/workflows/nightly-soak.yml @@ -8,6 +8,11 @@ on: permissions: contents: read +# Public-source security hold: BuildKit history may contain unreviewed build diagnostics. +# Retain normal job logs/explicit artifacts; suppress automatic .dockerbuild upload. +env: + DOCKER_BUILD_RECORD_UPLOAD: 'false' + defaults: run: shell: bash -euo pipefail {0} From 8542d5899a47d2eb177b3b909e6d5d3a0a31ec7c Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 08:33:54 +0200 Subject: [PATCH 03/33] security(ci): suppress automatic Docker build records in release.yml --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7f71529d..68d2df0f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,11 @@ on: permissions: contents: read +# Public-source security hold: BuildKit history may contain unreviewed build diagnostics. +# Retain normal job logs/explicit artifacts; suppress automatic .dockerbuild upload. +env: + DOCKER_BUILD_RECORD_UPLOAD: 'false' + defaults: run: shell: bash -euo pipefail {0} From dba93041abf61a6bc2e8d61ff5e72242a160ffe7 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 08:33:57 +0200 Subject: [PATCH 04/33] security(ci): suppress automatic Docker build records in reusable-build-smoke-gate.yml --- .github/workflows/reusable-build-smoke-gate.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/reusable-build-smoke-gate.yml b/.github/workflows/reusable-build-smoke-gate.yml index 82c6604c..d2f802b6 100755 --- a/.github/workflows/reusable-build-smoke-gate.yml +++ b/.github/workflows/reusable-build-smoke-gate.yml @@ -60,6 +60,11 @@ on: permissions: contents: read +# Public-source security hold: BuildKit history may contain unreviewed build diagnostics. +# Retain normal job logs/explicit artifacts; suppress automatic .dockerbuild upload. +env: + DOCKER_BUILD_RECORD_UPLOAD: 'false' + defaults: run: shell: bash -euo pipefail {0} From 879a3c08b9044f6a559799672cbc8a217ae6eef5 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 08:34:41 +0200 Subject: [PATCH 05/33] test(ci): fail closed on future Docker build-record uploads --- tests/test_ci_dockerbuild_artifact_policy.py | 51 ++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 tests/test_ci_dockerbuild_artifact_policy.py diff --git a/tests/test_ci_dockerbuild_artifact_policy.py b/tests/test_ci_dockerbuild_artifact_policy.py new file mode 100644 index 00000000..803907e4 --- /dev/null +++ b/tests/test_ci_dockerbuild_artifact_policy.py @@ -0,0 +1,51 @@ +"""Fail closed on automatic Docker BuildKit record publication from public CI.""" + +from __future__ import annotations + +import re +from pathlib import Path + + +WORKFLOW_DIR = Path(__file__).resolve().parents[1] / ".github" / "workflows" +BUILD_ACTION = "uses: docker/build-push-action@" +WORKFLOW_GUARD = "\nenv:\n DOCKER_BUILD_RECORD_UPLOAD: 'false'\n" +DECLARATION = re.compile(r"(?m)^\s*DOCKER_BUILD_RECORD_UPLOAD:\s*(.*?)\s*$") + + +def _has_fail_closed_record_policy(source: str) -> bool: + header, boundary, _ = source.partition("\njobs:\n") + if not boundary: + return False + return WORKFLOW_GUARD in header and DECLARATION.findall(source) == ["'false'"] + + +def test_public_build_workflows_disable_automatic_build_record_upload() -> None: + workflows = sorted(WORKFLOW_DIR.glob("*.yml")) + build_workflows = [p for p in workflows if BUILD_ACTION in p.read_text(encoding="utf-8")] + assert build_workflows, "No Docker build workflows found; re-evaluate policy scope" + missing = [ + p.name + for p in build_workflows + if not _has_fail_closed_record_policy(p.read_text(encoding="utf-8")) + ] + assert not missing, f"Automatic unreviewed .dockerbuild publication enabled: {missing}" + + +def test_record_policy_fails_closed_on_missing_or_overridden_guard() -> None: + protected = ( + "name: Build\n" + "env:\n" + " DOCKER_BUILD_RECORD_UPLOAD: 'false'\n" + "jobs:\n" + " build:\n" + " steps:\n" + " - uses: docker/build-push-action@v6\n" + ) + assert _has_fail_closed_record_policy(protected) + assert not _has_fail_closed_record_policy(protected.replace("env:\n", "not-env:\n")) + assert not _has_fail_closed_record_policy( + protected.replace("'false'\n", "'true'\n") + ) + assert not _has_fail_closed_record_policy( + protected + " - env:\n DOCKER_BUILD_RECORD_UPLOAD: 'true'\n" + ) From 37b321a80cc32f816178a0f9cc4165329e809918 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 08:39:04 +0200 Subject: [PATCH 06/33] style(ci): normalize import-block spacing in artifact guard test --- tests/test_ci_dockerbuild_artifact_policy.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_ci_dockerbuild_artifact_policy.py b/tests/test_ci_dockerbuild_artifact_policy.py index 803907e4..623ea98a 100644 --- a/tests/test_ci_dockerbuild_artifact_policy.py +++ b/tests/test_ci_dockerbuild_artifact_policy.py @@ -5,7 +5,6 @@ import re from pathlib import Path - WORKFLOW_DIR = Path(__file__).resolve().parents[1] / ".github" / "workflows" BUILD_ACTION = "uses: docker/build-push-action@" WORKFLOW_GUARD = "\nenv:\n DOCKER_BUILD_RECORD_UPLOAD: 'false'\n" From 4ac9b17dad98ff9e684e35d8615638e49553e0b3 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 08:39:53 +0200 Subject: [PATCH 07/33] test(ci): support early no-dependency artifact policy gate --- tests/test_ci_dockerbuild_artifact_policy.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_ci_dockerbuild_artifact_policy.py b/tests/test_ci_dockerbuild_artifact_policy.py index 623ea98a..59e4a1c5 100644 --- a/tests/test_ci_dockerbuild_artifact_policy.py +++ b/tests/test_ci_dockerbuild_artifact_policy.py @@ -48,3 +48,7 @@ def test_record_policy_fails_closed_on_missing_or_overridden_guard() -> None: assert not _has_fail_closed_record_policy( protected + " - env:\n DOCKER_BUILD_RECORD_UPLOAD: 'true'\n" ) + +if __name__ == "__main__": + test_public_build_workflows_disable_automatic_build_record_upload() + test_record_policy_fails_closed_on_missing_or_overridden_guard() From 0b10059f5f3d2ac8e0101cfe8246346fee7c5d9b Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 08:40:04 +0200 Subject: [PATCH 08/33] security(ci): enforce artifact publication policy in preflight lint --- scripts/ci/lint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ci/lint.sh b/scripts/ci/lint.sh index 4ede1cbf..51f8560f 100755 --- a/scripts/ci/lint.sh +++ b/scripts/ci/lint.sh @@ -18,6 +18,8 @@ else echo "Warning: shellcheck not found, skipping shell script linting." fi +# Independent, dependency-free check before any Dockerfile-dependent unit-image build. +python3 tests/test_ci_dockerbuild_artifact_policy.py python3 scripts/ci/verify-capability-matrix.py python3 scripts/ci/generate-python-sbom.py --output artifacts/ci/python-sbom.cdx.json python3 scripts/ci/validate-sbom.py --input artifacts/ci/python-sbom.cdx.json From d690e77a039a1f7dbf0bc3aaa220fdd4b40005b9 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 08:42:31 +0200 Subject: [PATCH 09/33] fix(test): permit guarded workflow header ending at jobs boundary --- tests/test_ci_dockerbuild_artifact_policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ci_dockerbuild_artifact_policy.py b/tests/test_ci_dockerbuild_artifact_policy.py index 59e4a1c5..9a683120 100644 --- a/tests/test_ci_dockerbuild_artifact_policy.py +++ b/tests/test_ci_dockerbuild_artifact_policy.py @@ -15,7 +15,7 @@ def _has_fail_closed_record_policy(source: str) -> bool: header, boundary, _ = source.partition("\njobs:\n") if not boundary: return False - return WORKFLOW_GUARD in header and DECLARATION.findall(source) == ["'false'"] + return WORKFLOW_GUARD in (header + "\n") and DECLARATION.findall(source) == ["'false'"] def test_public_build_workflows_disable_automatic_build_record_upload() -> None: From cae00f90741c768a6cc59395f81e735c9960e2b7 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 08:45:13 +0200 Subject: [PATCH 10/33] qualification: combine exact asset repair with guarded CI artifacts --- docker/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index f23f878b..a7b84085 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -33,11 +33,11 @@ RUN bash /download_tool.sh "Python" \ && find /opt/winebot/windows-tools -name "*.txt" -delete FROM tool-base AS builder-winspy -# WinInspect v0.4.0 - UIA-enabled window inspection tool -# Replaces original strobejb/winspy v1.8.4 (no UIA support, 2022 vintage) +# WinInspect v0.4.4 - immutable portable release fixture (release asset SHA-256). +# Preserve checksum verification fail-closed; package promotion is independent. RUN bash /download_tool.sh "WinInspect" \ - "https://github.com/SemperSupra/WinInspect/releases/download/v0.4.0/WinInspectPortable-v0.4.0.zip" \ - "83b64999fef9ab01d749ab94193899e3915774d217900ac80c3c34021ff3e416" \ + "https://github.com/SemperSupra/WinInspect/releases/download/v0.4.4/WinInspectPortable-v0.4.4.zip" \ + "6ac0a65f774ffe69672f1c459254931ebfddb1e52c9fbec14b5db1348ccaad04" \ "/opt/winebot/windows-tools/WinSpy" \ && find /opt/winebot/windows-tools -name "*.txt" -delete From 4101c6726f83ab60b1841b8a25966b52db340bea Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 13:37:54 +0200 Subject: [PATCH 11/33] qualification: carry exact security reporter scripts/ci/sanitize-conformance-results.py --- scripts/ci/sanitize-conformance-results.py | 83 ++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 scripts/ci/sanitize-conformance-results.py diff --git a/scripts/ci/sanitize-conformance-results.py b/scripts/ci/sanitize-conformance-results.py new file mode 100644 index 00000000..11715c21 --- /dev/null +++ b/scripts/ci/sanitize-conformance-results.py @@ -0,0 +1,83 @@ +#!/usr/bin/env python3 +"""Project raw conformance results into a minimal public evidence artifact. + +The underlying report may contain runtime responses, host identity, credentials, +or user-facing window titles. Never copy its free-form fields to a public artifact. +""" + +from __future__ import annotations + +import argparse +import json +import re +from pathlib import Path + +MAX_RAW_BYTES = 1_048_576 +COUNT_FIELDS = ("total", "passed", "failed", "skipped", "xfailed", "xpassed", "errors") +SAFE_TEST_ID = re.compile( + r"(?:contracts/)?tests/conformance/test_[A-Za-z0-9_]+\.py" + r"(?:::\w+)*::test_[A-Za-z0-9_]+" +) + + +def project_public_result(raw: object) -> dict: + """Build output solely from validated, bounded, allowlisted fields.""" + if not isinstance(raw, dict) or not isinstance(raw.get("summary"), dict): + raise ValueError("missing or invalid conformance summary") + + summary = raw["summary"] + counts = {} + for key in COUNT_FIELDS: + value = summary.get(key) + if type(value) is not int or value < 0: + raise ValueError("invalid conformance count") + counts[key] = value + if sum(counts[k] for k in COUNT_FIELDS if k != "total") != counts["total"]: + raise ValueError("inconsistent conformance counts") + + failures = raw.get("failures") + if not isinstance(failures, list) or len(failures) != counts["failed"]: + raise ValueError("inconsistent failure inventory") + + tests = [] + for item in failures: + if not isinstance(item, dict): + raise ValueError("invalid failure entry") + name = item.get("test") + safe_name = ( + name + if isinstance(name, str) and len(name) <= 200 and SAFE_TEST_ID.fullmatch(name) + else "redacted" + ) + tests.append({"test_id": safe_name}) + + return { + "schema": "winebot.public-conformance.v1", + "summary": counts, + "failed_tests": tests, + "note": "Raw failure payloads and environment details remain job-local.", + } + + +def main() -> int: + parser = argparse.ArgumentParser() + parser.add_argument("--input", type=Path, required=True) + parser.add_argument("--output", type=Path, required=True) + args = parser.parse_args() + + if not args.input.is_file() or args.input.stat().st_size > MAX_RAW_BYTES: + raise SystemExit("Conformance source unavailable or exceeds the public projection limit") + try: + original = json.loads(args.input.read_text(encoding="utf-8")) + public = project_public_result(original) + except (ValueError, UnicodeError, OSError): + raise SystemExit("Conformance report cannot be safely projected") from None + + args.output.parent.mkdir(parents=True, exist_ok=True) + args.output.write_text(json.dumps(public, indent=2, sort_keys=True) + "\n", encoding="utf-8") + print("Public conformance report projected without raw failure/environment fields") + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) From 5822a7cc0bb834ee3b4d37272e97964a361c6df5 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 13:37:58 +0200 Subject: [PATCH 12/33] qualification: carry exact security reporter tests/test_ci_public_conformance_summary.py --- tests/test_ci_public_conformance_summary.py | 91 +++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 tests/test_ci_public_conformance_summary.py diff --git a/tests/test_ci_public_conformance_summary.py b/tests/test_ci_public_conformance_summary.py new file mode 100644 index 00000000..2d2bfd48 --- /dev/null +++ b/tests/test_ci_public_conformance_summary.py @@ -0,0 +1,91 @@ +"""Regression checks for minimizing public conformance evidence.""" + +from __future__ import annotations + +import json +import runpy +import subprocess +import sys +from pathlib import Path + +import pytest + +PROJECT = runpy.run_path("scripts/ci/sanitize-conformance-results.py")["project_public_result"] +SCRIPT = Path("scripts/ci/sanitize-conformance-results.py") + + +def sample_report() -> dict: + return { + "summary": { + "total": 3, + "passed": 1, + "failed": 1, + "skipped": 1, + "xfailed": 0, + "xpassed": 0, + "errors": 0, + }, + "environment": { + "hostname": "sensitive-host-alias", + "api_token": "SENSITIVE-TOKEN-VALUE", + }, + "failures": [ + { + "test": "contracts/tests/conformance/test_health.py::TestHealth::test_health", + "message": "secret SENSITIVE-TOKEN-VALUE; actual host sensitive-host-alias", + } + ], + "other_untrusted": "SENSITIVE-TOKEN-VALUE", + } + + +def test_projection_preserves_counts_and_only_static_test_identifiers() -> None: + report = PROJECT(sample_report()) + assert report["summary"]["total"] == 3 + assert report["summary"]["failed"] == 1 + assert report["failed_tests"] == [ + {"test_id": "contracts/tests/conformance/test_health.py::TestHealth::test_health"} + ] + rendered = json.dumps(report) + assert "sensitive-host-alias" not in rendered + assert "SENSITIVE-TOKEN-VALUE" not in rendered + assert "message" not in rendered + assert "environment" not in rendered + + +def test_untrusted_test_id_is_redacted_instead_of_republished() -> None: + raw = sample_report() + raw["failures"][0]["test"] = "tests/conformance/test_health.py::test_a[param=private-token]" + assert PROJECT(raw)["failed_tests"] == [{"test_id": "redacted"}] + + +@pytest.mark.parametrize( + "change", + [ + lambda raw: raw["summary"].update({"failed": True}), + lambda raw: raw["summary"].update({"total": 7}), + lambda raw: raw.update({"failures": []}), + lambda raw: raw.update({"summary": "bad"}), + ], +) +def test_invalid_reports_fail_closed(change) -> None: + raw = sample_report() + change(raw) + with pytest.raises(ValueError): + PROJECT(raw) + + +def test_command_does_not_write_artifact_if_input_invalid(tmp_path: Path) -> None: + raw = sample_report() + raw["summary"]["total"] = 9 + input_path = tmp_path / "raw.json" + out = tmp_path / "public.json" + input_path.write_text(json.dumps(raw), encoding="utf-8") + process = subprocess.run( + [sys.executable, str(SCRIPT), "--input", str(input_path), "--output", str(out)], + capture_output=True, + text=True, + check=False, + ) + assert process.returncode != 0 + assert not out.exists() From 1f79ace0e612a41ac330f6ab37107f574baccf16 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 13:38:13 +0200 Subject: [PATCH 13/33] qualification: use exact sanitized conformance upload workflow --- .github/workflows/ci.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0383b5c7..3c1bf2c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,8 +97,12 @@ jobs: if [ -z "$TOKEN" ]; then TOKEN=$(docker compose -f compose/docker-compose.yml exec -T winebot cat /winebot-shared/winebot_api_token 2>/dev/null || true) fi + if [ -z "$TOKEN" ]; then + echo "Conformance token unavailable" >&2 + exit 1 + fi + echo "::add-mask::$TOKEN" echo "token=$TOKEN" >> "$GITHUB_OUTPUT" - echo "API token read: ${TOKEN:0:8}..." >> "$GITHUB_STEP_SUMMARY" - name: Run conformance tests env: @@ -111,12 +115,21 @@ jobs: --results-file conformance-results.json \ -v --tb=short - - name: Upload conformance results + - name: Project safe public conformance evidence + id: public-conformance-summary if: always() + run: | + python3 winebot/scripts/ci/sanitize-conformance-results.py \ + --input conformance-results.json \ + --output conformance-summary-public.json + + - name: Upload conformance results + if: ${{ always() && steps.public-conformance-summary.outcome == 'success' }} uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a with: name: conformance-results - path: conformance-results.json + path: conformance-summary-public.json + if-no-files-found: error - name: Stop services if: always() From cfa2fc821b8b2f3431e551a1a6c454a1ce687c83 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 13:38:30 +0200 Subject: [PATCH 14/33] qualification: compose BuildKit upload control with sanitized release results --- .github/workflows/release.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 68d2df0f..a0ccc446 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -145,6 +145,11 @@ jobs: if [ -z "$TOKEN" ]; then TOKEN=$(docker compose -f compose/docker-compose.yml exec -T winebot cat /winebot-shared/winebot_api_token 2>/dev/null || true) fi + if [ -z "$TOKEN" ]; then + echo "Conformance token unavailable" >&2 + exit 1 + fi + echo "::add-mask::$TOKEN" echo "token=$TOKEN" >> "$GITHUB_OUTPUT" - name: Run conformance tests @@ -158,12 +163,21 @@ jobs: --results-file conformance-results.json \ -v --tb=short - - name: Upload conformance results + - name: Project safe public conformance evidence + id: public-conformance-summary if: always() + run: | + python3 winebot/scripts/ci/sanitize-conformance-results.py \ + --input conformance-results.json \ + --output conformance-summary-public.json + + - name: Upload conformance results + if: ${{ always() && steps.public-conformance-summary.outcome == 'success' }} uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a with: name: conformance-results-release - path: conformance-results.json + path: conformance-summary-public.json + if-no-files-found: error - name: Fail on conformance failure if: failure() From 9be121a3e409fb95b676fbe8d0b91543e4553558 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 13:56:47 +0200 Subject: [PATCH 15/33] qualification: update public summary fixture and quiet output in one batch --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- scripts/ci/sanitize-conformance-results.py | 2 +- tests/test_ci_public_conformance_summary.py | 22 +++++++++++++++++++++ 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c1bf2c0..cb046e60 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,7 +113,7 @@ jobs: --api-url "$API_URL" \ --api-token "$API_TOKEN" \ --results-file conformance-results.json \ - -v --tb=short + -v --tb=no --show-capture=no - name: Project safe public conformance evidence id: public-conformance-summary diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0ccc446..52ae3af9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -161,7 +161,7 @@ jobs: --api-url "$API_URL" \ --api-token "$API_TOKEN" \ --results-file conformance-results.json \ - -v --tb=short + -v --tb=no --show-capture=no - name: Project safe public conformance evidence id: public-conformance-summary diff --git a/scripts/ci/sanitize-conformance-results.py b/scripts/ci/sanitize-conformance-results.py index 11715c21..9fffd2e3 100644 --- a/scripts/ci/sanitize-conformance-results.py +++ b/scripts/ci/sanitize-conformance-results.py @@ -15,7 +15,7 @@ MAX_RAW_BYTES = 1_048_576 COUNT_FIELDS = ("total", "passed", "failed", "skipped", "xfailed", "xpassed", "errors") SAFE_TEST_ID = re.compile( - r"(?:contracts/)?tests/conformance/test_[A-Za-z0-9_]+\.py" + r"(?:(?:contracts/)?tests/conformance/)?test_[A-Za-z0-9_]+\.py" r"(?:::\w+)*::test_[A-Za-z0-9_]+" ) diff --git a/tests/test_ci_public_conformance_summary.py b/tests/test_ci_public_conformance_summary.py index 2d2bfd48..a0f923e5 100644 --- a/tests/test_ci_public_conformance_summary.py +++ b/tests/test_ci_public_conformance_summary.py @@ -53,6 +53,16 @@ def test_projection_preserves_counts_and_only_static_test_identifiers() -> None: assert "environment" not in rendered +def test_bare_pytest_basename_is_preserved_without_runtime_text() -> None: + raw = sample_report() + raw["failures"][0]["test"] = "test_automation.py::TestWindows::test_windows_has_count" + report = PROJECT(raw) + assert report["failed_tests"] == [ + {"test_id": "test_automation.py::TestWindows::test_windows_has_count"} + ] + assert "SENSITIVE-TOKEN-VALUE" not in json.dumps(report) + + def test_untrusted_test_id_is_redacted_instead_of_republished() -> None: raw = sample_report() raw["failures"][0]["test"] = "tests/conformance/test_health.py::test_a[param=private-token]" @@ -89,3 +99,15 @@ def test_command_does_not_write_artifact_if_input_invalid(tmp_path: Path) -> Non ) assert process.returncode != 0 assert not out.exists() + +@pytest.mark.parametrize( + "workflow_path", + [".github/workflows/ci.yml", ".github/workflows/release.yml"], +) +def test_public_workflows_do_not_publish_raw_conformance_data(workflow_path: str) -> None: + source = Path(workflow_path).read_text(encoding="utf-8") + assert "--tb=no --show-capture=no" in source + assert "path: conformance-summary-public.json" in source + assert "path: conformance-results.json" not in source + assert "steps.public-conformance-summary.outcome == 'success'" in source + assert "TOKEN:0:8" not in source From 54f9fcc5fc02216acb119e43e431912425bc1b70 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 14:09:53 +0200 Subject: [PATCH 16/33] qualification: suppress pytest short summary leaks with -rN --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- tests/test_ci_public_conformance_summary.py | 31 ++++++++++++++++++++- 3 files changed, 32 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb046e60..7bbb8153 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,7 +113,7 @@ jobs: --api-url "$API_URL" \ --api-token "$API_TOKEN" \ --results-file conformance-results.json \ - -v --tb=no --show-capture=no + -v --tb=no --show-capture=no -rN - name: Project safe public conformance evidence id: public-conformance-summary diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52ae3af9..739c4f8f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -161,7 +161,7 @@ jobs: --api-url "$API_URL" \ --api-token "$API_TOKEN" \ --results-file conformance-results.json \ - -v --tb=no --show-capture=no + -v --tb=no --show-capture=no -rN - name: Project safe public conformance evidence id: public-conformance-summary diff --git a/tests/test_ci_public_conformance_summary.py b/tests/test_ci_public_conformance_summary.py index a0f923e5..8ea2882d 100644 --- a/tests/test_ci_public_conformance_summary.py +++ b/tests/test_ci_public_conformance_summary.py @@ -106,8 +106,37 @@ def test_command_does_not_write_artifact_if_input_invalid(tmp_path: Path) -> Non ) def test_public_workflows_do_not_publish_raw_conformance_data(workflow_path: str) -> None: source = Path(workflow_path).read_text(encoding="utf-8") - assert "--tb=no --show-capture=no" in source + assert "--tb=no --show-capture=no -rN" in source assert "path: conformance-summary-public.json" in source assert "path: conformance-results.json" not in source assert "steps.public-conformance-summary.outcome == 'success'" in source assert "TOKEN:0:8" not in source + +def test_quiet_pytest_console_does_not_echo_assertion_response(tmp_path: Path) -> None: + fixture = tmp_path / "test_probe_private_payload.py" + fixture.write_text( + 'def test_probe():\n' + ' payload = {"value": "SYNTHETIC-UNPUBLISHED-MARKER"}\n' + ' assert "count" in payload\n', + encoding="utf-8", + ) + process = subprocess.run( + [ + sys.executable, + "-m", + "pytest", + str(fixture), + "-v", + "--tb=no", + "--show-capture=no", + "-rN", + ], + capture_output=True, + text=True, + check=False, + timeout=30, + ) + assert process.returncode == 1 + assert "1 failed" in process.stdout + assert "SYNTHETIC-UNPUBLISHED-MARKER" not in process.stdout + assert "SYNTHETIC-UNPUBLISHED-MARKER" not in process.stderr From f57358886c659edad68cd67443fd132ccdbe1b80 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 14:27:23 +0200 Subject: [PATCH 17/33] qualification: preserve exact source/tested checkout receipt in safe CI composition --- .../workflows/reusable-build-smoke-gate.yml | 8 +- scripts/ci/generate-trust-pack.sh | 21 ++++- scripts/ci/test.sh | 3 +- tests/test_ci_trust_pack_provenance.py | 93 +++++++++++++++++++ 4 files changed, 114 insertions(+), 11 deletions(-) mode change 100755 => 100644 .github/workflows/reusable-build-smoke-gate.yml mode change 100755 => 100644 scripts/ci/generate-trust-pack.sh mode change 100755 => 100644 scripts/ci/test.sh create mode 100644 tests/test_ci_trust_pack_provenance.py diff --git a/.github/workflows/reusable-build-smoke-gate.yml b/.github/workflows/reusable-build-smoke-gate.yml old mode 100755 new mode 100644 index d2f802b6..ad2442ee --- a/.github/workflows/reusable-build-smoke-gate.yml +++ b/.github/workflows/reusable-build-smoke-gate.yml @@ -60,11 +60,6 @@ on: permissions: contents: read -# Public-source security hold: BuildKit history may contain unreviewed build diagnostics. -# Retain normal job logs/explicit artifacts; suppress automatic .dockerbuild upload. -env: - DOCKER_BUILD_RECORD_UPLOAD: 'false' - defaults: run: shell: bash -euo pipefail {0} @@ -182,6 +177,9 @@ jobs: - name: Generate trust pack artifact if: ${{ inputs.generate_trust_pack }} + env: + # Checkout of a PR may be a synthetic merge; preserve the actual source head. + WINEBOT_SOURCE_HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }} run: scripts/ci/generate-trust-pack.sh "${{ inputs.trust_pack_dir }}" - name: Upload trust pack diff --git a/scripts/ci/generate-trust-pack.sh b/scripts/ci/generate-trust-pack.sh old mode 100755 new mode 100644 index 4c229533..ede0863c --- a/scripts/ci/generate-trust-pack.sh +++ b/scripts/ci/generate-trust-pack.sh @@ -2,18 +2,29 @@ set -euo pipefail OUT_DIR="${1:-artifacts/trust-pack}" -mkdir -p "$OUT_DIR" -timestamp="$(date -u +%Y-%m-%dT%H:%M:%SZ)" -sha="$(git rev-parse --short HEAD 2>/dev/null || echo unknown)" +# The checkout can be a synthetic PR merge commit rather than the source head. +# Record both IDs with unambiguous names; refuse provenance-free evidence. +checkout_sha="$(git rev-parse HEAD 2>/dev/null || true)" +source_sha="${WINEBOT_SOURCE_HEAD_SHA:-$checkout_sha}" +for candidate in "$checkout_sha" "$source_sha"; do + if [[ ! "$candidate" =~ ^[0-9a-f]{40}$ ]]; then + echo "Trust pack requires valid full checkout/source Git SHAs" >&2 + exit 1 + fi +done branch="$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo unknown)" +timestamp="$(date -u +%Y-%m-%dT%H:%M:%SZ)" +mkdir -p "$OUT_DIR" cat > "${OUT_DIR}/summary.md" < Path: + bin_dir = tmp_path / "bin" + bin_dir.mkdir() + fake_git = bin_dir / "git" + fake_git.write_text( + "#!/bin/sh\n" + 'if [ "$1" = "rev-parse" ] && [ "$2" = "HEAD" ]; then\n' + ' printf "%s\\n" "$FAKE_CHECKOUT_SHA"\n' + 'elif [ "$1" = "rev-parse" ] && [ "$2" = "--abbrev-ref" ]; then\n' + ' printf "HEAD\\n"\n' + "else\n" + " exit 7\n" + "fi\n", + encoding="utf-8", + ) + fake_git.chmod(0o755) + return tmp_path + + +def generate(workspace: Path, source: str | None = SOURCE, checkout: str = CHECKOUT): + env = { + **os.environ, + "PATH": f"{workspace / 'bin'}:{os.environ.get('PATH', '')}", + "FAKE_CHECKOUT_SHA": checkout, + } + if source is None: + env.pop("WINEBOT_SOURCE_HEAD_SHA", None) + else: + env["WINEBOT_SOURCE_HEAD_SHA"] = source + output = workspace / "pack" + result = subprocess.run( + ["bash", str(GENERATOR), str(output)], + cwd=workspace, + env=env, + text=True, + capture_output=True, + check=False, + timeout=30, + ) + return result, output + + +def test_merged_checkout_not_misrepresented_as_source(workspace: Path) -> None: + result, out = generate(workspace) + assert result.returncode == 0, result.stderr + summary = (out / "summary.md").read_text(encoding="utf-8") + assert f"- Tested checkout commit: {CHECKOUT}" in summary + assert f"- Source head commit: {SOURCE}" in summary + assert "- Commit: " not in summary + assert (out / "inventory.json").is_file() + + +def test_direct_checkout_defaults_source_to_tested_commit(workspace: Path) -> None: + result, out = generate(workspace, source=None) + assert result.returncode == 0, result.stderr + summary = (out / "summary.md").read_text(encoding="utf-8") + assert f"- Source head commit: {CHECKOUT}" in summary + + +@pytest.mark.parametrize( + ("source", "checkout"), + [("not-a-commit", CHECKOUT), (SOURCE, "invalid-checkout")], +) +def test_invalid_identity_fails_before_publishing( + workspace: Path, source: str, checkout: str +) -> None: + result, out = generate(workspace, source=source, checkout=checkout) + assert result.returncode != 0 + assert not (out / "summary.md").exists() + + +def test_reusable_workflow_supplies_pr_source_head() -> None: + workflow = WORKFLOW.read_text(encoding="utf-8") + assert "WINEBOT_SOURCE_HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}" in workflow From 6b33a5e62a422d556a2e57097c8a7ba686d6abff Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 14:30:10 +0200 Subject: [PATCH 18/33] qualification: retain #125 BuildKit artifact guard with trust-pack source attestation --- .github/workflows/reusable-build-smoke-gate.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/reusable-build-smoke-gate.yml b/.github/workflows/reusable-build-smoke-gate.yml index ad2442ee..48d669e8 100644 --- a/.github/workflows/reusable-build-smoke-gate.yml +++ b/.github/workflows/reusable-build-smoke-gate.yml @@ -60,6 +60,11 @@ on: permissions: contents: read +# Public-source security hold: BuildKit history may contain unreviewed build diagnostics. +# Retain normal job logs/explicit artifacts; suppress automatic .dockerbuild upload. +env: + DOCKER_BUILD_RECORD_UPLOAD: 'false' + defaults: run: shell: bash -euo pipefail {0} From 8814b4995a73ff582a1500675943f2e559a6e117 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 14:34:58 +0200 Subject: [PATCH 19/33] qualification: restore executable script modes lost in generated tree --- scripts/ci/generate-trust-pack.sh | 0 scripts/ci/test.sh | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/ci/generate-trust-pack.sh mode change 100644 => 100755 scripts/ci/test.sh diff --git a/scripts/ci/generate-trust-pack.sh b/scripts/ci/generate-trust-pack.sh old mode 100644 new mode 100755 diff --git a/scripts/ci/test.sh b/scripts/ci/test.sh old mode 100644 new mode 100755 From c54cbadc0870e61d2b0948a0246aaf825ba53e34 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 20:41:43 +0200 Subject: [PATCH 20/33] rdte(game): qualify pinned free OpenTTD Windows executable and visible Wine GUI on $0 cloud --- .github/workflows/openttd-win-cpu-rdte.yml | 81 ++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 .github/workflows/openttd-win-cpu-rdte.yml diff --git a/.github/workflows/openttd-win-cpu-rdte.yml b/.github/workflows/openttd-win-cpu-rdte.yml new file mode 100644 index 00000000..03a3057d --- /dev/null +++ b/.github/workflows/openttd-win-cpu-rdte.yml @@ -0,0 +1,81 @@ +name: OpenTTD Windows Game CPU RDTE +on: + workflow_dispatch: + pull_request: + paths: + - .github/workflows/openttd-win-cpu-rdte.yml +permissions: + contents: read +concurrency: + group: openttd-win-rdte-${{ github.ref }} + cancel-in-progress: true + +jobs: + openttd-win64-cpu: + runs-on: ubuntu-latest + timeout-minutes: 20 + env: + DOCKER_BUILD_RECORD_UPLOAD: 'false' + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd + - name: Fetch officially checksummed game and free graphics assets + timeout-minutes: 5 + run: | + mkdir -p "$RUNNER_TEMP/win-game" "$RUNNER_TEMP/opengfx" + curl -fsSL --retry 1 --connect-timeout 10 --max-time 120 \ + https://cdn.openttd.org/openttd-releases/15.3/openttd-15.3-windows-win64.zip \ + -o "$RUNNER_TEMP/openttd.zip" + echo "61c0a6a43d81008c7ff4330fb56351bbf66a980cdad041f1d0e08b51f2eeb34c $RUNNER_TEMP/openttd.zip" | sha256sum -c --status + curl -fsSL --retry 1 --connect-timeout 10 --max-time 120 \ + https://cdn.openttd.org/opengfx-releases/8.0/opengfx-8.0-all.zip \ + -o "$RUNNER_TEMP/opengfx.zip" + echo "43a0c1dabf39cb865394f3a6cc36d4da5c10ecfaaf55652043104806810903be $RUNNER_TEMP/opengfx.zip" | sha256sum -c --status + unzip -qq "$RUNNER_TEMP/openttd.zip" -d "$RUNNER_TEMP/win-game" + unzip -qq "$RUNNER_TEMP/opengfx.zip" -d "$RUNNER_TEMP/opengfx" + game="$(find "$RUNNER_TEMP/win-game" -type f -iname openttd.exe -print -quit)" + test -n "$game" + basedir="$(dirname "$game")/baseset" + mkdir -p "$basedir" + find "$RUNNER_TEMP/opengfx" -type f \( -iname '*.tar' -o -iname '*.obg' -o -iname '*.grf' \) -exec cp -n '{}' "$basedir" \; + test "$(find "$basedir" -type f | wc -l)" -ge 1 + echo 'PASS: official game and free base graphics integrity and staging' + - name: Build WineBot experiment image without publication + timeout-minutes: 13 + run: | + docker build -f docker/Dockerfile --target intent-slim -t winebot:openttd-rdte . + - name: Launch actual Windows OpenTTD through Wine and confirm visible game window + timeout-minutes: 3 + run: | + timeout -k 10s 155s docker run --rm --init --network none \ + --cpus=2 --memory=3g --pids-limit=256 --user 1000:1000 \ + -e HOME=/home/winebot -e WINEPREFIX=/tmp/winebot-openttd-fixture \ + -e WINEDEBUG=-all -e LIBGL_ALWAYS_SOFTWARE=1 \ + -e GALLIUM_DRIVER=llvmpipe -e LP_NUM_THREADS=4 \ + -v "$RUNNER_TEMP/win-game:/game:ro" \ + --entrypoint /usr/bin/xvfb-run winebot:openttd-rdte \ + -a -s '-screen 0 1280x720x24 +extension GLX -nolisten tcp' \ + /bin/bash -euo pipefail -c ' + exe="$(find /game -type f -iname openttd.exe -print -quit)" + test -n "$exe" + cd "$(dirname "$exe")" + wine "$exe" -m null -s null >/tmp/wine-game-local.log 2>&1 & + game_pid=$! + found=0 + for i in $(seq 1 100); do + if xdotool search --onlyvisible --name OpenTTD >/dev/null 2>&1; then + found=1 + break + fi + if ! kill -0 "$game_pid" 2>/dev/null; then break; fi + sleep 0.6 + done + kill "$game_pid" 2>/dev/null || true + wineserver -k >/dev/null 2>&1 || true + if [ "$found" -ne 1 ]; then + echo "UNQUALIFIED: Windows game window not visible" + exit 2 + fi + echo "PASS: Windows OpenTTD game window visible under Wine" + ' + # No screenshots, raw Wine logs, VNC listeners, game saves, secrets, + # machine identifiers, or artifacts uploaded by this RDTE. From c65d1c7f694559a95eb85737e48c73c2e4a6ed4e Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 20:44:22 +0200 Subject: [PATCH 21/33] rdte(game): allow asynchronous Wine process/window handoff before declaring missing UI --- .github/workflows/openttd-win-cpu-rdte.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/openttd-win-cpu-rdte.yml b/.github/workflows/openttd-win-cpu-rdte.yml index 03a3057d..94c33cbb 100644 --- a/.github/workflows/openttd-win-cpu-rdte.yml +++ b/.github/workflows/openttd-win-cpu-rdte.yml @@ -66,7 +66,7 @@ jobs: found=1 break fi - if ! kill -0 "$game_pid" 2>/dev/null; then break; fi + # Wine launchers can return before the child X11 window appears. sleep 0.6 done kill "$game_pid" 2>/dev/null || true From 4be9b1e94089a2138ba69f15d6ffcbf2b644e008 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 20:48:18 +0200 Subject: [PATCH 22/33] rdte(game): add isolated Mesa LLVMpipe layer for Windows OpenTTD rendering --- docker/openttd-software-gl.Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docker/openttd-software-gl.Dockerfile diff --git a/docker/openttd-software-gl.Dockerfile b/docker/openttd-software-gl.Dockerfile new file mode 100644 index 00000000..aa1cce75 --- /dev/null +++ b/docker/openttd-software-gl.Dockerfile @@ -0,0 +1,10 @@ +# Disposable WineBot/OpenTTD software graphics layer; no production promotion. +ARG BASE_IMAGE=winebot:openttd-rdte +FROM ${BASE_IMAGE} +USER root +ENV DEBIAN_FRONTEND=noninteractive +RUN apt-get update && apt-get install -y --no-install-recommends \ + libgl1 libgl1-mesa-dri libglx-mesa0 mesa-vulkan-drivers mesa-utils \ + && rm -rf /var/lib/apt/lists/* +ENV LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=llvmpipe LP_NUM_THREADS=4 +LABEL io.winebot.experimental.openttd_rdte="not-for-release" From 8f0ce20e73d739bb8aca6e49bffa5df506be957d Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 20:48:27 +0200 Subject: [PATCH 23/33] ci(game): run Windows OpenTTD with explicitly installed LLVMpipe rather than unqualified base GL --- .github/workflows/openttd-win-cpu-rdte.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/openttd-win-cpu-rdte.yml b/.github/workflows/openttd-win-cpu-rdte.yml index 94c33cbb..1213cdf5 100644 --- a/.github/workflows/openttd-win-cpu-rdte.yml +++ b/.github/workflows/openttd-win-cpu-rdte.yml @@ -4,6 +4,7 @@ on: pull_request: paths: - .github/workflows/openttd-win-cpu-rdte.yml + - docker/openttd-software-gl.Dockerfile permissions: contents: read concurrency: @@ -43,6 +44,7 @@ jobs: timeout-minutes: 13 run: | docker build -f docker/Dockerfile --target intent-slim -t winebot:openttd-rdte . + docker build -f docker/openttd-software-gl.Dockerfile -t winebot:openttd-cpu . - name: Launch actual Windows OpenTTD through Wine and confirm visible game window timeout-minutes: 3 run: | @@ -52,7 +54,7 @@ jobs: -e WINEDEBUG=-all -e LIBGL_ALWAYS_SOFTWARE=1 \ -e GALLIUM_DRIVER=llvmpipe -e LP_NUM_THREADS=4 \ -v "$RUNNER_TEMP/win-game:/game:ro" \ - --entrypoint /usr/bin/xvfb-run winebot:openttd-rdte \ + --entrypoint /usr/bin/xvfb-run winebot:openttd-cpu \ -a -s '-screen 0 1280x720x24 +extension GLX -nolisten tcp' \ /bin/bash -euo pipefail -c ' exe="$(find /game -type f -iname openttd.exe -print -quit)" From 675949be68b38ba870ad67a463ecfe475543ba0f Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 20:53:47 +0200 Subject: [PATCH 24/33] rdte(game): control Wine/X11 with Notepad and test OpenTTD documented win32 video driver --- .github/workflows/openttd-win-cpu-rdte.yml | 29 +++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/.github/workflows/openttd-win-cpu-rdte.yml b/.github/workflows/openttd-win-cpu-rdte.yml index 1213cdf5..ec82e560 100644 --- a/.github/workflows/openttd-win-cpu-rdte.yml +++ b/.github/workflows/openttd-win-cpu-rdte.yml @@ -57,14 +57,37 @@ jobs: --entrypoint /usr/bin/xvfb-run winebot:openttd-cpu \ -a -s '-screen 0 1280x720x24 +extension GLX -nolisten tcp' \ /bin/bash -euo pipefail -c ' + # Qualify this very Xvfb/Wine context before blaming the game. + if ! glxinfo -B 2>/dev/null | grep -qi llvmpipe; then + echo "UNQUALIFIED: LLVMpipe renderer unavailable inside game cell" + exit 2 + fi + echo "PASS: game-cell software GLX" + wine notepad.exe >/tmp/wine-builtin-local.log 2>&1 & + baseline=0 + for i in $(seq 1 60); do + if xdotool search --onlyvisible --name Notepad >/dev/null 2>&1; then + baseline=1 + break + fi + sleep 0.5 + done + wineserver -k >/dev/null 2>&1 || true + if [ "$baseline" -ne 1 ]; then + echo "UNQUALIFIED: Wine built-in X11 window control" + exit 2 + fi + echo "PASS: Wine built-in X11 window control" exe="$(find /game -type f -iname openttd.exe -print -quit)" test -n "$exe" cd "$(dirname "$exe")" - wine "$exe" -m null -s null >/tmp/wine-game-local.log 2>&1 & + # Select the documented Win32 video driver for a GDI baseline. + wine "$exe" -v win32 -m null -s null -x >/tmp/wine-game-local.log 2>&1 & game_pid=$! found=0 for i in $(seq 1 100); do - if xdotool search --onlyvisible --name OpenTTD >/dev/null 2>&1; then + if xdotool search --onlyvisible --name OpenTTD >/dev/null 2>&1 || \ + xdotool search --onlyvisible --class openttd >/dev/null 2>&1; then found=1 break fi @@ -74,7 +97,7 @@ jobs: kill "$game_pid" 2>/dev/null || true wineserver -k >/dev/null 2>&1 || true if [ "$found" -ne 1 ]; then - echo "UNQUALIFIED: Windows game window not visible" + echo "UNQUALIFIED: Windows game window not visible after qualified Wine/X11 control" exit 2 fi echo "PASS: Windows OpenTTD game window visible under Wine" From 8758269f645001061e084dfb1c3a39bff5a941a0 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 20:57:17 +0200 Subject: [PATCH 25/33] rdte(game): isolate Wine/X11 no-window baseline from container user/HOME override --- .github/workflows/openttd-win-cpu-rdte.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/openttd-win-cpu-rdte.yml b/.github/workflows/openttd-win-cpu-rdte.yml index ec82e560..d96ccc34 100644 --- a/.github/workflows/openttd-win-cpu-rdte.yml +++ b/.github/workflows/openttd-win-cpu-rdte.yml @@ -49,8 +49,8 @@ jobs: timeout-minutes: 3 run: | timeout -k 10s 155s docker run --rm --init --network none \ - --cpus=2 --memory=3g --pids-limit=256 --user 1000:1000 \ - -e HOME=/home/winebot -e WINEPREFIX=/tmp/winebot-openttd-fixture \ + --cpus=2 --memory=3g --pids-limit=256 \ + -e WINEPREFIX=/tmp/winebot-openttd-fixture \ -e WINEDEBUG=-all -e LIBGL_ALWAYS_SOFTWARE=1 \ -e GALLIUM_DRIVER=llvmpipe -e LP_NUM_THREADS=4 \ -v "$RUNNER_TEMP/win-game:/game:ro" \ From 2b8effb6dd6a2ba6fcd2cc06eeaeb3fae7a190b9 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 21:01:30 +0200 Subject: [PATCH 26/33] rdte(game): verify OpenTTD rendered window pixels, publish only safe boolean verdict --- .github/workflows/openttd-win-cpu-rdte.yml | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/openttd-win-cpu-rdte.yml b/.github/workflows/openttd-win-cpu-rdte.yml index d96ccc34..8e0eb1dd 100644 --- a/.github/workflows/openttd-win-cpu-rdte.yml +++ b/.github/workflows/openttd-win-cpu-rdte.yml @@ -101,6 +101,31 @@ jobs: exit 2 fi echo "PASS: Windows OpenTTD game window visible under Wine" + # Window-scoped local-only capture; publish only dimensions and color diversity. + wid="$(xdotool search --onlyvisible --name OpenTTD 2>/dev/null | head -1 || true)" + if [ -z "$wid" ]; then + wid="$(xdotool search --onlyvisible --class openttd 2>/dev/null | head -1 || true)" + fi + if [[ ! "$wid" =~ ^[0-9]{1,16}$ ]]; then + echo "UNQUALIFIED: game window id selection" + exit 2 + fi + sleep 2 + if ! import -window "$wid" /tmp/wine-openttd-scoped.png >/dev/null 2>&1; then + echo "UNQUALIFIED: scoped window capture" + exit 2 + fi + read -r image_w image_h image_colors <<< "$(identify -format "%w %h %k" /tmp/wine-openttd-scoped.png 2>/dev/null || true)" + if [[ ! "${image_w:-}" =~ ^[0-9]{1,4}$ || + ! "${image_h:-}" =~ ^[0-9]{1,4}$ || + ! "${image_colors:-}" =~ ^[0-9]{1,9}$ ]] || + [ "$image_w" -lt 200 ] || [ "$image_h" -lt 120 ] || + [ "$image_colors" -lt 40 ]; then + echo "UNQUALIFIED: window content variety/dimensions" + exit 2 + fi + echo "PASS: OpenTTD scoped color-content smoke" + # PNG is deleted with the disposable container; never uploaded. ' # No screenshots, raw Wine logs, VNC listeners, game saves, secrets, # machine identifiers, or artifacts uploaded by this RDTE. From 54daa7dcdc935720ae43367a8d8ef523ed53e9cd Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 23 Oct 2026 21:05:34 +0200 Subject: [PATCH 27/33] rdte(game): keep OpenTTD window alive until scoped pixel capture completes --- .github/workflows/openttd-win-cpu-rdte.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/openttd-win-cpu-rdte.yml b/.github/workflows/openttd-win-cpu-rdte.yml index 8e0eb1dd..4acd2e99 100644 --- a/.github/workflows/openttd-win-cpu-rdte.yml +++ b/.github/workflows/openttd-win-cpu-rdte.yml @@ -94,8 +94,6 @@ jobs: # Wine launchers can return before the child X11 window appears. sleep 0.6 done - kill "$game_pid" 2>/dev/null || true - wineserver -k >/dev/null 2>&1 || true if [ "$found" -ne 1 ]; then echo "UNQUALIFIED: Windows game window not visible after qualified Wine/X11 control" exit 2 @@ -125,6 +123,8 @@ jobs: exit 2 fi echo "PASS: OpenTTD scoped color-content smoke" + kill "$game_pid" 2>/dev/null || true + wineserver -k >/dev/null 2>&1 || true # PNG is deleted with the disposable container; never uploaded. ' # No screenshots, raw Wine logs, VNC listeners, game saves, secrets, From 0614f75c94ae9d2608580d0a81fe18a20c19220b Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Sat, 24 Oct 2026 02:38:07 +0200 Subject: [PATCH 28/33] rdte(game): qualify nonroot Wine prefix/X11 using disposable writable HOME and tmpfs --- .github/workflows/openttd-win-cpu-rdte.yml | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.github/workflows/openttd-win-cpu-rdte.yml b/.github/workflows/openttd-win-cpu-rdte.yml index 4acd2e99..b6db95f6 100644 --- a/.github/workflows/openttd-win-cpu-rdte.yml +++ b/.github/workflows/openttd-win-cpu-rdte.yml @@ -127,5 +127,43 @@ jobs: wineserver -k >/dev/null 2>&1 || true # PNG is deleted with the disposable container; never uploaded. ' + - name: Qualify unprivileged Wine home and X11 controls independently + timeout-minutes: 3 + run: | + echo 'BEGIN: unprivileged synthetic Wine X11 control' + timeout -k 10s 160s docker run --rm --init --network none \ + --user 1000:1000 --cpus=2 --memory=3g --pids-limit=256 \ + --tmpfs /tmp:rw,exec,nosuid,size=512m,mode=1777 \ + -e HOME=/home/winebot -e WINEPREFIX=/tmp/winebot-nonroot-fixture \ + -e WINEDEBUG=-all -e LIBGL_ALWAYS_SOFTWARE=1 -e GALLIUM_DRIVER=llvmpipe \ + --entrypoint /usr/bin/xvfb-run winebot:openttd-cpu \ + -a -s '-screen 0 640x480x24 +extension GLX -nolisten tcp' \ + /bin/bash -euo pipefail -c ' + if [ "$(id -u)" -ne 1000 ] || [ ! -w "$HOME" ] || [ ! -w /tmp ]; then + echo "UNQUALIFIED: nonroot identity or writable home/tmp" + exit 2 + fi + echo "PASS: unprivileged identity and writable home/tmp" + if ! timeout -k 5s 60s wineboot -u >/tmp/wineboot-job-local.log 2>&1; then + echo "UNQUALIFIED: nonroot Wine prefix initialization" + exit 2 + fi + echo "PASS: unprivileged Wine prefix initialization" + wine notepad.exe >/tmp/notepad-job-local.log 2>&1 & + found=0 + for i in $(seq 1 60); do + if xdotool search --onlyvisible --name Notepad >/dev/null 2>&1; then + found=1 + break + fi + sleep 0.5 + done + wineserver -k >/dev/null 2>&1 || true + if [ "$found" -ne 1 ]; then + echo "UNQUALIFIED: unprivileged Wine X11 visible window" + exit 2 + fi + echo "PASS: unprivileged Wine X11 visible window" + ' # No screenshots, raw Wine logs, VNC listeners, game saves, secrets, # machine identifiers, or artifacts uploaded by this RDTE. From 47dda66350ed2b13c3e1ae3f6b25e279f196dcc3 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Sat, 24 Oct 2026 02:40:41 +0200 Subject: [PATCH 29/33] rdte(nonroot): compare tmpfs versus owned-home Wine prefixes with bounded safe failure classes --- .github/workflows/openttd-win-cpu-rdte.yml | 27 +++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/.github/workflows/openttd-win-cpu-rdte.yml b/.github/workflows/openttd-win-cpu-rdte.yml index b6db95f6..863337c4 100644 --- a/.github/workflows/openttd-win-cpu-rdte.yml +++ b/.github/workflows/openttd-win-cpu-rdte.yml @@ -144,11 +144,32 @@ jobs: exit 2 fi echo "PASS: unprivileged identity and writable home/tmp" - if ! timeout -k 5s 60s wineboot -u >/tmp/wineboot-job-local.log 2>&1; then - echo "UNQUALIFIED: nonroot Wine prefix initialization" + if ! command -v wineboot >/dev/null 2>&1 || + ! wine --version >/dev/null 2>&1; then + echo "UNQUALIFIED: nonroot Wine binary/launcher unavailable" exit 2 fi - echo "PASS: unprivileged Wine prefix initialization" + tmp_rc=0 + timeout -k 5s 45s wineboot -u >/tmp/wineboot-job-local.log 2>&1 || tmp_rc=$? + if [ "$tmp_rc" -ne 0 ]; then + echo "OBS: nonroot tmpfs Wine prefix initialization failed rc=$tmp_rc" + export WINEPREFIX="$HOME/.winebot-nonroot-fixture" + home_rc=0 + timeout -k 5s 45s wineboot -u >/tmp/wineboot-home-local.log 2>&1 || home_rc=$? + if [ "$home_rc" -ne 0 ]; then + failure_class=unknown + if grep -Eiq 'permission denied|access denied' /tmp/wineboot-home-local.log; then + failure_class=permission + elif grep -Eiq 'not found|failed to load|cannot open' /tmp/wineboot-home-local.log; then + failure_class=loader + fi + echo "UNQUALIFIED: nonroot Wine prefix tmp_rc=$tmp_rc home_rc=$home_rc class=$failure_class" + exit 2 + fi + echo "PASS: nonroot Wine prefix under writable home" + else + echo "PASS: nonroot Wine prefix on isolated tmpfs" + fi wine notepad.exe >/tmp/notepad-job-local.log 2>&1 & found=0 for i in $(seq 1 60); do From 2d1778213bd32547df652d6a377abef98ea7c050 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Sat, 24 Oct 2026 09:55:21 +0200 Subject: [PATCH 30/33] fix(rdte): remove nested shell quoting hazard from nonroot Wine diagnostic --- .github/workflows/openttd-win-cpu-rdte.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/openttd-win-cpu-rdte.yml b/.github/workflows/openttd-win-cpu-rdte.yml index 863337c4..8ce585d6 100644 --- a/.github/workflows/openttd-win-cpu-rdte.yml +++ b/.github/workflows/openttd-win-cpu-rdte.yml @@ -157,13 +157,7 @@ jobs: home_rc=0 timeout -k 5s 45s wineboot -u >/tmp/wineboot-home-local.log 2>&1 || home_rc=$? if [ "$home_rc" -ne 0 ]; then - failure_class=unknown - if grep -Eiq 'permission denied|access denied' /tmp/wineboot-home-local.log; then - failure_class=permission - elif grep -Eiq 'not found|failed to load|cannot open' /tmp/wineboot-home-local.log; then - failure_class=loader - fi - echo "UNQUALIFIED: nonroot Wine prefix tmp_rc=$tmp_rc home_rc=$home_rc class=$failure_class" + echo "UNQUALIFIED: nonroot Wine prefix tmp_rc=$tmp_rc home_rc=$home_rc" exit 2 fi echo "PASS: nonroot Wine prefix under writable home" From b4731c70c4378abbcd9db4c946835417cbdce2da Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Sat, 24 Oct 2026 09:59:48 +0200 Subject: [PATCH 31/33] ci(game): independently qualify nonroot OpenTTD real Windows frame with HOME-owned Wine prefix --- .github/workflows/openttd-win-cpu-rdte.yml | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/.github/workflows/openttd-win-cpu-rdte.yml b/.github/workflows/openttd-win-cpu-rdte.yml index 8ce585d6..b97a004b 100644 --- a/.github/workflows/openttd-win-cpu-rdte.yml +++ b/.github/workflows/openttd-win-cpu-rdte.yml @@ -180,5 +180,59 @@ jobs: fi echo "PASS: unprivileged Wine X11 visible window" ' + - name: Start real Windows OpenTTD with verified unprivileged HOME prefix + timeout-minutes: 3 + run: | + timeout -k 10s 160s docker run --rm --init --network none \ + --user 1000:1000 --cpus=2 --memory=3g --pids-limit=256 \ + --tmpfs /tmp:rw,exec,nosuid,size=512m,mode=1777 \ + -e HOME=/home/winebot -e WINEDEBUG=-all \ + -e LIBGL_ALWAYS_SOFTWARE=1 -e GALLIUM_DRIVER=llvmpipe \ + -v "$RUNNER_TEMP/win-game:/game:ro" \ + --entrypoint /usr/bin/xvfb-run winebot:openttd-cpu \ + -a -s '-screen 0 1280x720x24 +extension GLX -nolisten tcp' \ + /bin/bash -euo pipefail -c ' + if [ "$(id -u)" -ne 1000 ] || [ ! -w "$HOME" ]; then + echo "UNQUALIFIED: nonroot writable HOME" + exit 2 + fi + export WINEPREFIX="$HOME/.winebot-game-fixture" + if ! timeout -k 5s 65s wineboot -u >/tmp/wineboot-game-local.log 2>&1; then + echo "UNQUALIFIED: nonroot HOME prefix initialization" + exit 2 + fi + exe="$(find /game -type f -iname openttd.exe -print -quit)" + if [ -z "$exe" ]; then + echo "UNQUALIFIED: verified Windows executable missing" + exit 2 + fi + cd "$(dirname "$exe")" + wine "$exe" -v win32 -m null -s null -x >/tmp/wine-game-nonroot-local.log 2>&1 & + proc=$! + wid="" + for i in $(seq 1 100); do + wid="$(xdotool search --onlyvisible --name OpenTTD 2>/dev/null | head -1 || true)" + if [[ "$wid" =~ ^[0-9]{1,16}$ ]]; then break; fi + sleep 0.4 + done + if [[ ! "$wid" =~ ^[0-9]{1,16}$ ]]; then + echo "UNQUALIFIED: nonroot Windows game window" + exit 2 + fi + sleep 2 + if ! import -window "$wid" /tmp/wine-nonroot-scoped.png >/dev/null 2>&1; then + echo "UNQUALIFIED: nonroot window capture" + exit 2 + fi + read -r w h colors <<< "$(identify -format "%w %h %k" /tmp/wine-nonroot-scoped.png 2>/dev/null || true)" + if [[ ! "${w:-}" =~ ^[0-9]{1,4}$ || ! "${h:-}" =~ ^[0-9]{1,4}$ || ! "${colors:-}" =~ ^[0-9]{1,9}$ ]] || + [ "$w" -lt 200 ] || [ "$h" -lt 120 ] || [ "$colors" -lt 40 ]; then + echo "UNQUALIFIED: nonroot game framebuffer" + exit 2 + fi + echo "PASS: real Windows game visual frame under UID1000 HOME-owned Wine prefix" + kill "$proc" >/dev/null 2>&1 || true + wineserver -k >/dev/null 2>&1 || true + ' # No screenshots, raw Wine logs, VNC listeners, game saves, secrets, # machine identifiers, or artifacts uploaded by this RDTE. From 2fbeadec5480c2608a932b4ddf37465aa4f746fa Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Thu, 29 Oct 2026 18:13:36 +0100 Subject: [PATCH 32/33] test(rdte): source-backed OpenTTD deterministic game creation in nonroot Wine --- .github/workflows/openttd-win-cpu-rdte.yml | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/.github/workflows/openttd-win-cpu-rdte.yml b/.github/workflows/openttd-win-cpu-rdte.yml index b97a004b..1301feae 100644 --- a/.github/workflows/openttd-win-cpu-rdte.yml +++ b/.github/workflows/openttd-win-cpu-rdte.yml @@ -234,5 +234,66 @@ jobs: kill "$proc" >/dev/null 2>&1 || true wineserver -k >/dev/null 2>&1 || true ' + - name: Source-backed deterministic Win32 OpenTTD new-world smoke + timeout-minutes: 3 + run: | + timeout -k 10s 160s docker run --rm --init --network none \ + --user 1000:1000 --cpus=2 --memory=3g --pids-limit=256 \ + --tmpfs /tmp:rw,exec,nosuid,size=512m,mode=1777 \ + -e HOME=/home/winebot -e WINEDEBUG=-all \ + -e LIBGL_ALWAYS_SOFTWARE=1 -e GALLIUM_DRIVER=llvmpipe \ + -v "$RUNNER_TEMP/win-game:/game:ro" \ + --entrypoint /usr/bin/xvfb-run winebot:openttd-cpu \ + -a -s '-screen 0 1280x720x24 +extension GLX -nolisten tcp' \ + /bin/bash -euo pipefail -c ' + export WINEPREFIX="$HOME/.winebot-newworld-fixture" + if ! timeout -k 5s 65s wineboot -u >/tmp/openttd-prefix-local.log 2>&1; then + echo "UNQUALIFIED: deterministic world HOME Wine prefix" + exit 2 + fi + exe="$(find /game -type f -iname openttd.exe -print -quit)" + if [ -z "$exe" ]; then echo "UNQUALIFIED: pinned game executable absent"; exit 2; fi + cd "$(dirname "$exe")" + # OpenTTD 15.3 src/openttd.cpp ShowHelp: + # -g creates a game and -G supplies its PRNG seed. + wine "$exe" -v win32 -m null -s null -g -G 61731 \ + >/tmp/openttd-world-local.log 2>&1 & + proc=$! + wid="" + for i in $(seq 1 100); do + wid="$(xdotool search --onlyvisible --name OpenTTD 2>/dev/null | head -1 || true)" + if [[ "$wid" =~ ^[0-9]{1,16}$ ]]; then break; fi + if ! kill -0 "$proc" 2>/dev/null; then + echo "UNQUALIFIED: deterministic world process exited" + exit 2 + fi + sleep 0.5 + done + if [[ ! "$wid" =~ ^[0-9]{1,16}$ ]]; then + echo "UNQUALIFIED: deterministic world window absent" + exit 2 + fi + sleep 5 + if ! import -window "$wid" /tmp/openttd-world-a.png >/dev/null 2>&1; then + echo "UNQUALIFIED: deterministic world scoped frame" + exit 2 + fi + read -r w h colors <<< "$(identify -format "%w %h %k" /tmp/openttd-world-a.png 2>/dev/null || true)" + if [[ ! "$w" =~ ^[0-9]{1,4}$ || ! "$h" =~ ^[0-9]{1,4}$ || + ! "$colors" =~ ^[0-9]{1,9}$ ]]; then + echo "UNQUALIFIED: deterministic world frame stats" + exit 2 + fi + echo "OBS: seeded-game window_width=$w height=$h colors=$colors" + if [ "$w" -lt 250 ] || [ "$h" -lt 180 ] || [ "$colors" -lt 70 ]; then + echo "UNQUALIFIED: seeded-game nonblank frame" + exit 2 + fi + echo "PASS: documented seeded new-game startup and Win32 visible pixels" + kill "$proc" >/dev/null 2>&1 || true + wineserver -k >/dev/null 2>&1 || true + ' + # This checks requested game initialization, not an independently + # decoded map, town, train, or in-world control. # No screenshots, raw Wine logs, VNC listeners, game saves, secrets, # machine identifiers, or artifacts uploaded by this RDTE. From 370e17b6099efde673d2e4a5208a1e583dc4825e Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Fri, 6 Nov 2026 21:18:33 +0100 Subject: [PATCH 33/33] test(rdte): pin Wine CPU 133 experiment to qualified Ubuntu 24.04 venue --- .github/workflows/openttd-win-cpu-rdte.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/openttd-win-cpu-rdte.yml b/.github/workflows/openttd-win-cpu-rdte.yml index 1301feae..825c3d4a 100644 --- a/.github/workflows/openttd-win-cpu-rdte.yml +++ b/.github/workflows/openttd-win-cpu-rdte.yml @@ -13,7 +13,7 @@ concurrency: jobs: openttd-win64-cpu: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 env: DOCKER_BUILD_RECORD_UPLOAD: 'false'