gitdataai/libs/git
ZhenYi eeb99bf628
Some checks are pending
CI / Rust Lint & Check (push) Waiting to run
CI / Rust Tests (push) Waiting to run
CI / Frontend Lint & Type Check (push) Waiting to run
CI / Frontend Build (push) Blocked by required conditions
refactor(git): drop hook pool, sync execution is now direct and sequential
- Remove entire pool/ directory (RedisConsumer, CpuMonitor, LogStream, HookTask, TaskType)
- Remove Redis distributed lock (acquire_lock/release_lock) — K8s StatefulSet
  scheduling guarantees exclusive access per repo shard
- Remove sync/lock.rs, sync/remote.rs, sync/status.rs (dead code)
- Remove hook/event.rs (GitHookEvent was never used)
- New HookService exposes sync_repo / fsck_repo / gc_repo directly
- ReceiveSyncService now calls HookService inline instead of LPUSH to Redis queue
- sync/mod.rs: git2 operations wrapped in spawn_blocking for Send safety
  (git2 types are not Send — async git2 operations must not cross await points)
- scripts/push.js: drop 'frontend' from docker push list (embedded into static binary)
2026-04-17 12:22:09 +08:00
..
archive init 2026-04-15 09:08:09 +08:00
blame init 2026-04-15 09:08:09 +08:00
blob init 2026-04-15 09:08:09 +08:00
branch init 2026-04-15 09:08:09 +08:00
commit init 2026-04-15 09:08:09 +08:00
config init 2026-04-15 09:08:09 +08:00
description init 2026-04-15 09:08:09 +08:00
diff init 2026-04-15 09:08:09 +08:00
hook refactor(git): drop hook pool, sync execution is now direct and sequential 2026-04-17 12:22:09 +08:00
http refactor(git): drop hook pool, sync execution is now direct and sequential 2026-04-17 12:22:09 +08:00
lfs init 2026-04-15 09:08:09 +08:00
merge init 2026-04-15 09:08:09 +08:00
reference init 2026-04-15 09:08:09 +08:00
ssh refactor(git): drop hook pool, sync execution is now direct and sequential 2026-04-17 12:22:09 +08:00
tags init 2026-04-15 09:08:09 +08:00
tree init 2026-04-15 09:08:09 +08:00
Cargo.toml fix(git): downgrade russh to 0.50.4, remove flate2 feature, fix log format 2026-04-16 20:58:01 +08:00
domain.rs init 2026-04-15 09:08:09 +08:00
error.rs init 2026-04-15 09:08:09 +08:00
lib.rs refactor(git): drop hook pool, sync execution is now direct and sequential 2026-04-17 12:22:09 +08:00
ref_utils.rs init 2026-04-15 09:08:09 +08:00