Enhance Robot Delivery Logic and Context Management #1434
Enhance Robot Delivery Logic and Context Management #1434trheyi merged 3 commits intoYaoApp:mainfrom
Conversation
- Introduced manager ID and email fields in the Robot struct to facilitate mandatory delivery to managers. - Updated delivery routing logic to ensure manager email is always included if manager ID is set, improving delivery reliability. - Added JSON serialization handling in the Delivery Center to ensure compatibility with various data types. - Enhanced context ID generation by replacing time-based IDs with NanoID for improved uniqueness and consistency.
- Implemented HMAC-SHA256 signature generation and verification for webhook requests to enhance security. - Updated the Delivery Center to include the computed signature in the request headers when a secret is configured. - Added utility functions for computing and verifying HMAC signatures, ensuring integrity of webhook payloads. - Improved documentation for the new signature handling process to assist developers in implementing secure webhooks.
- Added new indirect dependencies: `github.com/JohannesKaufmann/dom` and `github.com/JohannesKaufmann/html-to-markdown/v2` for improved HTML processing. - Updated `github.com/sergi/go-diff` to version 1.4.0 for enhanced diff functionality. - Modified the `buildEmailBody` function to return both HTML and plain text versions of the email body, improving email formatting capabilities. - Adjusted the default email channel name in configuration to "default" for better clarity.
|
🤖 Robot E2E Tests running with SQLite... |
|
Thank you for the PR! The db: MySQL8.0 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
|
Thank you for the PR! The db: MySQL8.0 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
|
Thank you for the PR! The db: MySQL8.0 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
|
Thank you for the PR! The db: SQLite3 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
|
Thank you for the PR! The db: SQLite3 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
|
Thank you for the PR! The db: SQLite3 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
|
🤖 KB Tests (kb) running with SQLite... |
|
🤖 AI Tests (agent, aigc) running with SQLite... |
|
✅ KB Tests (kb) passed! |
|
✨DONE✨ db: SQLite3 redis: 6 mongo: 6.0 passed. |
|
✨DONE✨ db: SQLite3 redis: 5 mongo: 6.0 passed. |
|
✨DONE✨ db: SQLite3 redis: 4 mongo: 6.0 passed. |
|
✨DONE✨ db: MySQL8.0 redis: 4 mongo: 6.0 passed. |
|
✨DONE✨ db: MySQL8.0 redis: 5 mongo: 6.0 passed. |
|
✨DONE✨ db: MySQL8.0 redis: 6 mongo: 6.0 passed. |
|
✅ Robot E2E Tests passed! |
No description provided.