mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-15 20:05:13 +02:00
[pitboss] phase 01: Track L.0 — FrameworkAdapter trait + per-lang dispatch table
This commit is contained in:
parent
4a2acf1bf9
commit
16834a6e7c
30 changed files with 456 additions and 0 deletions
|
|
@ -40,6 +40,15 @@ use std::sync::Mutex;
|
|||
pub enum TraceStage {
|
||||
SpecStarted,
|
||||
SpecDone,
|
||||
/// Track L.0 — a [`crate::dynamic::framework::FrameworkAdapter`]
|
||||
/// claimed the spec's entry function. `detail` carries the
|
||||
/// adapter name verbatim (e.g. `"flask"`, `"spring-mvc"`).
|
||||
FrameworkAdapterDetected,
|
||||
/// Track L.0 — no registered adapter matched the spec's entry
|
||||
/// function. Emitted alongside [`Self::SpecDone`] for every spec
|
||||
/// so a trace consumer can audit framework-detection coverage by
|
||||
/// counting `framework_adapter_*` events.
|
||||
FrameworkAdapterNone,
|
||||
BuildStarted,
|
||||
BuildDone,
|
||||
SandboxStarted,
|
||||
|
|
@ -56,6 +65,8 @@ impl TraceStage {
|
|||
match self {
|
||||
Self::SpecStarted => "spec_started",
|
||||
Self::SpecDone => "spec_done",
|
||||
Self::FrameworkAdapterDetected => "framework_adapter_detected",
|
||||
Self::FrameworkAdapterNone => "framework_adapter_none",
|
||||
Self::BuildStarted => "build_started",
|
||||
Self::BuildDone => "build_done",
|
||||
Self::SandboxStarted => "sandbox_started",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue