Skip to content

feat: bin/brain/serve.go; search backend is Go not Python - #9

Merged
eSlider merged 2 commits into
mainfrom
feat/brain-serve-go
Aug 13, 2026
Merged

eSlider merged 2 commits into
mainfrom
feat/brain-serve-go

Conversation

@eSlider

@eSlider eSlider commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • HTTP package moved to internal/httpapi.
  • Command is bin/brain/serve.go (bin/serve.go is a deprecation shim).
  • Default search binary is var/bin/brain-search (Go). Python is no longer the default exec target.

Gitea: https://git.produktor.io/eSlider/2dph/issues/3 https://git.produktor.io/eSlider/2dph/issues/13

Test plan

  • go test ./internal/httpapi (includes TestDefaultSearchCmdIsBrainNotPython)
  • go test ./... without ladybug

…nary.

Move the HTTP package to internal/httpapi. Default backend is
var/bin/brain-search, not Python. bin/serve.go stays as a deprecation shim.
bin/brain/serve.go is the command; bin/serve.go stays as a tagged
deprecation shim. Tests fail if the default path still names Python.
@cursor

cursor Bot commented Aug 13, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@eSlider
eSlider merged commit 0786ddc into main Aug 13, 2026
2 checks passed
@eSlider
eSlider deleted the feat/brain-serve-go branch August 13, 2026 13:32
eSlider added a commit that referenced this pull request Aug 13, 2026
* feat(brain): HTTP serve from bin/brain/serve.go, default Go search binary.

Move the HTTP package to internal/httpapi. Default backend is
var/bin/brain-search, not Python. bin/serve.go stays as a deprecation shim.

* feat(httpapi): default search backend is var/bin/brain-search.

bin/brain/serve.go is the command; bin/serve.go stays as a tagged
deprecation shim. Tests fail if the default path still names Python.
eSlider added a commit that referenced this pull request Aug 24, 2026
* feat(brain): HTTP serve from bin/brain/serve.go, default Go search binary.

Move the HTTP package to internal/httpapi. Default backend is
var/bin/brain-search, not Python. bin/serve.go stays as a deprecation shim.

* feat(httpapi): default search backend is var/bin/brain-search.

bin/brain/serve.go is the command; bin/serve.go stays as a tagged
deprecation shim. Tests fail if the default path still names Python.
eSlider added a commit that referenced this pull request Sep 15, 2026
* feat(brain): HTTP serve from bin/brain/serve.go, default Go search binary.

Move the HTTP package to internal/httpapi. Default backend is
var/bin/brain-search, not Python. bin/serve.go stays as a deprecation shim.

* feat(httpapi): default search backend is var/bin/brain-search.

bin/brain/serve.go is the command; bin/serve.go stays as a tagged
deprecation shim. Tests fail if the default path still names Python.
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.

1 participant