An RFC - Request For Change - is a document issued mainly to recommend new features to the language and standard libraries. It provides the opportunity for all stakeholders to review and approve the changes before they are implemented.
Not all changes will require an RFC. Bug fixes and documentation improvements can be carried out using GitHub pull requests (PRs).
Other more extensive changes need to be carefully tracked and reviewed, which is where RFCs come in.
Significant changes to the system or changes to the user experience would require an RFC. Examples of changes can be:
Changes not requiring RFCs include:
New feature implementation will almost certainly require an RFC. PRs attempting to do so will not be approved without a merged RFC.
Some good practices when starting an RFC include:
RFCs must be introduced as a .md
(Markdown-format) file in a PR into the flyte repo. Details of the location to store them can be found below.
rfc/0000-template.md
to rfc/<category>/0000-my-feature.md
(where "my-feature" is descriptive). Don't assign an RFC number yet; This is going to be the PR number and we'll rename the file accordingly if the RFC is accepted.At Flyte, we have been using HackMD to author RFCs.
It is recommended that the initial review of an RFC takes place on HackMD, before pushing to GitHub. Several benefits of this include:
The Flyte repo on GitHub contains an RFC folder where RFCs are to be pushed to.
For those new to HackMD, here is how to begin:
Sign in
and use GitHub to login+ New Note
Note: HackMD documents are written in Markdown. RFC templates can be found here.
After completing your RFC on HackMD, it is time to push to GitHub:
Option | Value |
---|---|
Select Repo: | <your fork> |
Select branch: | <Insert a new or existing branch name> |
Select file: | rfcs/<category>/awesomefeature.md |
Choose version(s) to push: | Fill in a descriptive name and a self-link to the hackmd note. |
The Flyte repo on GitHub has an RFC folder with 3 directories:
Core language: Changes to FlyteIdl that change the wire-format in any way are considered significant changes that require revision and approval.
Reviewers: At least one of flyte core maintainers and one of flyte maintainers.
General System: Changes to other repos that introduce signficant change of behavior or user-impacting features.
Reviewer: At least one of flyte maintainers.
CI-CD: Significant changes to CI-CD System that have impact across different repositories.
Reviewer: At least one of flyte maintainers.
Once the RFC is created in a PR, reviewers can take up to 3 weeks to review, test, and either approve or recommend adjustments. They may call for meetings, demos, or other measures deemed necessary.
Once approved, the RFC will be pushed to GitHub to be implemented.
RFC PRs whose authors become unresponsive to reviewers' comments within 5 business days will be closed.
RFCs for vital features may need to be implemented immediately, whereas other RFCs may need to wait for the right developer to be available.
The author of an RFC may not always be the one to implement it, but if they do, they are welcome to submit an implementation for review after the RFc has been accepted.
Rejected RFCs may be labelled as "postponed". This means the PR has been closed without implementation, because either:
Although "postponed" RFCs have already gone through the approval process, it is always recommended that they be reviewed again prior to implementation, to make sure the existing ecosystem will still benefit from the change.
Alternatively, if an RFC is not likely to be implemented, it should be labelled as "rejected" and permanently closed.
Any contribution to FlyteOrg repos will be licensed with Apache-2.0 license without any additional terms or conditions.
Adapted from: Rust RFCs - Active RFC List