Skip to content

Add an OCR dependency - #914

Open
nolag wants to merge 2 commits into
mainfrom
rtinianov_ocrNetwork
Open

nolag wants to merge 2 commits into
mainfrom
rtinianov_ocrNetwork

Conversation

@nolag

@nolag nolag commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread libs/ocr/client.go Outdated
@@ -0,0 +1,204 @@
package ocr

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.

We should align on how we structure the dependencies

Atm we're using a different pattern

You use: libs/, then have libs/ contain the client + server with internal/pb containing the protos

I use libs/capability/, with libs/capability//remote for client/server and remote/pb for the protos

We just need to pick one really

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Changing a bit, but aligning on remote so not everything is exposed to core.

I'm intentionally hiding the protos. Since research wants a different long-term solution, I'm having a method to add the server and it'll return no longer supported (along with what to do instead) so we can remove it w/o a breaking API change to core itself (allows unblocking others during our migration if anything strange happens).

Comment thread libs/ocr/internal/pb/network.proto Resolved
Base automatically changed from ocr-keystore to main November 23, 2026 15:42
@nolag
nolag force-pushed the rtinianov_ocrNetwork branch from 498fcfb to 49dd581 Compare November 23, 2026 16:02
@nolag
nolag force-pushed the rtinianov_ocrNetwork branch from 49dd581 to 57d4cca Compare November 23, 2026 16:47
@nolag
nolag marked this pull request as ready for review November 23, 2026 16:53
@nolag
nolag requested review from a team as code owners November 23, 2026 16:53
@nolag
nolag enabled auto-merge November 23, 2026 17:12
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