Conversation
ストリーム一覧画面で f キーを押すとtailモードに入り、 StartLiveTail APIでリアルタイムにログイベントを受信・表示する。 p で一時停止/再開、j/k/g/G でスクロール、q/Esc で終了。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Pause/スクロールアップ中の表示位置を固定(offset += added + maxOffsetクランプ) - 終了直後の "tail stream closed" 誤表示を防ぐため tailErrMsg に viewTail ガード追加 - stream.Err() を tailErrCh 経由で surface し、SessionTimeoutExceptionなど真のエラーを通知 - G キー押下時に tailPaused=false も設定し auto-scroll を再開(F16仕様) - マルチ選択ストリーム名を sort.Strings で決定的な順序に Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
StartLiveTailAPIを使ったリアルタイムログ監視機能を追加fキーを押すとtailモードに入り、ログをリアルタイム受信・表示pで一時停止/再開(停止中もバッファにイベントは溜まる)、j/k/g/Gでスクロール、q/Escで終了変更ファイル
docs/requirements.md— F16追加、スコープ外から削除internal/aws/client.go—LogsClientにStartLiveTail追加、LogGroupにARN追加internal/tui/tail.go/tail_test.go— tailモードのロジック・描画・テスト(29テスト)internal/tui/model.go/keys.go/preview.go/groups.go— viewTail状態、キーバインド、描画統合Test plan
go test ./...全テスト通過go buildビルド成功fキーでtailモード動作確認pで一時停止/再開の動作確認j/kでスクロールして過去ログを遡れることを確認q/Escでストリーム一覧に戻ることを確認🤖 Generated with Claude Code