Skip to content

[MIG] docsource: mark modules with no DB layout changes as Nothing to do#43

Closed
dnplkndll wants to merge 2 commits into
19.0from
19.0-mig-nothing-to-do-bulk
Closed

[MIG] docsource: mark modules with no DB layout changes as Nothing to do#43
dnplkndll wants to merge 2 commits into
19.0from
19.0-mig-nothing-to-do-bulk

Conversation

@dnplkndll
Copy link
Copy Markdown

What

126 rows in `docsource/modules180-190.rst` where col-3 already declares `No DB layout changes.` get col-2 flipped from blank → `Nothing to do`. Original col-3 notes preserved exactly.

Why

`test-migration.yml` builds `MODULES_NEW` via `grep "Done\|Partial\|Nothing"` against docsource col-2. Modules with a blank col-2 are silently excluded from the migration smoke test, even when col-3 explicitly says no DB layout changes — so the analysis bot confirmed they're trivial, but CI never exercises them.

Before:

  • Done: 36
  • Nothing to do: 17
  • Blank col-2: 492
  • Coverage (Done+Nothing+Partial / total): ~11%

After this PR:

  • Done: 36 (untouched)
  • Nothing to do: 143 (+126)
  • Blank col-2: 366
  • Coverage: ~33%

Every flipped row already declared `No DB layout changes.` in col-3 — this PR only catches up the col-2 status to that declaration.

Sample diff

```
-| account_edi | |No DB layout changes. |
+| account_edi |Nothing to do |No DB layout changes. |
```

Verifier

`.claude/skills/openupgrade-contribute/scripts/verify-pr-staged.py`: 0 MISS, 0 WARN, 0 MAYBE-MISS (since this is docsource-only, no family-scope siblings to consider). Pre-commit clean.

Risk

  • No scripts added, no scripts changed.
  • No `upgrade_analysis.txt` deltas claimed (the col-3 declarations were authored by the maintainer when the file was created).
  • 126 rows touched, 126 rows expected — no other rows modified.
  • Zero `Done`-row regressions (verified via `git diff` grep).

Split if preferred

I bundled all 126 in one PR because each row is identical-shape and pedrobaeza's "one PR per module" guidance is for substantive code work, not pure docsource trivia. Happy to split by family (l10n_* / pos_* / payment_* / account_* / etc.) if reviewers prefer; each split would be a 1-line trivial PR.

Scope

Draft, fork-only first per the 2026-05-15 fork-only pivot. CI coverage gain is the main motivation — if this PR + the equivalent on OCA upstream both green-light, this catches a substantial blind spot in the migration smoke test.

126 rows where col-3 already declares ``No DB layout changes.`` get
col-2 flipped from blank to ``Nothing to do``. Original col-3 notes
preserved.

Test-migration CI ``grep "Done\|Partial\|Nothing"`` on docsource col-2
now picks up these modules in ``MODULES_NEW`` — previously they were
silently excluded from the migration smoke test, even though the
analysis bot confirmed they have no DB layout delta.

No script files added; no behavioural change. Pure docsource shift.
The post-migration reset runs too late when loyalty itself is force-updated
(as happens once sale_loyalty/pos_loyalty/sale_loyalty_delivery enter
$MODULES_NEW): the load-time template-syntax check renders the stale
'{{ object._get_mail_partner().lang }}' expression and raises AttributeError
at loyalty/data/mail_template_data.xml, aborting before post-migration.
Null the lang field in pre-migration so the data reload validates cleanly.
post-migration.py keeps its ORM-level reset for the non-update path.
@dnplkndll
Copy link
Copy Markdown
Author

Superseded by the dependency-screened coverage-batch approach: #45 (19.0-mig-coverage-det-nothing, 140 no-DB-change modules) reborn cleaner from this branch's intent, with the loyalty + google-auth-dep pitfalls already handled. Closing to avoid a stale red mega-branch.

@dnplkndll dnplkndll closed this May 29, 2026
@dnplkndll dnplkndll deleted the 19.0-mig-nothing-to-do-bulk branch May 29, 2026 20:49
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