feat: Expose per-bot metrics via OTel and by describe command. #115
Annotations
5 errors and 4 warnings
|
/home/runner/work/bitpart/bitpart/crates/bitpart-csml/src/lib.rs#L273
the variable `index_corrector` is used as a loop counter
|
|
/home/runner/work/bitpart/bitpart/crates/bitpart-csml/src/lib.rs#L116
consider using `sort_by_key`
|
|
Formatting
Process completed with exit code 1.
|
|
consider using `sort_by_key`:
crates/bitpart-csml/src/lib.rs#L116
error: consider using `sort_by_key`
--> crates/bitpart-csml/src/parser/step_checksum.rs:116:5
|
116 | offsets.sort_by(|(_, a), (_, b)| a.cmp(b));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#unnecessary_sort_by
= note: `-D clippy::unnecessary-sort-by` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_sort_by)]`
help: try
|
116 - offsets.sort_by(|(_, a), (_, b)| a.cmp(b));
116 + offsets.sort_by_key(|(_, a)| *a);
|
|
|
the variable `index_corrector` is used as a loop counter:
crates/bitpart-csml/src/lib.rs#L273
error: the variable `index_corrector` is used as a loop counter
--> crates/bitpart-csml/src/fold_bot.rs:273:5
|
273 | for import in flow_imports.iter() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `for (index_corrector, import) in (1..).zip(flow_imports.iter())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#explicit_counter_loop
= note: `-D clippy::explicit-counter-loop` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::explicit_counter_loop)]`
|
|
Formatting
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache/restore@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Formatting:
crates/bitpart-csml/src/interpreter/variable_handler.rs#L19
Diff in /home/runner/work/bitpart/bitpart/crates/bitpart-csml/src/interpreter/variable_handler.rs
|
|
Clippy
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache/restore@v4, auguwu/clippy-action@94a9ff2f6920180b89e5c03d121d0af04a9d3e03. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Tests
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache/restore@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|