Repository navigation
Replies: 1 comment
|
I have done a first pass over the unreleased set. It produced one finding I did not expect and a second that explains the first, so I am posting the numbers rather than the impression. Method. The 703 commits in Shape. August (30–31 only) 3 commits, September 259, October 441. October is 63% of the backlog, so this is mostly recent work rather than an ageing pile — oldest unreleased commit 62 days, median 26, none over 90. The backlog cannot be safely subsettedOf those 432 backportable commits, 326 — 75% — touch at least one file that a A fix lifted out of a file that an unreleased feature also modified will either conflict on cherry-pick or, worse, apply cleanly to the pre-feature version of the code and be quietly wrong. So I withdraw the implication in my comment on #7989 that 644 commits being left behind at the But the entanglement is manufactured by the delayThis is the part that matters, and it stops the paragraph above being an excuse. I measured how entangled the selection problem is as a function of the window you have to select from — for each window, what share of its backportable commits collide with a
It is monotonic. The entanglement is not a property of the codebase, it is a property of the gap. Shipping weekly, you would be dealing with 44%; having waited 62 days, you are dealing with 75% — and one week in the sample (18 Oct) had 119 commits, no features at all, and therefore 85 backportable commits with zero entanglement, trivially shippable at the time and now tangled up with everything that followed. That makes this a feedback loop rather than a backlog: slow releases produce entanglement, entanglement makes the next release harder and riskier to assemble, and that delays it further. The cost of waiting is not linear in time — it compounds, because every additional feature that lands adds new files for the pending fixes to collide with. The implication is the opposite of "sift more carefully". No amount of care rescues a selection model whose difficulty grows with its own latency. Small and continuous is not a preference here, it is the mechanism that stops the problem forming — ship from Two concrete things worth fixing regardlessFound while looking for something else. Documentation and code are well coupled here in general — only 23 of 703 commits are docs-only, 384 of the 407 doc-touching commits change code in the same commit, and no PR spans more than one unreleased commit, so squash-merge is doing real work. But a few docs-only commits are release-coupled:
Revised offerIf the selection model is retained, the 106 clean commits are a realistic first batch and I am happy to produce that list with PR numbers for review. That is a correction to my opening post: 55% of the backlog is eligible by prefix, but eligible is not safely batchable, and 106 is the honest number rather than 387. If Limits, stated plainly. File overlap is a proxy for semantic coupling: it over-reports, since two commits touching one large file need not interact, and under-reports, since a fix can depend on a feature without sharing a file. The per-window figures are noisy at weekly granularity — individual weeks range from 0% to 82%, depending on whether features happened to land — so the pooled rows are the meaningful comparison, and a shorter window has fewer features to collide with partly by construction. I have compiled and tested none of this; any proposed batch would need |
Uh oh!
There was an error while loading. Please reload this page.
Following on from #4434, where the commitment to dot releases roughly every two weeks was made — and largely kept: v1.3.0 on 15 Sep, v1.3.1 on 30 Sep, v1.3.2 on 24 Oct.
So this is deliberately not another "please release more often" thread. It is about a different gap that a faster dot cadence does not close, and it ends with an offer of help rather than a request.
The measurement
As of 31 Oct, measured against
v1.3.2:mainare not inv1.3.2.mainbeforev1.3.2was cut, and the release did not include them. The oldest had been sitting onmainfor 54 days at the moment of the cut; the median, 19 days.The point is therefore not that releases are rare. It is that a release is a selection from
main, rather thanmainas at a date. A merge does not place a change in the next release, and there is no general rule mapping a merged PR to a release — which is also why #5789 cannot really be answered as posed.Why this costs more than delayed fixes
First, dependency fixes appear to have no route to a release at all. Concretely, #7989: the fix landed in the storage engine on 8 Sep,
mainadopted it on 25 Oct, and as of today it is in no release and on no hotfix line. A faster dot cadence does not help here, because a whole engine minor is plausibly too large for a line that carries fixes rather than dependency bumps.Second, merged-but-unreleased content makes later work harder. Subsequent changes are built on a
mainwhose relationship to any shipped artefact is unknown, so the longer the gap runs the more drift accumulates between what is tested together and what is shipped together. That cost is paid by contributors and maintainers, not just by users.Questions
mainintended to be releasable, or is it a staging pool that releases are assembled from? Either is a legitimate model — but stating which, in CONTRIBUTING, would change how a contributor should read their own merge.An offer
If it would be useful, I am willing to do the legwork on the unreleased backlog: take the merged-but-unreleased set, map each commit to its PR and kind label, order it by merge time, separate what is backportable under the rule in CONTRIBUTING (fixes and docs) from what needs a minor cut, and propose a release ordering — as a document for maintainers to accept, amend or reject, not as a fait accompli.
Two honest limits on that. I could not assert that any given batch is safe to ship together; that needs knowledge of interdependencies and of the test matrix which I do not have, so validation would stay with you. And the proposal would respect whichever answer question 1 gets — there is no point ordering a backlog for a trunk model if the project deliberately runs a selection model.
But the classification and ordering is mechanical work. If part of the obstacle is simply that nobody has time to sift several hundred commits, that is the part an outside contributor can usefully absorb.
Would that help — and if so, what form would be most useful: a document, a tracking issue, or backport PRs proposed in batches?
Related: #5867 (release cadence), #5789 (no way to tell which release contains a merged PR), #7989 (the dependency fix with no route to a release).
All reactions