Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
6d642d8
feat(DAK-5371): expand test coverage + add container integration test…
ferhimedamine May 20, 2026
b4bd57b
fix: correct all httpmock paths and methods to match SDK endpoints
ferhimedamine May 20, 2026
525d876
fix(ci): correct container port 3300→3000 and apply CI rustfmt diffs
ferhimedamine May 20, 2026
d754214
fix(ci): disable auth and set root key for integration container
ferhimedamine May 20, 2026
9f7a3db
fix(test): fix container_namespace_create_and_list expectation
ferhimedamine May 20, 2026
c1fbc6d
feat(tests): full coverage — cli.rs, main.rs, context.rs tests + erro…
ferhimedamine May 21, 2026
b07884b
fix(fmt): apply ARM rustfmt formatting for new test blocks in cli.rs …
ferhimedamine May 21, 2026
a79fe0c
fix(tests): fix 4 failing integration error-case tests
ferhimedamine May 21, 2026
b71e466
feat(dak-5371): add 6 new commands, 35 container tests, comprehensive…
ferhimedamine May 21, 2026
baa343b
fix(fmt): apply ARM rustfmt formatting for new commands and tests
ferhimedamine May 21, 2026
7606bcb
fix(container-tests): add auth headers to raw reqwest calls + fix tes…
ferhimedamine May 21, 2026
d3e706c
fix(clippy+tests): remove unused reqwest imports, fix remaining conta…
ferhimedamine May 21, 2026
848585d
feat(dak-5382): remove vector/admin/graph/entity commands + polish RE…
ferhimedamine May 21, 2026
fb66ac4
fix(clippy): suppress dead_code for retry module
ferhimedamine May 21, 2026
982d315
fix(fmt): remove trailing newlines
ferhimedamine May 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,41 @@ jobs:
with:
shared-key: test
- run: cargo test

integration-test:
name: Integration Test (Container)
runs-on: [self-hosted, linux, arm64]
services:
dakera:
image: ghcr.io/dakera-ai/dakera:latest
ports:
- 13300:3000
env:
DAKERA_ROOT_API_KEY: test-integration-key
DAKERA_AUTH_ENABLED: 'false'
options: >-
--health-cmd "curl -sf http://localhost:3000/health || exit 1"
--health-interval 5s
--health-timeout 3s
--health-retries 10
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
shared-key: integration-test
- name: Build dk binary
run: cargo build --release
- name: Wait for dakera server
run: |
for i in $(seq 1 30); do
curl -sf http://localhost:13300/health && break || true
echo "Waiting for dakera server... attempt $i/30"
sleep 2
done
curl -sf http://localhost:13300/health || (echo "ERROR: dakera server failed to start" && exit 1)
- name: Run container integration tests
env:
DAKERA_TEST_URL: http://localhost:13300
DAKERA_TEST_KEY: test-integration-key
run: cargo test --test integration -- --ignored --nocapture
Loading