Skip to content

feat(agents): declare per-case prerequisites and audit cluster fit - #788

Merged
thxCode merged 1 commit into
mainfrom
prereqs
Oct 25, 2026
Merged

thxCode merged 1 commit into
mainfrom
prereqs

Conversation

@thxCode

@thxCode thxCode commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

What type of PR is this?

/kind enhancement
/kind cleanup

/area testing

What this PR does / why we need it:

Every case in the e2e suite now carries a machine-readable Prerequisites: line between its title block and Goal, naming in one line what it minimally needs: node count, accelerator vendors, hardware features, cluster kind and gating environment variables. A new read-only cases/_env-audit.sh reads those lines against a live cluster and prints one RUN/SKIP/UNKNOWN row per case, so a coding agent can decide what to run before spending a single fixture.

The builder-env variables in SKILL.md now say who consumes them (build-load.sh, not the cases) and what each one controls.

Implemented by MiniMax Code, reviewed by Qwen (GLM-5.3-Flash). The review found six issues (one major: a case overstated features=rdma when its negative assertion is the point on RDMA-less nodes; five minor: missing env-var inputs, an EFA probe matching the wrong key, a partition probe missing the coarse family key, and a store probe answering SKIP where its own contract says UNKNOWN) — all fixed here.

Which issue(s) this PR links to:

Relates #786

Every case header gains a Prerequisites line between the title block
and Goal, naming in one machine-readable line what the case minimally
needs: node count, accelerator vendors, hardware features, cluster
kind and gating environment variables. A new read-only _env-audit.sh
reads those lines against a live cluster and prints one
RUN/SKIP/UNKNOWN row per case, so a coding agent can decide what to
run before spending a single fixture. The builder-env variables in
SKILL.md now say who consumes them (build-load.sh, not the cases).

Reviewed by qwen (GLM-5.3-Flash): one major (case-52 overstated
features=rdma when its negative assertion is the point on RDMA-less
nodes) and five minors (missing env-var inputs on cases 28 and 39,
an EFA probe that could never fire, a partition probe missing the
coarse family key, and a store probe answering SKIP where its own
contract says UNKNOWN) - all fixed here.

Signed-off-by: thxCode <thxcode0824@gmail.com>
@gpustack-code-review

Copy link
Copy Markdown

✅ OpenCodeReview: Review skipped: no items were selected.

@thxCode
thxCode merged commit 1a5b0e3 into main Oct 25, 2026
7 checks passed
@thxCode
thxCode deleted the prereqs branch October 25, 2026 13:22
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