Skip to content

[CI] aggregate: dedup docsource module rows before force-push - #104

Merged
dnplkndll merged 1 commit into
ledoentfrom
ledoent-ci-dedup-docsource
Jun 3, 2026
Merged

[CI] aggregate: dedup docsource module rows before force-push#104
dnplkndll merged 1 commit into
ledoentfrom
ledoent-ci-dedup-docsource

Conversation

@dnplkndll

Copy link
Copy Markdown

Adds a dedup step to aggregate.yml between gitaggregate and the force-push.

Why. Every merged migration branch marks its modules in docsource/modules180-190.rst. gitaggregate replays each branch's edit verbatim, so a module touched by N branches gets N rows. On the current aggregated that's 13 modules with duplicate rows (16 surplus). The duplicates make the coverage table unreadable and, worse, let a later blank row mask an earlier marked one when reading status.

What. A new "Dedup docsource module rows" step collapses each module to its first occurrence, preferring a marked row over a blank, then commits onto the aggregated HEAD that gets force-pushed. It runs only on the throwaway aggregated tree — per-branch diffs (the upstream-bound artifacts) are untouched.

Validated against the live aggregated docsource: 13 dup modules → 0, 16 rows dropped, 556 modules preserved, and zero module that was marked anywhere ends up blank.

Each merged migration branch marks its modules in docsource/modules180-190.rst,
so gitaggregate replays one row per branch that touches a module — 13 modules
ended up with duplicate rows on aggregated (16 surplus rows). Duplicates make the
coverage table unreadable and let a blank row mask a marked one. New step collapses
to the first occurrence per module (preferring a marked row over a blank) and
commits onto the aggregated HEAD that gets force-pushed. Per-branch diffs are
untouched; the dedup lives only on the throwaway aggregated tree.
@dnplkndll
dnplkndll merged commit 203a93b into ledoent Jun 3, 2026
@dnplkndll
dnplkndll deleted the ledoent-ci-dedup-docsource branch June 3, 2026 19:49
dnplkndll added a commit that referenced this pull request Jun 3, 2026
Each merged migration branch marks its modules in docsource/modules180-190.rst,
so gitaggregate replays one row per branch that touches a module — 13 modules
ended up with duplicate rows on aggregated (16 surplus rows). Duplicates make the
coverage table unreadable and let a blank row mask a marked one. New step collapses
to the first occurrence per module (preferring a marked row over a blank) and
commits onto the aggregated HEAD that gets force-pushed. Per-branch diffs are
untouched; the dedup lives only on the throwaway aggregated tree.
dnplkndll added a commit that referenced this pull request Jun 14, 2026
Each merged migration branch marks its modules in docsource/modules180-190.rst,
so gitaggregate replays one row per branch that touches a module — 13 modules
ended up with duplicate rows on aggregated (16 surplus rows). Duplicates make the
coverage table unreadable and let a blank row mask a marked one. New step collapses
to the first occurrence per module (preferring a marked row over a blank) and
commits onto the aggregated HEAD that gets force-pushed. Per-branch diffs are
untouched; the dedup lives only on the throwaway aggregated tree.
dnplkndll added a commit that referenced this pull request Jun 19, 2026
Each merged migration branch marks its modules in docsource/modules180-190.rst,
so gitaggregate replays one row per branch that touches a module — 13 modules
ended up with duplicate rows on aggregated (16 surplus rows). Duplicates make the
coverage table unreadable and let a blank row mask a marked one. New step collapses
to the first occurrence per module (preferring a marked row over a blank) and
commits onto the aggregated HEAD that gets force-pushed. Per-branch diffs are
untouched; the dedup lives only on the throwaway aggregated tree.
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