β¨ feat(notification): add i18n keys for scheduled task failure#14088
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Reportβ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## canary #14088 +/- ##
=========================================
Coverage 67.99% 68.00%
=========================================
Files 2259 2260 +1
Lines 193630 193666 +36
Branches 24142 19448 -4694
=========================================
+ Hits 131668 131694 +26
- Misses 61833 61843 +10
Partials 129 129
Flags with carried forward coverage won't be shown. Click here to find out more.
π New features to boost your workflow:
|
3e2022f to
eab32a9
Compare
eab32a9 to
34c3ddc
Compare
34c3ddc to
c66c101
Compare
Adds en-US and zh-CN locale keys for the new `agent_cron_job_failed` notification scenario surfaced when a scheduled agent task fails.
β¦lures Splits the generic scheduled-task failure copy into four user-facing scenarios (generic, insufficient budget, rate limit, model unavailable) so the cloud side can surface actionable text per error category without leaking raw provider / infrastructure messages.
c2d9be9 to
b6b7e0f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
π» Change Type
π Related Issue
Related to LOBE-7756 (cloud-side feature).
π Description of Change
Adds
agent_cron_job_failed+agent_cron_job_failed_titlei18n keys toen-USandzh-CNnotification.json. These keys back the new notification scenario triggered when a user's scheduled agent task fails on the cloud side. Other locales will be filled by the i18n CI pipeline.π§ͺ How to Test
Cloud-side integration test triggers a failed cron job and verifies the localized notification title/body resolve correctly from these keys.
π Additional Information
No functional code in this PR β locale-only change.