ci: quitar Go 1.24 de la matriz de go-build (el módulo requiere 1.25)#8
Merged
Conversation
go.mod declares 'go 1.25.0', so the build (1.24) matrix job is intrinsically incompatible: running 'go test -coverprofile' under Go 1.24 against a 1.25 module fails with 'go: no such tool covdata' while instrumenting script/print-mcp-diff-configs. The 1.25 job already passes. Align the matrix with the version the module actually requires.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problema
El job de CI
build (1.24)falla de forma sistemática con:La causa es un desajuste de configuración:
go.moddeclarago 1.25.0, pero.github/workflows/go-build.ymlejecuta su matriz con Go 1.24 y 1.25. Corrergo test -coverprofile=…bajo Go 1.24 contra un módulo que requiere 1.25 rompe al instrumentar la cobertura (covdata). El job1.25ya pasa correctamente.Este fallo es preexistente y no está relacionado con ningún cambio de código; es puramente la matriz de versiones desalineada con la versión que el módulo exige.
Cambio
Quitar
1.24de la matriz, dejándola en['1.25'], alineada con la versión declarada engo.mod.Cambio mínimo de un solo archivo de workflow; sin tocar código ni
go.mod.Generated by Claude Code