Skip to content

Update frontend build to go 1.25#2504

Closed
Databean wants to merge 5 commits intogoogle:mainfrom
Databean:frontend_update_go
Closed

Update frontend build to go 1.25#2504
Databean wants to merge 5 commits intogoogle:mainfrom
Databean:frontend_update_go

Conversation

@Databean
Copy link
Copy Markdown
Member

@Databean Databean commented May 1, 2026

This is a prerequisite for using the go-sdk mcp library: https://github.com/modelcontextprotocol/go-sdk/blob/f5f2015413f17f578fbacc839d2c05d0fdb3f1cc/go.mod#L3

Assisted-by: Antigravity:Gemini Next
Bug: b/508728217

Databean added 5 commits May 1, 2026 16:56
Assisted-by: Antigravity:Gemini Next
Bug: b/508728217
…e build warnings

Assisted-by: Antigravity:Gemini Next
Bug: b/508728217
Assisted-by: Antigravity:Gemini Next
Bug: b/508728217
Assisted-by: Antigravity:Gemini Next
Bug: b/508728217
Assisted-by: Antigravity:Gemini Next
Bug: b/508728217
@Databean Databean requested review from jemoreira and ser-io May 1, 2026 23:57
@Databean Databean changed the title Update host orchestrator build to go 1.25 Update frontend build to go 1.25 May 2, 2026
module github.com/google/android-cuttlefish/frontend/src/host_orchestrator

go 1.17
go 1.25
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.

This has been a problem in the past because external users are in older OS versions that don't have this version available. For example, ubuntu 24.04 comes with go 1.22 by default while ubuntu 22.04 comes with 1.18; the newest version that can be installed in both is 1.23.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This seems to work on my machine where go version reports go version go1.24.13 linux/amd64, I validated it using tools/buildutils/build_package.sh frontend. I think older versions of go are capable of downloading newer versions, but updating the debian/control file will probably make it fail.

@Databean
Copy link
Copy Markdown
Member Author

Databean commented May 2, 2026

I tried PR #2501 with go 1.18 and it seems to build, so I'll drop this PR for now.

@Databean Databean closed this May 2, 2026
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