Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore: gitignore CI log downloads and remove leaked logs (#64564)

Paweł Szczur93d59d902977
diff --git a/.gitignore b/.gitignore
index 39273b3cc75e..1c8aed41a223 100644
--- a/.gitignore
+++ b/.gitignore
@@ -136,6 +136,9 @@ frontend/public/Matter*.woff*
frontend/tmp
frontend/types/
+# CI log downloads (gh-logs-grab / gh run download)
+/logs/
+
# Watchman cache
.watchman-cookie-*
diff --git a/logs/pr-64532/27758632672/findings.json b/logs/pr-64532/27758632672/findings.json
deleted file mode 100644
index 81899b146852..000000000000
--- a/logs/pr-64532/27758632672/findings.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "analyzed_at": "2026-06-18T12:17:23.431698+00:00",
- "run_id": "27758632672",
- "jobs_overview": [
- {
- "job_name": "Python code quality (depot-ubuntu-latest)",
- "conclusion": "failure",
- "duration_secs": 146,
- "failed_steps": [
- {
- "name": "Check static typing",
- "conclusion": "failure",
- "number": 15,
- "duration_secs": 40
- }
- ]
- },
- {
- "job_name": "Python code quality checks",
- "conclusion": "failure",
- "duration_secs": 3,
- "failed_steps": [
- {
- "name": "Check Python CI status",
- "conclusion": "failure",
- "number": 2,
- "duration_secs": 0
- }
- ]
- },
- {
- "job_name": "Determine need to run python checks",
- "conclusion": "success",
- "duration_secs": 21
- }
- ],
- "errors": [
- {
- "framework": "workflow",
- "test_file": "Python code quality checks",
- "test_name": "Check Python CI status",
- "error_type": "failure",
- "message": "",
- "line": null,
- "occurrences": [
- {
- "job": "Python code quality checks",
- "log_file": "",
- "traceback": null
- }
- ]
- },
- {
- "framework": "workflow",
- "test_file": "Python code quality (depot-ubuntu-latest)",
- "test_name": "Check static typing",
- "error_type": "failure",
- "message": "",
- "line": null,
- "occurrences": [
- {
- "job": "Python code quality (depot-ubuntu-latest)",
- "log_file": "",
- "traceback": null
- }
- ]
- }
- ],
- "summary": {
- "total_unique_errors": 2,
- "total_error_occurrences": 2,
- "jobs_analyzed": 2,
- "by_framework": {
- "workflow": {
- "unique_errors": 2,
- "total_occurrences": 2
- }
- }
- }
-}
\ No newline at end of file
diff --git a/logs/pr-64532/27758632672/metadata.json b/logs/pr-64532/27758632672/metadata.json
deleted file mode 100644
index 89952e603a05..000000000000
--- a/logs/pr-64532/27758632672/metadata.json
+++ /dev/null
@@ -1,308 +0,0 @@
-{
- "run_id": "27758632672",
- "run_number": 174877,
- "head_sha": "6eee8d8d0bec909cb34102a8f9f637d44f39fe40",
- "head_branch": "pawel/feat/cache-data-deletion-predicate",
- "pr_number": 64532,
- "html_url": "https://github.com/PostHog/posthog/actions/runs/27758632672",
- "created_at": "2026-06-18T12:13:36Z",
- "updated_at": "2026-06-18T12:16:40Z",
- "total_jobs": 3,
- "failed_jobs": 2,
- "downloaded_at": "2026-06-18T12:17:23.428629+00:00",
- "jobs": [
- {
- "id": 82126849706,
- "name": "Determine need to run python checks",
- "conclusion": "success",
- "started_at": "2026-06-18T12:13:39Z",
- "completed_at": "2026-06-18T12:14:00Z",
- "steps": [
- {
- "name": "Set up job",
- "conclusion": "success",
- "number": 1,
- "started_at": "2026-06-18T12:13:39Z",
- "completed_at": "2026-06-18T12:13:40Z"
- },
- {
- "name": "Run actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd",
- "conclusion": "success",
- "number": 2,
- "started_at": "2026-06-18T12:13:40Z",
- "completed_at": "2026-06-18T12:13:57Z"
- },
- {
- "name": "Run actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3",
- "conclusion": "success",
- "number": 3,
- "started_at": "2026-06-18T12:13:57Z",
- "completed_at": "2026-06-18T12:13:58Z"
- },
- {
- "name": "Run dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d",
- "conclusion": "success",
- "number": 4,
- "started_at": "2026-06-18T12:13:58Z",
- "completed_at": "2026-06-18T12:13:58Z"
- },
- {
- "name": "Post Run actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3",
- "conclusion": "success",
- "number": 7,
- "started_at": "2026-06-18T12:13:58Z",
- "completed_at": "2026-06-18T12:13:59Z"
- },
- {
- "name": "Post Run actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd",
- "conclusion": "success",
- "number": 8,
- "started_at": "2026-06-18T12:13:59Z",
- "completed_at": "2026-06-18T12:13:59Z"
- },
- {
- "name": "Complete job",
- "conclusion": "success",
- "number": 9,
- "started_at": "2026-06-18T12:13:59Z",
- "completed_at": "2026-06-18T12:13:59Z"
- }
- ]
- },
- {
- "id": 82126923512,
- "name": "Python code quality (depot-ubuntu-latest)",
- "conclusion": "failure",
- "started_at": "2026-06-18T12:14:02Z",
- "completed_at": "2026-06-18T12:16:28Z",
- "steps": [
- {
- "name": "Set up job",
- "conclusion": "success",
- "number": 1,
- "started_at": "2026-06-18T12:14:24Z",
- "completed_at": "2026-06-18T12:14:27Z"
- },
- {
- "name": "Run actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd",
- "conclusion": "success",
- "number": 2,
- "started_at": "2026-06-18T12:14:27Z",
- "completed_at": "2026-06-18T12:14:35Z"
- },
- {
- "name": "Set up Python",
- "conclusion": "success",
- "number": 3,
- "started_at": "2026-06-18T12:14:35Z",
- "completed_at": "2026-06-18T12:14:35Z"
- },
- {
- "name": "Install uv",
- "conclusion": "success",
- "number": 4,
- "started_at": "2026-06-18T12:14:35Z",
- "completed_at": "2026-06-18T12:14:41Z"
- },
- {
- "name": "Check uv and Python version compatibility",
- "conclusion": "success",
- "number": 5,
- "started_at": "2026-06-18T12:14:41Z",
- "completed_at": "2026-06-18T12:14:42Z"
- },
- {
- "name": "Install SAML (python3-saml) dependencies",
- "conclusion": "skipped",
- "number": 6,
- "started_at": "2026-06-18T12:14:42Z",
- "completed_at": "2026-06-18T12:14:42Z"
- },
- {
- "name": "Install Python dependencies",
- "conclusion": "success",
- "number": 7,
- "started_at": "2026-06-18T12:14:42Z",
- "completed_at": "2026-06-18T12:14:52Z"
- },
- {
- "name": "Download GeoIP database",
- "conclusion": "success",
- "number": 8,
- "started_at": "2026-06-18T12:14:52Z",
- "completed_at": "2026-06-18T12:14:53Z"
- },
- {
- "name": "Check for syntax errors, import sort, and code style violations",
- "conclusion": "success",
- "number": 9,
- "started_at": "2026-06-18T12:14:53Z",
- "completed_at": "2026-06-18T12:14:54Z"
- },
- {
- "name": "Check formatting",
- "conclusion": "success",
- "number": 10,
- "started_at": "2026-06-18T12:14:54Z",
- "completed_at": "2026-06-18T12:14:56Z"
- },
- {
- "name": "Add ty Problem Matcher",
- "conclusion": "success",
- "number": 11,
- "started_at": "2026-06-18T12:14:56Z",
- "completed_at": "2026-06-18T12:14:56Z"
- },
- {
- "name": "Check ty type checking",
- "conclusion": "success",
- "number": 12,
- "started_at": "2026-06-18T12:14:56Z",
- "completed_at": "2026-06-18T12:15:42Z"
- },
- {
- "name": "Add mypy Problem Matcher",
- "conclusion": "success",
- "number": 13,
- "started_at": "2026-06-18T12:15:42Z",
- "completed_at": "2026-06-18T12:15:42Z"
- },
- {
- "name": "Restore mypy cache",
- "conclusion": "success",
- "number": 14,
- "started_at": "2026-06-18T12:15:42Z",
- "completed_at": "2026-06-18T12:15:46Z"
- },
- {
- "name": "Check static typing",
- "conclusion": "failure",
- "number": 15,
- "started_at": "2026-06-18T12:15:46Z",
- "completed_at": "2026-06-18T12:16:26Z"
- },
- {
- "name": "Save mypy cache",
- "conclusion": "skipped",
- "number": 16,
- "started_at": "2026-06-18T12:16:26Z",
- "completed_at": "2026-06-18T12:16:26Z"
- },
- {
- "name": "Check if \"schema.py\" is up to date",
- "conclusion": "skipped",
- "number": 17,
- "started_at": "2026-06-18T12:16:26Z",
- "completed_at": "2026-06-18T12:16:26Z"
- },
- {
- "name": "Check hogli manifest completeness",
- "conclusion": "skipped",
- "number": 18,
- "started_at": "2026-06-18T12:16:26Z",
- "completed_at": "2026-06-18T12:16:26Z"
- },
- {
- "name": "Run hogli framework tests",
- "conclusion": "skipped",
- "number": 19,
- "started_at": "2026-06-18T12:16:26Z",
- "completed_at": "2026-06-18T12:16:26Z"
- },
- {
- "name": "Run hogli extension tests",
- "conclusion": "skipped",
- "number": 20,
- "started_at": "2026-06-18T12:16:26Z",
- "completed_at": "2026-06-18T12:16:26Z"
- },
- {
- "name": "Run query-performance-ai tests",
- "conclusion": "skipped",
- "number": 21,
- "started_at": "2026-06-18T12:16:26Z",
- "completed_at": "2026-06-18T12:16:26Z"
- },
- {
- "name": "Upload test results",
- "conclusion": "success",
- "number": 22,
- "started_at": "2026-06-18T12:16:26Z",
- "completed_at": "2026-06-18T12:16:26Z"
- },
- {
- "name": "Run dependency detection script tests",
- "conclusion": "skipped",
- "number": 23,
- "started_at": "2026-06-18T12:16:26Z",
- "completed_at": "2026-06-18T12:16:26Z"
- },
- {
- "name": "Upload test results for dependency detection",
- "conclusion": "success",
- "number": 24,
- "started_at": "2026-06-18T12:16:26Z",
- "completed_at": "2026-06-18T12:16:26Z"
- },
- {
- "name": "Post Install uv",
- "conclusion": "skipped",
- "number": 46,
- "started_at": "2026-06-18T12:16:26Z",
- "completed_at": "2026-06-18T12:16:26Z"
- },
- {
- "name": "Post Set up Python",
- "conclusion": "skipped",
- "number": 47,
- "started_at": "2026-06-18T12:16:26Z",
- "completed_at": "2026-06-18T12:16:26Z"
- },
- {
- "name": "Post Run actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd",
- "conclusion": "success",
- "number": 48,
- "started_at": "2026-06-18T12:16:26Z",
- "completed_at": "2026-06-18T12:16:26Z"
- },
- {
- "name": "Complete job",
- "conclusion": "success",
- "number": 49,
- "started_at": "2026-06-18T12:16:26Z",
- "completed_at": "2026-06-18T12:16:27Z"
- }
- ]
- },
- {
- "id": 82127375450,
- "name": "Python code quality checks",
- "conclusion": "failure",
- "started_at": "2026-06-18T12:16:36Z",
- "completed_at": "2026-06-18T12:16:39Z",
- "steps": [
- {
- "name": "Set up job",
- "conclusion": "success",
- "number": 1,
- "started_at": "2026-06-18T12:16:37Z",
- "completed_at": "2026-06-18T12:16:37Z"
- },
- {
- "name": "Check Python CI status",
- "conclusion": "failure",
- "number": 2,
- "started_at": "2026-06-18T12:16:37Z",
- "completed_at": "2026-06-18T12:16:37Z"
- },
- {
- "name": "Complete job",
- "conclusion": "success",
- "number": 3,
- "started_at": "2026-06-18T12:16:37Z",
- "completed_at": "2026-06-18T12:16:37Z"
- }
- ]
- }
- ]
-}
\ No newline at end of file
diff --git a/logs/pr-64532/analysis.json b/logs/pr-64532/analysis.json
deleted file mode 100644
index 93df9eb1931d..000000000000
--- a/logs/pr-64532/analysis.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "analyzed_at": "2026-06-18T12:17:23.431888+00:00",
- "pr_number": 64532,
- "runs_analyzed": [
- {
- "run_id": "27758632672",
- "run_number": 174877,
- "head_sha": "6eee8d8d0bec909cb34102a8f9f637d44f39fe40",
- "failed_jobs": 2,
- "unique_errors": 2
- }
- ],
- "error_timeline": [
- {
- "signature": "workflow::Python code quality (depot-ubuntu-latest)::Check static typing::failure",
- "test_file": "Python code quality (depot-ubuntu-latest)",
- "test_name": "Check static typing",
- "error_type": "failure",
- "message": "",
- "first_seen_run": "27758632672",
- "first_seen_sha": "6eee8d8d0bec909cb34102a8f9f637d44f39fe40",
- "last_seen_run": "27758632672",
- "last_seen_sha": "6eee8d8d0bec909cb34102a8f9f637d44f39fe40",
- "status": "persistent",
- "occurrences_by_run": {
- "27758632672": 1
- },
- "likely_culprit_commit": "6eee8d8d0bec909cb34102a8f9f637d44f39fe40",
- "likely_fix_commit": null
- },
- {
- "signature": "workflow::Python code quality checks::Check Python CI status::failure",
- "test_file": "Python code quality checks",
- "test_name": "Check Python CI status",
- "error_type": "failure",
- "message": "",
- "first_seen_run": "27758632672",
- "first_seen_sha": "6eee8d8d0bec909cb34102a8f9f637d44f39fe40",
- "last_seen_run": "27758632672",
- "last_seen_sha": "6eee8d8d0bec909cb34102a8f9f637d44f39fe40",
- "status": "persistent",
- "occurrences_by_run": {
- "27758632672": 1
- },
- "likely_culprit_commit": "6eee8d8d0bec909cb34102a8f9f637d44f39fe40",
- "likely_fix_commit": null
- }
- ]
-}
\ No newline at end of file