[
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.
* *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]
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.
* List any RFC document the PR adds or updates. Check its filename against
{{rfcs/IGNITE-<ticket>-<short-title>.md}}. An existing RFC keeps its original
ticket number in the filename, even when the update has a different ticket.
* When a PR touches a known public contract path, list the affected files in a
PR comment. Say whether the PR adds or updates an RFC. If it changes both code
and an RFC, ask the reviewer to check the code against the proposal.
* The reviewer decides whether the change needs an RFC, follows an approved
RFC, or qualifies for an exception. The reviewer reads the proposal and checks
any required dev-list vote before merge.
* If a filename is invalid, fail the check with {{Invalid RFC filename}}. Show
the affected path, the expected format and an example, such as
{{rfcs/IGNITE-12345-client-timeouts.md}}. A PR with no RFC passes this check.
Report technical failures separately.
* In the PR comment, explain what the author and reviewer should do next.
Replace the previous comment when the advice changes. When all issues are
resolved, say so. Skip the first comment if the PR touches neither a known
contract path nor an RFC. Skip repeat comments when 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]
> 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.
> * *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]
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)