Timothy Jaeryang Baek
e88e565ab4
refac
2026-04-21 13:18:54 +09:00
Timothy Jaeryang Baek
b645b0dc23
refac
Create and publish Docker images with specific build args / merge-cuda126-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / build-main-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-main-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda126-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda126-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / build-slim-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-slim-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-ollama-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-slim-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (, main) (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (-cuda, cuda) (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (-cuda126, cuda126) (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (-ollama, ollama) (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (-slim, slim) (push) Blocked by required conditions
Python CI / Format Backend (push) Waiting to run
Frontend Build / Format & Build Frontend (push) Waiting to run
Frontend Build / Frontend Unit Tests (push) Waiting to run
2026-04-20 18:47:53 +09:00
Tim Baek
51627555bf
refac
2026-04-20 03:35:17 -04:00
Timothy Jaeryang Baek
5127354b3e
refac
2026-04-20 09:21:30 +09:00
Timothy Jaeryang Baek
f246a66810
refac
2026-04-20 09:10:48 +09:00
Timothy Jaeryang Baek
47329b5032
refac
2026-04-20 08:55:34 +09:00
Timothy Jaeryang Baek
d5e69f182c
refac
2026-04-20 08:53:06 +09:00
Timothy Jaeryang Baek
e29d145a1c
refac
2026-04-20 08:48:35 +09:00
Classic298
b3ca943da1
perf(channels): batch user lookup in model_response_handler thread history ( #23795 )
...
* perf(channels): batch user lookup in model_response_handler thread history
The thread-history builder in model_response_handler called
Users.get_user_by_id once per thread message (deduped via an intra-loop
dict), producing N individual SELECTs for a thread of N unique authors.
Replace with a single Users.get_users_by_user_ids call that returns all
authors in one WHERE id IN (...) query, matching the batch pattern
already used elsewhere in this file (lines 739, 804, 1320).
Behavior is preserved: deleted users still resolve to None and fall
through to the existing 'Unknown' fallback via .get().
* refac(channels): rename loop vars to full words per review
Address reviewer feedback to use descriptive names `message` and `user`
instead of single-letter `m` and `u` in the batch user-lookup
comprehensions.
---------
Co-authored-by: Claude <noreply@anthropic.com>
2026-04-20 08:37:07 +09:00
Timothy Jaeryang Baek
56c5bc1d34
refac
2026-04-20 08:36:24 +09:00
Timothy Jaeryang Baek
fd25152076
refac
2026-04-20 08:34:15 +09:00
Timothy Jaeryang Baek
24dd5b461e
refac
2026-04-20 00:09:24 +09:00
Timothy Jaeryang Baek
1d501cfa3f
refac
2026-04-20 00:07:34 +09:00
Timothy Jaeryang Baek
a05a769938
refac
2026-04-19 23:42:09 +09:00
Timothy Jaeryang Baek
e5b5a17426
refac
2026-04-19 23:38:58 +09:00
Timothy Jaeryang Baek
37eba1c5a6
chore: format
2026-04-19 22:45:54 +09:00
Timothy Jaeryang Baek
5afc258c5b
refac
2026-04-19 22:37:10 +09:00
Timothy Jaeryang Baek
42694c7c0c
refac
2026-04-19 22:33:32 +09:00
Timothy Jaeryang Baek
f45d0f130e
refac
2026-04-19 22:22:15 +09:00
Timothy Jaeryang Baek
98627e42b4
refac
2026-04-19 22:13:47 +09:00
Timothy Jaeryang Baek
4a5401b417
refac
2026-04-19 21:48:27 +09:00
Timothy Jaeryang Baek
8d739e2aba
feat: calendar
2026-04-19 19:15:05 +09:00
Timothy Jaeryang Baek
a4d62253df
refac
Frontend Build / Format & Build Frontend (push) Has been cancelled
Frontend Build / Frontend Unit Tests (push) Has been cancelled
Create and publish Docker images with specific build args / build-main-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-main-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda126-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda126-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Create and publish Docker images with specific build args / build-slim-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-slim-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Python CI / Format Backend (push) Has been cancelled
Create and publish Docker images with specific build args / merge-main-images (push) Has been cancelled
Create and publish Docker images with specific build args / merge-cuda-images (push) Has been cancelled
Create and publish Docker images with specific build args / merge-cuda126-images (push) Has been cancelled
Create and publish Docker images with specific build args / merge-ollama-images (push) Has been cancelled
Create and publish Docker images with specific build args / merge-slim-images (push) Has been cancelled
Create and publish Docker images with specific build args / copy-to-dockerhub (, main) (push) Has been cancelled
Create and publish Docker images with specific build args / copy-to-dockerhub (-cuda, cuda) (push) Has been cancelled
Create and publish Docker images with specific build args / copy-to-dockerhub (-cuda126, cuda126) (push) Has been cancelled
Create and publish Docker images with specific build args / copy-to-dockerhub (-ollama, ollama) (push) Has been cancelled
Create and publish Docker images with specific build args / copy-to-dockerhub (-slim, slim) (push) Has been cancelled
2026-04-18 06:23:50 +09:00
Timothy Jaeryang Baek
7cfb260b8a
refac
2026-04-17 15:01:42 +09:00
Timothy Jaeryang Baek
49430de42d
refac
2026-04-17 15:00:17 +09:00
Classic298
f0e0cfcf02
perf: avoid redundant knowledge re-fetch in update_knowledge_access_by_id ( #23799 )
...
After set_access_grants, the handler was reloading the same knowledge
record via get_knowledge_by_id, which triggers an extra SELECT plus a
nested fetch of access grants. set_access_grants already returns the
newly-written grants and the local knowledge object is otherwise
unchanged, so update it in place and reuse it for the response.
https://claude.ai/code/session_01S18Lgqbih7Ry2JZUUv8TxF
Co-authored-by: Claude <noreply@anthropic.com>
2026-04-17 14:44:42 +09:00
Timothy Jaeryang Baek
55bfc7cbc2
refac
2026-04-17 14:35:13 +09:00
Timothy Jaeryang Baek
4113b15a60
chore: format
2026-04-17 14:28:18 +09:00
Timothy Jaeryang Baek
8acce144f9
refac
2026-04-17 14:15:36 +09:00
Timothy Jaeryang Baek
e7e752f8e7
refac
2026-04-17 14:09:35 +09:00
Timothy Jaeryang Baek
f44b7a01f5
refac
2026-04-17 13:59:46 +09:00
Timothy Jaeryang Baek
2c7acb9285
refac
2026-04-17 13:58:32 +09:00
Timothy Jaeryang Baek
50363ba66b
refac
2026-04-17 13:52:11 +09:00
Timothy Jaeryang Baek
860b90fd17
refac
2026-04-17 13:47:21 +09:00
Timothy Jaeryang Baek
914ccf07ef
refac
2026-04-17 13:37:52 +09:00
Timothy Jaeryang Baek
ba83613ff2
refac
2026-04-17 13:35:35 +09:00
Timothy Jaeryang Baek
499129625b
refac
...
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
2026-04-17 13:33:11 +09:00
Timothy Jaeryang Baek
3271b013a8
refac
2026-04-17 13:29:51 +09:00
Timothy Jaeryang Baek
638c7ab802
refac
2026-04-17 13:27:58 +09:00
Timothy Jaeryang Baek
e695d854f2
refac
2026-04-17 13:10:06 +09:00
Timothy Jaeryang Baek
34d569d564
refac
2026-04-17 13:04:07 +09:00
Timothy Jaeryang Baek
e709d6812f
refac
2026-04-17 12:55:56 +09:00
Timothy Jaeryang Baek
3dd8255816
refac
2026-04-17 12:37:44 +09:00
Classic298
32cfb5788a
perf(chats): select only meta column in get_chat_tags_by_id_and_user_id ( #23798 )
...
Avoid loading the full Chat row (including the potentially large `chat`
JSON column) just to read tag IDs from `meta.tags`. Issue a narrow
SELECT on `Chat.meta` instead, which is much cheaper for chats with
large message histories.
Co-authored-by: Claude <noreply@anthropic.com>
2026-04-17 12:35:58 +09:00
Classic298
2dca850cee
perf: use set for O(1) lookup in insert_chat_files dedupe ( #23800 )
...
Convert chat_message_file_ids from list to set so the membership test
in the comprehension is O(1) instead of O(m), turning the dedupe from
O(n*m) into O(n+m). Also replace the redundant set([...]) with a set
comprehension.
https://claude.ai/code/session_01Le3NnqNhcgaJvFrDZGqmwe
Co-authored-by: Claude <noreply@anthropic.com>
2026-04-17 12:28:34 +09:00
Timothy Jaeryang Baek
349ea4ea9e
refac
2026-04-17 12:25:43 +09:00
Timothy Jaeryang Baek
7e453de4f7
refac
2026-04-17 11:54:19 +09:00
Timothy Jaeryang Baek
f1ef09ddc8
refac
2026-04-17 11:48:17 +09:00
Timothy Jaeryang Baek
3332878321
refac
2026-04-17 11:29:59 +09:00
Classic298
e396af3cc8
perf: reuse request db session in get_model_profile_image ( #23796 )
...
Pass the request-scoped AsyncSession into Models.get_model_by_id so the
endpoint no longer opens a fresh DB session on every call, avoiding an
extra connection acquisition per profile image request.
Co-authored-by: Claude <noreply@anthropic.com>
2026-04-17 11:28:19 +09:00