Merged
Conversation
Review タブの Checks セクションに「View logs」ボタンを追加し、 GitHub Actions のジョブログをアプリ内のネイティブペインで閲覧可能にした。 - 新しいペインタイプ `action-logs` を追加 - 左サイドバーに全ジョブ一覧(ステータスアイコン付き、リサイズ可能) - 右側にステップごとの開閉式ログビューア - ANSI カラーコードを HTML に変換して色付き表示(ansi_up) - ステップごとの所要時間表示 - ジョブヘッダーに Re-run failed / Re-run all ボタン - ログ検索機能(ツールバーの虫眼鏡アイコン) - 設定メニュー(タイムスタンプ表示切替、GitHub で開く、raw ログ表示) - tRPC バックエンドで構造化ログ取得(ステップメタデータ + ログを並列取得・分割)
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (13)
📝 WalkthroughWalkthroughGitHubアクションのジョブログを表示するための新しい「ActionLogs」ペインが追加されました。TRPC手続き、GitHub API統合、UIコンポーネント、ストア管理、型定義を実装し、Review パネルから「View logs」ボタンでアクセス可能です。 Changes
Sequence Diagram(s)sequenceDiagram
participant User as User
participant ReviewPanel as ReviewPanel<br/>(UI)
participant TabsStore as TabsStore<br/>(State)
participant TRPC as TRPC Client
participant GitStatus as git-status<br/>Procedure
participant GithubAPI as GitHub API<br/>(CLI)
participant ActionLogsPane as ActionLogsPane<br/>(UI)
User->>ReviewPanel: Click "View logs"
ReviewPanel->>TabsStore: addActionLogsTab(workspaceId, jobs)
TabsStore->>TabsStore: Create tab + pane<br/>(type: "action-logs")
TabsStore->>ActionLogsPane: Render with jobs
ActionLogsPane->>ActionLogsPane: User selects job
ActionLogsPane->>TRPC: getJobLogs(workspaceId, detailsUrl)
TRPC->>GitStatus: Resolve workspace & repoPath
GitStatus->>GithubAPI: Fetch job steps metadata
GitStatus->>GithubAPI: Fetch raw job logs
GithubAPI-->>GitStatus: Step metadata + logs
GitStatus->>GitStatus: Parse & structure logs<br/>Assign to steps
GitStatus-->>TRPC: StructuredJobStep[]
TRPC-->>ActionLogsPane: Job steps with logs
ActionLogsPane->>ActionLogsPane: Render step list<br/>with ANSI colored logs
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
- サイドバーにbg-muted/30を適用してメインログ領域と視覚的に区別 - biome lint エラーを修正(dangerouslySetInnerHTML, noArrayIndexKey, a11y) - non-null assertion を type guard に置換
4 tasks
This was referenced Apr 4, 2026
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.
概要
Review タブの Checks セクションに「View logs」ボタンを追加し、GitHub Actions のジョブログをブラウザではなくアプリ内のネイティブペインで閲覧できるようにした。
変更内容
action-logsを追加(タブシステムに統合)ansi_upで色付き表示対象ファイル
apps/desktop/src/shared/tabs-types.ts—action-logsペインタイプ追加apps/desktop/src/lib/trpc/routers/ui-state/index.ts— Zod スキーマ更新apps/desktop/src/lib/trpc/routers/workspaces/— 構造化ログ取得 tRPC プロシージャapps/desktop/src/renderer/.../ActionLogsPane/— 新ペインコンポーネントapps/desktop/src/renderer/.../ReviewPanel/— View logs ボタン追加apps/desktop/src/renderer/stores/tabs/— ストア・ユーティリティ拡張テストプラン
Summary by CodeRabbit
新機能