Fix ATVM generated spec test flow fallback
This commit is contained in:
@@ -497,3 +497,12 @@ This file stores run-specific examples only when a run produced a new learning r
|
||||
- Parse mochawesome one testcase object at a time and do not cross object boundaries when matching `title`, `fullTitle`, `state`, `message`, and `estack`.
|
||||
- Only use mochawesome to enrich host detail when it returns a non-empty failure payload.
|
||||
- If mochawesome and structured reporter artifacts disagree on the step number, keep the structured reporter step as the safer fallback for the host detail.
|
||||
|
||||
## Run Learning: 2026-03-31 (Generated-spec `TEST FLOW` must not depend only on log-scoped `specPattern`)
|
||||
- Observed failure mode:
|
||||
- A completed `e2e-redhat8.10-both` run posted the static 22-step `cmc-e2e` flow even though the generated spec for that exact run contained a longer flow.
|
||||
- The watcher only extracted generated-spec flow when it could find `Extracted specPattern:` in the available log text.
|
||||
- When that log-scoped `specPattern` line was unavailable at final render time, the watcher silently fell back to the static template flow.
|
||||
- Action for future runs:
|
||||
- Resolve generated-spec `TEST FLOW` from the active config file's `specPattern` when the required log line is missing.
|
||||
- Treat the static template flow as a last-resort fallback only after both log-derived and config-derived `specPattern` resolution fail.
|
||||
|
||||
Reference in New Issue
Block a user