chore: sync generated files with cnpg-infra policy - #508
Merged
Merged
Conversation
These files are generated from cloudnative-pg/cnpg-infra and landed here by scripts/sync-ownership-files.sh, so propose a change there rather than editing them in this repository: - CODEOWNERS, from componentowners-policy.yaml. - COMPONENT_OWNERS.md, from repo-tiers.yaml's owners field, which is the same entry that populates this repo's <repo>-owners GitHub team. It is the public record of who owns this component, which a GitHub team cannot be, since team membership is only visible to other org members. - .gitvote.yml, so a vote held on an issue here actually has an electorate. Until now /vote-component-owner did nothing in this repo. Assisted-by: Claude Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
gitvote decides a vote with `in_favor_percentage >= pass_threshold`, so a flat 50 let an even-sized electorate pass its own tie: 2-2 on a four-owner repo cleared the bar. A simple majority is strictly more than half, and a percentage cannot express "half plus one vote", so the threshold moves to 50.01 -- above any exact tie, below the smallest real majority, which is 50 + 100/N percent for N voters and stays above 50.01 up to N = 10000. The two-thirds profiles move from 66 to 66.66 for the same reason: two thirds is 66.666..., so a flat 66 sat just under its own bar (33 of 50 is 66.0 and would have passed). Not 66.67 -- for an electorate divisible by three the exact two-thirds computes to 66.6666..., which falls under 66.67 and would break a legitimate 2-of-3. This file is rendered from cnpg-infra's gitvote-policy.yaml; the change is made there and regenerated here. Assisted-by: Claude Opus 5 Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
35 tasks
gbartolini
force-pushed
the
dev/sync-generated-files
branch
from
September 15, 2026 10:28
d2266a9 to
8cafe9c
Compare
mnencia
approved these changes
Sep 15, 2026
leonardoce
approved these changes
Sep 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generated from cloudnative-pg/cnpg-infra by
scripts/sync-ownership-files.sh. Propose changes there rather than editing these files here. See the commit message for what each file is and where it comes from.