refactor: write manifest file even if migration failed #1652
26.60% of diff hit (target 69.62%)
View this Pull Request on Codecov
26.60% of diff hit (target 69.62%)
Annotations
Check warning on line 117 in bin/sozo/src/commands/dev.rs
codecov / codecov/patch
bin/sozo/src/commands/dev.rs#L116-L117
Added lines #L116 - L117 were not covered by tests
Check warning on line 144 in bin/sozo/src/commands/dev.rs
codecov / codecov/patch
bin/sozo/src/commands/dev.rs#L143-L144
Added lines #L143 - L144 were not covered by tests
Check warning on line 146 in bin/sozo/src/commands/dev.rs
codecov / codecov/patch
bin/sozo/src/commands/dev.rs#L146
Added line #L146 was not covered by tests
Check warning on line 213 in bin/sozo/src/commands/dev.rs
codecov / codecov/patch
bin/sozo/src/commands/dev.rs#L213
Added line #L213 was not covered by tests
Check warning on line 54 in bin/sozo/src/ops/events.rs
codecov / codecov/patch
bin/sozo/src/ops/events.rs#L51-L54
Added lines #L51 - L54 were not covered by tests
Check warning on line 165 in bin/sozo/src/ops/migration/migration_test.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/migration_test.rs#L165
Added line #L165 was not covered by tests
Check warning on line 88 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L87-L88
Added lines #L87 - L88 were not covered by tests
Check warning on line 105 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L91-L105
Added lines #L91 - L105 were not covered by tests
Check warning on line 122 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L107-L122
Added lines #L107 - L122 were not covered by tests
Check warning on line 132 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L132
Added line #L132 was not covered by tests
Check warning on line 146 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L146
Added line #L146 was not covered by tests
Check warning on line 149 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L149
Added line #L149 was not covered by tests
Check warning on line 184 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L184
Added line #L184 was not covered by tests
Check warning on line 224 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L224
Added line #L224 was not covered by tests
Check warning on line 234 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L234
Added line #L234 was not covered by tests
Check warning on line 257 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L239-L257
Added lines #L239 - L257 were not covered by tests
Check warning on line 260 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L260
Added line #L260 was not covered by tests
Check warning on line 321 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L321
Added line #L321 was not covered by tests
Check warning on line 341 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L341
Added line #L341 was not covered by tests
Check warning on line 363 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L363
Added line #L363 was not covered by tests
Check warning on line 513 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L511-L513
Added lines #L511 - L513 were not covered by tests
Check warning on line 520 in bin/sozo/src/ops/migration/mod.rs
codecov / codecov/patch
bin/sozo/src/ops/migration/mod.rs#L518-L520
Added lines #L518 - L520 were not covered by tests
Check warning on line 298 in crates/dojo-world/src/manifest.rs
codecov / codecov/patch
crates/dojo-world/src/manifest.rs#L298
Added line #L298 was not covered by tests