Add CI quality gate
This commit is contained in:
@@ -216,11 +216,11 @@ Target files:
|
||||
|
||||
Steps:
|
||||
|
||||
- [ ] Add CI steps for `cargo check --all-targets --all-features`.
|
||||
- [ ] Add CI steps for `cargo clippy --all-targets --all-features -- -D warnings`.
|
||||
- [ ] Add CI steps for `cargo test --all-features`.
|
||||
- [ ] Document the same commands in `DEVELOPMENT.md` or `AGENT.md`.
|
||||
- [ ] Keep CI commands aligned with the commands used by agents and humans locally.
|
||||
- [x] Add CI steps for `cargo check --all-targets --all-features`.
|
||||
- [x] Add CI steps for `cargo clippy --all-targets --all-features -- -D warnings`.
|
||||
- [x] Add CI steps for `cargo test --all-features`.
|
||||
- [x] Document the same commands in `DEVELOPMENT.md` or `AGENT.md`.
|
||||
- [x] Keep CI commands aligned with the commands used by agents and humans locally.
|
||||
|
||||
Acceptance criteria:
|
||||
|
||||
@@ -231,13 +231,13 @@ Acceptance criteria:
|
||||
|
||||
Before considering the refactor layer complete:
|
||||
|
||||
- [ ] `cargo check --all-targets --all-features` passes.
|
||||
- [ ] `cargo clippy --all-targets --all-features -- -D warnings` passes.
|
||||
- [ ] `cargo test --all-features` passes.
|
||||
- [ ] `git diff --check` passes.
|
||||
- [ ] No unexpected `*.snap.new` files remain.
|
||||
- [ ] `rg -n "current_chat_messages_mut|chats_mut|folders_mut|pending_user_ids_mut|user_cache_mut" src/tdlib` shows only intentionally contained internal access.
|
||||
- [ ] `rg -n "unwrap\\(|expect\\(|panic!\\(" src` has no risky production UI or TDLib data-path panics left.
|
||||
- [x] `cargo check --all-targets --all-features` passes.
|
||||
- [x] `cargo clippy --all-targets --all-features -- -D warnings` passes.
|
||||
- [x] `cargo test --all-features` passes.
|
||||
- [x] `git diff --check` passes.
|
||||
- [x] No unexpected `*.snap.new` files remain.
|
||||
- [x] `rg -n "current_chat_messages_mut|chats_mut|folders_mut|pending_user_ids_mut|user_cache_mut" src/tdlib` shows only intentionally contained internal access.
|
||||
- [x] `rg -n "unwrap\\(|expect\\(|panic!\\(" src` has no risky production UI or TDLib data-path panics left.
|
||||
|
||||
## Recommended Commit Order
|
||||
|
||||
|
||||
Reference in New Issue
Block a user