Commit 6be5cb3
chore: cargo fmt --all + CI hardening (rustfmt gate, resilient Linux install) (#79)
* chore: cargo fmt --all + add rustfmt CI gate
Trunk had accumulated rustfmt drift — CI never ran `cargo fmt --check` and
there is no rustfmt.toml, so pre-existing code had multi-line attributes,
unwrapped imports, and inconsistent call wrapping.
- Run `cargo fmt --all` across the workspace (src/params.rs, src/client.rs).
- Add a `rustfmt` job to build.yml (`cargo fmt --all --check`) so formatting
stays clean going forward.
Pure formatting — no behavioral change; all lib tests and doctests pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* ci: make Linux Spice install resilient to GitHub 429 rate limits
`curl https://install.spiceai.org | /bin/bash` has no `-f` flag, so when the
proxied GitHub script returns an HTTP 429 rate-limit page, that page is piped
into bash and executed (syntax error → exit 2) — an intermittent flake seen on
PR CI. Add `-f` + `pipefail` so a bad HTTP response is a real curl failure, and
retry the installer and `spice install` (mirrors the resilient macOS step from
#72/#78).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 3070059 commit 6be5cb3
3 files changed
Lines changed: 160 additions & 92 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
15 | 32 | | |
16 | 33 | | |
17 | 34 | | |
| |||
97 | 114 | | |
98 | 115 | | |
99 | 116 | | |
100 | | - | |
101 | | - | |
102 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
103 | 132 | | |
104 | 133 | | |
105 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
992 | 992 | | |
993 | 993 | | |
994 | 994 | | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
1003 | 1001 | | |
1004 | 1002 | | |
1005 | 1003 | | |
1006 | 1004 | | |
1007 | 1005 | | |
1008 | 1006 | | |
1009 | 1007 | | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
1013 | | - | |
1014 | | - | |
1015 | | - | |
1016 | | - | |
1017 | | - | |
1018 | | - | |
1019 | | - | |
1020 | | - | |
1021 | | - | |
1022 | | - | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
1023 | 1019 | | |
1024 | 1020 | | |
1025 | 1021 | | |
| |||
1034 | 1030 | | |
1035 | 1031 | | |
1036 | 1032 | | |
1037 | | - | |
1038 | | - | |
1039 | | - | |
1040 | | - | |
| 1033 | + | |
| 1034 | + | |
1041 | 1035 | | |
1042 | 1036 | | |
1043 | 1037 | | |
| |||
1078 | 1072 | | |
1079 | 1073 | | |
1080 | 1074 | | |
1081 | | - | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
1082 | 1079 | | |
1083 | 1080 | | |
1084 | 1081 | | |
| |||
0 commit comments