Skip to content

Fix | CI on Ubuntu 26.04: pin the Python 3.9 jobs, fix a bats typo - #340

Merged
diego-ojeda-binbash merged 1 commit into
masterfrom
fix/ci-ubuntu-26-04
Nov 14, 2026
Merged

diego-ojeda-binbash merged 1 commit into
masterfrom
fix/ci-ubuntu-26-04

Conversation

@diego-ojeda-binbash

Copy link
Copy Markdown
Contributor

What

Makes CI pass again on Ubuntu 26.04, which ubuntu-latest points to since 2026-11-14. Closes #339.

Changes

  • tests-unit.yml and the ref-arch job in tests-integration.yaml: runs-on: ubuntu-24.04. setup-python has no Python 3.9 for Ubuntu 26.04. A comment says to move back to ubuntu-latest once 3.9 support is dropped.
  • tests/bats/leverage_terraform.bats: setup set TEST_ROOT, but teardown ran cd "$TESTS_ROOT", i.e. cd "". Older bash ignored it; the bash on 26.04 fails with cd: null directory.

The other jobs (bats, lint, release) use Python 3.13 and stay on ubuntu-latest.

Testing

This PR's own checks: every unit_tests version, integration_tests (bats on 26.04) and the ref-arch job on 3.9.

Follow-up

Dropping Python 3.9 (end of life since 2025-10) is a product decision, left for a separate issue.

🤖 Generated with Claude Code

ubuntu-latest now points to Ubuntu 26.04, where setup-python has no Python
3.9. Run the jobs that test 3.9 (unit_tests and the ref-arch test) on
ubuntu-24.04 until 3.9 support is dropped.

The bats teardown ran `cd "$TESTS_ROOT"`, but setup set TEST_ROOT, so it ran
`cd ""`. The bash on Ubuntu 26.04 rejects it ("null directory").

Closes #339

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 37 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: be0c6f1b-7fd2-4735-ae6b-6e8afec9eaa0
Commits

Reviewing files that changed from the base of the PR and between 0877d1d and 93f5733.

Files selected for processing: 3

  • .github/workflows/tests-integration.yaml
  • .github/workflows/tests-unit.yml
  • tests/bats/leverage_terraform.bats
  • 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

@diego-ojeda-binbash diego-ojeda-binbash self-assigned this Nov 14, 2026
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 43601603828

Coverage remained the same at 67.689%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 4070
Covered Lines: 2898
Line Coverage: 71.2%
Relevant Branches: 1080
Covered Branches: 588
Branch Coverage: 54.44%
Branches in Coverage %: Yes
Coverage Strength: 0.71 hits per line

💛 - Coveralls

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.

BUG | CI fails on Ubuntu 26.04: no Python 3.9, and a bats teardown typo

3 participants