[
https://issues.apache.org/jira/browse/IGNITE-29326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anton Vinogradov updated IGNITE-29326:
--------------------------------------
Description:
Add a GitHub Actions check called *Public behavior changes*. [Public behavior
and
compatibility|https://github.com/apache/ignite/blob/master/rfcs/IGNITE-29219-public-api-and-compatibility.md]
defines what Ignite users can rely on. The [RFC
process|https://github.com/apache/ignite/pull/13760/files#diff-964c536dd887c02e46887244405c46d2d8b5e15dc7a4480eb3a33fb64844b15a]
defines which changes need a vote and how the dev list approves them.
* Flag changes in known contract paths. Reviewers can flag changes to public
behavior elsewhere. A reviewer with write access can explain why a change
preserves the contract or identify the approved RFC that already covers it. The
decision applies to the current commit.
* For a new proposal, verify the opening vote and result on dev@ against the
RFC in the PR. Compatible additions also go to a vote. If the result relies on
seven days without objections, the reviewer confirms that the opening offered
this option and that the change qualifies. Skipping deprecation requires
explicit approval.
* When something is missing, post the affected files, the author's next step
and what to check in review. Replace the bot's comment when the advice changes.
After the check passes, replace the warning with a confirmation. Keep quiet on
a first pass or a repeat with the same result.
After the RFC and workflows merge, test a fork PR before making the check
required on master. [Implementation
PR|https://github.com/apache/ignite/pull/13863]
was:
IGNITE-29220 defines how Ignite approves changes to its public contracts. Add a
GitHub Actions check so reviewers can see whether a pull request has the
approval it needs.
* Flag changes in known public contract paths. Let reviewers flag changes to
public behavior elsewhere. A flagged PR needs an approved RFC or a decision
from a reviewer with write access on the current commit. The reviewer can
explain why no RFC is needed or point to an approved RFC that covers the change.
* For a new or amended RFC, check the vote and result on [email protected]
against the RFC text in the PR. Report missing evidence or an early result. Ask
a reviewer to verify any evidence the check cannot interpret.
* When the check finds a problem, post one comment in the PR with the files to
review, what the author needs to fix and what the reviewer should check. When
that advice changes, replace the old bot comment with a new one. Once all
problems are fixed, replace it with a confirmation. Repeated runs with the same
result stay quiet, as do PRs that pass on the first run.
* Verify that a PR with missing approval fails, a valid vote or reviewer
decision passes, and a new commit invalidates an earlier reviewer decision.
Enable the check on master after the RFC process and the workflow have merged.
[Implementation PR|https://github.com/apache/ignite/pull/13863]
Summary: Check public behavior changes on pull requests (was: Check
RFC approval on pull requests that may change a public contract)
> Check public behavior changes on pull requests
> ----------------------------------------------
>
> Key: IGNITE-29326
> URL: https://issues.apache.org/jira/browse/IGNITE-29326
> Project: Ignite
> Issue Type: Task
> Reporter: Anton Vinogradov
> Assignee: Anton Vinogradov
> Priority: Minor
>
> Add a GitHub Actions check called *Public behavior changes*. [Public behavior
> and
> compatibility|https://github.com/apache/ignite/blob/master/rfcs/IGNITE-29219-public-api-and-compatibility.md]
> defines what Ignite users can rely on. The [RFC
> process|https://github.com/apache/ignite/pull/13760/files#diff-964c536dd887c02e46887244405c46d2d8b5e15dc7a4480eb3a33fb64844b15a]
> defines which changes need a vote and how the dev list approves them.
> * Flag changes in known contract paths. Reviewers can flag changes to public
> behavior elsewhere. A reviewer with write access can explain why a change
> preserves the contract or identify the approved RFC that already covers it.
> The decision applies to the current commit.
> * For a new proposal, verify the opening vote and result on dev@ against the
> RFC in the PR. Compatible additions also go to a vote. If the result relies
> on seven days without objections, the reviewer confirms that the opening
> offered this option and that the change qualifies. Skipping deprecation
> requires explicit approval.
> * When something is missing, post the affected files, the author's next step
> and what to check in review. Replace the bot's comment when the advice
> changes. After the check passes, replace the warning with a confirmation.
> Keep quiet on a first pass or a repeat with the same result.
> After the RFC and workflows merge, test a fork PR before making the check
> required on master. [Implementation
> PR|https://github.com/apache/ignite/pull/13863]
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)