Skip to content

Stacking: series titles in more shapes - #433

Merged
nambok merged 1 commit into
mainfrom
worker/series-title-shapes
Nov 3, 2026
Merged

nambok merged 1 commit into
mainfrom
worker/series-title-shapes

Conversation

@nambok

@nambok nambok commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Series stacking (#416) only read [Name 2/4]. A ticket titled (2/4) Section titles … didn't stack on its open part 1, so the coder stopped to ask which branch to build on.

Changes

  • stack.rs series() reads:
    • [Name 2/4] and (Name 2/4);
    • [2/4] and (2/4), with the series named by a label before the marker when a separator follows (Titles (2/4): …, ABC-7: Titles [3/4] - …; a ticket key prefix is left out);
    • Part 2 of 4.
  • Totals under 2, part 0 and parts past the total are rejected.
  • Same series means the same total and the same name:
    • a nameless part matches a named one whose name is in its title;
    • two nameless parts match when their titles share a meaningful word (common words left out).
  • Still the latest earlier open part in this repo, never the run's own branch. Two open PRs for that part: no guess.

Verification

  • Tests for every shape, cross-shape matching, no match without a shared word, and the tie.
  • cargo test -p worker: 1,167 passed. fmt and clippy (-D warnings) are clean.

A series was only read from `[Name 2/4]`, so `(2/4) Section titles`
didn't stack on its open first part and the coder stopped to ask which branch
to build on. Series are now also read from `(Name 2/4)`, `[2/4]` and
`(2/4)` (named by a label before them when a separator follows, as in
`Titles (2/4): ...`) and `Part 2 of 4`. Same series means same total and
same name; a nameless part matches a named one whose name is in its title,
and two nameless parts match when their titles share a word. Two open pull
requests for the same earlier part: no guess.
@nambok
nambok merged commit 115d2e2 into main Nov 3, 2026
10 checks passed
@nambok
nambok deleted the worker/series-title-shapes branch November 3, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant