Add CI quality gate

This commit is contained in:
Mikhail Kilin
2026-05-17 18:55:36 +03:00
parent 2d4c1906d5
commit 51e9cf5c10
13 changed files with 50 additions and 60 deletions

View File

@@ -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