Repository navigation
IGNITE-29201 Add RFC on public API changes - #13740
anton-vinogradov wants to merge 4 commits into
Conversation
| ## Ticket → RFC PR → implementation | ||
|
|
||
| 1. Open a ticket describing the problem and proposed change. | ||
| 2. Open a PR adding `rfcs/IGNITE-<ticket>-<short-title>.md`. Link the ticket and PR to each other; use the ticket number instead of maintaining a separate RFC counter. |
There was a problem hiding this comment.
Do you mean in that case where a ticket fits the requirement to create an RFC, it would be implemented in two commits in the main branch (RFT + code implementation)?
Please clarify if it needs to modify other triggers, because before we always intended that we have one commit for a JIAR ticket.
There was a problem hiding this comment.
It will be one PR for each Issue.
It will include the RFC and implementation.
| 2. Open a PR adding `rfcs/IGNITE-<ticket>-<short-title>.md`. Link the ticket and PR to each other; use the ticket number instead of maintaining a separate RFC counter. | ||
| 3. Review the document in the PR. When ready for approval, share the proposed revision on the dev list and allow at least 72 hours for feedback. Keep the list informed of significant changes and concerns. | ||
| 4. Collect explicit approval of that revision from at least three different Ignite committers in the PR. Resolve outstanding technical objections and post the approval summary and outcome on the dev list before merging. Material revisions need renewed approval and review time. | ||
| 5. Merge the RFC before merging the public API changes. Implementation PRs link to it and follow normal code review and testing. |
There was a problem hiding this comment.
How could we distinguish the implemented RFTC from the one that only approved and merged?
There was a problem hiding this comment.
Let's change to merge the RFC and implementation together?
There was a problem hiding this comment.
Implementation can contain more that one issue
There was a problem hiding this comment.
Should each extend the previous RFC if it changes the public behavior?
|
Could we clarify the expected level of implementation detail in an RFC? Should it describe the public contract, including observable behavior and guarantees, or also the internal algorithms used to implement it? For example, a timeout proposal should specify what happens to an operation after the timeout expires, but must it also describe how timeouts are tracked internally? |
RFC should be similar to the IEP. Let's do it this way and define explicit rules when we face issues. |
|
Updated the PR according to the questions. |
|
Just a bit joke: did you know that IgniteSQLException is internal - thus no need to discuss it`s changes ) |
Currently, we have a huge gap in defining what is public and what is private. |
|
|
||
| ## Why | ||
|
|
||
| We should agree on changes to public API before merging them. Use a ticket to describe the problem and a PR to review an RFC stored alongside the code. |
There was a problem hiding this comment.
public API has rules on how to change it, already.
But, we don't have clear definition of what public API are.
So, we have two goals that must be adressed in different RFCs in my optinion:
- Give clear definition of public API and public behavior in Apache Ignite.
- Define (change) process of creation, changes or removal public API.
There was a problem hiding this comment.
public API has rules on how to change it, already.
Can you point to the rules?
So, we have two goals
Could you make an initial proposal for discussion?
|
Split into two focused discussions:
Please review the API definitions first, then the process. Closing this PR in favor of those two; the discussion here remains available for context. |
Adds the first RFC defining public API scope and the review process for API, protocol, and storage changes. The RFC needs approval from three Ignite committers; the RFC and implementation are then merged together in one PR and one commit per ticket.
One RFC can cover several implementation tickets. It is merged with the first implementation PR, and linked tickets track the remaining work. The document also explains why protocol and storage changes need review and uses IEPs as a guide for the level of detail.
CONTRIBUTING links to the RFC directory and the review process; no manual index needs updating.
Jira: https://issues.apache.org/jira/browse/IGNITE-29201
Validation: documentation-only change; checked the diff, process consistency, links, and Apache license header. No code tests run.