You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- verdict: emit a gzipped JSONEachRow row to fixed /tmp paths for the
record workflow to upload, dropping the direct ClickHouse INSERT
- clickhouse_client: strip VerdictRow/INSERT/insert_verdict_row; keep
only connect() as a read-path helper returning the driver Client
- workflow: record job drops ClickHouse write secrets, gains OIDC
id-token + arc role, and aws s3 cp's the row to gha-artifacts
- tests: replace the fake CH insert client with a fake emit; assert
gzip payload contents, key scheme, and default file-writing emit
- docs: README/CHEATSHEET describe the S3 -> replicator ingest path
The record job no longer holds ClickHouse write credentials or runs any
INSERT. Verdict rows land in s3://gha-artifacts/greenlight_pr_state/ and
the clickhouse-replicator-s3 Lambda ingests them into
misc.greenlight_pr_state; this keeps App-key and write access off the
untrusted-content boundary. greenlight retains ClickHouse READ access for
the service's own SELECTs. The object is a single PutObject with no
content-encoding so the ClickHouse s3() reader parses it as stored.
Signed-off-by: Jean Schmidt <contato@jschmidt.me>
0 commit comments