Repository navigation
Conversation
Signed-off-by: Ho Lim <[email protected]>
Authoring session — openingScope: the delegated selector-authoring branch through 2026-11-03T00:19:59.590Z. Inherited parent history and subsequent report preparation/publication are excluded. Metadata identifies synthetic continuity recovery; the counts below cover the persisted active authoring record, not reconstructed prehistory.
|
|
Thank you for working on this, @HOYALIM. We're closing this pull request in favor of #14236, which builds the selection into Since this branch was opened, Your design for maintainer requests that only add cases, the exact commit in the output, and rename handling carried over into #14236. |
Maintainers can ask which live HCL cases a commit affects with `nemoclaw-build changes cases`, for example before running the GPU cases, which pull requests don't run. ## Problem The live HCL cases run all or nothing: when the validation plan selects the live suites, every case runs. On pull requests, the GPU cases (`docker-openclaw-vllm`, `docker-openclaw-vllm-shared`, `docker-openclaw-hermes-ollama`) don't run at all, because NVIDIA's GPU runners refuse pull request jobs, and nothing tells a maintainer which of them a change affects. Part of #13939. This meets its acceptance criteria, except that selection comes from the existing live path rules, the case files, and the runtime image list rather than from a separate change map. #14110 proposed that map and is superseded by this change. ## Change `nemoclaw-build changes cases --base REV [--add CASE]...` prints JSON with the commit analyzed, the selected case IDs, and each case's reason. - A case's own document and scenario select only that case. - `image/vllm/` and `image/ollama/` select the cases whose documents declare a service of that `kind`, from the runtime image list that Live / HCL builds from (#14237); `image/supervisor/` selects every case that runs either. The Bake test checks the Dockerfile paths this relies on. - Any other change that the live analysis counts selects every case, using the existing rules in `.config/determinator-live.toml` and the Cargo package graph. A failed analysis selects every case. - It compares `HEAD` with its merge base with `--base`, so changes the base made since don't count. `--add` adds reviewed cases and removes none. - Refactor: `analyze_many` in `changes.rs` splits into a shared step and a per-workflow decision, without changing what `changes plan`, `live`, or `images` decide. Only paths whose readers are known narrow the selection, so an input the selector doesn't recognize selects every case. Crate changes select every case, because every case runs the same `e2e` executable and bundle. A hand-written path map like #14110's was rejected because it falls out of date and then silently skips cases. Left out: feeding the selection into the CI matrices, which changes what runs on pull requests and needs a trigger-policy decision. Stacked on #14237. --------- Signed-off-by: Carlos Villela <[email protected]>
Failure
The live HCL workflow has named cases, but no checked-in mapping selects those cases for a PR's changed inputs. Maintainers must choose the cases manually.
Decision
Add a read-only Rust command that reads the change map and paired case/scenario catalog from the supplied full commit SHA. It reports that SHA and sorted case IDs for changed inputs. Explicit maintainer-reviewed recommendations add cases without removing deterministic matches. The initial map covers the existing
docker-openclaw-nvidiaanddocker-openclaw-vllmcases; this does not qualify new hardware or dispatch jobs.Refs #13939.
Validation
rustc --edition=2024 -D warnings,rustfmt --check, Git whitespace checks and installed commit hooks passed.Signed-off-by: Ho Lim [email protected]