diff --git a/.github/workflows/node-clickhouse.js.yml b/.github/workflows/node-clickhouse.js.yml index c722f201..e2302e68 100644 --- a/.github/workflows/node-clickhouse.js.yml +++ b/.github/workflows/node-clickhouse.js.yml @@ -52,4 +52,6 @@ jobs: CLICKHOUSE_TSDB: qryn INTEGRATION_E2E: 1 CLOKI_EXT_URL: 127.0.0.1:3100 + QRYN_LOGIN: a + QRYN_PASSWORD: b run: node qryn.mjs >/dev/stdout & npm run test --forceExit diff --git a/package.json b/package.json index 3b521a52..3dc192e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qryn", - "version": "3.0.12", + "version": "3.0.16", "description": "Polyglot Observability Stack with ClickHouse storage", "main": "qryn_node.js", "bin": { diff --git a/wasm_parts/main.js b/wasm_parts/main.js index 6ab616d1..8901bf31 100644 --- a/wasm_parts/main.js +++ b/wasm_parts/main.js @@ -167,8 +167,6 @@ const pql = async (query, wasmCall, getData) => { writer.writeString(JSON.stringify(matchers)) writer.writeBytes([data]) } - fs.writeFileSync('req.txt', query) - fs.writeFileSync('data.bin', writer.buffer()) ctx.write(writer.buffer()) _wasm.exports.onDataLoad(reqId) return ctx.read() @@ -273,7 +271,7 @@ class Uint8ArrayWriter { writeString (str) { const bStr = (new TextEncoder()).encode(str) this.writeULeb(bStr.length) - this.maybeGrow(b.length) + this.maybeGrow(bStr.length) this.buf.set(bStr, this.i) this.i += bStr.length return this