20 Commits

Author SHA1 Message Date
sebseb7
693537f1bf upd 2025-11-12 23:14:44 +01:00
sebseb7
20576fe4db fix: update repository path for version.json in releasehook 2025-11-12 22:22:25 +01:00
sebseb7
e2f4816299 fix 2025-10-10 05:59:23 +02:00
sebseb7
44305b891a max tokens 2025-10-10 05:54:57 +02:00
sebseb7
8e7171622c u 2025-10-10 05:54:07 +02:00
sebseb7
5ec9c05dca u 2025-10-10 05:51:03 +02:00
sebseb7
43b8760a6e sonnet 4.5 2025-10-10 05:46:42 +02:00
sebseb7
f683f9d80a feat(webhooks): implement version auto-update on prod branch push
Add functionality to automatically update the version.json file when a push is made to the 'prod' branch of the dashApp repository. The update includes incrementing the version number and updating the timestamp. Additionally, the changes are committed and pushed back to the repository, enhancing the deployment process.
2025-08-06 13:15:17 +02:00
sebseb7
7228d4b763 fix(webhooks): extend timeout for webhook retries to 15 minutes
Increase the timeout duration in the retryFailedWebhook function from 30 seconds to 15 minutes to accommodate longer processing times for webhook retries. This change aims to improve the reliability of the retry mechanism.
2025-08-05 19:49:14 +02:00
sebseb7
33e7d5ed80 feat(logging): enhance error logging in webhook retry and Telegram message sending
Add detailed logging for error reasons and codes in the retryFailedWebhook function. Improve error handling in sendTelegramMessage by creating a more informative error message and logging additional response details. Update the releasehook endpoint to handle Telegram message sending synchronously, allowing for better error response management.
2025-08-05 10:55:52 +02:00
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