Skip to content

docs: add Job Lifecycle & States guide - #105

Open
j-mok-dev wants to merge 1 commit into
eval-hub:mainfrom
j-mok-dev:docs/job-lifecycle-guide
Open

docs: add Job Lifecycle & States guide#105
j-mok-dev wants to merge 1 commit into
eval-hub:mainfrom
j-mok-dev:docs/job-lifecycle-guide

Conversation

@j-mok-dev

Copy link
Copy Markdown
Contributor

What and why

Add a Job Lifecycle & States guide covering how EvalHub tracks evaluation state at two levels: per-benchmark status and overall job status. This information was only in the source code, making it difficult for users to
understand job behaviour, state transitions, and what partially_failed means.

References: eval-hub/eval-hub pkg/api/evaluations.go (State, OverallState, JobPhase), internal/eval_hub/storage/sql/evaluations_status.go` (aggregation rules, cancel cascade).

Type

  • feat
  • fix
  • docs
  • refactor / chore
  • test / ci

Testing

  • Tests added or updated
  • Tested manually

Verified locally:

  • npm run build passes (job-lifecycle page builds successfully)
  • Page renders correctly at /guides/job-lifecycle/
  • Mermaid state diagram renders correctly
  • Tabs (REST API / CLI / Python SDK) switch properly
  • Sidebar shows "Job Lifecycle & States" under Guides
  • Cross-links to Kubernetes lifecycle signals and event violations work
  • All claims fact-checked against server source code and SDK

Explain the two-level state model (per-benchmark State + overall
OverallState), aggregation rules, cancellation behaviour, terminal
state immutability, and the absence of automatic retries.

Includes a Mermaid state diagram, REST API / CLI / Python SDK
status-check examples, and cross-links to the Kubernetes lifecycle
signals and event violations pages.
@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown

Important

Review available on request

  • 🔍 Trigger review

Reviews should be triggered manually for repositories with fewer than 10 stars. Select Trigger review above or comment @coderabbitai review to review the latest changes. For a full review, comment @coderabbitai full review.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 27a71853-b8b2-4b80-b646-e11f5f1cdf98


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant