Skip to content

fix: 修复错误上报 Issue 链接无法打开#1

Merged
blueberrycongee merged 1 commit intomainfrom
codex/fix-issue-report-url
Feb 14, 2026
Merged

fix: 修复错误上报 Issue 链接无法打开#1
blueberrycongee merged 1 commit intomainfrom
codex/fix-issue-report-url

Conversation

@blueberrycongee
Copy link
Copy Markdown
Owner

@blueberrycongee blueberrycongee commented Feb 14, 2026

Summary

  • 将错误反馈 Issue 目标地址切换为可创建 issue 的仓库入口
  • 为预填充 issue 链接增加长度保护,避免超长 query 导致 GitHub 414/无法打开
  • 新增 supportLinks 单测覆盖正常拼接、超长 body 截断、超长 title 回退

Validation

  • npm run test -- src/lib/supportLinks.test.ts

Root Cause

  • 现有链接目标 https://github.com/blueberrycongee/CursorLens/issues/new 返回 404
  • 且错误详情过长时 URL query 会超出 GitHub 可接受长度

@blueberrycongee blueberrycongee merged commit 88fb417 into main Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant