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

FlowExecution#getAuthentication2 #383

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

Conversation

basil
Copy link
Member

@basil basil commented Mar 3, 2025

@basil basil added the developer label Mar 3, 2025
@basil basil requested a review from a team as a code owner March 3, 2025 18:12
@basil
Copy link
Member Author

basil commented Mar 3, 2025

@jglick Yes, such an implementation is planned but not currently assigned to any particular person.

@jglick
Copy link
Member

jglick commented Mar 3, 2025

That is fine but this should probably stay on hold until the downstream PR has been prepared, as it is technically introducing a new API.

@basil
Copy link
Member Author

basil commented Mar 3, 2025

That is fine but this should probably stay on hold until the downstream PR has been prepared

jenkinsci/jenkins#4848 was not held back by the lack of downstream PRs (cf. jenkinsci/reverse-proxy-auth-plugin#153 (comment)), so I see no reason why this PR should stay on hold.

@jglick
Copy link
Member

jglick commented Mar 3, 2025

There were some; this method is both implemented and called in only one place (AFAIK), workflow-cps, so it only makes sense to evolve it in the context of those two sites.

(Actually workflow-cps could define and call getAuthentication2 even before it is defined in FlowExecution; it would only be the @Override annotation that would depend on this.)

@basil
Copy link
Member Author

basil commented Mar 3, 2025

so it only makes sense to evolve it in the context of those two sites

Hence the plan to update those call sites eventually. Is there a particular reason that has to be done as a prerequisite to merging this PR?

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