I first want to look at GetSessionLog in manualcommitlog.go, right now this has one…
Jump to turn (14)
- 1I first want to look at GetSessionLog in manualcommitlog.go, right now this has
- 2hmm, or thinking alternatively: Maybe the commitHash is ok, but then it should a
- 3is it worth making the CheckpointID a type?
- 4yeah maybe then let's start with this as the first step.
- 5[Request interrupted by user for tool use]
- 6is it worth putting this in it's own file? I don't think "paths" is really that
- 7how about just adding a Id to the existing checkpoints package?
- 8I would argue ParseCheckpointTrailer does not really belong into the paths packa
- 9ok, pause, looking at paths now: maybe we should start with the trailers and mov
- 10yeah, and let's include the checkpoint type in the trailer package
- 11hmm, some of the changes doesn't look / feel good now either, like basePath := t
- 12can paths just import checkpoint/id package (without all of checkpoint package)?
- 13it should return id.CheckpointID
- 14/exit exit
- User
I first want to look at GetSessionLog in manual_commit_log.go, right now this has one param called
commitHashbut in 99% of the cases we actually pass in the checkpoint id fromEntire-CheckpointorCheckpoint. TheEntire-Sessionlogic can go away, and the logic where it's actually aCommitHashI'd like to move out of this method and rather add a method doing the conversion before callingGetSessionLogcan you show me how you would approach this? Assistant
Let me read the current implementation to understand the structure.
Assistant
Let me also check the callers of
GetSessionLogto understand the usage patterns.- Assistant