• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

veeso / ic-dbms / 21727735177
95%
main: 96%

Build:
Build:
LAST BUILD BRANCH: feat/12-join
DEFAULT BRANCH: main
Ran 05 Feb 2026 08:43PM UTC
Jobs 1
Files 78
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Feb 2026 08:41PM UTC coverage: 95.632% (+0.1%) from 95.487%
21727735177

push

github

web-flow
perf(canister): implement in-place update instead of delete+insert (#37)

Replace the delete-then-insert update strategy with a proper in-place
update approach in TableRegistry, improving performance by avoiding
unnecessary memory reallocation when record size is unchanged.

- Add TableRegistry::update with two-path strategy: in-place overwrite
  for same-size records, delete+reinsert for size changes
- Add UpdateIntegrityValidator that allows keeping the same PK during
  updates, unlike InsertIntegrityValidator which rejects any existing PK
- Add validate_update to DatabaseSchema trait and macro generation
- Extract shared validation logic (column, FK, non-nullable checks)
  into integrity::common module to eliminate duplication
- Cascade PK changes to referencing tables via
  update_pk_referencing_updated_table
- Remove DeleteBehavior::Break variant (workaround for old strategy)
- Extract sanitize_values helper from insert/update flows
- Add tests for multi-record updates, PK conflict e2e, FK cascade
  in transactions, and non-nullable field validation

Closes #11

485 of 493 new or added lines in 5 files covered. (98.38%)

2 existing lines in 1 file now uncovered.

9765 of 10211 relevant lines covered (95.63%)

735272.28 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.8
0.1% ic-dbms-canister/src/dbms.rs
1
99.35
ic-dbms-canister/src/dbms/integrity/update.rs
6
88.0
ic-dbms-canister/src/dbms/integrity/common.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
98.8
0.1% ic-dbms-canister/src/dbms.rs
Jobs
ID Job ID Ran Files Coverage
1 21727735177.1 05 Feb 2026 08:43PM UTC 78
95.63
GitHub Action Run
Source Files on build 21727735177
  • Tree
  • List 78
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21727735177
  • 3fdb3e02 on github
  • Prev Build on 0.4 (#21566663234)
  • Next Build on 0.4 (#21728151276)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc