╭ changed ───╮ │src/push.zig│ ╰────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │327 return err; │ │328 }; │ │329 │ │330 + find.refresh(repo_opts, io, allocator, fork_repo) catch |err| { │ │331 + serve_common.logError(io, error_writer, "failed to refresh file index: {s}\n", .{@errorName(err)});│ │332 + }; │ │333 + if (!published) return response.finish(writer, null); │ │334 + │ │335 var progress = PushProgress{ .response = &response, .writer = writer, .label = "Updating patches" }; │ │336 progress.run(io, .{ .start = .{ .kind = .writing_patch, .estimated_total_items = 1 } }) catch {}; │ │337 │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │339 var refreshed = false; │ │340 update: { │ │341 const revision_id = revision_id_maybe orelse break :update; │ │337 - if (!published) break :update; │ │342 var update_arena = std.heap.ArenaAllocator.init(allocator); │ │343 defer update_arena.deinit(); │ │344 const target_update_moment = evt.currentMoment(repo_opts, target_repo) catch break :update;│ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │367 } │ │368 │ │369 if (!refreshed) pch.refreshMergeability(repo_opts, io, allocator, target_repo, patch_id); │ │366 - find.refresh(repo_opts, io, allocator, fork_repo) catch |err| { │ │367 - serve_common.logError(io, error_writer, "failed to refresh file index: {s}\n", .{@errorName(err)});│ │368 - }; │ │370 progress.run(io, .{ .complete_one = .writing_patch }) catch {}; │ │371 progress.run(io, .{ .end = .writing_patch }) catch {}; │ │372 │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯