Skip to content

Merge rule: the author merges on green; one approval on the alert schema, the database schema and the settings - #667

Merged
rusholme merged 3 commits into
rebuildfrom
docs/merge-rule
Dec 1, 2026
Merged

rusholme merged 3 commits into
rebuildfrom
docs/merge-rule

Conversation

@rusholme

@rusholme rusholme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The rule, in force from this merge (Ben, 2026-12-01). If the team disagrees with any part at the review, it is changed by a follow-up pull request.

  • Everything lands by pull request with every CI check green. The author merges their own pull request. Most changes need no approval. This is today's practice.
  • One approval from another team member is needed for a change to what the pipeline publishes or stores:
    • the alert schema files, rapidpipe/science/alerts/schema/
    • the database schema, database/schema.sql
    • the shipped settings, rapidpipe/settings/
  • .github/CODEOWNERS lists the team as owners of those three paths, so GitHub asks for the review. Any one owner other than the author can approve.
  • A pull request opened by a coding agent belongs to the person whose agent opened it and follows the same rule. An agent never merges another person's pull request.

What it replaces: "one review by a named maintainer is required once the team names one", which never came into force.

What changes on merge: a pull request touching one of the three paths now requests a review from the five owners. GitHub does not yet block the merge without it; the ruleset's "require review from code owners" is turned on at the branch switch, and until then the approval is by agreement.

Open to change: whether these three paths are the right set. A packet field's value can change in rapidpipe/science/alerts/ without touching the schema files; adding that directory would catch it, at the cost of more pull requests waiting on a reviewer.

🤖 Generated with Claude Code

rusholme and others added 3 commits December 1, 2026 01:56
… the paths that reach other people

Proposed merge rule for the single long-lived branch. Most changes merge
by their author once CI is green, as today. A change to the alert schema
files, database/schema.sql or the shipped settings needs one approval
from another team member, asked for by .github/CODEOWNERS (the team owns
the three paths; any one of them other than the author approves). A
coding agent's pull request belongs to the person whose agent opened it
and follows the same rule; an agent never merges another person's.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@rusholme rusholme changed the title Proposed merge rule: the author merges on green; one approval on the alert schema, the database schema and the settings Merge rule: the author merges on green; one approval on the alert schema, the database schema and the settings Dec 1, 2026
@rusholme
rusholme marked this pull request as ready for review December 1, 2026 02:38
@rusholme
rusholme merged commit 0fc93c3 into rebuild Dec 1, 2026
5 checks passed
@rusholme
rusholme deleted the docs/merge-rule branch December 1, 2026 02:44
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