Skip to content

ci(codspeed): run on ubuntu-26.04 like every other job - #118

Merged
maksimtech merged 2 commits into
mainfrom
ci/codspeed-ubuntu-26.04
Nov 23, 2026
Merged

maksimtech merged 2 commits into
mainfrom
ci/codspeed-ubuntu-26.04

Conversation

@maksimtech

Copy link
Copy Markdown
Owner

Step 2 of the alignment to apkradar: every job on ubuntu-26.04, CodSpeed's too, with apkradar's tests/test_runners.py. Done in mailradar (maksimtech/mailradar#158), cookieradar (maksimtech/cookieradar#107) and exeradar (maksimtech/exeradar#64).

What changes

  • codspeed.yml: runs-on: ubuntu-24.04 becomes ubuntu-26.04, with apkradar's comment.
    • The job stayed on 24.04 because CodSpeedHQ/action v5.2.1 failed on 26.04 (run 37063015887).
    • CodSpeed's runner and action v5.5.0 (2026-10-14) added Ubuntu 26.04 (release notes), and the action here is already pinned at v5.6.3.
  • New tests/test_runners.py, apkradar's, unchanged. patchradar has no job that calls a reusable workflow.
  • CHANGELOG: entry under Unreleased → Changed.

Verified

  • TDD: the new test failed on codspeed.yml:benchmarks alone (16 of 17 jobs were already on 26.04), then passed with the change.
  • Full suite locally (pytest tests/): 2421 passed, 4 skipped.
    • That is 3 more than before: the 2 new tests, and test_text_encoding_contract on the new file.
  • Ruff clean.
  • CodSpeed has no path filter here, so it runs on this PR. Its run on 26.04 is the real proof.

🤖 Generated with Claude Code

CodSpeed's job stayed on 24.04 when the rest moved on 2026-10-02: the
action failed there with "Unsupported system". CodSpeed's runner and
action v5.5.0 (2026-10-14) support Ubuntu 26.04, and the action here is
v5.6.3. tests/test_runners.py, as in apkradar, now holds every job on
the same named image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codspeed

codspeed Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Merging this PR will improve performance by 12.73%

3 warnings

⚠️ 11 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

⚠️ 1 benchmark with a significant change ran on different hardware

Its base and head results were measured on machines with a different CPU, core count or memory, so the change might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

⚠️ 1 benchmark with a significant change ran in a different software environment

Its base and head results were measured with a different OS or toolchain, such as compiler, runtime or library versions, so the change might come from this difference rather than from the code. Open the benchmark to see what changed.

See affected benchmarks

⚡ 1 improved benchmark
✅ 16 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ test_sanitize_cve_batch 12.9 ms 11.5 ms +12.73%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing ci/codspeed-ubuntu-26.04 (e9092a3) with main (66ff026)

Open in CodSpeed

@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

maksimtech added a commit that referenced this pull request Nov 23, 2026
…ps a fix (#119)

Trivy reported it on 2026-11-23 against the image's openssl
3.5.9-1~deb13u1, first on #118's scan. The fix for CVE-2026-84784 was
incomplete: OpenSSL's QUIC stack can still be made to exhaust memory by a
malicious peer. No OpenSSL advisory and no fixed Debian package yet. Not
reachable here: Python's ssl exposes no QUIC and nothing in patchradar
uses it. No source, review by 2026-12-15 with the other OpenSSL entries.

Part of maksimtech/apkradar#134.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant