gitdataai/libs/git/hook/pool
ZhenYi 01b18c97df
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
fix(git/hook): address review findings — webhooks, git2 Send, touch_count, rollback
- pool/worker.rs: only dispatch webhooks after sync succeeds (skip on error);
  pass max_retries from PoolConfig to HookWorker
- sync/branch.rs: replaced with stub (sync_refs moved to commit.rs)
- sync/commit.rs: add collect_git_refs() that collects BranchTip/TagTip from
  git2 entirely within one sync call; sync_refs now uses owned data so no
  git2 types cross .await boundaries (future is Send)
- sync/fsck.rs: remove extraneous "HEAD" arg from rollback git update-ref
  (correct syntax is: update-ref -m <msg> <ref> <new-sha> — no old-sha)
- webhook_dispatch.rs: touch_count uses Expr::col().add(1) for atomic
  increment instead of overwriting with Expr::value(1)
- pool/mod.rs: pass config.redis_max_retries to HookWorker
2026-04-17 13:44:33 +08:00
..
mod.rs fix(git/hook): address review findings — webhooks, git2 Send, touch_count, rollback 2026-04-17 13:44:33 +08:00
redis.rs fix(git/hook): address review findings — fs blocking, redis timeout, backoff, slog 2026-04-17 13:20:31 +08:00
types.rs feat(git): add Redis-backed hook worker with per-repo distributed locking 2026-04-17 12:33:58 +08:00
worker.rs fix(git/hook): address review findings — webhooks, git2 Send, touch_count, rollback 2026-04-17 13:44:33 +08:00