Upgrade golang to 1.26, and please plugins to latest#3498
Upgrade golang to 1.26, and please plugins to latest#3498SpangleLabs merged 9 commits intothought-machine:masterfrom
Conversation
I think this might be required before trying to upgrade the golang version in please repository, (#3498) to enable CircleCI setup to run tests properly Co-authored-by: roselyn <roselyn@thoughtmachine.net>
|
Dang it, I've bisected various changes and the remaining test failure is due to upgrading go-rules from v1.22.0 to v1.23.0, which was a version released by me 1 year ago. I guess we didn't spot this failure back then... Perhaps we should be updating our plugins more frequently |
I think this might be required before trying to upgrade the golang version in please repository, (thought-machine#3498) to enable CircleCI setup to run tests properly Co-authored-by: roselyn <roselyn@thoughtmachine.net>
|
Other things took priority, and now I'm struggling to remember where I was with this 😢 So, the failing test is effectively running I can reproduce the failure locally by running: My investigations a couple weeks ago found I could fix this by always setting the Line 175 in 4fec6ab Or by removing the please/src/core/build_target.go Line 1971 in c3c0cc9 But I'm not too sure the expectation of the test, here: Line 263 in 1796f69 Which runs plz test, but in the build-linux-alt CICD job, we're defining PLZ_COVER here:Line 98 in 624a917 in order to make it run the e2e test itself with plz cover, via the logic here:Line 48 in 3997e56 So, I guess the actual issue is not the lack of |
|
So, I'm left wondering what If we swapped this line: Line 1152 in c388f68 to be: Then that might fix it, but I'm still not sure of the original intents here |
|
I'm testing this now against our code base with #3519 applied also. If it works, I'll get this PR split up into parts, and get the parts reviewed |
This is extracted from thought-machine#3498, hopefully should work independently of those changes, so we can land it before those
These came up during thought-machine#3498, the updated linter complained about a bunch of list allocations being suboptimal, and I spotted a bunch of typos. So let's fix all those
12a2c10 to
95adf28
Compare
|
Rebased to remove the lint fixes which went into #3522 |
These came up during #3498, the updated linter complained about a bunch of list allocations being suboptimal, and I spotted a bunch of typos. So let's fix all those --------- Co-authored-by: roselyn <roselyn@thoughtmachine.net>
95adf28 to
f547631
Compare
|
Rebased onto master after that landed |
This got missed in thought-machine#3522, and cropped up again in thought-machine#3498 to haunt me. This is some minor performance boost, but the upgraded linter gets sad about it, so let's fix it before thought-machine#3498
f547631 to
1fafd33
Compare
…ver" This seems to resolve issues with e2e tests running `plz test -c cover` and failing for a lack of `COVERAGE_FILE` env variable
1fafd33 to
d441553
Compare
Mostly, I want the updated version of go-rules, for #3497 , but let's upgrade the others too.
Go rules: v1.21.5 -> v1.29.0
Shell rules: v0.1.1 -> v0.2.1
Python rules: v1.7.4 -> v1.14.0
I held off on upgrading python rules plugin to v2
And the cc-rules plugin is already up to date
And upgrading golang from v1.24.10 to v1.26.1