Fix ATVM watcher install-only test flow extraction
Teach generated-spec TEST FLOW parsing to honor test-install-only runtime gates, including single-quoted Cypress.env checks, and suppress plugin branches when install-only mode disables them. Document the 2026-04-16 install-only flow mismatch so future watcher updates keep Mattermost TEST FLOW aligned with the actual generated spec path.
This commit is contained in:
@@ -507,6 +507,15 @@ This file stores run-specific examples only when a run produced a new learning r
|
||||
- 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.
|
||||
|
||||
## Run Learning: 2026-04-16 (Generated-spec `TEST FLOW` must honor `test-install-only` gates)
|
||||
- Observed failure mode:
|
||||
- An install-only `cmc-e2e` run for `atvm5-ubuntu22.04` posted the full 22-step `TEST FLOW:` to Mattermost even though the generated spec for that run only executed the shorter install-only path.
|
||||
- The watcher already used the generated spec as the source of truth, but its gate evaluator did not understand `if (Cypress.env("test-install-only") == true/false)`.
|
||||
- That left both the install-only branch and the normal post-install branch visible to the flow extractor.
|
||||
- Action for future runs:
|
||||
- When extracting `TEST FLOW:` from a generated spec, evaluate `test-install-only` gates the same way plugin and cutover gates are evaluated.
|
||||
- For install-only runs, exclude the normal post-install branch and report only the actual numbered install-only steps from the generated spec.
|
||||
|
||||
## Run Learning: 2026-03-31 (Default vmware compute-migration options for ATVM)
|
||||
- Observed operator requirement:
|
||||
- For `cmc-migrateops-compute-migration` runs to VMware, the operator wants a stable default option set instead of having to restate the same platform flags each time.
|
||||
|
||||
Reference in New Issue
Block a user