Skip to content

Add Delegation Service Module and REST Framework #1981

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

williamhyun
Copy link
Member

@williamhyun williamhyun commented Jun 30, 2025

This PR aims to set up the Delegation Service module for development, starting with the REST API framework.

Discussion thread:

@williamhyun
Copy link
Member Author

cc: @eric-maynard, @flyrain

@williamhyun williamhyun marked this pull request as draft June 30, 2025 21:12
@williamhyun williamhyun changed the title Create Delegation Service Module Add Delegation Service Module and REST Framework Jul 1, 2025
@williamhyun williamhyun marked this pull request as ready for review July 1, 2025 00:26
@github-project-automation github-project-automation bot moved this from PRs In Progress to Ready to merge in Basic Kanban Board Jul 7, 2025
@dimas-b
Copy link
Contributor

dimas-b commented Jul 7, 2025

Please allow some more review time. From my POV the dev list discussion does not have a conclusion yet 🤔

Copy link
Member

@snazy snazy left a comment

Choose a reason for hiding this comment

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

Let's please wait with this. We should discuss first which approach the project takes. No decision on any of the proposals on the dev mailing list has been made yet.

@github-project-automation github-project-automation bot moved this from Ready to merge to PRs In Progress in Basic Kanban Board Jul 7, 2025
@Path("/api/v1/tasks/execute")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
public class DelegationApi {
Copy link
Member

Choose a reason for hiding this comment

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

Can we add @experimental here ?

Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't a Polaris API, and within the context of the delegation service (itself experimental), this is not really an experimental API.

Copy link
Member

Choose a reason for hiding this comment

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

My proposal was more to "flag" it experimental (from code perspective). If the "whole" service is experimental, I'm fine with that.

Maybe a couple of tests to illustrate how it works would be welcome.

Copy link
Contributor

Choose a reason for hiding this comment

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

From reading the proposal, I think what will actually be experimental will be the RemoteTaskExecutor within Polaris, but that's not implemented in this PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you @jbonofre for your concern! As @eric-maynard has mentioned, the task executor for delegating to the remote service can be flagged as experimental.

In regards to illustrating how it would all work, an end-to-end test is in preparation.

@eric-maynard
Copy link
Contributor

Hey @dimas-b, is there a particular thread on the ML you're looking to close? The most recent message from you just says I'll certainly have a deeper look later but that was a couple of weeks ago. I don't see a message from @snazy, who -1'd.

@snazy
Copy link
Member

snazy commented Jul 9, 2025

The question is which approach two use. There are two proposals on the dev-ML, with no technical pro/con discussion and therefore no decision. As mentioned in other discussions, things do take time. The whole topic is too sensitive and needs to be handled carefully, considering all aspects.

Having one proposal not receiving comments and weeks after another, different counter-proposal plus a concrete implementation is not great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants