Skip to content

Commit 8aef6ca

Browse files
committed
macos
1 parent 29f2c47 commit 8aef6ca

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

.github/workflows/deploy-github-pages.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env:
2424
jobs:
2525
build_supporting_suites:
2626
name: Restore + Build Supporting Suites
27-
runs-on: ubuntu-latest
27+
runs-on: macos-latest
2828

2929
permissions:
3030
contents: read
@@ -47,7 +47,7 @@ jobs:
4747
test_supporting_suites:
4848
name: Run Supporting Suites
4949
needs: build_supporting_suites
50-
runs-on: ubuntu-latest
50+
runs-on: macos-latest
5151

5252
permissions:
5353
contents: read
@@ -159,7 +159,7 @@ jobs:
159159
needs:
160160
- test_supporting_suites
161161
- test_browser_suites
162-
runs-on: ubuntu-latest
162+
runs-on: macos-latest
163163
env:
164164
APP_PROJECT: src/PrompterOne.Web/PrompterOne.Web.csproj
165165

@@ -190,7 +190,7 @@ jobs:
190190
publish_release_build:
191191
name: Publish Release Build
192192
needs: prepare_release
193-
runs-on: ubuntu-latest
193+
runs-on: macos-latest
194194
env:
195195
APP_PROJECT: src/PrompterOne.Web/PrompterOne.Web.csproj
196196
PAGES_ARTIFACT_ROOT: .artifacts/prompterone-pages
@@ -252,7 +252,7 @@ jobs:
252252
needs:
253253
- prepare_release
254254
- publish_release_build
255-
runs-on: ubuntu-latest
255+
runs-on: macos-latest
256256
env:
257257
RELEASE_ARCHIVE_NAME: prompterone-pages.zip
258258
RELEASE_ARTIFACT_NAME: prompterone-release-package
@@ -305,7 +305,7 @@ jobs:
305305
needs:
306306
- publish_release_build
307307
- publish_github_release
308-
runs-on: ubuntu-latest
308+
runs-on: macos-latest
309309
environment:
310310
name: github-pages
311311
url: ${{ steps.deployment.outputs.page_url }}

.github/workflows/pr-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
jobs:
2323
build_supporting_suites:
2424
name: Restore + Build Supporting Suites
25-
runs-on: ubuntu-latest
25+
runs-on: macos-latest
2626

2727
steps:
2828
- name: Checkout
@@ -42,7 +42,7 @@ jobs:
4242
test_supporting_suites:
4343
name: Run Supporting Suites
4444
needs: build_supporting_suites
45-
runs-on: ubuntu-latest
45+
runs-on: macos-latest
4646

4747
steps:
4848
- name: Checkout

.github/workflows/sync-vendored-streaming-sdks.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ jobs:
2121

2222
- name: Set up Node
2323
uses: actions/setup-node@v6
24-
with:
25-
node-version: "20"
2624

2725
- name: Sync pinned vendored runtimes
2826
env:

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Rule format:
114114
- Browser and component tests must use one selector format only: `data-test`; do not mix in any alternate test-attribute naming variants.
115115
- Shared test-support libraries that contain no runnable test cases must not reference the TUnit engine package directly; keep them on non-engine TUnit packages so solution-level `dotnet test` does not discover zero-test support DLLs as runnable test apps.
116116
- Every runnable test project must declare `MaxParallelTestsForPipeline : EnvironmentAwareParallelLimitBase` with `LocalLimit = 15`; do not keep lower per-project local parallel caps unless the user explicitly asks for an exception.
117-
- Browser-suite runnable test projects must keep `CiLimit = 2` unless the user explicitly approves a different cap; do not inherit a broader default CI worker count after a suite split.
117+
- Browser-suite CI parallelism is user-tunable. When suite duration becomes a bottleneck and the user asks for higher throughput, prefer splitting work into `4` or `8` parallel GitHub Actions test jobs before reaching for timeout increases; only keep lower `CiLimit` caps when a specific flake requires them.
118118
- Local regression verification must include solution-level `dotnet test --solution ./PrompterOne.slnx -m:1` so test-project split changes are proven under the real all-tests entrypoint, not only as isolated per-project runs.
119119
- When the user explicitly asks to validate a test fix in actual GitHub Actions, do not spend more time on local `CI=true` emulation; push the fix and monitor the real CI run instead.
120120
- Selector-contract remediation requests must be handled repo-wide across all relevant test files (`Web.Tests` and `Web.UITests`), not as partial per-file cleanups.

tests/PrompterOne.Testing/EnvironmentAwareParallelLimitBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace PrompterOne.Testing;
77
/// </summary>
88
public abstract class EnvironmentAwareParallelLimitBase : IParallelLimit
99
{
10-
protected virtual int CiLimit { get; } = 2;
10+
protected virtual int CiLimit { get; } = 8;
1111
protected virtual int LocalLimit { get; } = 10;
1212

1313
public int Limit => ResolveLimit();

0 commit comments

Comments
 (0)