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

llbsolver: add filter+limit support to history listen #5705

Merged
merged 3 commits into from
Feb 10, 2025

Conversation

tonistiigi
Copy link
Member

@tonistiigi tonistiigi commented Feb 5, 2025

Allows picking which history records should be returned instead of always transferring all of them. Filtering only applies to completed records with EarlyExit=true.

Supported filters are:

	// ref == ~= !=
	// startedAt > < >= <=
	// completedAt > < >= <=
	// status == ~= != (running, completed, error, canceled)
	// duration > < >= <=
	// repository == ~= != // special filter by vcs:source attribute that can be used as a project selector

@tonistiigi tonistiigi added this to the v0.20.0 milestone Feb 6, 2025
}
return "error", true
}
return "complete", true
Copy link
Member

Choose a reason for hiding this comment

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

I think it should be completed so we are aligned with https://github.com/docker/buildx/pull/2964/files#diff-19d235e8c696e21245207f6a179e939adb7a3fb12fd8830d75dc134e5a1bf0dfR52

Can we have the status as public consts?

@AkihiroSuda AkihiroSuda merged commit 9bcbd0f into moby:master Feb 10, 2025
96 checks passed
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.

3 participants