Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@blckngm
Copy link
Contributor

@blckngm blckngm commented Jun 26, 2023

What this PR does / why we need it:

To avoid partial writes. This also fixes the problem that the file isn't truncated when writing the current version, so part of the previous version might be left in the file.

Which issue(s) this PR fixes:

Fixes #

Which docs this PR relation:

Ref #

Which toolchain this PR adaption:

No Breaking Change

Special notes for your reviewer:

NIL

CI Description

CI Name Description
Chaos CI Test the liveness and robustness of Axon under terrible network condition
Cargo Clippy Run cargo clippy --all --all-targets --all-features
Coverage Test Get the unit test coverage report
E2E Test Run end-to-end test to check interfaces
Code Format Run cargo +nightly fmt --all -- --check and cargo sort -gwc
Web3 Compatible Test Test the Web3 compatibility of Axon
v3 Core Test Run the compatibility tests provided by Uniswap V3
OCT 1-5 | 6-10 | 11 | 12-15 | 16-19 Run the compatibility tests provided by OpenZeppelin

CI Usage

Check the CI you want to run below, and then comment /run-ci.

CI Switch

  • Chaos CI
  • Cargo Clippy
  • Coverage Test
  • E2E Tests
  • Code Format
  • Unit Tests
  • Web3 Compatible Tests
  • OCT 1-5 And 12-15
  • OCT 6-10
  • OCT 11
  • OCT 16-19
  • v3 Core Tests

@blckngm blckngm requested a review from a team as a code owner June 26, 2023 13:01
@blckngm blckngm requested review from driftluo and hongda3141 June 26, 2023 13:01
KaoImin
KaoImin previously approved these changes Jun 26, 2023
fsync, rename and fsync parent directory
@blckngm blckngm force-pushed the atomic-write-version branch from 6e26ed5 to 6bac3b5 Compare June 26, 2023 14:57
@KaoImin
Copy link
Contributor

KaoImin commented Jun 27, 2023

/run-ci

@axon-bot
Copy link

axon-bot bot commented Jun 27, 2023

CI tests run on commit:

CI test list:

  • Code Format
  • Cargo Clippy
  • Unit Tests

Please check ci test results later.

@KaoImin KaoImin merged commit c0523c5 into axonweb3:main Jun 28, 2023
@blckngm blckngm deleted the atomic-write-version branch June 30, 2023 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants