Skip to content

fix: E2E and staging stands seed their stores explicitly (post-P0-2)#194

Merged
brownjuly2003-code merged 1 commit into
mainfrom
fix-post-merge-stand-seeding
Jul 12, 2026
Merged

fix: E2E and staging stands seed their stores explicitly (post-P0-2)#194
brownjuly2003-code merged 1 commit into
mainfrom
fix-post-merge-stand-seeding

Conversation

@brownjuly2003-code

Copy link
Copy Markdown
Owner

The audit merge (#189) turned the two push-only lanes red: E2E Tests and Staging Deploy still relied on the API provisioning and seeding its serving store on boot, which audit P0-2 deliberately removed. Both lanes were green on the previous main commit.

  • E2E (503 on entity/metric, 400 on NL/pagination, SSE timeout): docker-compose.e2e.yml gains the same one-shot serving-init service docker-compose.prod.yml already runs — python -m src.serving.provision --schema --seed against the in-stack ClickHouse, with the API depending on its successful completion. The stale workflow comment claiming the API seeds ClickHouse on boot is corrected.
  • Staging (smoke 404 for ORD-20260404-1001 from an empty embedded store): AGENTFLOW_SEED_ON_BOOT=true in values-staging.yaml — the explicit demo-seed opt-in P0-2 left for exactly this ephemeral embedded profile.

Verified: compose parses with the new dependency chain; helm template renders the env into the deployment; a live local boot with a fresh store + seed-on-boot passes the exact staging smoke probes (entity 200, NL query returns rows). The E2E/Staging lanes themselves only run on push to main and will re-verify on merge.

🤖 Generated with Claude Code

Both push-only lanes went red on the audit merge for the same reason:
they still relied on the API provisioning and seeding its store on
boot, which audit P0-2 removed. E2E hit 503/400/timeouts against an
unprovisioned ClickHouse; the staging smoke got 404 for
ORD-20260404-1001 from an empty embedded store. Both lanes were green
on the previous main commit.

- docker-compose.e2e.yml: one-shot serving-init service runs
  'python -m src.serving.provision --schema --seed' against the
  in-stack ClickHouse before the API starts — the same job
  docker-compose.prod.yml already runs; the API now depends on its
  successful completion. The stale workflow comment claiming the API
  seeds on boot is corrected.
- k8s/staging/values-staging.yaml: AGENTFLOW_SEED_ON_BOOT=true — the
  explicit demo-seed opt-in P0-2 left for exactly this ephemeral
  embedded profile. Verified live locally: fresh store + seed-on-boot
  boots, the smoke probes pass (entity ORD-20260404-1001 -> 200,
  'Show me top 3 products' -> rows).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

DORA Metrics

  • Window: last 30 days
  • Branch: main
  • Deployment frequency: 109 total / 25.43 per week
  • Lead time for changes: avg 0.35h / median 0.0h
  • Change failure rate: 66.97% (73/109)
  • MTTR: 2.56h across 1 incident(s)

@brownjuly2003-code brownjuly2003-code merged commit 9ce6f46 into main Jul 12, 2026
23 checks passed
@brownjuly2003-code brownjuly2003-code deleted the fix-post-merge-stand-seeding branch July 12, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants