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
Task Summary
Follow-up to #4579 / #4582.
The
Release Branch Protectionruleset added in #4582 is currently a no-op: GitHub API confirmsrelease/v1.1.0-incubatinghas no active rules and the repository has no rulesets at all (/repos/apache/texera/rulesetsreturns[]).Root cause: in
apache/infrastructure-asfyaml, therulesetsdirective is gated behind a staged-rollout flag — seeasfyaml/feature/github/rulesets.py:The schema accepts
rulesets:(so no parse error fires), but the directive returns early unless the project opts in viameta:(seeasfyaml/asfyaml.py).This task: add the opt-in so the existing
Release Branch Protectionruleset actually gets reconciled into GitHub.Priority
P1 – High
Task Type