Commit a54afbe
ci: migrate miri and fuzz testing to circleci-toolkit orb (#1499)
## Summary
This PR migrates the custom miri and fuzz testing jobs to the new
reusable orb jobs available in circleci-toolkit@3.3.0.
## Changes
### Before (72 lines)
- Custom `miri_tests` job with inline bash scripts
- Custom `fuzz_smoke` job with manual tool installation
- No caching optimization
- Maintenance burden for each project
### After (42 lines)
- Declarative `toolkit/rust_miri` job
- Declarative `toolkit/rust_fuzz_smoke` job
- Automatic caching with better performance
- Centralized maintenance in toolkit orb
- **42% code reduction** (30 lines removed)
## Migration Details
**Miri Job:**
- ✅ Same MIRI flags: `-Zmiri-disable-isolation`
- ✅ Same package selection: `-p hcaptcha`
- ✅ Same test arguments: `--lib`
- ✅ Same skip patterns: All 7 tests skipped as before
- ✅ Enhanced: Automatic caching for faster runs
**Fuzz Job:**
- ✅ Same target: `response_parse`
- ✅ Same duration: 60 seconds
- ✅ Same behavior: Doesn't fail build on findings
- ✅ Enhanced: Automatic artifact storage
- ✅ Enhanced: Caching of cargo-fuzz installation
## Test Plan
- [ ] Verify miri_tests job runs successfully
- [ ] Verify same tests are skipped as before
- [ ] Verify fuzz_smoke job runs successfully
- [ ] Verify no functionality regression
- [ ] Check cache performance on second run
## Benefits
1. **Less Code**: 42% reduction in configuration
2. **Better Caching**: Automatic optimization for faster CI runs
3. **Easier Maintenance**: Updates managed in toolkit orb
4. **More Features**: Built-in artifact storage, better error messages
5. **Consistency**: Same pattern across all jerus-org projects
## Related
- Toolkit PR: digital-prstv/circleci-toolkit#264
- Toolkit version: 3.3.0
- Part of the miri-fuzz-to-toolkit migration initiative
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 file changed
+21
-51
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 15 | | |
64 | 16 | | |
65 | 17 | | |
66 | 18 | | |
67 | 19 | | |
68 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
69 | 23 | | |
70 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
71 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments