✓
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":1787153887912,"source":"koru:start","branch":"done","destination":null,"timestamp_ns":1787153887912256000}
Hello, Koru!
{"type":"transition","timestamp":1787153887912,"source":"input:greet","branch":"__void","destination":null,"timestamp_ns":1787153887912498000}
{"type":"transition","timestamp":1787153887912,"source":"koru:end","branch":"done","destination":null,"timestamp_ns":1787153887912504000}
Flows
flow ~greet click a branch to expand · @labels scroll to their anchor
greet (name: "Koru")
Test Configuration
MUST_RUN