Analyze Tosca Cloud execution history
Compare multiple runs to detect flakiness, regressions, and recurring signatures. Read-only — use toscactl.
Prerequisite: tosca-cloud-basics.
Session checklist
Analyze Cloud execution history:
- [ ] Resolve playlist [toscactl]
- [ ] Fetch run history (20+ runs) [toscactl]
- [ ] Classify Passed/Failed trend
- [ ] Deep dive failures via run view + attachments [toscactl]
- [ ] Report with confidence
toscactl (default)
toscactl playlists find --name "<name>" --results --json --silent
toscactl playlists history "<playlist_id>" --page-size 20 --all --json --silent
# For each failed run:
toscactl playlists run view <run_id> --json --silent
toscactl executions attachments --type test-steps --run <run_id> --test-case <builder_id> --json --silent
IDE agent aggregates pass/fail trends from JSON output.
Fast path [toscactl]
- Resolve playlist —
playlists find --name - Fetch history —
playlists history --page-size 20 --all - Classify runs — count Passed/Failed; note transitions
- Deep dive —
run view+executions attachmentsfor failed runs only - Compare signatures — flaky vs recurring across runs
- Report — trend summary with confidence
Flakiness signals
- Same test passes run N, fails N+1
- Failure signature changes but same test case
- Failures correlate with timing/load
See references/trend-and-anomaly.md.
Hand off
- Latest run only →
tosca-analyzing-execution-results - Apply fix →
tosca-remediating-from-results