Commit Graph

34 Commits

Author SHA1 Message Date
a298568ef0 fix: use type=raw for Docker tags to preserve v prefix
Some checks failed
CI / Docker Build & Push (push) Failing after 3m3s
CI / Notify (push) Successful in 2s
CI / Lint (push) Successful in 2m54s
CI / Test (push) Successful in 3m2s
CI / Release (push) Successful in 1m15s
docker/metadata-action type=semver strips the v prefix, causing
tag mismatch between git tags (v0.1.3) and Docker tags (0.1.3).
Switch to type=raw to pass through the version as-is.
v0.1.5
2026-02-22 09:58:40 -05:00
4c3eb4952a fix: switch Docker build to plain docker build/push with insecure registry
Some checks failed
CI / Lint (push) Successful in 2m50s
CI / Release (push) Successful in 1m32s
CI / Test (push) Successful in 2m51s
CI / Docker Build & Push (push) Failing after 3m1s
CI / Notify (push) Successful in 2s
- Drop buildx (setup-buildx-action, build-push-action)
- Use insecure HTTP registry with SIGHUP daemon reload
- Use org-level PAT secrets for registry auth
v0.1.4
2026-02-21 22:37:55 -05:00
4de3639df0 fix: use docker login CLI instead of login-action for Gitea compat
Some checks failed
CI / Lint (push) Successful in 2m18s
CI / Release (push) Successful in 1m20s
CI / Docker Build & Push (push) Failing after 5m43s
CI / Test (push) Successful in 3m20s
CI / Notify (push) Has been cancelled
docker/login-action@v3 fails with 'Username and password required' on
Gitea Actions — secrets not passed to action with: inputs. Switch to
direct docker login CLI which reliably interpolates secrets in run: steps.
v0.1.3
2026-02-21 19:34:27 -05:00
f6623d5473 fix: switch Docker registry to HTTPS endpoint with login-action
Some checks failed
CI / Release (push) Successful in 1m17s
CI / Docker Build & Push (push) Failing after 8m21s
CI / Test (push) Successful in 3m11s
CI / Lint (push) Successful in 2m18s
CI / Notify (push) Successful in 2s
- Replace gitea-http.gitea.svc.cluster.local:3000 with registry.lab.daviestechlabs.io
- Use docker/login-action@v3 for Gitea registry auth (proper buildx integration)
- Remove manual base64 auth to ~/.docker/config.json (not picked up by buildkit)
- Remove insecure registry daemon.json config and Docker restart
- Remove buildkitd insecure registry config
- Remove cache-from/cache-to type=gha (not supported on Gitea Actions)

Fixes 401 Unauthorized: reqPackageAccess on Docker push
v0.1.2
2026-02-21 18:05:40 -05:00
f61488a868 style: gofmt + fix copylocks lint warning
Some checks failed
CI / Test (push) Successful in 2m49s
CI / Lint (push) Successful in 3m16s
CI / Release (push) Successful in 2m8s
CI / Docker Build & Push (push) Failing after 6m13s
CI / Notify (push) Successful in 1s
v0.1.1
2026-02-21 15:36:46 -05:00
e2176331c8 feat: migrate from msgpack to protobuf (handler-base v1.0.0)
Some checks failed
CI / Lint (push) Failing after 2m49s
CI / Test (push) Successful in 3m36s
CI / Notify (push) Has been cancelled
CI / Docker Build & Push (push) Has been cancelled
CI / Release (push) Has been cancelled
- Replace msgpack encoding with protobuf wire format
- Update field names to proto convention (UserId, RequestId, EnableRag, etc.)
- Use messages.EffectiveQuery() standalone function
- Cast TopK to int32 for proto compatibility
- Rewrite tests for proto round-trips
2026-02-21 15:30:04 -05:00
87d0545d2c feat: replace fake streaming with real SSE StreamGenerate
Some checks failed
CI / Lint (push) Successful in 3m0s
CI / Test (push) Successful in 3m23s
CI / Docker Build & Push (push) Failing after 4m55s
CI / Release (push) Successful in 1m4s
CI / Notify (push) Successful in 1s
Use handler-base StreamGenerate() to publish real token-by-token
ChatStreamChunk messages to NATS as they arrive from Ray Serve,
instead of calling Generate() and splitting into 4-word chunks.

Add 8 streaming tests: happy path, system prompt, RAG context,
nil callback, timeout, HTTP error, context canceled, fallback.
v0.1.0 v0.0.9
2026-02-21 09:23:57 -05:00
7678d911fe chore: bump handler-base to v0.1.5, add netrc secret mount to Dockerfile
Some checks failed
CI / Release (push) Successful in 1m11s
CI / Lint (push) Successful in 3m55s
CI / Test (push) Successful in 3m36s
CI / Docker Build & Push (push) Failing after 8m10s
CI / Notify (push) Successful in 1s
v0.0.8
2026-02-20 18:15:47 -05:00
7d72400070 ci: retrigger build
Some checks failed
CI / Test (push) Successful in 2m51s
CI / Release (push) Successful in 1m3s
CI / Docker Build & Push (push) Failing after 28s
CI / Lint (push) Successful in 3m27s
CI / Notify (push) Successful in 1s
v0.0.7
2026-02-20 10:05:21 -05:00
451e600985 fix: add GOPRIVATE and git auth for private handler-base module
Some checks failed
CI / Lint (push) Successful in 2m32s
CI / Test (push) Successful in 2m54s
CI / Release (push) Successful in 1m1s
CI / Docker Build & Push (push) Failing after 6m40s
CI / Notify (push) Successful in 1s
- Set GOPRIVATE=git.daviestechlabs.io to bypass public Go module proxy
- Configure git URL insteadOf with DISPATCH_TOKEN for private repo access
v0.0.6
2026-02-20 09:22:35 -05:00
4b7b434eb7 fix: rename GITEA_TOKEN to DISPATCH_TOKEN
Some checks failed
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Release (push) Has been cancelled
CI / Docker Build & Push (push) Has been cancelled
CI / Notify (push) Has been cancelled
2026-02-20 09:10:20 -05:00
808f41bc90 ci: add handler-base auto-update workflow, remove old Python CI
Some checks failed
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Release (push) Has been cancelled
CI / Docker Build & Push (push) Has been cancelled
CI / Notify (push) Has been cancelled
2026-02-20 09:05:58 -05:00
2fa3668e8a fix: use tagged handler-base v0.1.3, remove local replace directive
Some checks failed
CI / Docker Build & Push (push) Has been cancelled
CI / Notify (push) Has been cancelled
CI / Lint (push) Failing after 57s
CI / Test (push) Failing after 1m34s
CI / Release (push) Has been cancelled
2026-02-20 09:00:45 -05:00
b48fbb424d fix: resolve golangci-lint errcheck warnings
Some checks failed
CI / Lint (push) Failing after 57s
CI / Test (push) Failing after 1m22s
CI / Release (push) Has been cancelled
CI / Docker Build & Push (push) Has been cancelled
CI / Notify (push) Has been cancelled
- Add error checks for unchecked return values (errcheck)
- Remove unused struct fields (unused)
- Fix gofmt formatting issues
2026-02-20 08:45:24 -05:00
c27d192705 Merge pull request 'feature/go-handler-refactor' (#1) from feature/go-handler-refactor into main
Some checks failed
CI / Lint (push) Failing after 57s
CI / Test (push) Failing after 1m24s
CI / Notify (push) Successful in 1s
CI / Release (push) Has been skipped
CI / Docker Build & Push (push) Has been skipped
Reviewed-on: #1
2026-02-20 12:33:32 +00:00
4175e2070c feat: migrate to typed messages, drop base64
Some checks failed
CI / Lint (pull_request) Failing after 58s
CI / Test (pull_request) Failing after 1m22s
CI / Notify (pull_request) Successful in 1s
CI / Release (pull_request) Has been skipped
CI / Docker Build & Push (pull_request) Has been skipped
- Switch OnMessage → OnTypedMessage with natsutil.Decode[messages.ChatRequest]
- Return *messages.ChatResponse / *messages.ChatStreamChunk (not map[string]any)
- Audio as raw []byte in msgpack (25% wire savings vs base64)
- Remove strVal/boolVal/intVal helpers
- Add .dockerignore, GOAMD64=v3 in Dockerfile
- Update tests for typed structs (9 tests pass)
2026-02-20 07:10:43 -05:00
609b44de83 feat: add e2e tests + benchmarks, fix config API
- e2e_test.go: full pipeline tests (LLM-only, RAG, TTS, timeout)
- main.go: fix config field->method references (EmbeddingsURL() etc.)
- Benchmarks: LLMOnly 136µs/op, RAGFlow 496µs/op
2026-02-20 06:45:21 -05:00
adcdb87b9a feat: rewrite chat-handler in Go
Replace Python chat handler with Go for smaller container images.
Uses handler-base Go module for NATS, health, telemetry, and service clients.

- RAG pipeline: embed → Milvus → rerank → LLM
- Streaming response chunks
- Optional TTS synthesis
- Custom response_subject support for companions-frontend
2026-02-19 17:58:52 -05:00
a1cf87909d fixing ruff suggestions and tests needed updating.
All checks were successful
CI / Lint (push) Successful in 1m39s
CI / Test (push) Successful in 1m37s
CI / Release (push) Successful in 6s
CI / Notify (push) Successful in 1s
v0.0.5
2026-02-18 07:37:13 -05:00
24a4098c9a fixing up chat-handler.
Some checks failed
CI / Lint (push) Failing after 1m39s
CI / Test (push) Failing after 1m37s
CI / Release (push) Has been skipped
CI / Notify (push) Successful in 1s
2026-02-18 07:29:41 -05:00
b34e8d2e1c fix: replace astral-sh/setup-uv action with shell install
All checks were successful
CI / Lint (push) Successful in 58s
CI / Test (push) Successful in 1m50s
CI / Release (push) Successful in 25s
CI / Notify (push) Successful in 1s
The JS-based GitHub Action doesn't work on Gitea's act runner.
Use curl installer + GITHUB_PATH instead.
v0.0.4
2026-02-13 19:40:53 -05:00
3a4a13f0de chore: add Renovate config for automated dependency updates
All checks were successful
CI / Notify (push) Successful in 1s
CI / Lint (push) Successful in 1m8s
CI / Test (push) Successful in 2m0s
CI / Release (push) Successful in 4s
Ref: ADR-0057
v0.0.3
2026-02-13 15:33:43 -05:00
3d71ecd8e0 chore: add pre-commit config with ruff hooks
All checks were successful
CI / Lint (push) Successful in 2m30s
CI / Test (push) Successful in 2m27s
CI / Release (push) Successful in 1m12s
CI / Notify (push) Successful in 2s
v0.0.2
2026-02-02 09:10:33 -05:00
b8ba237946 fix: ruff formatting and allow-direct-references for handler-base dep
All checks were successful
CI / Lint (push) Successful in 43s
CI / Test (push) Successful in 49s
CI / Release (push) Successful in 6s
CI / Notify (push) Successful in 1s
v0.0.1
2026-02-02 08:44:34 -05:00
09e8135f93 fix: upgrade setup-uv to v7 with explicit activate-environment: false
Some checks failed
CI / Release (push) Has been skipped
CI / Notify (push) Successful in 2s
CI / Lint (push) Failing after 20s
CI / Test (push) Failing after 26s
2026-02-02 08:26:10 -05:00
cd7e1d2155 fix: downgrade setup-uv to v4 for act_runner compatibility
Some checks failed
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Release (push) Has been cancelled
CI / Notify (push) Has been cancelled
2026-02-02 08:25:23 -05:00
e261e2c1a8 fix: use --extra dev for optional dependencies
Some checks failed
CI / Lint (push) Failing after 20s
CI / Test (push) Failing after 19s
CI / Release (push) Has been skipped
CI / Notify (push) Successful in 1s
2026-02-02 08:14:59 -05:00
24c3208247 fix: add --all-groups to uv sync to install dev dependencies
Some checks failed
CI / Lint (push) Failing after 19s
CI / Test (push) Failing after 19s
CI / Release (push) Has been skipped
CI / Notify (push) Successful in 2s
2026-02-02 08:11:45 -05:00
6def622ffd feat: add ntfy notifications and semantic versioning (ADR-0015)
Some checks failed
CI / Lint (push) Failing after 17s
CI / Test (push) Failing after 18s
CI / Release (push) Has been skipped
CI / Notify (push) Successful in 2s
2026-02-02 08:00:30 -05:00
930740dd1c ci: re-trigger pipeline
Some checks failed
CI / Lint (push) Failing after 1s
CI / Test (push) Failing after 1s
2026-02-02 07:51:08 -05:00
bd021b4c53 ci: add Gitea Actions workflow, add uv.lock
Some checks failed
CI / Lint (push) Failing after 1s
CI / Test (push) Failing after 1s
2026-02-02 07:16:11 -05:00
bed9fa4297 refactor: consolidate to handler-base, migrate to pyproject.toml, add tests 2026-02-02 07:11:02 -05:00
6ef42b3d2c feat: Add chat handler with RAG pipeline
- chat_handler.py: Standalone NATS handler with RAG
- chat_handler_v2.py: Handler-base implementation
- Dockerfiles for both versions

Pipeline: Embeddings → Milvus → Rerank → LLM → (optional TTS)
2026-02-01 20:37:34 -05:00
cf859ead4e Initial commit 2026-02-02 01:36:39 +00:00