Skip to content

Commit 900a15d

Browse files
ci: keep provider gate focused
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 ce8f31c commit 900a15d

2 files changed

Lines changed: 31 additions & 39 deletions

File tree

crates/st2-resource-wasip2/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ wasmtime = { version = "=48.0.1", optional = true, default-features = false, fea
1717
"cranelift",
1818
"runtime",
1919
"std",
20-
# Match the agent-spec Wasmtime feature set so the provider-runtime gate can
21-
# reuse the same artifacts for the executor test instead of recompiling Wasmtime.
22-
"wat",
2320
] }
2421

2522
[dev-dependencies]

flake.nix

Lines changed: 31 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,8 @@
279279
# Production variant for catalogs whose resource profiles are WASIp2 components.
280280
#
281281
# Doubles as `checks.wasip2-resource-providers`: one compile of the runtime feature serves
282-
# the package's hermetic suite, the provider/supervisor end-to-end targets, and the
283-
# Component Model executor's fixture and cache trust boundary — the default workspace stays
284-
# Wasmtime-free either way.
282+
# the provider/supervisor end-to-end targets and the Component Model executor's fixture and
283+
# cache trust boundary. The default workspace remains covered by `checks.st2`.
285284
st2ProviderRuntime = st2.overrideAttrs (old: {
286285
pname = "st2-provider-runtime";
287286
cargoBuildFeatures = (old.cargoBuildFeatures or [ ]) ++ [ "wasip2-provider-runtime" ];
@@ -294,39 +293,35 @@
294293
ST2_GITHUB_PR_COMPONENT = providerComponentPath "st2_github_pr_component";
295294
ST2_PTY_STATS_COMPONENT = providerComponentPath "st2_pty_stats_component";
296295
ST2_VISTA_COMPONENT = providerComponentPath "st2_vista_component";
297-
postCheck =
298-
extraCargoTest {
299-
label = "wasip2 resource providers";
300-
flags = [
301-
"-p"
302-
"st2-resource-providers"
303-
"--lib"
304-
"--test"
305-
"github_issue_component"
306-
"--test"
307-
"github_pr_component"
308-
"-p"
309-
"st2"
310-
"--features"
311-
"st2/wasip2-provider-runtime"
312-
"--test"
313-
"resource_profile_supervisor_e2e"
314-
"--test"
315-
"resource_provider_e2e"
316-
];
317-
}
318-
+ extraCargoTest {
319-
label = "wasip2 resource executor";
320-
flags = [
321-
"-p"
322-
"st2-resource-wasip2"
323-
"--features"
324-
"runtime"
325-
"--lib"
326-
"--test"
327-
"executor"
328-
];
329-
};
296+
cargoTestFlags = [
297+
"-p"
298+
"st2-resource-providers"
299+
"--lib"
300+
"--test"
301+
"github_issue_component"
302+
"--test"
303+
"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"
312+
];
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+
};
330325
});
331326

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

0 commit comments

Comments
 (0)