Created
April 29, 2026 00:57
-
-
Save leshikus/f8eceb60d1f8e388c563e688cd5f0112 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ⏺ Here's a summary of all changes made in this session: | |
| ci/jobs/scripts/clickhouse_service.py — main work landed here: | |
| - Added collect_cores static method: compresses up to 3 core.* files with zstd, encrypts each with AES-256-CBC, wraps the AES key with RSA-OAEP using ci/defs/public.pem, | |
| returns encrypted files + RSA-wrapped key. Added assert that the public key exists. | |
| - Added collect_logs, collect_coordination_logs, collect_jemalloc_profiles — ported from ClickHouseProc, adapted for single-server paths. | |
| - Added prepare_logs — combines all four collectors with error handling; replaces the scattered _get_logs_* + _collect_core_dumps pattern from ClickHouseProc. | |
| - Added stdlib imports needed: glob, traceback, sys, defaultdict, List. | |
| ci/jobs/scripts/clickhouse_proc.py: | |
| - Removed collect_and_encrypt_cores function definition (moved to ClickHouseService.collect_cores). | |
| - Removed _collect_core_dumps method. | |
| - Restored core collection in prepare_logs via a lazy from ci.jobs.scripts.clickhouse_service import ClickHouseService inside the if all: branch, calling | |
| ClickHouseService.collect_cores per run_r* directory. | |
| ci/jobs/ast_fuzzer_job.py: | |
| - Replaced from ci.jobs.scripts.clickhouse_proc import collect_and_encrypt_cores with from ci.jobs.scripts.clickhouse_service import ClickHouseService. | |
| - Updated the failure path to call ClickHouseService.collect_cores(str(WORKSPACE_PATH)). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment