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

refactor: reland "preserve ProcState::file_fetcher between restarts" #17636

Merged
merged 5 commits into from Feb 3, 2023

Conversation

nayeemrmn
Copy link
Collaborator

Just some watcher init step that I thought would be "cloned over" but needs to be done again on reset (b1d2c0e)

Reland #15466
Add test for #17584

@@ -298,7 +298,7 @@ pub fn signal_str_to_int(s: &str) -> Result<libc::c_int, AnyError> {
"SIGINFO" => Ok(29),
"SIGUSR1" => Ok(30),
"SIGUSR2" => Ok(31),
_ => Err(type_error(format!("Invalid signal: {s}"))),
_ => Err(type_error(format!("Invalid signal: {}", s))),
Copy link
Member

Choose a reason for hiding this comment

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

Can you revert these back? It will fail when running clippy on mac.

@dsherret dsherret changed the title Reland https://github.com/denoland/deno/pull/15466 refactor: reland https://github.com/denoland/deno/pull/15466 Feb 3, 2023
@dsherret dsherret changed the title refactor: reland https://github.com/denoland/deno/pull/15466 refactor: reland "preserve ProcState::file_fetcher between restarts" Feb 3, 2023
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM once the mac clippy issue is fixed. Thanks @nayeemrmn!

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM too

@bartlomieju bartlomieju merged commit a635c97 into denoland:main Feb 3, 2023
bartlomieju pushed a commit that referenced this pull request Feb 6, 2023
…17636)

Just some watcher init step that I thought would be "cloned over" but
needs to be done again on reset.
@nayeemrmn nayeemrmn deleted the file-fetcher-restart branch February 10, 2023 22:43
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.

None yet

3 participants