feat: add Dockerfile and API smoke tests for Linux release#305
Merged
hanneshapke merged 3 commits intomainfrom Apr 6, 2026
Merged
feat: add Dockerfile and API smoke tests for Linux release#305hanneshapke merged 3 commits intomainfrom
hanneshapke merged 3 commits intomainfrom
Conversation
Add a Dockerfile that downloads the latest Linux release from GitHub, installs it on Ubuntu 24.04, and includes an API test script that validates health, version, stats, model info, PII detection, and confidence endpoints. Also fix ONNX runtime library resolution on Linux by adding .so search paths alongside the existing macOS .dylib paths. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
Warning This PR touches 3+ distinct areas of the codebase. Consider splitting into smaller, focused PRs — each covering a single semantic type. Categories found: docs:
code:
chore:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Dockerfile(Ubuntu 24.04, amd64) that downloads the latest Linux release tarball from GitHub Releases, verifies the SHA256 checksum, and installs it to/opt/kiji-proxydocker-test-api.shsmoke test script that starts the proxy and validates/health,/version,/stats,DELETE /mappings,/api/model/info,POST /api/pii/check(with PII detection verification), and/api/pii/confidenceendpoints.sosearch paths alongside the existing macOS.dylibpaths inonnx_model_detector.go, with a platform-aware fallback usingruntime.GOOSTest plan
docker build -t kiji-proxy .succeedsdocker run --rm kiji-proxy /opt/kiji-proxy/docker-test-api.shpasses 10/10 API testsdocker run -p 8080:8080 kiji-proxystarts the server normally.dylibpaths unchanged)🤖 Generated with Claude Code