Repository navigation
Conversation
- hindsight-api.service: FastAPI server on port 8888 - hindsight-control-plane.service: Next.js web UI on port 9999 - hindsight.install: post-install hook for user/group creation and shebang fix - PKGBUILD: builds monorepo, installs Python packages via uv + local paths, bundles Node.js standalone build, creates hindsight user, installs systemd units - env.env.systemd: env template for systemd deployment - packaging/systemd/README.md: usage instructions
…ordering - hindsight-api: inline all env vars instead of EnvironmentFile (fixes startup freeze) - hindsight-api: add HINDSIGHT_API_SKIP_LLM_VERIFICATION, HINDSIGHT_API_PORT=6699 - hindsight-api: add After=postgresql.service, PrivateTmp=false - hindsight-api: ProtectSystem=full + PrivateTmp=false is the working combo (full whitelist includes /tmp) - hindsight-control-plane: add Requires=hindsight-api.service for startup ordering - hindsight-worker: new service file for async import processing - embeddings.py: add XPU torch detection for Arc A770
nicoloboschi
left a comment
There was a problem hiding this comment.
this is a good example but I prefer to not commit it since it contains custom hindsight vars
can you remove the ollama config?
Fixes 502 Bad Gateway when browser accesses CP from remote. CP→API proxy fails without this env var.
|
Thanks for this @Raudbjorn — the Intel XPU support is genuinely useful and I've pulled it out into its own PR (#2260) so it can land independently with your authorship credited. I'm going to close this PR in favor of that split. Below is the reasoning and what would be needed to revisit the packaging side. Why splitThis PR bundles two unrelated concerns: a product-code change ( Packaging — concrete issues found
On distro packaging in-treeConventionally Arch packaging lives in the AUR rather than the upstream repo, since it's distro-specific and needs ongoing maintenance + CI to not bitrot. If the team does want first-party packaging here, the bar would be: upstream URL/source, correct license, config actually wired via Happy to look again if you'd like to reopen the packaging piece against that bar. Thanks again for the XPU contribution! 🙏 |
Summary
Packaging for Arch Linux with systemd service units, dependency ordering, and Arc A770 XPU support.
Changes
hindsight-api.service:
hindsight-control-plane.service:
hindsight-worker.service:
embeddings.py: Added detection for Arc A770 XPU embedding acceleration
Deployment
The installed package at provides:
Ports 6699 and 9966 are reachable over Tailscale at and .
Known limitations