✓
Passing This code compiles and runs correctly.
Code
// Test 612: CCP Opt-In via Import
// Demonstrates that importing std/ccp_taps enables JSON observability
~import std/ccp
const std = @import("std");
~tor greet { name: string } -> string
~proc greet|zig {
std.debug.print("Hello, {s}!\n", .{name});
return "Hello!";
}
~greet(name: "Koru")
Actual
{"type":"transition","timestamp":1785464380056,"source":"koru:start","branch":"done","destination":null,"timestamp_ns":1785464380056887000}
Hello, Koru!
{"type":"transition","timestamp":1785464380056,"source":"input:greet","branch":"__void","destination":null,"timestamp_ns":1785464380056931000}
{"type":"transition","timestamp":1785464380056,"source":"koru:end","branch":"done","destination":null,"timestamp_ns":1785464380056934000}
Flows
flow ~greet click a branch to expand · @labels scroll to their anchor
greet (name: "Koru")
Test Configuration
MUST_RUN