[
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.
* Check RFC files in the PR. For a new RFC, check the ticket number and
required template sections. Fail the check only for problems with the RFC files.
* Leave a review note when a PR touches a known contract path or has the
{{public-behavior-change}} label. The check passes if the PR has no RFC. If the
PR also edits an existing RFC, ask the reviewer to assess the code separately.
* During normal PR review, the reviewer decides whether the change needs an
RFC, follows an approved RFC, or qualifies for an exception. When a vote is
required, the reviewer checks the dev-list decision before merge.
* In the PR comment, list the affected files, what the author should fix and
what the reviewer should check. Replace the comment when the advice changes.
When all issues are fixed, say so. Keep quiet when there is nothing to report
or the advice stays the same.
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:
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 the contract
stays the same, link the approved RFC, or name the rule that allows an
exception. An exception can also apply to a labeled change. The decision
applies to the current commit.
* Check new RFCs against the template. Before merge, remind the reviewer to
check the dev-list decision under the RFC process. When a PR edits an existing
RFC and also changes code that may affect public behavior, ask the reviewer to
assess the code separately.
* 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]
> 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.
> * Check RFC files in the PR. For a new RFC, check the ticket number and
> required template sections. Fail the check only for problems with the RFC
> files.
> * Leave a review note when a PR touches a known contract path or has the
> {{public-behavior-change}} label. The check passes if the PR has no RFC. If
> the PR also edits an existing RFC, ask the reviewer to assess the code
> separately.
> * During normal PR review, the reviewer decides whether the change needs an
> RFC, follows an approved RFC, or qualifies for an exception. When a vote is
> required, the reviewer checks the dev-list decision before merge.
> * In the PR comment, list the affected files, what the author should fix and
> what the reviewer should check. Replace the comment when the advice changes.
> When all issues are fixed, say so. Keep quiet when there is nothing to report
> or the advice stays the same.
> 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)