Skip to content

chore(deps): upgrade MyGo to v0.10.0 for desktop consumers - #49

Merged
bketelsen merged 1 commit into
mainfrom
ghanima/mygo-v0.10.0
Nov 18, 2026
Merged

bketelsen merged 1 commit into
mainfrom
ghanima/mygo-v0.10.0

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Upgrade github.com/egoist/mygo from v0.9.1 to v0.10.0 for the existing desktop consumers. Only go.mod and go.sum change. No compile fix, frostui API change, new runtime library, mobile target or mobile feature is introduced. Existing js/wasm coverage stays in the gate.

Upstream: v0.10.0 release notes, v0.9.1…v0.10.0 comparison.

Upstream compatibility exception

The release notes say there are no breaking Go API changes. The actual ui.Element.PopoverMenu method changes from PopoverMenu(func(*ui.Menu)) ui.Element to PopoverMenu(func(*ui.Menu), ...ui.PopoverMenuOptions) ui.Element (old source, new source). Ordinary direct calls with the existing argument remain compatible. Exact non-variadic interface constraints and method-value function assignments do not.

This upgrade accepts that upstream compatibility exception because frostui neither calls this method nor constrains its signature. rg -n 'PopoverMenu' --glob '*.go' finds only the CommandTable.Menu documentation comment. Consumers that constrain the upstream method must adapt their constraint; this PR does not claim universal upstream source compatibility.

The upstream release also changes desktop behavior: paragraph selection on triple click, attached popup bounds, Windows touch scrolling, and stable Linux tray identities. Linux users may need to set tray visibility once again. No frostui behavior is intentionally changed or new upstream feature adopted. Existing desktop regression tests pass; interactive native desktop checks were not run. iOS and Android work and testing are excluded.

Dependency lifecycle check

Read the v0.10.0 module source in GOMODCACHE: ui/context.go still resets the theme per build; content.go still posts Window.Update and rebuilds after every call; ui/headless.go still uses an in-memory Tester and an explicitly advanced clock; ui/ref.go still registers each handle binding until window close, and ui/runtime.go clears those registrations on close. The kit's existing theme, posting and stable-handle rules remain applicable.

Risk paths

  • go.mod — L2, supply chain: requirements inherited by every consumer. Only the MyGo version changes; direct and indirect dependency sets, purego and the Go version stay unchanged.
  • go.sum — L2, supply chain: dependency checksums. Generated by Go tooling; only the old MyGo checksums are replaced with v0.10.0 checksums.

Validation

  • mise exec [email protected] -- make ci BASE=origin/main passed before the first push: tidy, vet, format, lint on 4 platforms, template/doc guards, headless tests, API/import guards, append-only corrections, js/wasm tests, race tests, and build/vet for all 7 existing targets.
  • git diff --check passed.
  • Revert test: exempt (dependency bump with no new frostui behavior).
  • Cross-review: github-copilot/claude-sonnet-5.5 reviewed base/merge-base ca8e896521798bd07771ff2a8cf92b162697cb7a and head da5797c87a34d9392573b3914100a8b812590c35: Ready; Blocking: none. Coder: openai/gpt-6-astra. One review round, both changed files and the PR claims covered. The reviewer made no writes or test runs; local CI was independently run by the parent.
  • Review assessment: 2 low informational notes require no code correction. The next-tag prediction remains conditional on svu next after merge. The Linux tray visibility note is retained above and should reach consumers with the next tag. No unresolved review work remains. Hosted CI must pass before the readiness label.

After merge

The maintainer must tag a frostui version for consumers to use this dependency through a released module. Run make bump from a clean, updated main checkout with the maintainer's own credentials. The current range since v0.9.0 contains features, so the expected next tag is v0.10.0; check svu next after merge. No GitHub Release workflow is needed for this library. Agents do not tag or release.

@github-actions github-actions Bot added level:L2 Read the diff risk:high Touches a path in .github/risk-paths.json (core ADR-0068) labels Nov 18, 2026
@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 18, 2026
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Readiness confirmed at da5797c, base ca8e896: all hosted checks pass. The full local make ci BASE=origin/main gate passed before first push and again at this committed head. Independent cross-review passed with no blockers (reviewer github-copilot/claude-sonnet-5.5; coder openai/gpt-6-astra). The working tree is clean. risk:high and level:L2 remain on the dependency paths. Native interactive desktop and mobile tests were not run.

@bketelsen
bketelsen merged commit 21ad3fa into main Nov 18, 2026
11 checks passed
@bketelsen
bketelsen deleted the ghanima/mygo-v0.10.0 branch November 18, 2026 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L2 Read the diff ready-for-human Reviewed, CI green: ready for Brian to review and merge risk:high Touches a path in .github/risk-paths.json (core ADR-0068)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants