Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v0.16] history: remove records without attached blobs at startup #5393

Closed

Conversation

crazy-max
Copy link
Member

@crazy-max crazy-max commented Oct 3, 2024

@crazy-max crazy-max force-pushed the v0.16_backport_history-prune-orphans branch from 2f9a73d to 4d76d6f Compare October 3, 2024 14:27
}
return b.ForEach(func(key, dt []byte) error {
var br controlapi.BuildHistoryRecord
if err := br.Unmarshal(dt); err != nil {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't use proto on v0.16 since gogo proto removal:

58.40 # github.com/moby/buildkit/solver/llbsolver
58.40 solver/llbsolver/history.go:345:14: undefined: proto

@crazy-max
Copy link
Member Author

@tonistiigi tonistiigi closed this Nov 7, 2024
@crazy-max crazy-max deleted the v0.16_backport_history-prune-orphans branch November 7, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants