Commit 514afc9
authored
chore: fix ci/cd (#2685)
RUN_CODSPEED=1
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Switches benchmarks to CodSpeed Divan with CI updates, bumps MSRV to
1.89, upgrades key deps (ariadne/logos/rowan/smol_str), and adapts
diagnostics to Ariadne’s new API.
>
> - **Benchmarks**:
> - Migrate from `codspeed-bencher-compat` to `codspeed-divan-compat`
(`divan`) with `#[divan::bench]`, `divan::main()`, and `black_box`.
> - Add/expand incremental and parsing/lexing benches; remove
`benchmark_group!/benchmark_main!` usage.
> - Update build script to generate Divan-style benches.
> - **CI**:
> - Run instrumented benchmarks on `codspeed-macro`; add `mode:
walltime`; build `baml_tests` for CodSpeed.
> - Fix pull_request `paths` quoting; simplify benchmark run conditions.
> - **Diagnostics**:
> - Update `baml_diagnostics` to new Ariadne `Report::build` signature
using `(file_id, range)`.
> - **MSRV & Dependencies**:
> - Bump MSRV to `1.89` in `Cargo.toml`.
> - Upgrade `ariadne`→`0.6`, `logos`→`0.15`, `rowan`→`0.16`,
`smol_str`→`0.3`.
> - Replace CodSpeed crates with latest Divan-compatible versions;
refresh `Cargo.lock`.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
65b7617. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent d3226f6 commit 514afc9
File tree
7 files changed
+656
-141
lines changed- .github/workflows
- baml_language
- crates
- baml_diagnostics/src
- baml_tests
- benches
7 files changed
+656
-141
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
| 401 | + | |
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
| 452 | + | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
456 | 455 | | |
457 | 456 | | |
458 | 457 | | |
| |||
484 | 483 | | |
485 | 484 | | |
486 | 485 | | |
487 | | - | |
| 486 | + | |
488 | 487 | | |
489 | 488 | | |
490 | 489 | | |
491 | 490 | | |
492 | 491 | | |
| 492 | + | |
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
| 552 | + | |
0 commit comments