Skip to content

STF-2368: Stop installing libpcre3-dev in CI - #248

Merged
mm-kevcenteno merged 1 commit into
mainfrom
greg/stf-2368-drop-libpcre3
Nov 14, 2026
Merged

mm-kevcenteno merged 1 commit into
mainfrom
greg/stf-2368-drop-libpcre3

Conversation

@oschwald

@oschwald oschwald commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

The "Run tests" workflow fails on main since ubuntu-latest moved to Ubuntu 26.04:

E: Package 'libpcre3-dev' has no installation candidate

mod_maxminddb does not use PCRE, and on 26.04 apache2-dev already depends on libpcre2-dev. This removes libpcre3-dev from the install list.

I ran the workflow steps on Ubuntu 26.04 locally. All 16 test files passed (6,480 tests).

STF-2368

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the automated testing environment’s installed system packages. No user-facing changes are included.

ubuntu-latest is now Ubuntu 26.04, which has no libpcre3-dev, so the
install step fails. The module does not use PCRE, and apache2-dev
already depends on libpcre2-dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 13, 2026 20:26

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The test workflow's apt package list removes libpcre3-dev. The package list retains libapache2-mod-security2.

Changes: Test workflow packages

Layer / File(s) Summary
Update test workflow packages
.github/workflows/test.yml
The apt package list removes libpcre3-dev; libapache2-mod-security2 remains installed.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Suggested reviewers: horgh

Merge Risk: Minimal · up to c0d46

This change fixes the CI install step on Ubuntu 26.04 by dropping an unavailable package. It does not affect runtime behavior, and no merge-blocking risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the change: CI no longer installs libpcre3-dev. The raw summary and PR objectives confirm the only change is removing libpcre3-dev from the test workflow install list (Ubuntu 26.04 has…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the change: CI no longer installs libpcre3-dev. The raw summary and PR objectives confirm the only change is removing libpcre3-dev from the test workflow install list (Ubuntu 26.04 has no installation candidate for it). The title is specific, concise, and matches the main change, so it passes.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

A rabbit checks the package list,
One old name hops away.
Mod Security stays in place,
The test workflow follows suit.
Soft paws tap the green-lit path.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: c22a557a-729e-4a1a-9cea-dba80f5fe4af
Commits

Reviewing files that changed from the base of the PR and between d790eff and c0d464e.

Files selected for processing: 1

  • .github/workflows/test.yml

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@mm-kevcenteno
mm-kevcenteno merged commit 095580c into main Nov 14, 2026
10 checks passed
@mm-kevcenteno
mm-kevcenteno deleted the greg/stf-2368-drop-libpcre3 branch November 14, 2026 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants