gitdataai/libs/git
ZhenYi 09645d8641 fix: resolve multiple bugs across backend and frontend
Security fixes:
- Remove WS token from plaintext log output (ws_universal.rs)
- Replace weak LCG PRNG with rand::thread_rng() for access key generation
- Add project membership check to issue triage endpoint (prevent unauthorized AI usage)
- Validate deepLinkUrl to prevent javascript: navigation (XSS defense-in-depth)

Data integrity fixes:
- Fix UUID truncation in AI model sync (as_u128() as i64 -> timestamp_millis)
- Wrap PR cascade delete in database transaction
- Add missing cascade deletes for room_message_reaction, room_message_edit_history, room_notifications
- Fix N+1 query for last_commit_times (single grouped query instead of per-repo)

Panic prevention:
- Replace unwrap() with safe fallbacks in health/metrics endpoints (email, git-hook apps)
- Replace unwrap() in access key scopes serialization
- Replace expect() in tool executor result map with synthetic error
- Replace expect() in log level parsing with default fallback

Logic bugs:
- Fix users_online metric double-decrement (decrement only when count reaches 0)
- Fix Map iteration + deletion bug in universal-ws.ts onclose handler
- Fix stale audioStream reference in catch block (use local stream variable)
- Add missing reInit event cleanup in carousel.tsx
- Fix email retry backoff integer overflow ((1 << i) as u64 -> 1u64 << i)

React fixes:
- Use message.id instead of index as key in message-list
- Add audio stream cleanup on unmount in use-audio-recording
2026-04-27 13:54:21 +08:00
..
archive chore(git): minor fixes and improvements across git library modules 2026-04-27 08:28:09 +08:00
blame chore(git): minor fixes and improvements across git library modules 2026-04-27 08:28:09 +08:00
blob init 2026-04-15 09:08:09 +08:00
branch fix(git): multiple branch and upstream query bugs 2026-04-17 16:30:58 +08:00
commit chore(git): minor fixes and improvements across git library modules 2026-04-27 08:28:09 +08:00
config chore(git): minor fixes and improvements across git library modules 2026-04-27 08:28:09 +08:00
description init 2026-04-15 09:08:09 +08:00
diff chore(git): minor fixes and improvements across git library modules 2026-04-27 08:28:09 +08:00
hook chore(git): minor fixes and improvements across git library modules 2026-04-27 08:28:09 +08:00
http fix: resolve 30+ bugs from security audit 2026-04-27 10:57:23 +08:00
lfs init 2026-04-15 09:08:09 +08:00
merge chore(git): minor fixes and improvements across git library modules 2026-04-27 08:28:09 +08:00
reference init 2026-04-15 09:08:09 +08:00
ssh fix: resolve multiple bugs across backend and frontend 2026-04-27 13:54:21 +08:00
tags init 2026-04-15 09:08:09 +08:00
tree init 2026-04-15 09:08:09 +08:00
Cargo.toml feat: add health endpoints and Prometheus metrics to git-hook and email-worker 2026-04-25 23:45:48 +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 feat(git): add Redis-backed hook worker with per-repo distributed locking 2026-04-17 12:33:58 +08:00
ref_utils.rs chore(git): minor fixes and improvements across git library modules 2026-04-27 08:28:09 +08:00