Loading...
Loading...
Compare original and translation side by side
ghghsentry-skills:commitundefinedsentry-skills:commitundefined
If the output shows any uncommitted changes (modified, added, or untracked files that should be included), invoke the `sentry-skills:commit` skill before proceeding.
如果输出显示存在任何未提交的变更(需要纳入的修改、新增或未跟踪文件),请先调用`sentry-skills:commit` skill再继续后续操作。undefinedundefined
```bash
```bash
Ensure:
- All changes are committed
- Branch is up to date with remote
- Changes are rebased on the base branch if needed
请确保:
- 所有变更都已提交
- 分支与远端保持同步
- 如有需要,变更已基于基分支完成变基undefinedundefined
Understand the scope and purpose of all changes before writing the description.
撰写描述前请明确所有变更的范围和目的。<brief description of what the PR does>
<why these changes are being made - the motivation>
<alternative approaches considered, if any>
<any additional context reviewers need><PR实现功能的简要描述>
<做出这些变更的原因 —— 背景动机>
<考虑过的其他可选方案(如有)>
<评审人需要了解的其他补充上下文>gh pr create --draft --title "<type>(<scope>): <description>" --body "$(cat <<'EOF'
<description body here>
EOF
)"feat(scope): Add new featurefix(scope): Fix the bugref: Refactor somethinggh pr create --draft --title "<type>(<scope>): <description>" --body "$(cat <<'EOF'
<此处填写描述内容>
EOF
)"feat(scope): Add new featurefix(scope): Fix the bugref: Refactor somethingAdd Slack thread replies for alert notifications
When an alert is updated or resolved, we now post a reply to the original
Slack thread instead of creating a new message. This keeps related
notifications grouped and reduces channel noise.
Previously considered posting edits to the original message, but threading
better preserves the timeline of events and works when the original message
is older than Slack's edit window.
Refs SENTRY-1234Add Slack thread replies for alert notifications
当告警被更新或解决时,我们现在会在原始Slack线程中发布回复,而非创建新消息。这可以将相关通知归类到一起,减少频道消息噪音。
此前我们考虑过编辑原始消息,但线程模式可以更好地保留事件时间线,且在原始消息超出Slack编辑窗口时依然可用。
Refs SENTRY-1234Handle null response in user API endpoint
The user endpoint could return null for soft-deleted accounts, causing
dashboard crashes when accessing user properties. This adds a null check
and returns a proper 404 response.
Found while investigating SENTRY-5678.
Fixes SENTRY-5678Handle null response in user API endpoint
软删除的账号会导致用户接口返回null,访问用户属性时会造成仪表盘崩溃。本次修改新增了空值检查,并返回正确的404响应。
该问题在排查SENTRY-5678时发现。
Fixes SENTRY-5678Extract validation logic to shared module
Moves duplicate validation code from the alerts, issues, and projects
endpoints into a shared validator class. No behavior change.
This prepares for adding new validation rules in SENTRY-9999 without
duplicating logic across endpoints.Extract validation logic to shared module
将告警、issue和项目接口中的重复校验代码迁移到共享校验器类中,无行为变更。
这为后续在SENTRY-9999中新增校验规则做准备,避免在多个接口中重复实现逻辑。| Syntax | Effect |
|---|---|
| Closes GitHub issue on merge |
| Closes Sentry issue |
| Links without closing |
| Links Linear issue |
| 语法 | 效果 |
|---|---|
| 合并PR时关闭对应的GitHub issue |
| 关闭对应的Sentry issue |
| 关联但不关闭issue |
| 关联Linear工单 |
gh apigh pr editundefinedgh apigh pr editundefined
Note: `gh pr edit` is currently broken due to GitHub's Projects (classic) deprecation.
注意:由于GitHub Projects(经典版)下线,`gh pr edit`当前存在功能异常。