Skip to content

fix: install jq in Docker builder for daemon API tests#23

Merged
YuweiXiao merged 1 commit intomainfrom
fix/ci-daemon-jq
Mar 12, 2026
Merged

fix: install jq in Docker builder for daemon API tests#23
YuweiXiao merged 1 commit intomainfrom
fix/ci-daemon-jq

Conversation

@YuweiXiao
Copy link
Collaborator

Summary

  • Add jq to the apt-get install list in the Dockerfile builder stage
  • Daemon E2E tests 06-10 (all REST API tests) use jq_field() and poll_api() which shell out to jq to parse JSON responses
  • jq was never installed in the builder image, causing all 5 API tests to fail with jq: command not found

Test plan

  • CI test-daemon job passes — all 10 daemon E2E tests should be green
  • Verify tests 06-10 (api_health, api_add_remove_table, api_group_lifecycle, api_resync, api_advisory_lock) no longer fail with jq: command not found

🤖 Generated with Claude Code

The daemon E2E tests 06-10 use jq to parse JSON responses from the REST
API, but jq was not installed in the builder stage. This caused all five
API tests to fail with "jq: command not found".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@YuweiXiao YuweiXiao merged commit ef322f9 into main Mar 12, 2026
4 of 6 checks passed
@YuweiXiao YuweiXiao deleted the fix/ci-daemon-jq branch March 12, 2026 23:15
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