mirror of
https://github.com/rsyslog/rsyslog.git
synced 2026-08-24 19:24:14 +02:00
Why VictoriaLogs jsonline is a target deployment path for omhttp users and we need a direct integration signal in PR CI. Impact Adds a real-container omhttp->VictoriaLogs validation path and a scoped CI job for relevant PRs. Before/After Before: no CI test validated omhttp against VictoriaLogs jsonline. After: PRs touching omhttp or this test run a minimal live integration check. Technical Overview Add tests/omhttp-victorialogs-jsonline.sh to send batched newline JSONL payloads with omhttp to /insert/jsonline and verify indexed results via /select/logsql/query. Use jsonf list templating and a per-run marker to isolate records during query validation. Keep transport on plain HTTP for CI simplicity. Register the test in tests/Makefile.am under TESTS_OMHTTP so it is part of testbench distribution and invocable as a single .log target. Add a new run_checks.yml job named victorialogs_CI that starts a VictoriaLogs service container, runs only omhttp-victorialogs-jsonline.log, and gates execution with changed-files filters for the test, omhttp components, and the workflow itself. With the help of AI-Agents: Codex (GPT-5)