Skip to content

Conversation

rjan90
Copy link
Contributor

@rjan90 rjan90 commented Jul 31, 2025

Proposed Changes

Backport #13189 to the release/v1.33.1 branch, which is a fix to correctly handle the batch logic of lotus-miner actor settle-deal

Checklist

Before you mark the PR ready for review, please make sure that:

…ettle-deal` (#13189)

* feat(spcli): correctly handle the batch logic of `lotus-miner actor settle-deal`

* retain StateWaitMsg logic

* use v0api.WrapperV1Full

* opt(spcli): push settle-deals Chucks with MpoolBatchPushMessage

* chore(spcli): combine logs to prevent interleaving caused by concurrency

* fix typo

* chore: remove unnecessary var

---------

Co-authored-by: Phi-rjan <orjan.roren@gmail.com>
Co-authored-by: qians <qiangezaici@outlook.com>
@Copilot Copilot AI review requested due to automatic review settings July 31, 2025 06:27
@github-project-automation github-project-automation bot moved this to 📌 Triage in FilOz Jul 31, 2025
@rjan90 rjan90 changed the base branch from master to release/v1.33.1 July 31, 2025 06:27
@rjan90 rjan90 moved this from 📌 Triage to 🔎 Awaiting Review in FilOz Jul 31, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR backports PR #13189 to the release/v1.33.1 branch, which fixes the batch logic of lotus-miner actor settle-deal command. The key improvement is correctly handling large numbers of deals by implementing proper batching and replacing the data source for deal IDs.

  • Updated version from 1.33.1-dev to 1.33.1-rc1 across all components
  • Fixed batch logic in settle-deal command by processing sectors individually and batching messages
  • Added new command-line options for better control over deal settlement operations

Reviewed Changes

Copilot reviewed 18 out of 19 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
cli/spcli/actor.go Enhanced settle-deal command with batching logic, new CLI flags, and improved error handling
cli/state.go Made GetMarketDealIDs function public for reuse in settle-deal implementation
cli/miner/actor.go Updated actor getter reference for settle-deal command
build/version.go Updated version strings from 1.33.1-dev to 1.33.1-rc1
go.mod Updated dependency versions for go-f3, boxo, and other packages
documentation/en/cli-*.md Updated version strings and added new CLI options documentation
CHANGELOG.md Added comprehensive release notes for v1.33.1-rc1
.github/workflows/release.yml Added curl update step for macOS builds

@rjan90
Copy link
Contributor Author

rjan90 commented Jul 31, 2025

Resolved the comments from Copilot here, since it is a backport.

@rjan90 rjan90 self-assigned this Jul 31, 2025
@rjan90 rjan90 requested a review from Kubuxu July 31, 2025 10:33
@github-project-automation github-project-automation bot moved this from 🔎 Awaiting Review to ✔️ Approved by reviewer in FilOz Jul 31, 2025
@rjan90 rjan90 merged commit 335b329 into release/v1.33.1 Jul 31, 2025
98 checks passed
@rjan90 rjan90 deleted the phi/backportv1331 branch July 31, 2025 11:27
@github-project-automation github-project-automation bot moved this from ✔️ Approved by reviewer to 🎉 Done in FilOz Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🎉 Done
Development

Successfully merging this pull request may close these issues.

3 participants