Skip to content

fix: 要約比較 CLI が Jina 本文先頭のインデントを保持する (#525) - #528

Open
keroway wants to merge 1 commit into
mainfrom
fix/525-compare-summary-indent
Open

keroway wants to merge 1 commit into
mainfrom
fix/525-compare-summary-indent

Conversation

@keroway

@keroway keroway commented Dec 3, 2026

Copy link
Copy Markdown
Owner

変更概要
Closes #525

compare:summary の fetchMarkdown が Jina 本文全体を trim していたため、先頭がインデント付きコードだと1行目のインデントが消え、本番と異なるプロンプトになっていた。trim は空判定にだけ使い、本文は原文を返す。

検証

スクリーンショット: 対象外

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 45 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3b3b77f5-c9c2-4bad-b1c9-24261d0a9ede
Commits

Reviewing files that changed from the base of the PR and between 2cbd765 and b0bbf22.

Files selected for processing: 2

  • scripts/compare-summary-models.test.ts
  • scripts/compare-summary-models.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@keroway

keroway commented Dec 3, 2026

Copy link
Copy Markdown
Owner Author

マージ見送り: scan / osv-scanner が ws 8.21.0 の脆弱性 (GHSA-37g9-w4hg-h9qr, 修正版 8.23.0) で失敗しています。bun.lock の依存が原因で、本 PR の変更とは無関係です (PR 518, 519, 522, 523, 527 と同じ)。他のチェックは pass、CodeRabbit は skipping です。
ブランチ: fix/525-compare-summary-indent
次の条件: ws を 8.23.0 以上に上げる変更を別途 main にマージした後、チェックを再実行してください。この対応を扱う open issue は見当たらないため、人間の対応が必要です。

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.

要約モデル比較 CLI が Jina 本文先頭のインデントを削り、本番と異なるプロンプトを送る

1 participant