✗
Failing This test is currently failing.
Failed: runtime
Failure Output
Showing last 10 of 204 lines
Resolved to: /Users/larsde/src/koru/koru_std/index.kgpu
✗ Nothing found, trying next fallback...
✗✗✗ FATAL: Alias std - all 1 fallback paths exhausted ✗✗✗
═══ ModuleResolver.resolveBoth() ═══
Import path: 'std/index.kjs'
Base file: 'test
... [truncated - 798KB total] Code
// Test: Registry Scope - Debug Flag Enabled
// Ensures [debug] entries are included when compiled with --debug.
~import std/runtime
const std = @import("std");
~pub event debug.dump-state {}
~proc debug.dump-state|zig {
}
~[registry:scope(admin)]std/runtime:register {
[debug]debug:*
}
pub fn main() void {
const segments = [_][]const u8{ "debug", "dump_state" };
const path = Path{
.module_qualifier = null,
.segments = &segments,
};
const inv = Invocation{
.path = path,
.args = &.{},
};
var result: DispatchResult = undefined;
dispatch_admin(&inv, &result) catch |err| {
std.debug.print("Dispatch error: {}\n", .{err});
std.process.exit(1);
};
if (!std.mem.eql(u8, result.branch, "dumped")) {
std.debug.print("Unexpected branch: {s}\n", .{result.branch});
std.process.exit(1);
}
}
Actual
Dispatch error: error.EventDenied
Test Configuration
MUST_RUN
Compiler Flags:
--debug