Dev & EngARTICLE

8 min read

From Rejected PR to LLM-Assisted Reviewer: the Journey of a pgBackRest Contributor

Stefan Fercot, a Percona engineer, used GitHub's history to reconstruct the nearly eight years between his first contribution to pgBackRest and the day his name appeared alongside the project's founders.

From Rejected PR to LLM-Assisted Reviewer: the Journey of a pgBackRest Contributor
Image: Roberto Diniz
Article · Dev & Eng
Reading
8 min
Tables
2

Stefan Fercot, a Percona engineer, used GitHub's history to reconstruct the nearly eight years between his first contribution to pgBackRest and the day his name appeared alongside the project's founders.

The Slide With His Own Name

In October, at PGConf.EU 2026, Stefan Fercot attended the talk "The Monday We Learned Who Maintains Our Backups," by David Steele and Jan Wieremjewicz, about the origins of pgBackRest. One of the slides listed the project's founding contributors: David himself, Cynthia Shang, Stephen Frost, and Reid Thompson. The next slide had the word "Next:" above Fercot's name.

He knew he had been on the project for a good while, but he didn't know exactly how long. In a post published on Planet PostgreSQL, Fercot went through GitHub's history to reconstruct his own timeline. The result is less an exercise in nostalgia and more a portrait of how a critical infrastructure project treats those who show up wanting to help.

For those who don't follow the PostgreSQL ecosystem closely: pgBackRest is the most widely used backup and recovery tool in production with the database, responsible for incremental backups, point-in-time restore, and WAL file replication to local repositories, S3, or Azure. It's not a toy project for testing open source contribution; it's a disaster recovery component in environments that cannot afford to lose data.

February 2019: the PR That Wasn't Accepted, But Opened the Door

Fercot's first pull request, PR #675, dates from February 12, 2019. It proposed a check in the info command to verify whether the WAL segments needed for backups actually existed in the repository. David Steele replied the next day.

That specific PR was never merged: Steele was worried about the extra I/O cost in a command that needs to be fast, and the check ended up implemented in check_pgbackrest, the monitoring plugin Fercot already maintained. But one isolated line from that patch fixed a real bug: info wasn't showing the minimum and maximum WAL segments when a stanza was specified. Steele applied that line on February 21, 2019, with the message "Fixed by Stefan Fercot," and it shipped in version 2.11, on March 11 of that year.

In other words: Fercot's first contribution to actually make it into pgBackRest was a one-line fix, nine days after he first showed up on the project. There was no grand inaugural achievement, just a quick response to an imperfect PR and a usable piece of code inside it.

From Occasional to Habit (2020-2023)

Involvement grew gradually. In July 2019 came his first issue, about S3 configuration with MinIO. In April 2020, a second code contribution. In June of that same year, his first review comment on a Steele PR. In July 2020, his first reply to another user's issue and his first two merged PRs: the expire-auto option and automatic encryption password detection in repo-get.

From there it became routine. Between July 2020 and September 2023, Fercot opened 27 pull requests, 23 of which were merged, including archive-mode-check, db-exclude, repo-retention-history, and restore --type=lsn.

Reviewing a patch back then was real manual work: reading the diff, understanding the surrounding code, building pgBackRest from the branch, and manually installing it in a local test environment. The check_pgbackrest test suite, originally written for the monitoring plugin itself, uses Ansible to set up scenarios with shared or dedicated repositories, and it went on to also serve as a validation environment for third-party patches.

The Numbers Compared: Before, In Between, and Now

The data was pulled from the GitHub API on November 18, 2026, and compares three windows: "before" (Jul/2020 to Sep/2023, when Fercot contributed regularly), "in between" (Oct/2023 to Aug/2026, when he cut back on code contributions due to lack of time at work), and "now" (September 1 to November 18, 2026, since he started dedicating work time at Percona to pgBackRest).

MetricBeforeIn BetweenNow
Issues opened per month19.012.710.4
Median issue size1,782 characters1,883 characters2,693 characters
Median time to first response8.3 hours7.4 hours14.5 hours
PRs opened per month9.45.821.3
David's PRs per month5.73.513.2
Median time to first review19.6 hours29.7 hours17.4 hours
Median time to merge46.6 hours99.4 hours39.3 hours
PRs merged within 1 week72.4%51.7%57.1%

PR volume more than doubled compared to the "before" period: 55 pull requests since September 1, against a much lower monthly average in the two previous periods. David alone opened 34 of them, 20 in November alone. Issues, on the other hand, became rarer and longer: markdown headers appear in 44% of recent reports, versus 8% before, although a longer report doesn't necessarily mean an easier bug to fix.

What Changes in a Review, With an LLM in the Loop

Today Fercot no longer sets up a manual test environment for every PR. With automation built by a Percona colleague, Zsolt, part of the process now runs on its own: a Docker container fetches the pull request and its associated discussion, builds both the proposed change and the base branch, and an LLM reviews the code in six steps (overview, design, code review, validation, cross-checking against the discussion, and summary).

The prompt includes pgBackRest-specific practices: coding standards, the 100% test coverage rule, and a reminder that this isn't PostgreSQL's own code. Every finding from the model needs to be confirmed manually, whether by tracing the code path, writing and running a test in the project's harness, or running an actual backup and restore with the latest PostgreSQL version. A finding that doesn't hold up gets discarded.

In short: the tool speeds up triage, but it doesn't replace human judgment about what counts as a sufficient regression test, nor the final decision to approve. Fercot did 19 reviews in November; ten of them led David to make some additional change to the PR: a fix, a regression test, a release note, or even a new pull request.

The Release Calendar Also Changed

For years, every pgBackRest release was a full release, every four to six weeks while the code was migrating to C, then every nine weeks between 2021 and mid-2024. An urgent fix would wait for the next full release or force an early one, as happened with version 2.43, released six days after 2.42 in November 2022.

Since then the project has split feature releases from bugfix releases, now formalized in the official documentation: feature releases ship on the third Monday of January, April, July, and October; bugfix releases ship on the third Monday of any other month, when needed, and an urgent fix can still jump the queue, as version 2.59.3 did when it fixed a weak encryption subkey one week after 2.59.2.

The practical effect: in 2026, 15 of the 21 bug fixes that went through a pull request shipped in a bugfix release, and the median time between merge and publication dropped to 11 days, down from 18 days between 2021 and 2023. For those running pgBackRest in production, that means waiting less between a fix landing on the main branch and reaching an installable package.

The Real Bottleneck: Few Reviewers, Many New PRs

Since September, 12 people have opened their first pull request on pgBackRest. That's a positive sign of new contributors coming in, but the project's full history shows a pattern that keeps repeating: those who show up tend to come back to open a second PR; few come back to review someone else's PR.

First PR inPeopleOpened a 2nd PRReviewed someone else's PR
Jul/2020 to Sep/20232310 (43%)7 (30%)
Oct/2023 to Aug/20264014 (35%)3 (8%)
Since Sep/2026122 so far1 so far

Of the 94 people (besides David) who have ever opened a PR in the project's history, only 14 have ever submitted a formal review on GitHub. In recent months, 18 people opened 55 pull requests, but only three did formal reviews on them: Douglas J Hunley, David Steele, and Fercot himself.

David summed up the problem on November 17, when a new contributor asked what was still needed for their PR to be reviewed:

Just a bit of patience. Right now we have a lot of patches and few reviewers.

David Steele, lead maintainer of pgBackRest

And as of November 18, all 574 pull requests ever merged via GitHub in pgBackRest's history went through the same person: David. More automation, more new contributors, and a more than doubled pace of PRs haven't changed that bottleneck.

What This Means for Anyone Considering Contributing to a Critical Project

Fercot's trajectory isn't a shortcut: almost eight years between the first rejected PR and his name alongside the founders, with a gap in the middle when he only had time to respond to issues and advocate for the project publicly. What sustained it was consistency in small tasks, not one big initial patch.

For those who work with database backup in production and depend on projects like this one, the practical takeaway is different: review is the scarcer resource, not code. Opening a PR takes less investment than carefully reviewing someone else's, and that's exactly where pgBackRest, even with LLM automation and a maintainer dedicated full-time via Percona, still depends on a handful of people holding the line.

Translated from the Brazilian Portuguese original · Read the original