From 868d58e0f73a7b96d3a2364b7f9c8a02a2cc8f90 Mon Sep 17 00:00:00 2001 From: Anders Lindh Olsson Date: Tue, 5 May 2026 15:45:52 +0200 Subject: [PATCH 1/2] ci(server): reduce log noise, upload full log as artifact MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --log-cli-level=DEBUG streams every DEBUG line live, making CI logs thousands of lines for a passing run. Move log_level to pyproject.toml so DEBUG output is captured and shown only on failure. Add -v for the per-test pass/fail summary and tee to a log file uploaded as a retention artifact, so the full output is available without drowning the inline view. Also suppress the testcontainers-internal DeprecationWarning for the @wait_container_is_ready decorator — it is in the library's own code and cannot be fixed from our side. --- .github/workflows/server.yml | 10 +++++++++- server/pyproject.toml | 6 ++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 8aa7e67d..6f5e32e4 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -64,4 +64,12 @@ jobs: python -m pip install . - name: Test with pytest run: | - pytest --log-cli-level=DEBUG + set -o pipefail + pytest -v 2>&1 | tee pytest-output.log + - name: Upload test log + if: always() + uses: actions/upload-artifact@v4 + with: + name: pytest-log + path: server/pytest-output.log + retention-days: 14 diff --git a/server/pyproject.toml b/server/pyproject.toml index 8307e6d1..48adc051 100644 --- a/server/pyproject.toml +++ b/server/pyproject.toml @@ -40,6 +40,12 @@ include-package-data = true [tool.setuptools.package-data] twisted = [ "plugins/recceiver_plugin.py" ] +[tool.pytest.ini_options] +log_level = "DEBUG" +filterwarnings = [ + "ignore::DeprecationWarning:testcontainers", +] + [tool.ruff] target-version = "py39" From 27760fb6133cff57cef7b7c11e45c1b3680bb9ec Mon Sep 17 00:00:00 2001 From: Anders Lindh Olsson Date: Tue, 5 May 2026 15:46:50 +0200 Subject: [PATCH 2/2] ci: bump actions/checkout and actions/setup-python to v6 Node.js 20 support ends on GitHub Actions runners in September 2026; v6 of both actions targets Node.js 24 and eliminates the deprecation warnings that now appear on every workflow run. --- .github/workflows/ci-scripts-build.yml | 8 ++++---- .github/workflows/docker.yml | 2 +- .github/workflows/pre-commit.yml | 4 ++-- .github/workflows/server.yml | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci-scripts-build.yml b/.github/workflows/ci-scripts-build.yml index 2215e1cd..a216a5cd 100644 --- a/.github/workflows/ci-scripts-build.yml +++ b/.github/workflows/ci-scripts-build.yml @@ -40,7 +40,7 @@ jobs: cmp: [gcc, clang] configuration: [default, static, debug, static-debug] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Prepare and compile dependencies @@ -68,7 +68,7 @@ jobs: cmp: [clang] configuration: [default, debug] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Prepare and compile dependencies @@ -96,7 +96,7 @@ jobs: cmp: [gcc, vs2022] configuration: [default, static, debug, static-debug] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Prepare and compile dependencies @@ -140,7 +140,7 @@ jobs: - cross: RTEMS-pc386-qemu@4.10 test: NO steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Prepare and compile dependencies diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 00e09da8..61e5e8ff 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -22,7 +22,7 @@ jobs: run: working-directory: ./server steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Log in to the Container registry uses: docker/login-action@v3 with: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 69ae5feb..d197f500 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -10,6 +10,6 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/checkout@v6 + - uses: actions/setup-python@v6 - uses: pre-commit/action@v3.0.0 diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 6f5e32e4..6a9e7b97 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -33,10 +33,10 @@ jobs: run: working-directory: server steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} if: ${{ !matrix.container }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install @@ -52,9 +52,9 @@ jobs: run: working-directory: server steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: 3.9 - name: Install dependencies