diff --git a/Makefile.toml b/Makefile.toml index 838c9a33..21568da1 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -356,14 +356,17 @@ args = [ # Real-world job benchmark smoke -# | task | type | cwd | -# | --------------------------- | --------- | --- | -# | real-world-job-smoke | composite | | -# | real-world-job-smoke-json | command | | -# | real-world-job-smoke-report | command | | -# | real-world-memory | composite | | -# | real-world-memory-json | command | | -# | real-world-memory-report | command | | +# | task | type | cwd | +# | -------------------------------- | --------- | --- | +# | real-world-job-smoke | composite | | +# | real-world-job-smoke-json | command | | +# | real-world-job-smoke-report | command | | +# | real-world-memory | composite | | +# | real-world-memory-json | command | | +# | real-world-memory-report | command | | +# | real-world-job-operator-ux | composite | | +# | real-world-job-operator-ux-json | command | | +# | real-world-job-operator-ux-report | command | | [tasks.real-world-job-smoke] workspace = false @@ -457,6 +460,55 @@ args = [ "tmp/real-world-memory/real-world-memory-report.md", ] +[tasks.real-world-job-operator-ux] +workspace = false +dependencies = [ + "real-world-job-operator-ux-report", +] + +[tasks.real-world-job-operator-ux-json] +workspace = false +command = "cargo" +args = [ + "run", + "-p", + "elf-eval", + "--bin", + "real_world_job_benchmark", + "--", + "run", + "--fixtures", + "apps/elf-eval/fixtures/real_world_job/operator_debugging_ux", + "--out", + "tmp/real-world-job/real-world-job-operator-ux-report.json", + "--run-id", + "real-world-job-operator-ux", + "--adapter-id", + "fixture_operator_ux", + "--adapter-name", + "ELF operator UX fixture", +] + +[tasks.real-world-job-operator-ux-report] +workspace = false +dependencies = [ + "real-world-job-operator-ux-json", +] +command = "cargo" +args = [ + "run", + "-p", + "elf-eval", + "--bin", + "real_world_job_benchmark", + "--", + "publish", + "--report", + "tmp/real-world-job/real-world-job-operator-ux-report.json", + "--out", + "tmp/real-world-job/real-world-job-operator-ux-report.md", +] + # Meta # | task | type | cwd | diff --git a/apps/elf-api/src/routes.rs b/apps/elf-api/src/routes.rs index 2f6e6516..3887ba2d 100644 --- a/apps/elf-api/src/routes.rs +++ b/apps/elf-api/src/routes.rs @@ -2969,6 +2969,8 @@ mod tests { assert!(html.contains("Providers And Ranking")); assert!(html.contains("Relation Context")); assert!(html.contains("directTraceId")); + assert!(html.contains("trace_id")); + assert!(html.contains("loadInitialTrace")); assert!(!html.contains("method: \"PATCH\"")); assert!(!html.contains("method: \"PUT\"")); assert!(!html.contains("method: \"DELETE\"")); diff --git a/apps/elf-api/static/viewer.html b/apps/elf-api/static/viewer.html index f25cb956..05de83af 100644 --- a/apps/elf-api/static/viewer.html +++ b/apps/elf-api/static/viewer.html @@ -1506,6 +1506,30 @@