Closed GhostFancy closed 1 year ago
now consider those instead:
:children_crossing: Improve validation rules for name input field :goal_net: Add additional error scenarios for api call :heavy_plus_sign: Adopt framework "ABC" that addresses feature Z's requirements better
why would we want to flag a commit as tech. debt?
The idea is the developer/s and customer have negotiated that some task was rushed and therefore needs to be re-addressed again in the future. By either commiting or (in perhaps the case where I see this best fitting) setting the title of a pull request, it clearly marks to other developers (who might not be aware of the fact that it was tech debt) that you are making changes to work that was considered rushed.
It's to merely have more visibility as to what the commit or pull request entails.
I do agree with your examples, whereby we could possibly use other emojis, however, that is for commit messages. I do still strongly believe that to mark a pull request with the 🧹 indicates that the work you did was to address tech debt.
I can advocate that this technical debt emoji is a how
emoji, since it describes that the "what" was done in the commit was done with the quality of "technical debt".
Rather than calling it "how" we could call it "context", but the same thing applies to the other "how" emojis
True. I'm happy to update the issue to be a how
instead of a what
.
I agree with @GhostFancy that this could be a useful gitmoji in a pull request. There's no general gitmoji for addressing some techdebt.
Emoji symbol
🧹
Emoji code
:broom:
Emoji description
For cleaning/addressing up of techdebt
Describe the use case of your emoji
Features/tasks might require developers to take shortcuts in order to achieve delivery of said feature/task. This typically means writing code that works, but could be improved and therefore introduces technical debt that will be addressed at a later stage when the developer/team has more time on their hands. This emoji is great as it entails that a developer has come back to clean up and improve their code.
For more information regarding techdebt, I like to use the following write up that highlights some of the main causes and usages of techdebt: Technical Debt
Is this use case covered by an existing emoji?
No ❌
Does this emoji fall into the "how" or the "what" category?
Examples
🧹Improve validation rules for name input field 🧹Add additional error scenarios for api call 🧹Adopt framework "ABC" that addresses feature Z's requirements better
Validations