Repository navigation
fix(deps): build on MyGo v0.9.0 - #8
Conversation
frostyard-machines
left a comment
There was a problem hiding this comment.
Review of head 61e8b92a814df460a3d55cefd3132953bca9671a (base fa06b1d): no findings.
MyGo bump check (AGENTS.md, MyGo's rules), done on v0.9.0's source in GOMODCACHE:
- The theme still resets at the start of every frame (
ui/context.go:c.theme = c.rt.defaultTheme()). Window.Updatehas no change from v0.8.3.- The Tester only adds
AlertsandUseScreenReader; no existing method was removed. - The shared libraries that the kit's MyGo packages load are the same as at v0.8.3 (
libgtk-3,libepoxy, Pango, cairo and the rest). The kit does not import the newnative, video or SQLite code, so the images need no change. - v0.9.0's only breaking change is how SQLite loads, and the kit does not use SQLite.
Checks:
- Local
GOTOOLCHAIN=local make ci BASE=origin/mainwith go1.27.4 passes at this head. make snapshotrenders the 3 examples (light and dark), and the command-center frame looks correct.- The risk-tier section names
go.mod(L2) and gives the reason.api.txtdoes not change.
Note (not a finding), about the overlap with #7: #7 pins MyGo to v0.8.4-0.20261110203557-f5c3a6e111a3. v0.9.0 contains that commit, and 26 commits after it. Both PRs change the same go.mod line, so the one that merges second has a conflict. If this PR merges first, #7 keeps v0.9.0 and drops its pseudo-version. Its design-doc line "The MyGo dependency is pinned to upstream commit f5c3a6e111a3 ... its next release can replace the pseudo-version" then needs an update to name v0.9.0.
The next step is the independent cross-review, after verify is green.
Summary
Moves frostui to MyGo v0.9.0, which ships egoist/mygo#1654 (
Buffer.EditRemote) and #1655 (State.SetReplacements), the editor work Frostnotes uses. The kit needed no code change: the exported API is unchanged, andTestMyGoProductionSwitchExistsstill finds the production switch, themygo_noinspectorfiles and the updater names in v0.9.0's source.v0.9.0's only breaking change is SQLite loading through native modules, which the kit doesn't use. Its other changes that could touch the kit's widgets: focus now scrolls the element into view, lists, outlines and context menus do less work per frame, and glyph positions on Linux match GTK. The tests cover the first two, and the snapshot examples still render.
Apps that import the kit get v0.9.0 as their minimum through this. Frostmail, Frostnotes and ChairLift are moving to it too.
Risk tier
Level: from
go.modin the risk list.Risk tier: 3 — a dependency's minor version, which every app built on the kit gets. No code changes.
Docs housekeeping
Verification
make ci BASE=origin/maingreen on this head: verify, js/wasm tests, the race detector and all 7 cross-targets.