[ 
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* for pull requests 
to master. Help authors see when they need an RFC and reviewers see what 
changed. [Public behavior and 
compatibility|https://github.com/apache/ignite/blob/master/rfcs/IGNITE-29219-public-api-and-compatibility.md]
 defines the contract. The [RFC 
process|https://issues.apache.org/jira/browse/IGNITE-29220] covers compatible 
additions and explains when a change can go through normal review.

Across the areas in the public contract, compare what users can call, pass or 
read before and after a change. Prefer public declarations or formats that 
Ignite already maintains. For example, adding a CLI option or moving an 
existing system view column changes the contract. Editing help text leaves the 
option unchanged. Renumbering sort priorities can leave every column in its 
original position. Each finding must identify a difference that users can 
observe. A changed file path is not enough. Leave behavior that depends on 
runtime logic to code review.

* *No confirmed change.* Pass and skip the RFC check. This also covers an 
RFC-only PR.
* *RFC missing or named incorrectly.* When the process requires an RFC, fail 
and show what changed and where. Ask the author to add or update an RFC in the 
PR, or link directly to an existing RFC file on the target branch from the PR 
description. For an invalid filename, show the path and an example such as 
{{rfcs/IGNITE-12345-cache-timeout.md}}. An updated RFC keeps its original 
ticket number.
* *RFC found.* Pass with a review warning. In Checks and in the PR comment, 
link to the file and list the detected changes. The reviewer checks that the 
RFC covers them, reviews compatibility and verifies any required vote on the 
dev list.

Keep clean PRs quiet. When the result changes, replace the previous bot 
comment. If all issues are fixed, say so. Report a technical failure separately 
so the author knows whether to fix the PR or rerun the check.

Document what the check covers and what needs review. Link DEVNOTES to the 
[development processes|https://github.com/apache/ignite/tree/master/rfcs]. Test 
the three outcomes on a fork PR before making the check required on master.

  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.

* *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 and list the changes. Ask 
the author to add or update an RFC file in this PR. If an existing RFC covers 
the change, the author can link directly to its file in the PR description. The 
file must exist on the target branch.
* *Confirmed change with an RFC.* Pass with a review warning in Checks and in 
the PR comment. Include a direct link to the RFC file and list the detected 
changes in both places. Ask the reviewer to check that the plan covers the 
changes 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]


> 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
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Add a GitHub Actions check called *Public behavior changes* for pull requests 
> to master. Help authors see when they need an RFC and reviewers see what 
> changed. [Public behavior and 
> compatibility|https://github.com/apache/ignite/blob/master/rfcs/IGNITE-29219-public-api-and-compatibility.md]
>  defines the contract. The [RFC 
> process|https://issues.apache.org/jira/browse/IGNITE-29220] covers compatible 
> additions and explains when a change can go through normal review.
> Across the areas in the public contract, compare what users can call, pass or 
> read before and after a change. Prefer public declarations or formats that 
> Ignite already maintains. For example, adding a CLI option or moving an 
> existing system view column changes the contract. Editing help text leaves 
> the option unchanged. Renumbering sort priorities can leave every column in 
> its original position. Each finding must identify a difference that users can 
> observe. A changed file path is not enough. Leave behavior that depends on 
> runtime logic to code review.
> * *No confirmed change.* Pass and skip the RFC check. This also covers an 
> RFC-only PR.
> * *RFC missing or named incorrectly.* When the process requires an RFC, fail 
> and show what changed and where. Ask the author to add or update an RFC in 
> the PR, or link directly to an existing RFC file on the target branch from 
> the PR description. For an invalid filename, show the path and an example 
> such as {{rfcs/IGNITE-12345-cache-timeout.md}}. An updated RFC keeps its 
> original ticket number.
> * *RFC found.* Pass with a review warning. In Checks and in the PR comment, 
> link to the file and list the detected changes. The reviewer checks that the 
> RFC covers them, reviews compatibility and verifies any required vote on the 
> dev list.
> Keep clean PRs quiet. When the result changes, replace the previous bot 
> comment. If all issues are fixed, say so. Report a technical failure 
> separately so the author knows whether to fix the PR or rerun the check.
> Document what the check covers and what needs review. Link DEVNOTES to the 
> [development processes|https://github.com/apache/ignite/tree/master/rfcs]. 
> Test the three outcomes on a fork PR before making the check required on 
> master.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to