Skip to content

feat: integrate with new SDK#14

Open
shuning-auki wants to merge 90 commits intodevelopfrom
feature/sdk-integration
Open

feat: integrate with new SDK#14
shuning-auki wants to merge 90 commits intodevelopfrom
feature/sdk-integration

Conversation

@shuning-auki
Copy link
Collaborator

@shuning-auki shuning-auki commented Sep 3, 2025

Description

Reconstruction node has /local-refinement and /global-refinement capabilities, it accepts tasks(not jobs) from domain manager, and verify token from domain manager. It starts running tasks and report the progress/heartbeat to domain manager(so domain manager can cancel the task if running out of credit or mark the task as error when there is no heartbeat from reconstruction node)
You can set the capacity of capabilities as environment variable, it is one by default means domain manager will need to find a different reconstruction node

Status

  • Domain server(data node + domain manager) release
  • Holepunching does not always succeed, if the reconstruction node is running befine NAT, sometimes we get trouble connecting to it. Even with domain manager as relay, it still gets lost sometimes.
  • Every restart of domain manager breaks the connection between domain manager and reconstruction node, reconstruction node takes unpredictable time rejoining the domain cluster.
  • Reconstruction node should still support submitting jobs via RESTful API as a fallback of libp2p

shuning-auki and others added 30 commits April 1, 2025 15:13
Worked before when running everything on same machine.
We don't save them to domain data from local refinements.
We don't use them anyway in the global refinement
avoids duplication and extra work keeping dockerfiles synced
# Conflicts:
#	.gitignore
#	docker/Dockerfile.dev
#	server/helper.go
- fix how we check if the scan has been refined already
- added capacity to local refinement, and once it can't take more requests, it sends Retry back to domain manager
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