Skip to content

fix: DescribeLogStreamsにOrderBy/Descending/Limitパラメータを追加 - #13

Merged
myuron merged 1 commit into
mainfrom
fix/describe-log-streams-params
Apr 17, 2026
Merged

myuron merged 1 commit into
mainfrom
fix/describe-log-streams-params

Conversation

@myuron

@myuron myuron commented Apr 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • DescribeLogStreams APIに OrderBy=LastEventTime, Descending=true, Limit=50 を追加し、最終イベント時刻の降順で最新50件を取得するよう修正
  • ListLogStreams を ListLogStreamsPage のラッパーに簡略化し重複コードを削除
  • テストでパラメータが正しく渡されることを検証(既存テストにアサーション追加 + TestClient_ListLogStreamsPage 新規追加)

Test plan

  • go test ./... 全テスト PASS
  • go vet ./... 問題なし

🤖 Generated with Claude Code

- ListLogStreamsPageにOrderBy=LastEventTime, Descending=true, Limit=50を設定
- ListLogStreamsをListLogStreamsPageのラッパーに簡略化
- LimitのマジックナンバーをdefaultPageSize定数に抽出
- READMEにOrderBy=LastEventTime時の空ストリーム非表示仕様を明記

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@myuron
myuron force-pushed the fix/describe-log-streams-params branch from 446004c to 414d612 Compare April 17, 2026 23:21
@myuron
myuron merged commit f5a9e7a into main Apr 17, 2026
@myuron
myuron deleted the fix/describe-log-streams-params branch April 17, 2026 23:21
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