From 15389780f3ad8797cbba11ca361601128f18c906 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Wed, 1 Apr 2026 20:23:40 -0700 Subject: [PATCH] Stop writing legacy pull request files --- lib/crates/fabro-cli/src/commands/pr/create.rs | 3 --- lib/crates/fabro-workflow/src/pipeline/pull_request.rs | 4 ---- 2 files changed, 7 deletions(-) diff --git a/lib/crates/fabro-cli/src/commands/pr/create.rs b/lib/crates/fabro-cli/src/commands/pr/create.rs index d83af35ae..a8ddb58dd 100644 --- a/lib/crates/fabro-cli/src/commands/pr/create.rs +++ b/lib/crates/fabro-cli/src/commands/pr/create.rs @@ -131,9 +131,6 @@ async fn create_from( match record { Some(record) => { info!(pr_url = %record.html_url, "Pull request created"); - if let Err(err) = record.save(&run_dir.join("pull_request.json")) { - tracing::warn!(error = %err, "Failed to save pull_request.json"); - } if globals.json { print_json_pretty(&record)?; } else { diff --git a/lib/crates/fabro-workflow/src/pipeline/pull_request.rs b/lib/crates/fabro-workflow/src/pipeline/pull_request.rs index b33f4d1c2..5366755cb 100644 --- a/lib/crates/fabro-workflow/src/pipeline/pull_request.rs +++ b/lib/crates/fabro-workflow/src/pipeline/pull_request.rs @@ -585,10 +585,6 @@ pub async fn pull_request(concluded: Concluded, options: &PullRequestOptions) -> draft: pr_cfg.draft, }); pr_url = Some(record.html_url.clone()); - if let Err(e) = record.save(&options.run_dir.join("pull_request.json")) - { - tracing::warn!(error = %e, "Failed to save pull_request.json"); - } } Ok(None) => {} Err(e) => {