Skip to content

Conversation

@github-actions
Copy link

This PR was automatically opened by a GitHub action. Review the changes included in this PR and determine if they should be included in the release branch. If yes, merge the PR. Otherwise revert changes that should not be included on this branch.

bkhouri and others added 30 commits December 5, 2025 10:50
Enable the Unacceptable language checks in the repository and update the code base to remove such laguage.

Fixes: #9395
Issue: rdar://164975556
- this should allow us to consume available in the Pipe as its filled
and flushed but the running process.

rdar://155634107
- need library search path to ExecutableModules for windows
Update the PIF builder to take into account of the
`--[auto|disable|enable]-index-store` command line option.

When set to `auto`, the PIF builder behaviour does the same as the
Native build system.

Fixes: #9325
Issue: rdar://163961900
- this test seems to cause a crash in libcrypto

rdar://134238535
Enable license header check in GitHub Actions to ensure all source files
contain the appropriate license headers.

Fixes: #9396
Issue: rdar://164975570
Remove placeholder line in WritingCommandPlugin.md.

### Motivation:
The doc contains a meaningless placeholder line.

### Modifications:
Removed the placeholder line.

### Result:
Syntax errors are removed from demo code snippet.
Add a `swift package bsp` command which builds on the Swift Build BSP
interface to provide preparation + compiler args for packages as an out
of process build server.
The triple name in the SwiftBuild build system is redundant. Remove the
triple from the output path.
Ensure we run the pipelines against SwiftBuild to give us extra
confidence with the tooling

Fixes: #9070
Update the SwiftPM's SwiftBuild integration to support enabling
`address`, `thread` and `undefined` sanitizers while erroring out on the
`scudo` and `fuzzer`.

Fixes: #9322 
Fixes: #8869 
Depends on: swiftlang/swift-build#926
Depends on #9388
Provide the downloadable metal toolchain to swiftbuild using
EXTERNAL_TOOLCHAINS_DIR env variable

### Motivation:

#9202 [Parity]
error: unable to spawn process 'metal' (No such file or directory)

Requires CI to include Metal toolchain in order to enable Metal tests:
#9443
It is causing the licence check CI job to fail.
Squashes the warnings in AsyncProcess by adjusting required callbacks to
be `@Sendable`, marking lock protected state as `nonisolated(unsafe)`
and using a `ThreadSafeBox` to capture the process result. Fixes up
warnings in AsyncProcessTests as well.
Fixup licence header in DisableSigpipe.swift
Add an automated tests that validates SwiftBuild build system sets the
dead code stip setting accordingly.

Fixes: #9326
Issue: rdar://163962003
### Motivation:

Ensures external clients (e.g., Xcode) can reuse some PIF GUID
operations implemented internally by SwiftPM.

Without this patch, clients were instead duplicating the exact same code
externally.

### Modifications:

For now, this is a quick fix to ensure that we reuse this single
function from SwiftBuildSupport/PackagePIFBuilder+Helpers.swift

  static func targetGUID(
      forProductName name: String, 
      withId id: String, 
      suffix: TargetSuffix? = nil
  ) -> GUID

Related to rdar://165063807.
…ading issue (#9483)

I've seen these tests fail to load a build description in CI twice.
Expand the issue criteria while I debug the root cause.
….yml

Bumps [swiftlang/github-workflows/.github/workflows/create_automerge_pr.yml](https://github.com/swiftlang/github-workflows) from 0.0.1 to 0.0.2.
- [Release notes](https://github.com/swiftlang/github-workflows/releases)
- [Commits](swiftlang/github-workflows@0.0.1...0.0.2)

---
updated-dependencies:
- dependency-name: swiftlang/github-workflows/.github/workflows/create_automerge_pr.yml
  dependency-version: 0.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…esource bundle (#9486)

This is required in order to ensure that package resource accessors are
correctly generated for the testable variants

Closes #9459
Depends on swiftlang/swift-build#967
This ensures that even if an artifact bundle is downloaded and unpacked
without a file extension, the underlying build system can identify it
correctly.

Closes #9471
Depends on swiftlang/swift-build#962

I wasn't able to add a test for this because I can only reproduce it
with remote packages
The versions without the `traits` parameter were public for clients to
use, but the version with the `traits` parameter were marked as
`package`. Expose them as `public` just like the versions without
traits.
…xecutable product with a different name (#9480)

If an executable target is combined with an executable product at the
PIF layer, it must retain the target's module name, so that tests which
consume it can import the right module name.
…yml from 0.0.1 to 0.0.2 (#9489)

Bumps
[swiftlang/github-workflows/.github/workflows/swift_package_test.yml](https://github.com/swiftlang/github-workflows)
from 0.0.1 to 0.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/swiftlang/github-workflows/releases">swiftlang/github-workflows/.github/workflows/swift_package_test.yml's
releases</a>.</em></p>
<blockquote>
<h2>0.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Remove swift SDK for android suffix by <a
href="https://github.com/justice-adams-apple"><code>@​justice-adams-apple</code></a>
in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/197">swiftlang/github-workflows#197</a></li>
<li>Update workflow references to version 0.0.1 by <a
href="https://github.com/shahmishal"><code>@​shahmishal</code></a> in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/196">swiftlang/github-workflows#196</a></li>
<li>Add support for Windows on ARM by <a
href="https://github.com/jakepetroules"><code>@​jakepetroules</code></a>
in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/190">swiftlang/github-workflows#190</a></li>
<li>Add a test package for CI by <a
href="https://github.com/FranzBusch"><code>@​FranzBusch</code></a> in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/194">swiftlang/github-workflows#194</a></li>
<li>Rename install-swift-nightly.ps1 to install-swift-nightly-main.ps1
by <a
href="https://github.com/jakepetroules"><code>@​jakepetroules</code></a>
in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/200">swiftlang/github-workflows#200</a></li>
<li>Implement retry mechanisms for network download functionality by <a
href="https://github.com/justice-adams-apple"><code>@​justice-adams-apple</code></a>
in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/199">swiftlang/github-workflows#199</a></li>
<li>Install Python 3.10 in dockerless Windows builds by <a
href="https://github.com/matthewbastien"><code>@​matthewbastien</code></a>
in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/201">swiftlang/github-workflows#201</a></li>
<li>Install x86_64 version of Python 3.10 in dockerless windows by <a
href="https://github.com/matthewbastien"><code>@​matthewbastien</code></a>
in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/203">swiftlang/github-workflows#203</a></li>
<li>Add support for Swift 6.3 nightly by <a
href="https://github.com/shahmishal"><code>@​shahmishal</code></a> in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/206">swiftlang/github-workflows#206</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/justice-adams-apple"><code>@​justice-adams-apple</code></a>
made their first contribution in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/197">swiftlang/github-workflows#197</a></li>
<li><a
href="https://github.com/matthewbastien"><code>@​matthewbastien</code></a>
made their first contribution in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/201">swiftlang/github-workflows#201</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/swiftlang/github-workflows/compare/0.0.1...0.0.2">https://github.com/swiftlang/github-workflows/compare/0.0.1...0.0.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/69624bde81a705e142220cba0163b96f6e2838ff"><code>69624bd</code></a>
Add support for Swift 6.3 nightly (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/206">#206</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/35713f899d13ad504c249ecff3fbf90c931c7bcb"><code>35713f8</code></a>
install x86_64 version of Python 3.10 (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/203">#203</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/2b396de06f0b640a12f43a50b6903c366e9837e3"><code>2b396de</code></a>
Install Python 3.10 in dockerless Windows builds (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/201">#201</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/7e706d0016a2ca67777429d2eeb3f974c03efe48"><code>7e706d0</code></a>
Implement retry mechanisms for network download functionality (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/199">#199</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/721a3655a0058e2730afe29bc29877651248992e"><code>721a365</code></a>
Rename install-swift-nightly.ps1 to install-swift-nightly-main.ps1 (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/200">#200</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/736dbca6b98ac3cf58c5817dff7de57560d935f7"><code>736dbca</code></a>
Add a test package for CI (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/194">#194</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/654658d9e83fecec097bd71b658b61db747cad7b"><code>654658d</code></a>
Add support for Windows on ARM (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/190">#190</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/ea107c194340a120f3fb23bc93262bdbbdb6da79"><code>ea107c1</code></a>
Update workflow references to version 0.0.1 (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/196">#196</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/e75f7435417e44d107b7321b409f514892a43227"><code>e75f743</code></a>
Remove swift SDK for android suffix (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/197">#197</a>)</li>
<li>See full diff in <a
href="https://github.com/swiftlang/github-workflows/compare/0.0.1...0.0.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=swiftlang/github-workflows/.github/workflows/swift_package_test.yml&package-manager=github_actions&previous-version=0.0.1&new-version=0.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…0.0.1 to 0.0.2 (#9487)

Bumps
[swiftlang/github-workflows/.github/workflows/soundness.yml](https://github.com/swiftlang/github-workflows)
from 0.0.1 to 0.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/swiftlang/github-workflows/releases">swiftlang/github-workflows/.github/workflows/soundness.yml's
releases</a>.</em></p>
<blockquote>
<h2>0.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Remove swift SDK for android suffix by <a
href="https://github.com/justice-adams-apple"><code>@​justice-adams-apple</code></a>
in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/197">swiftlang/github-workflows#197</a></li>
<li>Update workflow references to version 0.0.1 by <a
href="https://github.com/shahmishal"><code>@​shahmishal</code></a> in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/196">swiftlang/github-workflows#196</a></li>
<li>Add support for Windows on ARM by <a
href="https://github.com/jakepetroules"><code>@​jakepetroules</code></a>
in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/190">swiftlang/github-workflows#190</a></li>
<li>Add a test package for CI by <a
href="https://github.com/FranzBusch"><code>@​FranzBusch</code></a> in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/194">swiftlang/github-workflows#194</a></li>
<li>Rename install-swift-nightly.ps1 to install-swift-nightly-main.ps1
by <a
href="https://github.com/jakepetroules"><code>@​jakepetroules</code></a>
in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/200">swiftlang/github-workflows#200</a></li>
<li>Implement retry mechanisms for network download functionality by <a
href="https://github.com/justice-adams-apple"><code>@​justice-adams-apple</code></a>
in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/199">swiftlang/github-workflows#199</a></li>
<li>Install Python 3.10 in dockerless Windows builds by <a
href="https://github.com/matthewbastien"><code>@​matthewbastien</code></a>
in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/201">swiftlang/github-workflows#201</a></li>
<li>Install x86_64 version of Python 3.10 in dockerless windows by <a
href="https://github.com/matthewbastien"><code>@​matthewbastien</code></a>
in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/203">swiftlang/github-workflows#203</a></li>
<li>Add support for Swift 6.3 nightly by <a
href="https://github.com/shahmishal"><code>@​shahmishal</code></a> in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/206">swiftlang/github-workflows#206</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/justice-adams-apple"><code>@​justice-adams-apple</code></a>
made their first contribution in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/197">swiftlang/github-workflows#197</a></li>
<li><a
href="https://github.com/matthewbastien"><code>@​matthewbastien</code></a>
made their first contribution in <a
href="https://redirect.github.com/swiftlang/github-workflows/pull/201">swiftlang/github-workflows#201</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/swiftlang/github-workflows/compare/0.0.1...0.0.2">https://github.com/swiftlang/github-workflows/compare/0.0.1...0.0.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/69624bde81a705e142220cba0163b96f6e2838ff"><code>69624bd</code></a>
Add support for Swift 6.3 nightly (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/206">#206</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/35713f899d13ad504c249ecff3fbf90c931c7bcb"><code>35713f8</code></a>
install x86_64 version of Python 3.10 (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/203">#203</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/2b396de06f0b640a12f43a50b6903c366e9837e3"><code>2b396de</code></a>
Install Python 3.10 in dockerless Windows builds (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/201">#201</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/7e706d0016a2ca67777429d2eeb3f974c03efe48"><code>7e706d0</code></a>
Implement retry mechanisms for network download functionality (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/199">#199</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/721a3655a0058e2730afe29bc29877651248992e"><code>721a365</code></a>
Rename install-swift-nightly.ps1 to install-swift-nightly-main.ps1 (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/200">#200</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/736dbca6b98ac3cf58c5817dff7de57560d935f7"><code>736dbca</code></a>
Add a test package for CI (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/194">#194</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/654658d9e83fecec097bd71b658b61db747cad7b"><code>654658d</code></a>
Add support for Windows on ARM (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/190">#190</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/ea107c194340a120f3fb23bc93262bdbbdb6da79"><code>ea107c1</code></a>
Update workflow references to version 0.0.1 (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/196">#196</a>)</li>
<li><a
href="https://github.com/swiftlang/github-workflows/commit/e75f7435417e44d107b7321b409f514892a43227"><code>e75f743</code></a>
Remove swift SDK for android suffix (<a
href="https://redirect.github.com/swiftlang/github-workflows/issues/197">#197</a>)</li>
<li>See full diff in <a
href="https://github.com/swiftlang/github-workflows/compare/0.0.1...0.0.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=swiftlang/github-workflows/.github/workflows/soundness.yml&package-manager=github_actions&previous-version=0.0.1&new-version=0.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This PR refactors diagnostic handling in the Swift build system by
introducing a dedicated message handler and per-task output buffering to
properly parse and emit compiler diagnostics individually.

  ### **Key Changes**

  **SwiftBuildSystemMessageHandler**
- Introduced a new dedicated handler class to process
`SwiftBuildMessage` events from the build operation
- Moved message handling logic out of inline nested functions for better
organization and testability
- Maintains build state, progress animation, and diagnostic processing
in a single cohesive component

  **Per-Task Data Buffering**
- Added `taskDataBuffer` struct in `BuildState` to capture compiler
output per task signature
- New `TaskDataBuffer` struct allows for using `LocationContext` or
`LocationContext2` as a subscript key to fetch the appropriate data
buffer for a task, defaulting to the global buffer if no associated task
or target can be identified.
- Task output is accumulated in the buffer as `.output` messages arrive
- Buffer contents are processed when tasks complete, ensuring all output
is captured before parsing
- Failed tasks with no useful or apparent message will be demoted to an
info log level to avoid creating too much noise on the output.
  
  **Per-Task Diagnostic Buffering**
- Added `diagnosticBuffer` property to the `BuildState` to track
diagnostics to emit once we receive a `taskComplete` event
- A check is done to ascertain whether the diagnostic info we receive is
a global/target diagnostic, and if so we emit the diagnostic
immediately; all other diagnostics are accumulated in the buffer to be
emitted once the associated task is completed.
  
  **EmittedTasks**
- Helper struct for the message handler to track which task's messages
have already been emitted
  - Handles both taskIDs as well as taskSignatures
  
  ### **Test Suite**
  
  **SwiftBuildSystemMessageHandlerTests**
- New test suite created to assert that the diagnostic output is
formatted and emitted as expected.
- Uses the initializers for the nested `SwiftBuildMessage` info structs
that are exposed for testing purposes only
plemarquand and others added 6 commits December 11, 2025 12:04
…sue (#9481)

The `InMemoryFilesSystemTests` were using `withKnownIssue` to validate
that the file system was throwing errors when expected. This was
polluting the test report with tests that appeared to have known issues,
but were actually working as intended.

Use `#expect(throws:)` to validate these functions are throwing the
appropriate error as expected.
Link Swift Testing documentation in its test template

### Motivation:

This hopefully makes it easier for new users to find relevant
documentation for our test framework!

It also matches the existing pattern where XCTest documentation is
linked in its respective test template.

### Modifications:

- Add a link to Swift Testing documentation in the test template.
- Trims some trailing whitespace. Realistically, I don't have much
control over this since my editor is respecting the project's
.editorconfig's `trim_trailing_whitespace = true` directive. I can
manually put them back if that would be better.

### Result:

Default Swift Testing template will include a comment linking to the
developer docs.

Testing it locally:
```
~/scraps/autogen/xx.ZtJsA ❯ /Users/jerrychen/workspace/opensource/swift-package-manager/.build/arm64-apple-macosx/debug/swift-package init
Creating library package: xx.ZtJsA
Creating Package.swift
Creating .gitignore
Creating Sources
Creating Sources/xx.ZtJsA/xx_ZtJsA.swift
Creating Tests/
Creating Tests/xx.ZtJsATests/
Creating Tests/xx.ZtJsATests/xx_ZtJsATests.swift
~/scraps/autogen/xx.ZtJsA ❯ /bin/cat Tests/xx.ZtJsATests/xx_ZtJsATests.swift
import Testing
@testable import xx_ZtJsA

@test func example() async throws {
    // Write your test here and use APIs like `#expect(...)` to check expected conditions.
    // Swift Testing Documentation
    // https://developer.apple.com/documentation/testing
}
```
…cking operation (#9493)

Use Task.detachNewThread here because buildSystem.build() is a blocking
operation. Running this on the Swift Concurrency thread pool can block a
worker thread potentially causing thread pool starvation and deadlocks.
By running it on a dedicated thread, we keep the Swift Concurrency pool
available for other async work.

### Motivation:

#9441
…th (#9500)

Don't rely on current working directory in BasicTests - use packagePath

### Motivation:

Encountering race conditions with concurrent tests making use of current
working directory. Removing usages.
Update the build-using-self to the `swift-build` and `swift-test`
executable targets are built using the native build system.

Fixes: #9070
…es) (#9505)

Fix crashes on AL2 where tests where changing current working directory
@jakepetroules
Copy link
Contributor

@swift-ci test

@bkhouri
Copy link
Contributor

bkhouri commented Dec 15, 2025

@swift-ci test

@bkhouri bkhouri enabled auto-merge December 15, 2025 19:38
@owenv
Copy link
Contributor

owenv commented Dec 17, 2025

@swift-ci test macOS

@owenv
Copy link
Contributor

owenv commented Dec 17, 2025

@swift-ci test Linux

@bkhouri bkhouri merged commit 37261f4 into release/6.3 Dec 18, 2025
9 checks passed
@bkhouri bkhouri deleted the automerge/merge-main-2025-12-15_09-06 branch December 18, 2025 06:32
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.