A bunch of random work items/balloon payment on technical debt - thoughts? #3253
Closed
dodexahedron
started this conversation in
General
Replies: 2 comments
-
Some examples of changes that aren't compiler warnings that fall under this general umbrella are:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing this, as work is proceeding as described and some has already been merged. 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So...
There are a ton of random work items that I keep wanting to address every time I come across them. However, I mostly don't do it, because they tend to only be incidental to the scope of the issue I'm working on, and potentially through several layers of indirection at that.
But I keep coming across them and have a bunch of stashes in my local repositories that are just feeling all sad because they aren't getting any love.
Many (like...probably 80% or more) are also either compiler warnings or other points alerted by analyzers from VS, R#, etc., so addressing them will reduce a lot of noise, at the very least.
These changes fall almost entirely into two non-exclusive categories:
The vast majority are not behavior-changing, in terms of the rendered output, and I usually try to make them 100% drop-in changes when possible. But, they can occasionally represent minor source-breaking changes, typically internally but occasionally also in the public API surface. I of course resolve those and ensure they continue to work as expected, when that situation arises.
A lot of them also have a common impact on multiple other changes I'm working on or planning to work on, and I'd rather get them done before starting or continuing on those, so that I can have the benefit of that code in each without making identical and therefore conflicting changes in each.
What are your opinions on how best to handle that stuff, in terms of issues/PRs?
My preference is to just make one cleanup/code quality issue, do an arbitrary amount of that work in it, and then make a PR for that when I feel like it's good enough for that round. Further work would then simply just be left for future issues, potentially of the same type.
That provides the benefits to everyone more rapidly, helps avoid conflicts, and allows the work to actually get done, rather than meticulously documenting every single issue, many of which are one-liners.
I make micro-commits anyway, and this kind of change set lends itself very well to that, so the history is fully visible in the repo log.
So... Whaddya think? Do it like that? Some other way?
Beta Was this translation helpful? Give feedback.
All reactions