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

Rename DoSync to Seq and add context + timeouts #299

Merged
merged 8 commits into from
Jan 25, 2023
Merged

Conversation

mkcp
Copy link
Contributor

@mkcp mkcp commented Jan 19, 2023

This PR moves do-sync to a file and type called Seq, introduces SeqConfig, allows for Seq to be constructed with a context, and enables the entire block to be timed out at the Seq level interrupting all runners.

@mkcp mkcp requested a review from a team January 19, 2023 00:27
@mkcp mkcp self-assigned this Jan 19, 2023
@mkcp mkcp changed the title Migrate do-sync to Seq and add context + timeouts Rename DoSync to Seq and add context + timeouts Jan 19, 2023
Copy link
Collaborator

@nwchandler nwchandler left a comment

Choose a reason for hiding this comment

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

I left a few comments inline. I also did a quick grep on the branch and saw one other reference to DoSync in a file that wasn't changed: agent/manifest.go at line 22.

runner/do/seq.go Outdated Show resolved Hide resolved
runner/do/seq.go Outdated Show resolved Hide resolved
hcl/hcl.go Show resolved Hide resolved
@mkcp
Copy link
Contributor Author

mkcp commented Jan 25, 2023

PR up that addresses feedback!

Copy link
Collaborator

@nwchandler nwchandler left a comment

Choose a reason for hiding this comment

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

👍

@mkcp mkcp merged commit 1bb9c90 into main Jan 25, 2023
@mkcp mkcp deleted the mkcp/seq-timeouts branch January 25, 2023 22:45
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.

None yet

2 participants