Skip to content

Merge upstream v0.31.0 into main; re-gofmt splice_handler_test.go with the pinned toolchain - #2076

Merged
ako merged 4 commits into
mainfrom
claude/mxcli-dev-upstream-pr-wm0592
Nov 10, 2026
Merged

ako merged 4 commits into
mainfrom
claude/mxcli-dev-upstream-pr-wm0592

Conversation

@ako

@ako ako commented Nov 10, 2026

Copy link
Copy Markdown
Owner

The upstream sync PR mendixlabs#1793 fails make fmt-check on its merge tree: mdl/backend/mfmutator/splice_handler_test.go is not gofmt-clean.

Cause

Upstream's 1365ba438 ("style: gofmt splice_handler_test.go") reformatted that file with a gofmt other than go1.27.3's — the toolchain go.mod pins and make fmt-check runs ($(go env GOROOT)/bin/gofmt). Under that gofmt the fork's version is clean and upstream's is not. The fork had not touched the file since the merge base, so the merge took upstream's version and fmt-check fails. Upstream's own main fails the same check.

Change

  • Merge mendixlabs/mxcli:main (v0.31.0) into the fork, bringing in the two commits it lacked (the release changelog/blog and that gofmt). CHANGELOG.md is resolved by hand: git's merge filed the fork's 11 [Unreleased] entries — work that is not in the v0.31.0 tag — under the new [0.31.0] heading. They stay under [Unreleased]; everything from [0.31.0] down is upstream's text verbatim. Checked: no fork or upstream changelog line is lost or duplicated.
  • Re-gofmt the test file with the toolchain gofmt, which restores the fork's version byte for byte.

Once this lands on main, #1793 (head ako:main) carries the fix and becomes a fast-forward of upstream plus the fork's work.

Validation

  • Reproduced: make fmt-check on refs/pull/1793/merge fails on that file; on this branch it passes.
  • make ci-local on this branch: every step passes. One package, mdl/backend/modelsdk, first failed locally only because the testdata/testapp submodule was not initialised in this container (CI's build-and-test checks it out); with it initialised the package passes.

Generated by Claude Code

ako and others added 4 commits November 9, 2026 21:44
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011oK82qLAJChCDrvVEDoScz
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011oK82qLAJChCDrvVEDoScz
Brings in upstream's two commits the fork lacked: the v0.31.0 release
changelog/blog and a gofmt of splice_handler_test.go.

CHANGELOG resolved by hand. Git's merge placed the fork's 11 Unreleased
entries (work that is not in the v0.31.0 tag) under the new [0.31.0]
heading; they stay under [Unreleased]. Everything from [0.31.0] down is
upstream's text verbatim.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeAyg3qx2my26Q8cvGyW5z
Upstream's 1365ba4 reformatted it with a gofmt other than go1.27.3's,
the toolchain go.mod pins and make fmt-check runs, so the merged tree
failed fmt-check (mendixlabs#1793). This restores the fork's
toolchain-formatted version; make fmt-check passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeAyg3qx2my26Q8cvGyW5z
@ako
ako merged commit 679fd13 into main Nov 10, 2026
21 checks 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.

2 participants