← Back to Pull requests

fix(prow): align OCI repository configuration and review policy #2100

Closed
unknown closed this pull request without merging on Oct 13, 2026 17:50 UTC
View on GitHub
unknown unknown commented on Oct 13, 2026 15:18 UTC
Author

Repository configurations have drifted, leaving inconsistent review labels, commands, and merge requirements. This PR aligns the OCI Prow configuration across active repositories and documents the shared review policy.

Review policy change for falco and libs: reduce the required GitHub approvals from two to one, matching the other repositories. The original dual-approval requirement created more friction than real benefits. This change simplifies the review flow and makes it consistent across repositories, which it was not previously.

The shared policy requires one independent GitHub approving review, plus approved and lgtm:

  • An OWNERS approver's GitHub approval supplies both labels, provided their approval covers all changed files.

  • An OWNERS reviewer's GitHub approval supplies lgtm; an approver must still supply /approve.

  • An approver author implicitly approves the files they own, so another eligible reviewer's GitHub approval can complete the requirements.
  • Authors cannot LGTM their own PRs. Stale-review dismissal remains enabled, and CI and all other merge requirements still apply. The existing falcoctl/gh-pages publishing exception is preserved.

    This PR also:

  • Standardizes general plugins, label handling, and /milestone, while retaining repository-specific language plugins and release-note requirements.

  • Removes archived repositories from OCI Prow configuration and consolidates equivalent Tide queries.

  • Blocks merge commits across managed repositories and removes the special sticky-LGTM treatment for test-infra-maintainers.

  • Configures .project and its repository team.

  • Aligns repository teams with active approvers and reviewers from root and nested OWNERS files, and aligns core-maintainers with the official core list. Organization owners use the team maintainer role; everyone else uses member. Purpose-specific teams are preserved.

  • Corrects plugin-sdk-go branch protection to target main.
  • Validation: pinned OCI Prow checkconfig passed, Peribolos loaded org.yaml, and membership and effective review-policy checks covered all 41 active repositories and 102 configured protected branches. AWS configuration is unchanged.

    Related: https://github.com/falcosecurity/evolution/pull/536

    cc @falcosecurity/falco-maintainers @falcosecurity/libs-maintainers @falcosecurity/core-maintainers

    Diff: 296 lines (+222 / -74) across 3 files Reviewer: c2ndev Review duration: 151m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.63) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.63 · 296 lines diff across 3 files
    0.63
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.341
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.063
    Real PR Conversation Timeline
    1 comments
    "Review active on #2100"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 63.2% (MEDIUM) · Higher = larger blast radius
    63.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 24.9% · Safe to merge
    24.9%