MCPcopy Create free account
hub / github.com/acking-you/static_flow / read_runner_result

Function read_runner_result

crates/backend/src/article_request_worker.rs:438–442  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

436}
437
438async fn read_runner_result(path: &Path) -> Result<ArticleRequestRunnerResult> {
439 let raw = read_result_json(path).await?;
440 ArticleRequestRunnerResult::from_json(raw)
441 .with_context(|| format!("result schema is invalid: {}", path.display()))
442}
443
444fn build_result_file_path(result_dir: &Path, request_id: &str) -> PathBuf {
445 let safe = sanitize_id_for_path(request_id);

Callers 1

process_one_requestFunction · 0.85

Calls 2

read_result_jsonFunction · 0.70
with_contextMethod · 0.45

Tested by

no test coverage detected