(run_output_dir: &Path)
| 892 | } |
| 893 | |
| 894 | fn validate_run_artifacts(run_output_dir: &Path) -> Result<()> { |
| 895 | for file in [ |
| 896 | "metadata.json", |
| 897 | "benchmark-result.json", |
| 898 | "load-test-result.json", |
| 899 | "metrics-sequencer.json", |
| 900 | "metrics-validator.json", |
| 901 | ] { |
| 902 | let path = run_output_dir.join(file); |
| 903 | eyre::ensure!(path.is_file(), "run artifact is missing: {}", path.display()); |
| 904 | } |
| 905 | Ok(()) |
| 906 | } |
| 907 | |
| 908 | fn parse_created_at(run: &VisualizerRun) -> Result<DateTime<Utc>> { |
| 909 | DateTime::parse_from_rfc3339(&run.created_at) |
nothing calls this directly
no outgoing calls
no test coverage detected