Skip to content

feat(forks): preemptively track 20.0 so sync auto-activates - #3

Merged
dnplkndll merged 1 commit into
mainfrom
feat/ready-for-20.0-branches
May 20, 2026
Merged

feat(forks): preemptively track 20.0 so sync auto-activates#3
dnplkndll merged 1 commit into
mainfrom
feat/ready-for-20.0-branches

Conversation

@dnplkndll

Copy link
Copy Markdown
Contributor

What

Adds `"20.0"` to the `branches:` list on every OCA fork (18 entries). 20.0 doesn't exist anywhere yet — neither on OCA upstream nor on any ledoent fork — so today every sync attempt against 20.0 returns `HTTP 404 Branch not found` and lands in the "skipped (branch n/a)" bucket per the existing skip-on-404 logic introduced in #2.

Why

When OCA cuts the 20.0 branch on each repo (likely Oct 2026 with Odoo 20.0 GA), the next daily run picks up the new branch with zero config edits. No flag day, no missed-update window between "OCA cuts 20.0" and "we notice and add it to forks.yml".

Cost

The daily digest's "skipped" count grows by ~18 entries until 20.0 starts existing on upstream. Skipped entries:

  • Do not appear in failure counts
  • Do not appear in the email subject
  • Do appear as a number in the one-line summary (`Sync: N updated · M current · 18 skipped (branch n/a) · 0 failed`)

So cosmetic impact is one number in the summary line. No noise in failures, no per-fork list rendered for skipped entries.

Coverage

Fork pattern branches
OCA forks (18) `["18.0", "19.0", "20.0"]` (was `["18.0", "19.0"]`); OpenUpgrade goes `["19.0", "20.0"]` (was just `["19.0"]`)
Non-OCA forks (`odoo`, `odoo-cloud-platform`) unchanged — they don't follow Odoo's release cadence

Tests pass (19/19). Safe squash-merge.

Adds "20.0" to the branches list on every OCA fork (18 of them).
20.0 doesn't exist anywhere yet — neither on OCA upstream nor on
any ledoent fork — so today every sync attempt returns
HTTP 404 "Branch not found" and lands in the "skipped (branch n/a)"
bucket per the existing skip-on-404 logic.

The moment OCA cuts 20.0 on a given repo, the next daily run picks
up that branch with zero config edits. No flag day, no missed-update
window between "OCA cuts 20.0" and "we notice and add it to forks.yml".

Cost: the daily digest's "skipped" count grows by ~18 until 20.0
starts existing on upstream. Skipped entries don't appear in failure
counts or in the email subject, so the cosmetic impact is one number
in the one-line summary.

OpenUpgrade gets ["19.0", "20.0"] (not the [overlay, 19.0] from
before): same rationale, the `ledoent` overlay branch isn't an
upstream mirror and shouldn't be merged into.
@dnplkndll
dnplkndll merged commit 758bf98 into main May 20, 2026
1 check passed
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