Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simpleharmony #11358

Merged
merged 8 commits into from
Oct 30, 2023
Merged

Simpleharmony #11358

merged 8 commits into from
Oct 30, 2023

Conversation

snadrus
Copy link
Collaborator

@snadrus snadrus commented Oct 27, 2023

Make the harmonytask system compatible with WinningPost.

  • Use a 3 second timeout.
  • Remove "bump" and URLs as they complicate and risk causing overlapping adds
  • "Follow" (task creator hook) is same-process & db.

The simpler design means that the existing, (passing) unit tests now comprehensively cover the use-cases.

@snadrus snadrus requested a review from a team as a code owner October 27, 2023 03:15
journal/fsjournal/fs.go Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

I moved this file to provider/lpwindow/task.go (mostly to keep storage/wdpost free of changes which don't need to be there + to have an easier time extracting lotus-provider work to a separate repo if that ever needs to happen)

Copy link
Contributor

Choose a reason for hiding this comment

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

(so if there are any changes here, they should be merged into provider/lpwindow/task.go, and this file shouldn't be committed)

Copy link
Contributor

@magik6k magik6k left a comment

Choose a reason for hiding this comment

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

Nothing blocking, just some things to clean up later

Comment on lines 79 to +84
Value: "~/.lotus/storage.json",
},
&cli.StringFlag{
Name: "journal",
Usage: "path to journal files",
Value: "~/.lotus/",
Copy link
Contributor

Choose a reason for hiding this comment

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

.lotus is for the chain node, we want a separate dir for lotus-provider

Copy link
Contributor

Choose a reason for hiding this comment

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

How did you manage to commit that?

Copy link
Contributor

Choose a reason for hiding this comment

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

Removed in f4c061b

@magik6k magik6k merged commit 326d836 into feat/wdpost-adder2 Oct 30, 2023
57 of 89 checks passed
@magik6k magik6k deleted the simpleharmony branch October 30, 2023 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants