Skip to content

test: go 1.27 compatibility#2504

Merged
achilleas-k merged 2 commits into
osbuild:mainfrom
supakeen:fix-go127
Jul 10, 2026
Merged

test: go 1.27 compatibility#2504
achilleas-k merged 2 commits into
osbuild:mainfrom
supakeen:fix-go127

Conversation

@supakeen

Copy link
Copy Markdown
Member

In Go 1.27 the default JSON encoder was changed and thus error messages are slightly different. Let's accept both.

Closes: #2502

In Go 1.27 the default JSON encoder was changed and thus error messages
are slightly different. Let's accept both.

Closes: osbuild#2502

Signed-off-by: Simon de Vlieger <[email protected]>
@supakeen supakeen requested a review from a team as a code owner July 10, 2026 07:58
@supakeen supakeen requested review from avitova, croissanne and lzap July 10, 2026 07:58
Go 1.27 requires these flags to be explicitly set so that transitive
dependencies (like fmt) have their type information loaded when using
go/packages.

Signed-off-by: Simon de Vlieger <[email protected]>
@supakeen supakeen requested a review from achilleas-k as a code owner July 10, 2026 08:27
@supakeen supakeen changed the title fsnode: accept upper/lower case for messages test: go 1.27 compatibility Jul 10, 2026

@achilleas-k achilleas-k left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Splendid.
Thank you

@achilleas-k achilleas-k enabled auto-merge July 10, 2026 08:29
@achilleas-k achilleas-k added this pull request to the merge queue Jul 10, 2026
Merged via the queue into osbuild:main with commit 2f5990a Jul 10, 2026
51 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.

Unit test failures on Go 1.27

3 participants