Skip to content

remove the rpc for register sandbox, it is now unused - #278

Merged
scott-cotton merged 2 commits into
mainfrom
rm-register-sbx-rpc
Dec 8, 2025
Merged

scott-cotton merged 2 commits into
mainfrom
rm-register-sbx-rpc

Conversation

@scott-cotton

Copy link
Copy Markdown
Member

No description provided.

@daniel-de-vera daniel-de-vera left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. But I think we should mention somewhere in our docs that this CLI is not compatible with old operators, we used to have:

if len(req.Spec.Local) > 0 && status.OperatorInfo == nil {
	// we are dealing with an old operator that doesn't support sandboxes
	// watcher, go ahead and register the sandbox in sandboxmanager.
	if err = sbmgr.RegisterSandbox(resp.Name, resp.RoutingKey); err != nil {
		return fmt.Errorf("couldn't register sandbox in sandboxmanager, %v", err)
	}
}

* refactor auth and fix a default flow issue that crept in

* add viper init with config file info in sbmgr and debug logging for auth and devbox sessions

* CR followup
@scott-cotton

Copy link
Copy Markdown
Member Author

LGTM. But I think we should mention somewhere in our docs that this CLI is not compatible with old operators, we used to have:

if len(req.Spec.Local) > 0 && status.OperatorInfo == nil {
	// we are dealing with an old operator that doesn't support sandboxes
	// watcher, go ahead and register the sandbox in sandboxmanager.
	if err = sbmgr.RegisterSandbox(resp.Name, resp.RoutingKey); err != nil {
		return fmt.Errorf("couldn't register sandbox in sandboxmanager, %v", err)
	}
}

added in TODO for docs in https://github.com/signadot/signadot/issues/6357

@scott-cotton
scott-cotton merged commit 6c6d1c6 into main Dec 8, 2025
@scott-cotton
scott-cotton deleted the rm-register-sbx-rpc branch December 8, 2025 14:24
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