Skip to content

Conversation

@m4tx
Copy link
Member

@m4tx m4tx commented Feb 1, 2026

No description provided.

@github-actions github-actions bot added C-lib Crate: cot (main library crate) C-macros Crate: cot-macros labels Feb 1, 2026
@codecov
Copy link

codecov bot commented Feb 1, 2026

Codecov Report

❌ Patch coverage is 76.63043% with 86 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cot/src/db.rs 69.92% 53 Missing and 24 partials ⚠️
cot/src/auth/db.rs 75.00% 3 Missing and 1 partial ⚠️
cot/src/db/sea_query_db.rs 94.73% 0 Missing and 4 partials ⚠️
cot/src/db/query.rs 90.00% 0 Missing and 1 partial ⚠️
Flag Coverage Δ
rust 89.35% <76.63%> (-0.35%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
cot-macros/src/model.rs 96.39% <ø> (ø)
cot/src/db/impl_mysql.rs 100.00% <ø> (ø)
cot/src/db/impl_postgres.rs 100.00% <ø> (ø)
cot/src/db/impl_sqlite.rs 94.73% <ø> (ø)
cot/src/db/relations.rs 91.66% <100.00%> (ø)
cot/src/session/store/db.rs 85.93% <100.00%> (+4.85%) ⬆️
cot/src/db/query.rs 75.83% <90.00%> (+0.09%) ⬆️
cot/src/auth/db.rs 85.34% <75.00%> (+0.12%) ⬆️
cot/src/db/sea_query_db.rs 94.56% <94.73%> (+0.06%) ⬆️
cot/src/db.rs 77.65% <69.92%> (-8.17%) ⬇️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

🐰 Bencher Report

Branchtransactions
Testbedgithub-ubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
microseconds (µs)
(Result Δ%)
Upper Boundary
microseconds (µs)
(Limit %)
empty_router/empty_router📈 view plot
🚷 view threshold
6,340.80 µs
(+6.92%)Baseline: 5,930.46 µs
7,112.23 µs
(89.15%)
json_api/json_api📈 view plot
🚷 view threshold
1,031.60 µs
(+1.60%)Baseline: 1,015.40 µs
1,162.11 µs
(88.77%)
nested_routers/nested_routers📈 view plot
🚷 view threshold
955.38 µs
(+2.10%)Baseline: 935.77 µs
1,064.81 µs
(89.72%)
single_root_route/single_root_route📈 view plot
🚷 view threshold
920.03 µs
(+2.58%)Baseline: 896.93 µs
1,023.18 µs
(89.92%)
single_root_route_burst/single_root_route_burst📈 view plot
🚷 view threshold
17,326.00 µs
(-1.33%)Baseline: 17,559.70 µs
20,828.22 µs
(83.19%)
🐰 View full continuous benchmarking report in Bencher

let user = DatabaseUser::get_by_username(&mut transaction, "admin").await?;
if user.is_none() {
DatabaseUser::create_user(context.database(), "admin", "admin").await?;
DatabaseUser::create_user(&mut transaction, "admin", "admin").await?;

Check failure

Code scanning / CodeQL

Hard-coded cryptographic value Critical

This hard-coded value is used as
a password
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-lib Crate: cot (main library crate) C-macros Crate: cot-macros

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants