Skip to content

Rework design doc/RFC process #3172

Open

Description

@murphyjacob4

Problem Description

The https://github.com/valkey-io/valkey-rfc/ has many great RFCs that are suffering from lack of visibility.

Let's use this issue to discuss how we could rework this process to ensure RFCs get reviewed in a timely manner.

Proposed Solution

We've had a small amount of discussion amongst myself, @madolson, @zuiderkwast, and @ranshid. Our thinking is that the dedicated repo is causing some harm since the main repository PRs are more commonly looked at.

Based on this, I am thinking the new process can look something like:

  1. Before writing a design, start an issue for some early alignment. This will be a good first step to find interested parties and collect some initial requirements and will serve as the overall tracking for the feature.
  2. Once alignment is gathered, the author should send a PR to the main repository containing the design (https://github.com/valkey-io/valkey). We will create a top-level directory for design-docs to contain these designs in Markdown format. The maintainers will approve and merge once feedback is addressed.
  3. Submitting a design document is not necessarily a binding commit to a certain design. The documents are intended to be living documentation. As the feature is developed, the design document is expected to capture key design aspects. Oftentimes the mid-level design is neglected or only visible in Issue descriptions or code comments. Maintainers are expected to ensure important design changes are recorded in the design document within the same PR as the change
  4. Designs are not deleted, but rather maintained as living documentation. Non-trivial changes to the design that are merged should continue to include design document updates even after the initial launch

EDIT: We also discussed adding a step 2 like:

  1. (optional) In the issue, the author can link a design draft (e.g. Google Doc) for commenting and alignment amongst interested parties. If linking a draft, document permissions should allow anyone to have read-only permissions and interested parties should be able to request comment access.

But we think this is best left out of the process itself

Activity

  1. sarthakaggarwal97 commented on Feb 6, 2026

    @sarthakaggarwal97
    Contributor

    Our thinking is that the dedicated repo is causing some harm since the main repository PRs are more commonly looked at.

    I agree with this statement. RFC should be a part of core valkey repository. It is hard to keep track of the issues of other repositories. I personally have missed reading great RFCs timely because of this.

  2. madolson commented on Feb 9, 2026

    @madolson
    Member

    Thanks for writing this up. I'm broadly aligned.

    the author can link a design draft (e.g. Google Doc)

    I still think a core tenet of this project should be to develop in the open. So if it's a google doc, it should be accessible to everyone, which would include comment permissions by default. I don't think that is too unreasonable.

    The maintainers will approve and merge once feedback is addressed.

    I think viktor raised a good point, which is that we don't want these to be stale. One question is if these will be maintained or deleted once the feature is finalized. I don't have a strong opinion, just something to discuss.

  3. ranshid commented on Feb 9, 2026

    @ranshid
    Member

    Submitting a design document is not necessarily a binding commit to a certain design. The documents are intended to be living documentation. As the feature is developed, the design document is expected to capture key design aspects.

    I agree that NOT every feature/change should also include a design doc. this should be something the TSC explicitly indicates as something which is requiered.

    Before writing a design, start an issue for some early alignment.

    I agree that always asking for an issue is good. just lets be clear that it is O.K to have a design doc already provided with the initial issue.Also what happen in case someone wants to implement a complete PR as a starting point? will we send him back to first create an issue? I think it is fine that someone will introduce a PR and we can ask him to ceate a design-doc as part of this PR.

    Once alignment is gathered, the author should send a PR to the main repository (https://github.com/valkey-io/valkey). We will create a top-level directory for design-docs to contain these designs in Markdown format. The maintainers will approve and merge once feedback is addressed.

    So why do we have to go through a mid-stage of review over some external framework like google-doc? I think that when we identify a feature design is needed we should explicitly ask for it and it becomes part of the feature deveopment and future maintainance (which is why TSC approval is requiered)
    IMO starting teh design doc as a markdown file target to the project design-docs folder is good. We should, however address the maintainance tracking.
    I think that if we keep the design docs as part of our repository, they should be treated the same way we do for our docs.
    In that case we usually start with an issue and than after review we define the assignee for the issue and potentially require a detailed design first (IMO should be using a label like design-doc-needed). the assignee than work to introduce a detailed design in a markup file as part of an implementation PR or as a standalone PR. we should make sure we always update the design doc whenever we take decisions to change it. This can happen either during the development of the feature OR after the feature was released and we modify the feature post release. The later, can be only modified in the Valkey docs, but maybe we would like to add a modifications section to the design doc?

  4. sarthakaggarwal97 commented on Feb 10, 2026

    @sarthakaggarwal97
    Contributor

    One question is if these will be maintained or deleted once the feature is finalized.

    I would prefer not to delete it since it can have some important discussions which led to some key decisions. If we prefer to cleanup, maybe just closing the issue is good enough.

  5. murphyjacob4 commented on Feb 10, 2026

    @murphyjacob4
    ContributorAuthor

    One question is if these will be maintained or deleted once the feature is finalized

    I like when design docs turn into living documentation. It would be great if we had a culture that if you are making a large change, you also update the design document

  6. murphyjacob4 commented on Feb 10, 2026

    @murphyjacob4
    ContributorAuthor

    So why do we have to go through a mid-stage of review over some external framework like google-doc? I think that when we identify a feature design is needed we should explicitly ask for it and it becomes part of the feature deveopment and future maintainance (which is why TSC approval is requiered)

    I was reflecting on the past proposals, and I think there is usually some subset of folks who are more interested than others. I thought allowing for early feedback could help prevent some backtracking in the actual RFC. Anyways, I guess you can always use adhoc meetings + discussion materials prior to the RFC to gain such alignment

  7. murphyjacob4 commented on Feb 10, 2026

    @murphyjacob4
    ContributorAuthor

    Edited the proposal based on feedback, namely:

    1. No mention of Google Docs or any external tools. Informally, these could still be used but no need to include it in our process
    2. Explicitly call out that the design documents should not be deleted, and non-trivial changes to the design should be reflected in the design document even after feature launch

    @ranshid @sarthakaggarwal97 @madolson @zuiderkwast WDYT?

  8. stockholmux commented on Feb 16, 2026

    @stockholmux
    Member

    So, I think this concern is largely a visibility problem (and the symptom is "no one pays attention to the RFC repo").

    Just moving it from one repo to another won't solve that: I can say from personal experience that tracking issues and even PRs on this repo is not very clear for someone who doesn't live in this repo from day to day. The core team is amazing but there are proposals which constitute a project-level RFC but don't have a gigantic amount of core impact - the people who care about the core just won't care that much about the specifics of these proposals (and vice versa). So, I'd like more eyes than those who pay attention here.

    Here is what I would high-level propose:

    • RFCs live somewhere (RFC repo maybe, maybe here... we just need a way to track)
    • RFCs need people to triage separate from the core team (close spam, dupes, etc.)
    • After triage RFCs go to some high-level visibility location: maybe website, maybe GitHub org readme.
    • There needs to be a defined lifecycle for RFCs (currently they just stay open forever in practice).

    (sorry for the mouse slip closure)

  9. murphyjacob4 commented on Feb 16, 2026

    @murphyjacob4
    ContributorAuthor

    Discussed in this weeks meeting:

    1. We like the idea of "RFC" for large project proposals (e.g. Search, Bloom, ValkeyAdmin) but they are dirtied right now by the middle-level implementation details. We would like to emphasize "who", "what", "when", "where", "why", but not "how". We will create a new issue template in the core repository for RFCs like this and create a template that emphasizes these
    2. For technical designs, specs, etc, we expect those to live in a design-docs folder as Markdown files. We should ideally also standardize this across all the other Valkey repositories as well (search, bloom, admin). We will follow up with a PR to introduce this folder in the core.
    3. We are less in agreement on the permanence/maintenance of these design docs. The largest worry is about them becoming stale and not useful. With the introduction of the folder, we also will add some copilot instructions to ensure that the design documents are updated when meaningful changes are made to them. Hopefully this can reduce the burden on maintainers to ensure these remain fresh. For now, we are going to start with these design docs having permanence. But it is non-binding. If later we notice them becoming stale, we can rework the process to emphasize they are ephemeral and delete stale ones.
    4. In tangent to 3, there is another thought around agentic coding and how we can better optimize Valkey for such contributions. Having specs that outline our technical rationale for features like replication, main dictionary, data types, etc would be very useful for contributions that don't diverge from the project taste. Backfilling these designs (probably something agent generated to start) is something we can explore as an incremental improvement
  10. ranshid commented on Feb 17, 2026

    @ranshid
    Member

    The largest worry is about them becoming stale and not useful.

    I disagree. I find that many OLD decisions which were taken in "distant past" are something we sometimes circle back and trying to understand why they were taken. Usually this results in increase rely on community members holding this as part of them being the original authors, but that (IMO) is nor scalable and maintainable over long time.

  11. zuiderkwast commented on Feb 19, 2026

    @zuiderkwast
    Contributor

    Old decisions and designs that no longer reflect the current implementation are better to be found in old PRs and issues or some other place. It requires some research like git blame -> commit message -> PR number, but IMO that's fine. I'd not want to keep an archive of that in the core repo.

  12. ranshid commented on Feb 19, 2026

    @ranshid
    Member

    Old decisions and designs that no longer reflect the current implementation are better to be found in old PRs and issues or some other place. It requires some research like git blame -> commit message -> PR number, but IMO that's fine. I'd not want to keep an archive of that in the core repo.

    I agree. which is exactly why I think we should NOT require a design for every feature (only large ones) and we should treat the design do the same as we do for public Docs. meaning, we should request that future design changes+design changes that are introduced while developing the feature will also update the design doc. If the feature is already released, we can maintain change log section to the design doc so it is easier to understand in which version the changes were made.

    Now given said all that, I do agree that this can slowdown and complicate the development of large features.

  13. madolson commented on Feb 27, 2026

    @madolson
    Member

    Now given said all that, I do agree that this can slowdown and complicate the development of large features.

    Slowdown, yes, complicate, it shouldn't. Moving slowly and methodically isn't a bad thing as long as we are building towards the direction we want to be moving.

  14. ranshid commented on Mar 1, 2026

    @ranshid
    Member

    Now given said all that, I do agree that this can slowdown and complicate the development of large features.

    Slowdown, yes, complicate, it shouldn't. Moving slowly and methodically isn't a bad thing as long as we are building towards the direction we want to be moving.

    Yes. I think we are aligned on that this is a good idea. IMO maintaining the design docs up-to-date is something we can benefit from

  15. murphyjacob4 commented on Mar 3, 2026

    @murphyjacob4
    ContributorAuthor

    @rlunar - is there something you would like to add from #3289? I was going to start with creating the design-docs folder.

    Maybe your suggestions are more around a clearer voting process? If we model proposals as a PR adding/modifying a design doc in the main repo, I guess voting can go the same way as it goes for code PRs?

  16. madolson commented on Mar 3, 2026

    @madolson
    Member

    Maybe your suggestions are more around a clearer voting process?

    The voting is the same as all major decisions, and I think it should stay that way. Not sure we should have a separate voting process for designs.

  17. rlunar commented on Mar 3, 2026

    @rlunar
    Member

    The openness to improvement here is encouraging, we all agree the existing RFC process isn't ideal. There are RFCs that haven't even made it to a PR (e.g., TimeSeries) because authors don't feel their work is ready for that stage yet. So starting from Issues is promising.

    My suggestion was to look at what already works in established OSS projects like PostgreSQL or Kafka, rather than reinventing the wheel. Their processes have been battle-tested and could give us a solid foundation to build from.

    One thing I'd like us to be more intentional about is opening the process beyond TSC-driven initiatives. There's a lot of value in letting the broader community propose ideas, whether that's for modules, clients, tooling, or other areas they feel are missing. IMHO not everything needs to be validated from the core team; except for those that do need alignment with core/module API.

    That said, I understand we're still a relatively small and manageable community, and as @madolson points out, if we're not sure a separate voting process is needed, we should default to simplicity. Let's not add process overhead we don't yet need but let's keep the door open as we grow.

  18. madolson commented on Mar 4, 2026

    @madolson
    Member

    One thing I'd like us to be more intentional about is opening the process beyond TSC-driven initiatives. There's a lot of value in letting the broader community propose ideas, whether that's for modules, clients, tooling, or other areas they feel are missing. IMHO not everything needs to be validated from the core team; except for those that do need alignment with core/module API.

    The charter of the Valkey project is the TSC owns the technical direction of the Valkey project. Nobody is blocking anyone from building something outside of the project, but they can't label it as Valkey or "officially Valkey".

    We do want the project to be open, but the tension is we also only have finite resources to make sure everything works well together. We have to say so no sometimes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions