Skip to content

ci: add job timeout-minutes and fix garbled smoke step name/comment#149

Merged
CGFixIT merged 1 commit into
mainfrom
claude/cyclaw-optimization-review-xc121y-ci
Jun 21, 2026
Merged

ci: add job timeout-minutes and fix garbled smoke step name/comment#149
CGFixIT merged 1 commit into
mainfrom
claude/cyclaw-optimization-review-xc121y-ci

Conversation

@CGFixIT

@CGFixIT CGFixIT commented Jun 21, 2026

Copy link
Copy Markdown
Owner

What

Three small, focused hardening/cleanup changes to .github/workflows/ci.yml:

  1. Add timeout-minutes: 30 to the test job. The install step pulls torch + chromadb + sentence-transformers, and the RAG smoke spins up an embedded ChromaDB. Today the job has no time bound, so a hung wheel download or a wedged embedded service would run until GitHub Actions' 6-hour default, burning minutes on both OS legs of the matrix (ubuntu + windows). A 30-minute cap fails fast instead.

  2. Fix a garbled prepare-step comment. # data/corpus/cyclaw_overview.md is committed — RAG wuery emulationinttest indexes it. → readable English.

  3. Rename a misleading step. The step named "Unit Tests + API integration test / RAG Query Smoke (ChromaDB 1.5.6 + BM25 + RRF)" only runs python -m tests.ci_rag_smoke — the unit tests + coverage run in the next step. Renamed to "RAG Query Smoke (ChromaDB 1.5.6 + BM25 + RRF)" so the step log matches what it actually does.

Why it helps

  • Cost / reliability: bounded CI runs can't silently hang and drain Actions minutes.
  • Readability: the workflow log and comments now accurately describe each step, which matters when triaging a red run.

Risk

Low. No change to what the steps execute — only a job-level timeout, a comment, and a display name. YAML validated locally (yaml.safe_load).

🤖 Generated with Claude Code

https://claude.ai/code/session_01NXYYNSfqvBrAgghyNmzbHs


Generated by Claude Code

- Add timeout-minutes: 30 to the test job. The install step pulls
  torch + chromadb + sentence-transformers and the RAG smoke starts an
  embedded ChromaDB; without a bound, a hung download or wedged service
  would idle to GitHub's 6-hour default and waste Actions minutes on
  both OS legs of the matrix.
- Fix a garbled prepare-step comment ("RAG wuery emulationinttest").
- Rename the smoke step from "Unit Tests + API integration test / RAG
  Query Smoke" to "RAG Query Smoke" — it only runs tests.ci_rag_smoke;
  the unit tests + coverage run in the following step. The old name
  implied this step ran the unit suite.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NXYYNSfqvBrAgghyNmzbHs
@CGFixIT CGFixIT marked this pull request as ready for review June 21, 2026 02:45
@CGFixIT CGFixIT merged commit fcf5e7e into main Jun 21, 2026
15 checks passed
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