This repository is created by initiative of Magento architects to discuss with the Magento community any open questions around Magento 2 architecture such as design documents, proposals, or any other architectural artifacts.
NOTE: We do not guarantee that approved changes will be delivered into Magento code base. The purpose of the repository is to start open discussions with the Magento community around architectural concepts of the Magento 2 platform.
Documents in the Repository
New documents are processed through PRs targeting the master
branch. As a result, the master
branch must contain content approved by Magento architects only.
- Active discussions are represented by open PRs.
- Approved proposals are represented by merged PRs.
- Declined proposals are represented by closed (not merged) PRs.
The Workflow
- Fork the repository and add or edit a document in your branch. Contributions are expected from Magento core engineers mostly, although the community members are able to contribute as well.
- Create a PR with the new or updated document to discuss
- Use Design Document template for a new document
- Share the PR with internal team(s) and the Magento community through existing channels (Twitter, Slack, blog post, etc)
- Suggestion: include deadline for receiving feedback
- Get a feedback. We expect a feedback as:
- Comments into the PR thread
- Likes/dislikes/other emojis to the comments or the PR itself. We kindly encourage contributors to submit explanations about pros and cons that they have noticed.
- Update the PR to the received feedback accordingly or submit a reply if the proposed changes are not applicable with clear explanation.
- Add
needs update
label while the PR is in work
- Add
- When all participants of the discussion have come to agreement and confirmed their approval, a Magento core architect merges the PR.
Design Documents Review Requirements
- Required reviewers are architects assigned to the affected components
- Anybody else may join the review and provide feedback, but they're not obligated to review the entire document or to meet deadlines
- For existing (running or about to run) projects, a minimum time frame given for one round of review is 2 business days from the notification notice. The author may specify due date. For documents that do not block any existing projects (proposals or design documents that describe features for unforeseeable future), no due date is guaranteed.
Assigned Reviewer Responsibilities
- Review the entire document by specified due date (if any)
- If it is impossible, find a replacement
- If the due date is unreasonable for the size of the document, agree on another due date with the author
- Include a detailed feedback
- Ensure the feedback is objective
- Ensure the feedback provides value to the document. Avoid side-notes and off-topics (or mention explicitly that this is just a note for future)
- If the document is rejected, include clear and objective explanation for it. Rejection is final
The implementation process is out of scope in this project.
After approval of the document, a new discussion may be raised basing on the issues occurred during implementation. It is also possible in case of new informational updates that discover hidden sides of the future implementation. If it is the case, a new PR should be opened to update existing document. The PR should include explained reasons for the proposed change.