Skip to content

Conversation

@tomatolog
Copy link
Contributor

to allow error message from the reply log into auth.log by daemon

@github-actions
Copy link

🐳 Docker Images Pushed

Buddy Test-Kit Images:

  • Branch image: ghcr.io/manticoresoftware/manticoresearch:test-kit-auth_log_severity-buddy
  • Commit image: ghcr.io/manticoresoftware/manticoresearch:test-kit-e2bb3b82-buddy

Base image used: ghcr.io/manticoresoftware/manticoresearch:test-kit-latest

These images contain the buddy code from this PR and can be used for testing.

Built from commit: 96ddccb

@tomatolog
Copy link
Contributor Author

The latest change reflects the recent discussion at https://docs.google.com/document/d/12vAQgphEA5E5Xwp8xNE5J0CVySNm_5iJnVFPG-plcvU

@github-actions
Copy link

🐳 Docker Images Pushed

Buddy Test-Kit Images:

  • Branch image: ghcr.io/manticoresoftware/manticoresearch:test-kit-auth_log_severity-buddy
  • Commit image: ghcr.io/manticoresoftware/manticoresearch:test-kit-8998ed24-buddy

Base image used: ghcr.io/manticoresoftware/manticoresearch:test-kit-latest

These images contain the buddy code from this PR and can be used for testing.

Built from commit: 1566192

Copy link
Collaborator

@sanikolaev sanikolaev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's improve the examples, so there's at least one which includes the new "log" functionality.

@tomatolog
Copy link
Contributor Author

added example of the log object at the Buddy HTTP response at a51e304

@github-actions
Copy link

github-actions bot commented Dec 2, 2025

clt

❌ CLT tests in test/clt-tests/http-interface/
✅ OK: 11
❌ Failed: 1
⏳ Duration: 39s
👉 Check Action Results for commit 2adf8d9

Failed tests:

🔧 Edit failed tests in UI:

test/clt-tests/http-interface/sql-endpoint.rec
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd $SEARCHD_FLAGS > /dev/null; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE t (id INT, value TEXT, value_attr STRING) min_infix_len = '3' min_prefix_len = '3'; INSERT INTO t VALUES (1, 'example', 'example'), (2, 'test', 'test');"
––– output –––
OK
––– input –––
curl -s -X POST "http://localhost:9308/sql" -d "select * from t limit 1"
––– output –––
OK
––– input –––
curl -s -X POST "http://localhost:9308/sql" -d "select * from t where match('test')"
––– output –––
OK
––– input –––
curl -s -X POST "http://localhost:9308/sql" -d "select count(*) from t"
––– output –––
OK
––– input –––
curl -s -X POST "http://localhost:9308/sql" -d "select * from t where match('exmaple') option fuzzy=1"
––– output –––
- {"took":0,"timed_out":false,"hits":{"total":1,"total_relation":"eq","hits":[{"_id":1,"_score":%{NUMBER},"_source":{"value":"example","value_attr":"example"}}]}}
+ {"error":"only SELECT queries are supported"}
––– input –––
curl -s -X POST "http://localhost:9308/sql" -d "create table t_copy like t"
––– output –––
OK
––– input –––
curl -s -X POST "http://localhost:9308/sql" -d "show tables"
––– output –––
OK
––– input –––
curl -s -X POST "http://localhost:9308/sql" -d "insert into t values (3, 'new', 'new')"
––– output –––
OK
––– input –––
curl -s "http://localhost:9308/sql?query=select%20count(*)%20from%20t"
––– output –––
OK

@github-actions
Copy link

github-actions bot commented Dec 2, 2025

🐳 Docker Images Pushed

Buddy Test-Kit Images:

  • Branch image: ghcr.io/manticoresoftware/manticoresearch:test-kit-auth_log_severity-buddy
  • Commit image: ghcr.io/manticoresoftware/manticoresearch:test-kit-2adf8d99-buddy

Base image used: ghcr.io/manticoresoftware/manticoresearch:test-kit-latest

These images contain the buddy code from this PR and can be used for testing.

Built from commit: a51e304

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.

3 participants