Commit Graph

10 Commits

Author SHA1 Message Date
sebseb7
f1ef4a167e feat(webhooks): add script to retry failed webhooks and log results
Introduce a new script to process and retry failed webhooks stored in a designated directory. The script reads JSON files containing webhook payloads and error information, attempts to resend the payloads, and logs the success or failure of each retry. Additionally, it creates a processed directory to organize successfully retried webhooks. This enhances error handling and recovery for webhook failures.
2025-08-04 16:43:56 +02:00
sebseb7
e5f50d3db3 refactor(api): require webhook payload for commit summary and remove local git fallback
Update the summarizeMostRecentCommitDE function to enforce the presence of a webhook payload for commit data retrieval, eliminating the fallback to local git. Add logging for missing payloads and repository information to enhance error handling.
2025-08-04 14:31:32 +02:00
sebseb7
a5db1f34cb feat(api): enhance commit summary with Gitea API integration
Add functionality to fetch commit diffs from the Gitea API and incorporate them into the German summary prompt. Update the summarizeMostRecentCommitDE function to handle webhook payloads for improved commit data retrieval. Maintain fallback to local git for compatibility.
2025-08-04 14:30:06 +02:00
sebseb7
c2c7e11e00 feat(api): include unified diff in DE summary prompt and extend timeout
Add getLastCommitDiff to fetch the latest commit’s unified diff and
append it to the system prompt for German summaries. Increase LLM call
timeout to handle larger prompts.
2025-08-04 10:41:37 +02:00
sebseb7
0102196e09 fix(api): adjust DE summary prompt and add trailing newline 2025-08-04 10:39:54 +02:00
sebseb7
8d9dc45c4f fix(api): standardize executive summary block formatting 2025-08-04 10:38:21 +02:00
sebseb7
00d8e6c6e7 fix(api): use en dash between hash and message to avoid '-' entity issues 2025-08-04 10:35:28 +02:00
sebseb7
ab4964815c fix(api): escape Markdown and adjust compare link formatting
Ensure parentheses are escaped in section headers, switch to en dash in
heading, and avoid Markdown links by outputting escaped text and URL.
Also improve line breaks for consistent layout.
2025-08-04 10:34:29 +02:00
sebseb7
e4a01f387b feat(api): add LLM-based DE executive summary to Telegram release hook
Introduce helpers to fetch recent git commits and call an OpenAI-compatible
LLM to generate a short German executive summary appended to Telegram
notifications. Normalize async formatting in message builder and ensure
Promise handling when sending messages.

Also remove committed .env with secrets and add .env to .gitignore to
prevent future leaks.
2025-08-04 10:30:35 +02:00
sebseb7
9a8086acea genesis 2025-08-04 10:19:29 +02:00