Skip to content

Commit 098f611

Browse files
cquil11claude
andauthored
chore(ci): remove retired agentx-v1 database as an ingest target (#550)
The agentx-v1 staging Neon DB held agentic-traces benchmark results during the AgentX rollout. Its data was migrated into the main production DB on 2026-07-10 and the staging DB is being retired, so all ingests (including agentic) now target the production database. - ingest-agentic-results.yml: drop the agentx-v1 database-target choice, its DATABASE_AGENTX_V1_WRITE_URL secret wiring, and the agentx-v1 case branch; production/dev targets are unchanged. - .claude/agents/ingest.md: reframe the manual-ingest agent doc around the production DB and its cache-invalidate endpoint instead of the feat/agentx preview deployment. The "write URL must be provided by the invoker" safety rule is unchanged. The DATABASE_AGENTX_V1_WRITE_URL repo secret can be deleted from GitHub settings once this lands (not possible from code). 中文:移除已退役的 agentx-v1 数据库入库目标。该暂存 Neon 数据库曾在 AgentX 上线期间存放 agentic-traces 基准测试结果,其数据已于 2026-07-10 迁移至主生产数据库,此后所有入库(包括 agentic)均直接 写入生产数据库。本次删除 ingest-agentic-results.yml 中的 agentx-v1 目标选项、对应 secret 及 case 分支,并将手动入库 agent 文档改为面向 生产数据库;production/dev 目标保持不变。合并后可在 GitHub 设置中 删除 DATABASE_AGENTX_V1_WRITE_URL secret。 Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 5402406 commit 098f611

2 files changed

Lines changed: 6 additions & 17 deletions

File tree

.claude/agents/ingest.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
name: ingest
3-
description: Ingest a benchmark run from GitHub Actions into the Neon DB used by the feat/agentx deployment. The target DB write URL must be provided in the invocation. Handles standard ingest, delete+reingest, and changelog entries. Invoke when the user asks to ingest a workflow run URL.
3+
description: Ingest a benchmark run from GitHub Actions into the Neon DB backing this dashboard. The target DB write URL must be provided in the invocation. Handles standard ingest, delete+reingest, and changelog entries. Invoke when the user asks to ingest a workflow run URL.
44
tools: Bash, Read, Edit, Write
55
---
66

7-
You ingest benchmark runs from `SemiAnalysisAI/InferenceX` GitHub Actions into the Neon branch used by the `feat/agentx` deployment of this dashboard. Operate on `/Users/quilicic/InferenceX-app`.
7+
You ingest benchmark runs from `SemiAnalysisAI/InferenceX` GitHub Actions into the Neon DB backing this dashboard. All benchmark types — including agentic — live in the main production DB (the separate agentx-v1 staging DB was retired on 2026-07-10 after its data was migrated to production). Operate on `/Users/quilicic/InferenceX-app`.
88

99
## Environment
1010

@@ -13,7 +13,7 @@ You ingest benchmark runs from `SemiAnalysisAI/InferenceX` GitHub Actions into t
1313
- Use the **direct (non-pooled)** host for ingest/migrations — no `-pooler` in the hostname.
1414
- For psql diagnostics you may use the same URL directly: `psql "$DATABASE_WRITE_URL" -c "..."`.
1515
- **Local dev server**: usually `http://localhost:3002` (port 3000 is a different project on this machine — never purge port 3000)
16-
- **Preview URL**: `https://inferencemax-app-git-feat-agentx-semianalysisai.vercel.app`
16+
- **Production URL**: `https://inferencex.semianalysis.com`
1717
- **INVALIDATE_SECRET** lives in repo root `.env` under that key.
1818
- **GitHub auth**: `gh auth token` for `gh` calls and the GITHUB_TOKEN env var.
1919

@@ -35,13 +35,8 @@ Then refresh the materialized view (the script's auto-refresh sometimes races):
3535
SECRET=$(grep "^INVALIDATE_SECRET" /Users/quilicic/InferenceX-app/.env | cut -d= -f2 | tr -d '"')
3636
# Localhost (port 3002, NOT 3000)
3737
curl -s -X POST -H "Authorization: Bearer $SECRET" http://localhost:3002/api/v1/invalidate
38-
# Preview
39-
mkdir -p /tmp/vp && cd /tmp/vp \
40-
&& vercel link --project inferencemax-app --scope semianalysisai --yes >/dev/null 2>&1 \
41-
&& vercel curl /api/v1/invalidate \
42-
--deployment https://inferencemax-app-git-feat-agentx-semianalysisai.vercel.app \
43-
--yes -- -sS -X POST -H "Authorization: Bearer $SECRET"
44-
rm -rf /tmp/vp
38+
# Production
39+
curl -sS -X POST -H "Authorization: Bearer $SECRET" https://inferencex.semianalysis.com/api/v1/invalidate
4540
```
4641

4742
## Delete + reingest (use only when user explicitly says "delete and reingest" OR when the run supersedes prior data with the same (model, hw, framework, precision))
@@ -171,7 +166,7 @@ If the user doesn't specify a description, DO NOT skip the entry and DO NOT bloc
171166
3. **Ingest** via the standard path. Do NOT use AIPerf tagging unless the user explicitly asks for a separate legend line.
172167
4. **Refresh materialized view**.
173168
5. **Add changelog entry — ALWAYS, MANDATORY.** Every ingest gets exactly one changelog entry (see "Adding a perf changelog entry — MANDATORY"). Use the user's text if given (substituting `<SKU>`); otherwise derive one from the run name and add it anyway. Never skip this step.
174-
6. **Purge both caches** (localhost 3002 + preview — never port 3000).
169+
6. **Purge both caches** (localhost 3002 + production — never port 3000).
175170
7. **Report** the row count, date, hardware, run id, and the changelog id (always present).
176171

177172
## Related: ingesting agentic _datasets_ (not benchmark runs)

.github/workflows/ingest-agentic-results.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ on:
4343
options:
4444
- production
4545
- dev
46-
- agentx-v1
4746

4847
jobs:
4948
ingest:
@@ -74,7 +73,6 @@ jobs:
7473
REQUESTED_DATABASE_TARGET: ${{ github.event.client_payload.database-target || inputs.database-target || 'production' }}
7574
DATABASE_WRITE_URL_PRODUCTION: ${{ secrets.DATABASE_WRITE_URL }}
7675
DATABASE_WRITE_URL_DEV: ${{ secrets.DATABASE_DEV_WRITE_URL }}
77-
DATABASE_WRITE_URL_AGENTX_V1: ${{ secrets.DATABASE_AGENTX_V1_WRITE_URL }}
7876
run: |
7977
case "$REQUESTED_DATABASE_TARGET" in
8078
production)
@@ -85,10 +83,6 @@ jobs:
8583
database_write_url="$DATABASE_WRITE_URL_DEV"
8684
cache_invalidate_url="https://inferencemax-app-git-feat-agentx-semianalysisai.vercel.app/api/v1/invalidate"
8785
;;
88-
agentx-v1)
89-
database_write_url="$DATABASE_WRITE_URL_AGENTX_V1"
90-
cache_invalidate_url="https://inferencemax-app-git-feat-agentx-semianalysisai.vercel.app/api/v1/invalidate"
91-
;;
9286
*)
9387
echo "::error::Unsupported database-target: $REQUESTED_DATABASE_TARGET"
9488
exit 1

0 commit comments

Comments
 (0)