Skip to content

Commit 41d41f0

Browse files
ci: isolate remaining Rust compiles
agent-identity: dev3.direct.omp.uyt54www agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.1.7 agent-runtime: OMP 18.1.7 tooling-profile: dotfiles@39a19af
1 parent 2488dbd commit 41d41f0

2 files changed

Lines changed: 32 additions & 24 deletions

File tree

.github/workflows/nix.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ concurrency:
1010
group: nix-${{ github.workflow }}-${{ github.ref }}
1111
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1212

13-
# Linux uses three balanced shards: after compilation sharing, more shards add setup cost
14-
# without materially shortening the longest remaining provider chain. The aggregation job
13+
# Linux uses four build-graph shards so each remaining cold Rust derivation gets a
14+
# runner instead of competing with an unrelated compile. The aggregation job
1515
# preserves the stable `check-x86_64-linux` status used by branch protection.
1616
jobs:
1717
check-x86_64-linux-shard:
@@ -30,12 +30,14 @@ jobs:
3030
.#checks.x86_64-linux.completions
3131
.#checks.x86_64-linux.hooks-replacement
3232
.#checks.x86_64-linux.pty-fleet-contract
33-
.#checks.x86_64-linux.release-integration
34-
.#checks.x86_64-linux.pi-extension-types
3533
- group: providers
3634
targets: >-
3735
.#checks.x86_64-linux.provider-components
3836
.#checks.x86_64-linux.wasip2-resource-providers
37+
- group: integration
38+
targets: >-
39+
.#checks.x86_64-linux.release-integration
40+
.#checks.x86_64-linux.pi-extension-types
3941
- group: wasm
4042
targets: >-
4143
.#checks.x86_64-linux.wasm-resolver-feature

flake.nix

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -301,27 +301,33 @@
301301
"github_issue_component"
302302
"--test"
303303
"github_pr_component"
304-
"-p"
305-
"st2"
306-
"--features"
307-
"st2/wasip2-provider-runtime"
308-
"--test"
309-
"resource_profile_supervisor_e2e"
310-
"--test"
311-
"resource_provider_e2e"
312304
];
313-
postCheck = extraCargoTest {
314-
label = "wasip2 resource executor";
315-
flags = [
316-
"-p"
317-
"st2-resource-wasip2"
318-
"--features"
319-
"runtime"
320-
"--lib"
321-
"--test"
322-
"executor"
323-
];
324-
};
305+
postCheck =
306+
extraCargoTest {
307+
label = "wasip2 supervisor integration";
308+
flags = [
309+
"-p"
310+
"st2"
311+
"--features"
312+
"wasip2-provider-runtime"
313+
"--test"
314+
"resource_profile_supervisor_e2e"
315+
"--test"
316+
"resource_provider_e2e"
317+
];
318+
}
319+
+ extraCargoTest {
320+
label = "wasip2 resource executor";
321+
flags = [
322+
"-p"
323+
"st2-resource-wasip2"
324+
"--features"
325+
"runtime"
326+
"--lib"
327+
"--test"
328+
"executor"
329+
];
330+
};
325331
});
326332

327333
# Sandbox-safe integration episodes the package's own release-mode boundary cannot reach,

0 commit comments

Comments
 (0)