Repository navigation
fix(release): build with Go 1.27.4 and bundle the 3.277.0 language hosts - #74
Merged
Merged
Conversation
… and keep them in the archive
Go 1.27.1 carries critical stdlib advisories (GO-2026-6612, GO-2026-6604; fixed in 1.27.2). The release workflow reads pkg/go.mod, so every module that builds a shipped binary now says go 1.27.4.
The dotnet and yaml hosts move to v3.120.0 and v1.39.2, the tags pulumi 3.277.0 bundles, both built with Go 1.27.4. get-language-providers.sh now checks each archive against scripts/language-provider-checksums.txt, copied from the checksums files published with those releases.
plunge 0.2.1 lost the dotnet, yaml and python-exec hosts and the nodejs and python wrappers because chant builds from a clean export of the commit and bin/ is untracked, so the prep step's output was not there ('no files matched' in the goreleaser log). .goreleaser.plunge.yml now runs the prep script as a before hook inside that export.
Refs INTENTIUS/chant#5452
87 of 94 tasks
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.
plywood's release scan (grype 0.121.1, critical findings with a fix) fails on the plunge 0.2.0 and 0.2.1 binaries because they are built with Go 1.27.1, and on the yaml and dotnet hosts bundled from Pulumi. Needed by INTENTIUS/chant#5452.
What moved
godirective 1.27.1 to 1.27.4 in pkg, sdk/pcl, tests and the three language-host modules. The release workflow readspkg/go.mod, so this sets the release toolchain. 1.27.4 is the newest 1.27.x on go.dev.scripts/get-language-providers.shverifies each archive againstscripts/language-provider-checksums.txt, copied from the checksums files published with those releases (verified against the files, not computed).plunge-upstream-merge.shname go1.27.4 as the host toolchain.Language hosts missing in 0.2.1
Not deliberate.
chant releasebuilds from a clean export of the commit,bin/is untracked, so the prep step's output was absent: the goreleaser log saysno files matchedforbin/{{ .Os }}/*and the arch glob..goreleaser.plunge.ymlnow runsscripts/prep-for-goreleaser.shas abeforehook inside that export. The hook has not been run end to end here; the next release's archive listing is the check.Scan
Built plunge and the five hosts for darwin-arm64 with the release flags and Go 1.27.4, scanned with grype 0.121.1 together with the dotnet and yaml hosts: no critical findings, no Go stdlib findings. The 0.2.1 plunge binary shows 2 critical and 13 stdlib findings. Remaining (fixable, not critical): go-jose v4.1.4 (1 high, 2 medium), klauspost/compress v1.19.2 (1 high).
Checks
go buildandgo vetin pkg, sdk, sdk/pcl and the three host modules;go test -shortfor pkg/plunge, pkg/cmd/pulumi, pkg/util, sdk/pcl and pulumi-language-go.tidy.sh --checkfails only on tests/integration/run_plugin/go, which I did not touch.No changelog entry: changelog/pending is upstream's changie directory and fork-only changes (#71 and earlier) do not add to it.