Skip to content

Commit be66dc7

Browse files
avrabeclaude
andauthored
test(e2e): re-point Tier-C kiln blocker to the precise E5DC2 issue kiln#382 (#297) (#324)
kiln split the E5DC2 failure out of kiln#375 into its own root-caused issue, kiln#382: `resolve_command_entry` treats the wasi:cli/run export's index as a defined-only index into `parsed.instances`, missing the `-K` instance-import offset. Verified from the meld side — the fused `hello_c_cli --component` wrap imports K=13 instances before the defined run instance, so `export.idx` (~13+) overruns the defined-only vector → E5DC2. (Same bytes run on wasmtime 41, so meld's output is spec-valid; the defect is kiln-side.) Re-point the `tier_c_fused_executes_on_kiln` ignore reason + docstring from kiln#375 to kiln#382 as the *immediate* blocker, keeping kiln#375 (cross-core user imports) noted as the next layer. Test stays #[ignore]d; un-ignores when kiln#382 lands. kiln#382 itself names this test as what it un-blocks. Refs #297, kiln#382, kiln#375. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 96b5aea commit be66dc7

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

meld-core/tests/golden_e2e.rs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -470,12 +470,15 @@ fn run_on_kiln(wasm: &[u8], tag: &str) -> Option<bool> {
470470
/// component instance index`. The SAME fused artifact runs correctly on
471471
/// wasmtime 41 ("Hello wasm component world from C!", Tier A/B green), so meld's
472472
/// output is spec-valid and the defect is in kilnd's component-instance
473-
/// resolution for a multi-core-module component — tracked in kiln#375
474-
/// (multi-core instantiation; E5DC2 flagged as a possibly-distinct, earlier
475-
/// failure than its user-import linking). Un-ignore when kiln#375 lands; it
476-
/// then pins the meld-to-kiln behavioural seam green.
473+
/// resolution for a multi-core-module component. Root-caused and tracked as
474+
/// kiln#382 (split from kiln#375): `resolve_command_entry` treats the run
475+
/// export's index as a defined-only index into `parsed.instances`, missing the
476+
/// `-K` instance-import offset (meld's fused component imports K=13 instances
477+
/// before the defined run instance, so it overruns). kiln#375 (cross-core user
478+
/// imports) is the *next* layer the seam hits once #382 lands. Un-ignore when
479+
/// kiln#382 lands (then #375 if it re-blocks); it pins the meld-to-kiln seam green.
477480
#[test]
478-
#[ignore = "blocked on kiln#375: kilnd's wasi:cli/run export resolution reports an out-of-bounds component instance index (E5DC2) for meld's multi-core-module fused component; kiln#364 (the _start gate) is resolved"]
481+
#[ignore = "blocked on kiln#382: kilnd's resolve_command_entry misses the -K instance-import offset, so the wasi:cli/run export resolves to an out-of-bounds component-instance index (E5DC2) for meld's multi-core fused component; then kiln#375 (cross-core user imports) is the next layer. kiln#364 (the _start gate) is resolved"]
479482
fn tier_c_fused_executes_on_kiln() {
480483
if kilnd_path().is_none() {
481484
eprintln!("skipping Tier C: kilnd not found (set MELD_KILND or build ../../kiln)");

0 commit comments

Comments
 (0)