Skip to content

docs(reset-lemonade): bump stale 10.7.0 fallback to 10.8.1 - #1870

Merged
kovtcharov merged 1 commit into
mainfrom
fix/reset-lemonade-stale-version-default
Jun 26, 2026
Merged

kovtcharov merged 1 commit into
mainfrom
fix/reset-lemonade-stale-version-default

Conversation

@kovtcharov

Copy link
Copy Markdown
Contributor

Why this matters

Closes the one loose end the #1869 review flagged: reset-lemonade.ps1 still hardcoded 10.7.0 in its version fallback, docstring, and example after the 10.8.1 upgrade. CI never caught it because the script reads LEMONADE_VERSION from src/gaia/version.py first — but when run standalone (outside a GAIA checkout) it would install the wrong, now-stale version, and the default would keep drifting on each bump. Now it tracks 10.8.1.

Scope is exactly the three references the review identified; the docs/releases/v0.21.2.mdx mention of 10.7.0 is a historical changelog entry and is intentionally left unchanged.

Test plan

  • grep 10.7.0 installer/scripts/reset-lemonade.ps1 → no matches; all three bumped to 10.8.1.
  • Docs Validation stays green (no version-consistency regression — this only changes a fallback default, not docs refs).

Addresses the #1869 review nit: the consistency sweep missed reset-lemonade.ps1's
hardcoded version fallback (used only when not run from a GAIA checkout) plus its
docstring and example. CI was unaffected (the resolver reads LEMONADE_VERSION from
version.py first), but the default should track the pin so it can't drift.
@github-actions github-actions Bot added the installer Installer changes label Jun 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve ✅

This bumps the three stale 10.7.0 references in the standalone Lemonade reset script (version fallback, docstring, and example) to 10.8.1, matching the version landed in #1869. It only matters when the script runs outside a GAIA checkout — inside one it reads LEMONADE_VERSION from version.py first — so this keeps standalone runs from installing a now-stale version. Clean, scoped, and the fallback now tracks the real default.

🔍 Technical details

Verified against the working tree:

  • LEMONADE_VERSION = "10.8.1" in src/gaia/version.py:12 — the new fallback matches the authoritative source.
  • No 10.7.0 references remain in installer/scripts/reset-lemonade.ps1; the three updated lines (29 docstring, 48 example, 70 fallback default) all read 10.8.1.

No issues found. The scope decision to leave the docs/releases/v0.21.2.mdx mention of 10.7.0 untouched is correct — that's a historical changelog entry, not a live default.

Strengths

  • Catches a real loose end: the fallback only fires standalone, exactly the path CI doesn't exercise, so a drift here would silently install the wrong version for non-checkout users.
  • Tightly scoped — only the three references the prior review flagged, with a clear rationale for the one reference intentionally left alone.

@kovtcharov
kovtcharov enabled auto-merge June 26, 2026 06:46
@kovtcharov
kovtcharov added this pull request to the merge queue Jun 26, 2026
Merged via the queue into main with commit d24c661 Jun 26, 2026
38 checks passed
@kovtcharov
kovtcharov deleted the fix/reset-lemonade-stale-version-default branch June 26, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

installer Installer changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants