[ 
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.

Compare declarations before and after the change. Cover public Java API 
declarations, fixed protocol and SQL identifiers, and literal Maven {{groupId}} 
and {{artifactId}} values.

* *No confirmed change.* Pass without checking RFC files. This includes a PR 
that only edits method bodies or RFCs.
* *Confirmed change without an RFC.* Fail the check. List the files and 
declarations that changed. Ask the author to add or update an RFC, or reference 
one already in the target branch. The PR description can use its repository 
path or a GitHub file link.
* *Confirmed change with an RFC.* Pass the check and post a yellow warning in 
the PR. List the changes and the RFC. Ask the reviewer to check that the plan 
covers each change and that any required dev-list vote passed.
* *RFC filenames.* For a confirmed contract change, check each new or updated 
RFC against {{rfcs/IGNITE-<ticket>-<short-title>.md}}. An existing RFC keeps 
its original ticket number. For an invalid name, fail with {{Invalid RFC 
filename}} and show the path, expected format and a corrected example.

Replace the bot's previous comment when the advice changes. Once all issues are 
resolved, replace it with a confirmation. Report technical failures separately.

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.

Compare declarations before and after the change. Cover public Java API 
declarations, fixed protocol and SQL identifiers, and literal Maven {{groupId}} 
and {{artifactId}} values.

* *Confirmed change without an RFC.* Fail the check. List the files and 
declarations that changed. Ask the author to add or update an RFC, or reference 
one already in the target branch. The PR description can use its repository 
path or a GitHub file link.
* *Confirmed change with an RFC.* Pass the check and post a yellow warning in 
the PR. List the changes and the RFC. Ask the reviewer to check that the plan 
covers each change and that any required dev-list vote passed.
* *No confirmed change.* Pass quietly. A matching path, a method body edit or 
an uncertain effect alone produces no warning.
* *RFC filenames.* Check each new or updated RFC against 
{{rfcs/IGNITE-<ticket>-<short-title>.md}}. An existing RFC keeps its original 
ticket number. A PR with only a correctly named RFC passes quietly. For an 
invalid name, fail with {{Invalid RFC filename}} and show the path, expected 
format and a corrected example.

Replace the bot's previous comment when the advice changes. Once all issues are 
resolved, replace it with a confirmation. Report technical failures separately.

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.
> Compare declarations before and after the change. Cover public Java API 
> declarations, fixed protocol and SQL identifiers, and literal Maven 
> {{groupId}} and {{artifactId}} values.
> * *No confirmed change.* Pass without checking RFC files. This includes a PR 
> that only edits method bodies or RFCs.
> * *Confirmed change without an RFC.* Fail the check. List the files and 
> declarations that changed. Ask the author to add or update an RFC, or 
> reference one already in the target branch. The PR description can use its 
> repository path or a GitHub file link.
> * *Confirmed change with an RFC.* Pass the check and post a yellow warning in 
> the PR. List the changes and the RFC. Ask the reviewer to check that the plan 
> covers each change and that any required dev-list vote passed.
> * *RFC filenames.* For a confirmed contract change, check each new or updated 
> RFC against {{rfcs/IGNITE-<ticket>-<short-title>.md}}. An existing RFC keeps 
> its original ticket number. For an invalid name, fail with {{Invalid RFC 
> filename}} and show the path, expected format and a corrected example.
> Replace the bot's previous comment when the advice changes. Once all issues 
> are resolved, replace it with a confirmation. Report technical failures 
> separately.
> 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)

Reply via email to