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

build: set the frontend attributes for callfunc earlier #2984

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jsternberg
Copy link
Collaborator

The frontend attributes that were set when CallFunc was set were not set early enough and it prevented buildkit from seeing the requestid.

The requestid would only be seen by the LLBBridgeClient and it was not set yet when the Controller.Solve method was invoked.

This also had a side effect that the linter could not see that it was being invoked and the image verifier could not know it shouldn't run.

Fixes moby/buildkit#5693.

The frontend attributes that were set when `CallFunc` was set were not
set early enough and it prevented buildkit from seeing the `requestid`.

The `requestid` would only be seen by the `LLBBridgeClient` and it was
not set yet when the `Controller.Solve` method was invoked.

This also had a side effect that the linter could not see that it was
being invoked and the image verifier could not know it shouldn't run.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
@jsternberg jsternberg marked this pull request as draft February 11, 2025 21:31
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.

Target platforms not being considered for "frontend.lint" request
1 participant