37 Commits

Author SHA1 Message Date
qpismont 7f24d7657c Merge pull request 'Fix missing env var error' (#5) from 1.0.1 into main
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #5
1.0.1
2026-06-16 22:05:24 +02:00
qpismont a613fdb99e Another trace clear 2026-06-16 18:53:33 +00:00
qpismont 975581093a Add missing sentry error backtrace
Clear traces spam
2026-06-16 18:49:35 +00:00
qpismont 00d46ce968 Fix AI review
Webhook action check before user check
2026-06-12 22:01:49 +00:00
qpismont 3f6c5b5559 Fix missing env var error
ci/woodpecker/push/tests Pipeline was successful
2026-06-12 21:27:12 +00:00
qpismont d4666fb36e Merge pull request 'prepare first release with graceful shutdown + containerfile + push to' (#4) from 1.0 into main
ci/woodpecker/push/tests Pipeline was successful
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #4
1.0
2026-06-12 22:38:25 +02:00
qpismont cf59455d4a Fix release job
ci/woodpecker/push/tests Pipeline was successful
2026-06-12 20:15:20 +00:00
qpismont c7387a3b28 Fix tests job
ci/woodpecker/push/tests Pipeline was successful
2026-06-12 19:57:28 +00:00
qpismont 433021d607 Add webhook already handled check
ci/woodpecker/push/tests Pipeline failed
ci/woodpecker/pr/tests Pipeline failed
Fix all tests
Add woodpecker ci (tests + release)
2026-06-12 19:56:32 +00:00
qpismont 3c32cd20b6 Readme :) 2026-06-10 20:01:21 +00:00
qpismont a30d7c5d90 prepare first release with graceful shutdown + containerfile + push to
hub script
2026-06-10 19:23:17 +00:00
qpismont 9175f9b3a2 Merge pull request 'Starting impl Sentry and tracing' (#3) from tracing into main
Reviewed-on: #3
2026-06-10 20:27:26 +02:00
qpismont 71ebfdd276 tasks.join_next => join_all() 2026-06-10 18:26:55 +00:00
qpismont 3d751ae6c6 drain completed tasks and log webhook queue stats 2026-06-10 18:19:18 +00:00
qpismont 6599c20c30 verify_signature before adding body to sentry event 2026-06-10 18:08:35 +00:00
qpismont a2d898c07d Fix sentry http request info
Add async bot running with semaphore
2026-06-10 17:50:24 +00:00
qpismont efb35d5a8a continue tracing impl 2026-06-09 21:17:03 +00:00
qpismont 39c2afa0a7 Starting impl Sentry and tracing 2026-06-09 20:58:38 +00:00
qpismont 3984a7d3ba Merge pull request 'started gitea api impl' (#2) from gitea_api into main
Reviewed-on: #2
2026-06-07 10:23:31 +02:00
qpismont aa0dbdcc7a Extract review logic into bot_actions module
Move `exec_review`, `download_git_diff`, and review formatting
to a new `bot_actions::review` module. Update the review flow to
post inline review comments via the Gitea API and simplify the
comment markdown to a summary. Add diff formatting that
preprocesses added lines with line numbers for the LLM prompt.
2026-06-06 17:27:35 +00:00
qpismont ced1fca563 Add gitea download git diff limit 2026-06-05 19:34:29 +00:00
qpismont 6aa653e846 Add http status check for gitea api 2026-06-05 18:52:59 +00:00
qpismont 3501e4ae9d Use reqwest client with timeout in gitea.rs and bot.rs 2026-06-05 18:48:02 +00:00
qpismont 01e13f0081 Add default authorization header for gitea api (remove query string)
Add review cost
2026-06-05 18:39:38 +00:00
qpismont cd5c5b9478 Use reqwest 0.12 with rustls-tls and add timeouts
Also improve review prompt with line calculation instructions, switch
feedback to French, and enable reasoning for OpenRouter.
2026-06-03 20:51:21 +00:00
qpismont de81232201 Integrate OpenRouter for AI-powered code review
Add openrouter-rs dependency, review prompt, and markdown formatting.
Update comment API to accept dynamic body. Adjust devcontainer for
podman compatibility.
2026-06-03 19:38:00 +00:00
qpismont 4966d08d18 first comment ! :D 2026-06-02 20:30:02 +00:00
qpismont 10ebee389e started gitea api impl 2026-06-02 19:52:50 +00:00
qpismont 1f60f6572f Merge pull request 'impl webhook route' (#1) from webhook into main
Reviewed-on: #1
2026-06-02 20:59:16 +02:00
qpismont 14751f8db1 add check for action and bot_name 2026-06-02 18:42:59 +00:00
qpismont 0a22be252c improve webhook parsing 2026-06-01 21:10:45 +00:00
qpismont 7e3b49ad76 add test + json errors 2026-05-31 21:30:17 +00:00
qpismont 227fcfaafb using state in extractor 2026-05-31 20:48:42 +00:00
qpismont aa746f357d add gitea sig header check, add Json errors, begin AppState 2026-05-31 20:32:49 +00:00
qpismont c119bed142 parse gitea pr webhook 2026-05-28 21:35:41 +00:00
qpismont e33187dc80 impl webhook route 2026-05-18 22:40:28 +02:00
qpismont 2cf50b0168 first commit 2026-05-18 22:32:23 +02:00