WIP: Run Ginkgo OrderedGroup containers as one unit #87
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.40) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 312 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.344
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #87"
general
weight: 0.35
tchap
This is a PoC for now, DO NOT REVIEW.
---
openshift-tests runs every spec in its own
run-testchild, so BeforeAll andAfterAll in an Ordered container run around each It. Add support for the
g.OrderedGroup() decorator from the openshift Ginkgo fork, so the members of
an opted-in container can run together in one Ginkgo run, in definition order,
with BeforeAll/AfterAll running once.
This is the part of the design that origin's
run-test -n a -n bchild needs.run-suiteis unchanged and still runs one spec per process.list -ojsonl, and the RunGroup hook. The ID is opaque and only unique within one
listing of one binary.
opted-in containers (ID is the fork's node ID as a decimal string, Name is the
container text). Fail listing when the OrderedGroup label is on anything but
the outermost Ordered container. RunGroup resolves member names when called,
runs them with Suite.RunSpecGroup, and matches each SpecReport to its member
by leaf location and full text, keeping the report's start and end times.
The SpecReport to result switch is extracted into specReportToResult.
OrderedGroup.ID and have RunGroup, call it once in-process. A member without
a result is reported as failed. All other invocations (single member, mixed
or multiple groups, no RunGroup) take the existing path. Per-result handling
is shared by both paths (handleResult, finalizeResult).
and g.OrderedGroup(), and re-vendor. This is still a personal fork
pseudo-version; repoint it at openshift/onsi-ginkgo once the fork change is
merged.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
Extension test suites can now run members of an explicitly marked outermost ordered container together in one process, preserving their declared order.
Results are associated with the corresponding members, and members that return no result are reported as failures.
Per-member lifecycle hooks continue to run for each test in the group.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->