Skip to content

Opt in to .asf.yaml rulesets staged rollout #4603

@Yicong-Huang

Description

@Yicong-Huang

Task Summary

Follow-up to #4579 / #4582.

The Release Branch Protection ruleset added in #4582 is currently a no-op: GitHub API confirms release/v1.1.0-incubating has no active rules and the repository has no rulesets at all (/repos/apache/texera/rulesets returns []).

Root cause: in apache/infrastructure-asfyaml, the rulesets directive is gated behind a staged-rollout flag — see asfyaml/feature/github/rulesets.py:

@directive
def rulesets(self):
    if "github_rulesets" not in self.instance.environments_enabled:
        return

The schema accepts rulesets: (so no parse error fires), but the directive returns early unless the project opts in via meta: (see asfyaml/asfyaml.py).

This task: add the opt-in so the existing Release Branch Protection ruleset actually gets reconciled into GitHub.

meta:
  environment: github_rulesets

Priority

P1 – High

Task Type

  • DevOps / Deployment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions