Repository navigation
#333 を実装する(スプリント m10a) - #441
Merged
Merged
Conversation
SnapshotManager.rotate() は RotateResult(deleted, removed) を返す。 _snapshot_rotate は entry_count の差から外した数を逆算せず、戻り値で要約を決める。 使われなくなった entry_count を消す。 Co-Authored-By: Claude Opus 5.5 <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.
snapshot の rotate が、消した世代の数と外した数の両方を返すようにしました。消した世代があるときも、外した数を要約に出します(#333)。
利用者向けの変化
移行の手順
変更の要点
lib/devbase/snapshot/manager.py: rotate が消した数と外した数の両方を返すように変えたlib/devbase/commands/snapshot.py: 戻り値の変更に合わせ、消した世代があるときも外した数を要約に出すようにしたdocs/specifications/snapshot-series.md・docs/user/cli-reference/05-snapshot.md: rotate の戻り値と要約の説明を更新したtests/snapshot/test_manager_series.py: 消した数と外した数の返り方を確かめる試験を追加・更新したテスト
モード: standard / 通した工程: 実装 → 完了判定 → Pull Request
🤖 Generated with Claude Code