Skip to content

ci: Update workflows and conan to use VS2026 and grpc 1.81.0#7550

Open
a1q123456 wants to merge 4 commits into
developfrom
a1q123456/use-vs2026
Open

ci: Update workflows and conan to use VS2026 and grpc 1.81.0#7550
a1q123456 wants to merge 4 commits into
developfrom
a1q123456/use-vs2026

Conversation

@a1q123456

@a1q123456 a1q123456 commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

High Level Overview of Change

This PR updates the pipeline to use the visual studio 2026 runners and extends the timeout to allow windows runners to finish building dependencies

Context of Change

API Impact

  • Public API: New feature (new methods and/or new fields)
  • Public API: Breaking change (in general, breaking changes should only impact the next api_version)
  • libxrpl change (any change that may affect libxrpl or dependents of libxrpl)
  • Peer protocol change (must be backward compatible or bump the peer protocol version)

@a1q123456 a1q123456 added the DraftRunCI Normally CI does not run on draft PRs. This opts in. label Jun 16, 2026
@a1q123456 a1q123456 changed the title Update pipeline and conan to use vs2026 and grpc 1.81.0 ci: Update pipeline and conan to use vs2026 and grpc 1.81.0 Jun 16, 2026
@a1q123456 a1q123456 force-pushed the a1q123456/use-vs2026 branch from 138db79 to 933dfc0 Compare June 16, 2026 14:28
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.0%. Comparing base (0364e4d) to head (b12823b).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop   #7550     +/-   ##
=========================================
- Coverage     82.0%   82.0%   -0.0%     
=========================================
  Files         1009    1009             
  Lines        76782   76782             
  Branches      8940    8937      -3     
=========================================
- Hits         62978   62976      -2     
- Misses       13795   13797      +2     
  Partials         9       9             

see 6 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@a1q123456 a1q123456 requested a review from mathbunnyru June 16, 2026 20:02
@a1q123456 a1q123456 marked this pull request as ready for review June 16, 2026 20:02
@a1q123456 a1q123456 requested a review from bthomee June 16, 2026 20:03

@xrplf-ai-reviewer xrplf-ai-reviewer Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues.

Review by Claude Sonnet 4.6 · Prompt: V15

@a1q123456

Copy link
Copy Markdown
Contributor Author

Making it a draft until I finish updating the devbox labels

@mathbunnyru mathbunnyru left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice, thanks 👍

@a1q123456 a1q123456 marked this pull request as draft June 16, 2026 20:08
{
"platform": "windows/amd64",
"runner": ["self-hosted", "Windows", "devbox"],
"runner": ["self-hosted", "Windows", "dev-box-windows-2026"],

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@a1q123456 please see my comments first on the separate Terraform PR. I'd like for these labels to be changed for consistency.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, I'm going to update the labels and then make this pr ready.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Also I'll pin the chocolatey package versions.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Just realised that we can't make the 2 sets of runners share the same label.

@bthomee bthomee Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Since we won't merge this until next Tuesday to give others time to prepare, I still recommend adjusting the labels the day over the switchover such that:

  • Windows Server 2022 / Visual Studio 2022: "self-hosted", "Windows", "devbox"
    • This will not change the existing runners, so they won't be updated and we can roll back easily. If the rollout goes well, then we can remove these runners fully.
  • Windows Server 2026 / Visual Studio 2026: "self-hosted", "Windows", "devbox", "vs2026"
    • There will be some ~30mins when we can't build, while the new machines are redeployed and reregistered, and then this PR is merged afterwards.
    • The benefit of doing this is that the existing logic to remove offline GitHub runners can then stay the same (the new Powershell logic is overly complex), since you check for runners with the devbox label, and that applies to all machines, now and in the future.

@mathbunnyru mathbunnyru Jun 17, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think in the second bullet point, it should have been 2026.

Given that, this is a bad suggestion because a label set for 2026 is a superset of the one for 2022.
It means that if implemented this way, old branches will be able to choose both the 2022 and 2026 runners.
Note: GitHub logic is "if the runner has all labels requested, then it's acceptable". It doesn't require to be no extra labels, or sth like that.

We'll eventually sunset old runners, but even after we merge the change to develop, we should give some time (again, a week, probably) for people to update branches, so it won't be immediate, and we don't want the same code to get a new meaning in that time.

The current implementation avoids this problem.
We can name it more nicely if needed, but just adding label(s) to the existing set of labels won't definitely work.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Fixed my comment.

Ok, let's just fix the labels after a few weeks, once the vs2022 runners have been turned down.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Btw, if we expect there to be 3.2.1, we can't sunset our runners till we release a new major release (or we'll have to disable Windows for 2.7.1).

@a1q123456 a1q123456 marked this pull request as ready for review June 16, 2026 20:41
@a1q123456 a1q123456 requested a review from bthomee June 16, 2026 23:34
@mathbunnyru mathbunnyru changed the title ci: Update pipeline and conan to use vs2026 and grpc 1.81.0 ci: Update workflows and conan to use VS2026 and grpc 1.81.0 Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DraftRunCI Normally CI does not run on draft PRs. This opts in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants