flow: railway attempt combinator — fail-value short-circuit + 10 tests (Phase 6)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 55s

(attempt n1 n2 ...) threads like sequence but stops at the first node returning a
(fail ...) value, returning that failure. Makes the fail/recover error model
compose into validation/ETL pipelines (railway-oriented). 132/132 across 8 suites.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-06 18:09:21 +00:00
parent 0a1b89c975
commit d9b9da3843
6 changed files with 95 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
{
"total": 122,
"passed": 122,
"total": 132,
"passed": 132,
"failed": 0,
"suites": {
"basic": { "passed": 18, "total": 18 },
@@ -9,7 +9,8 @@
"recovery": { "passed": 8, "total": 8 },
"distributed": { "passed": 19, "total": 19 },
"api": { "passed": 12, "total": 12 },
"combinators": { "passed": 17, "total": 17 }
"combinators": { "passed": 17, "total": 17 },
"railway": { "passed": 10, "total": 10 }
},
"phases": { "phase1": "done", "phase2": "done", "phase3": "done", "phase4": "done", "phase5": "done" }
"phases": { "phase1": "done", "phase2": "done", "phase3": "done", "phase4": "done", "phase5": "done", "phase6": "done" }
}