Skip to content

ci: build and test on Ubuntu 26.04 - #1590

Merged
lklimek merged 1 commit into
v1.8-devfrom
ci/ubuntu-runner-compatibility
Nov 4, 2026
Merged

lklimek merged 1 commit into
v1.8-devfrom
ci/ubuntu-runner-compatibility

Conversation

@lklimek

@lklimek lklimek commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

TL;DR: Build and test Tenderdash on Ubuntu 26.04, while using smaller runners for short housekeeping and documentation deployment jobs.

User story

As a Tenderdash maintainer, I want CI to exercise the supported Ubuntu release and use suitable resources, so that builds remain reliable as GitHub changes its default runners.

Scenario

Base flow

Open a pull request, build and test Tenderdash, or publish the documentation.

Actual behavior

Most jobs follow a changing Ubuntu default, documentation pins 24.04, and the bundled native libraries fail to configure with CMake 4. Workflow-only changes can also leave native checks skipped.

Expected behavior

Builds and tests run explicitly on Ubuntu 26.04. Short housekeeping and Pages deployment jobs use slim runners. Native dependencies build with the newer tools, and relevant workflow changes activate validation.

Detailed discussion

What was done

  • Select ubuntu-26.04 for all build, test, native, Docker, documentation, lint and long-running review jobs. Ubuntu 24.04 is deprecated for these jobs.
  • Use ubuntu-slim only for Janitor, Stale and Pages deployment, with job timeouts at or below its 15-minute limit. Docker-based Markdown actions and long review jobs retain full runners.
  • Pass CMAKE_POLICY_VERSION_MINIMUM=3.5 so CMake 4 can configure BLS's bundled RELIC/mimalloc dependencies without modifying the pinned third-party source.
  • Separate native caches by Ubuntu image, architecture, BLS revision and build inputs; emit the cache key through GITHUB_OUTPUT.
  • Include workflow/native build changes in build, unit-test, lint and e2e change gates so this migration exercises the affected checks.
  • Docker base-image updates are handled separately in build(docker): use supported Alpine 3.24 bases #1591, stacked on this native compatibility fix.

Testing

On Ubuntu 26.04.1 with GCC 15.2, CMake 4.2.3 and Python 3.14.4:

  • Reproduced the cold native configuration failure before the policy fix.
  • Clean BLS build and static Tenderdash binary build passed.
  • go test -race -tags=deadlock ./crypto/bls12381 passed against the new native build.
  • Nine documentation tests and the complete mdBook build passed.
  • ShellCheck, shell syntax, YAML parsing, whitespace checks and independent review passed.
  • Installed actionlint 1.7.12 passed with only its outdated unknown-ubuntu-26.04 label diagnostic filtered; official GitHub documentation confirms the label.
  • Cache-key fixtures distinguish Ubuntu 24.04 and 26.04. Hosted full-suite and e2e results are tracked in this PR's checks; live deployment was not attempted.

Breaking changes

CI build/test jobs require the Ubuntu 26.04 runner image. No Tenderdash runtime or wire-format changes.

Prior work

Attribution

🤖 Co-authored by Claudius the Magnificent AI Agent

PR Hygiene · d87c636

  • Bots — thepastaclaw ✓
  • Self-review — posted; again after any push
  • Build green
  • Approvals — you own every area touched; none needed

When every merge requirement is met, the PR Hygiene check passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.

Select explicit Ubuntu 26.04 runners for builds and tests, and use slim
runners only for bounded metadata and Pages deployment jobs. Exercise
native build and workflow changes through the affected CI gates.

Set the minimum CMake policy for bundled BLS dependencies, and isolate
native caches by runner image and build inputs.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-Authored-By: Codex GPT-6 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

lklimek commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator Author

/self-reviewed

Reviewed commit d87c636. Independent review found no actionable regressions. Verified CMake 4 failure before the fix, then clean BLS/static Tenderdash builds and BLS race tests on Ubuntu 26.04, plus documentation and targeted lint checks. Slim is limited to short Node-based housekeeping/deployment; build/test and Docker-based actions use explicit Ubuntu 26.04. Hosted unit/e2e checks remain the final compatibility evidence.

🤖 Co-authored by Claudius the Magnificent AI Agent

@lklimek lklimek left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/self-reviewed

@lklimek
lklimek marked this pull request as ready for review November 4, 2026 15:55
@thepastaclaw

thepastaclaw commented Nov 4, 2026 •

Copy link
Copy Markdown

✅ Final review complete — no blockers (commit d87c636) · triage: normal

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added the waiting-bots Waiting for the review bots to report on this head label Nov 4, 2026
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final validation — Phase 1 + Phase 2

Static verification of d87c636 found no actionable defects in the runner migration, native-cache separation, CMake compatibility setting or expanded validation gates. Current CI reports successful binary and documentation builds, generated-code checks, vulnerability scanning, Super Linter and one unit-test shard, with no failed checks; the remaining unit-test shards, both e2e jobs, vet, golangci-lint and application smoke tests remain pending. No local builds or tests were run.

Review provenance

Source: reviewer 1: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: general); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)

  • Triage: normal by gpt-6.1-sol (effort low) — The change spans CI runner selection, native-build compatibility, cache keys and validation gates, making it an ordinary cross-cutting build change rather than a critical runtime change.
  • Phase 1 reviewers: muse-spark-1.3-contributor — general (completed, effort xhigh); agent phase1-reviewer
  • Phase 1 model: muse-spark-1.3-contributor — not quota-gated; passed over gemini-3.8-flash-high (antigravity quota lookup failed), glm-5.3-flash (not used above high effort; tier asks max)
  • Fresh verifier: gpt-6.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort high); agent phase2-reviewer

@github-actions github-actions Bot removed the waiting-bots Waiting for the review bots to report on this head label Nov 4, 2026
@lklimek
lklimek enabled auto-merge (squash) November 4, 2026 16:25
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

Policy satisfied — this can merge.
Full checklist in the description.

@lklimek
lklimek merged commit 69898ba into v1.8-dev Nov 4, 2026
33 checks passed
@lklimek
lklimek deleted the ci/ubuntu-runner-compatibility branch November 4, 2026 16:51
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.

2 participants