Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reconfigure spin watch on manifest change #1784

Merged

Conversation

itowlson
Copy link
Contributor

This went through many extremely untidy stages and I surely need to read over it again (and do a bunch more testing), but it seems to work correctly. Yay! Now let us never speak of it again

@calebschoepp
Copy link
Collaborator

I will take a look at this when I'm back from Peru in a week and a half.

Copy link
Collaborator

@calebschoepp calebschoepp left a comment

Choose a reason for hiding this comment

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

Great work! I tested it out locally and it worked for me.

Nothing blocking on the code front. However I do think it would be helpful if you add some more comment "documentation" to some of the new constructs like ReconfigurableWatcher, RuntimeConfigFactory etc. The design wasn't immediately obvious to me and the comments you've previously added really helped.

@itowlson
Copy link
Contributor Author

itowlson commented Oct 2, 2023

Good call. There are a lot of moving parts and the names don't express well how they fit together. Thank you for taking the time to review and to test! (And I hope Peru was great!)

@itowlson itowlson force-pushed the watch-reconfigure-on-manifest-change branch from 5a72eaf to 2d4da9c Compare October 2, 2023 20:04
Signed-off-by: itowlson <ivan.towlson@fermyon.com>
@itowlson itowlson force-pushed the watch-reconfigure-on-manifest-change branch from 2d4da9c to 8d7e6ec Compare October 2, 2023 20:29
@itowlson itowlson marked this pull request as ready for review October 2, 2023 20:29
Copy link
Collaborator

@calebschoepp calebschoepp left a comment

Choose a reason for hiding this comment

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

Unless you want someone else's eyes on this I think it is ready to ship 🚢

@itowlson itowlson merged commit cff70af into fermyon:main Oct 2, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spin watch needs to restart, if watch configuration is changed
2 participants