Skip to content

Conversation

@compnerd
Copy link
Owner

This new dependency abstracts out the tooling protocol (i.e. BSP, LSP, etc). Add the build before we must scramble.

@compnerd compnerd requested review from Steelskin and Copilot October 31, 2025 15:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR integrates the new swift-tools-protocols dependency into the Swift toolchain build workflow. The dependency abstracts tooling protocols (BSP, LSP, etc.) and is being added proactively before it becomes a critical requirement.

Key Changes:

  • Added swift-tools-protocols as a required input parameter with version 0.0.2
  • Integrated checkout, configuration, build, and installation steps for the new dependency
  • Wired up the dependency for both swift-build and swift-package-manager components

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/swift-toolchain.yml Added checkout, build, configure, and install steps for swift-tools-protocols; configured swift-build and swift-package-manager to depend on it
.github/workflows/build-toolchain.yml Added swift_tools_protocols_revision parameter with default version 0.0.2 and propagated it through the workflow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

This new dependency abstracts out the tooling protocol (i.e. BSP, LSP,
etc). Add the build before we must scramble.
@compnerd
Copy link
Owner Author

Pretty sure that this is ready: downstream run at https://github.com/thebrowsercompany/swift-build/actions/runs/18978169335.

We need to bump the swift-tools-protocols pin to 0.0.8, but will wait to follow upstream on this.

@compnerd
Copy link
Owner Author

compnerd commented Nov 5, 2025

Upstream merged this work, going to merge this in the hopes of getting ahead of this.

@compnerd compnerd merged commit 09a758d into main Nov 5, 2025
@compnerd compnerd deleted the compnerd/protocol branch November 5, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants