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

controllers: move Session into a reconciler #5996

Merged
merged 2 commits into from
Dec 20, 2022
Merged

Conversation

nicks
Copy link
Member

@nicks nicks commented Dec 20, 2022

A few reasons to do this:

  • Now that we have session settings in the tiltfile, we need a way to propagate data from the tiltfile to the Session

  • Reconcilers make it way easier to implement async and wait logic, because they have a bunch of nice queue scheduling underneath.

Signed-off-by: Nick Santos [email protected]

@nicks
Copy link
Member Author

nicks commented Dec 20, 2022

Not much really changed, the controller was already structured a lot like a reconciler. the main bit is moving the Session creation to the tiltfile reconciler.

A few reasons to do this:

- Now that we have session settings in the tiltfile, we
  need a way to propagate data from the tiltfile to the Session

- Reconcilers make it way easier to implement async and wait
  logic, because they have a bunch of nice queue scheduling underneath.

Signed-off-by: Nick Santos <[email protected]>
@nicks nicks merged commit 61044df into tilt-dev:master Dec 20, 2022
@nicks nicks deleted the nicks/session branch December 20, 2022 23:30
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.

2 participants