Fix CI: build tags for optional dapp-fm packages and Go 1.25 covdata workaround #113
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.
CI failing on two issues: (1) dapp-fm packages embed
demo-track.smsg(50MB, gitignored), (2) Go 1.25.0 emits stderr on packages without tests when using-coverprofile, causing non-zero exit.Changes
Build tags for optional packages
// +build dappfmtocmd/dapp-fm*andpkg/player/assets.gopkg/player/assets_stub.go(!dappfmtag) that excludes demo track, returnsfs.ErrNotExistfromGetDemoTrack()-tags dappfmwhen demo file availableTaskfile test workaround
Distinguishes real failures from Go 1.25.0's
no such tool "covdata"warnings.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
invalid-url/tmp/go-build3019234592/b493/website.test /tmp/go-build3019234592/b493/website.test -test.testlogfile=/tmp/go-build3019234592/b493/testlog.txt -test.paniconexit0 -test.timeout=10m0s conf�� 220236-3a3c6141ego1.25.0 220236-3a3c6141e-c=4 ux-amd64/pkg/tool/linux_amd64/vet(dns block)/tmp/go-build376386275/b509/website.test /tmp/go-build376386275/b509/website.test -test.testlogfile=/tmp/go-build376386275/b509/testlog.txt -test.paniconexit0 -test.gocoverdir=/tmp/go-build376386275/b509/gocoverdir -test.timeout=10m0s -test.coverprofile=/tmp/go-build376386275/b509/_cover_.out s/web_identity_provider.go(dns block)/tmp/go-build1019962875/b509/website.test /tmp/go-build1019962875/b509/website.test -test.testlogfile=/tmp/go-build1019962875/b509/testlog.txt -test.paniconexit0 -test.gocoverdir=/tmp/go-build1019962875/b509/gocoverdir -test.timeout=10m0s -test.coverprofile=/tmp/go-build1019962875/b509/_cover_.out ver .cfg p/go-build376386/home/REDACTED/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/pkg/toopercent encoding/csv -lang=go1.24 /home/REDACTED/go/-trimpath 3862�� /tmp/go-build376-p 386275/b495/covemain ux-amd64/pkg/tool/linux_amd64/cover 6016232/b458 main ted_at} ux-amd64/pkg/toopercent(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.