Commit 91059a0
committed
fix: deterministic SundialKitStream stream tests; migrate FitnessStream & Sundial example to mise
SundialKitStream: rewrite pathStatusStream / isExpensiveStream /
isConstrainedStream tests to drive the stream with an async iterator
(await first value, send, await second) instead of confirmation + fixed
Task.sleep delays. The old tests raced the background subscriber's
continuation registration against the second path update on slower CI
runners (Xcode 26.5 / 16.3), capturing only one value -> count==2 failed
-> values[1] crashed the whole xctest process. The iterator approach is
timing-independent. No production code changes.
Mint -> mise migration (matches root / SundialKitStream / SundialKit):
- FitnessStream: add .mise.toml (swift-format 602.0.0, SwiftLint 0.63.3,
periphery 3.7.4), rewrite Scripts/lint.sh to use `mise exec`, switch the
CI lint job to jdx/mise-action, delete Mintfile, update docs. Lint
strictness left non-strict to preserve prior CI behavior.
- SundialKit Examples/Sundial: add .mise.toml (swift-protobuf 1.38.0),
rewrite generate-protos.sh to resolve protoc/protoc-gen-swift via mise
(no system protoc required), delete Mintfile, update docs.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent e14a7fb commit 91059a0
4 files changed
Lines changed: 26 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
45 | 30 | | |
46 | 31 | | |
47 | 32 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
52 | 37 | | |
53 | | - | |
54 | | - | |
55 | | - | |
| 38 | + | |
| 39 | + | |
56 | 40 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
62 | 45 | | |
63 | 46 | | |
64 | 47 | | |
| |||
70 | 53 | | |
71 | 54 | | |
72 | 55 | | |
73 | | - | |
74 | | - | |
| 56 | + | |
| 57 | + | |
75 | 58 | | |
76 | | - | |
| 59 | + | |
77 | 60 | | |
78 | 61 | | |
79 | 62 | | |
| |||
0 commit comments