Skip to content

Debug server file watching issues#130

Merged
mszabo-wikia merged 2 commits into
mainfrom
debug-watch-issues
Apr 28, 2026
Merged

Debug server file watching issues#130
mszabo-wikia merged 2 commits into
mainfrom
debug-watch-issues

Conversation

@mszabo-wikia
Copy link
Copy Markdown
Collaborator

Ensure we always send server logs to the (redirected) STDIO and use the same file handle for stdio and stderr so that they write to the same offset.

Also add an integration test to verify the server recovers from changes during analysis. Sadly this passes so it isn't yet the smoking gun we're hoping for.

Ensure we always send server logs to the (redirected) STDIO
and use the same file handle for stdio and stderr so that
they write to the same offset.

Also add an integration test to verify the server recovers from
changes during analysis. Sadly this passes so it isn't yet
the smoking gun we're hoping for.
The hakana server integration tests rely on watchman, but the native ubuntu package is too old and thus incompatible. Install a slightly less outdated version from upstream releases instead.
eval $(opam env)
- name: Install watchman
run: |
curl -L --output watchman.deb https://github.com/mszabo-wikia/watchman/releases/download/v0.1.3-testing/watchman_ubuntu24.04_v0.1.3-testing.deb
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I have the only prepackaged watchman for Noble...

Comment thread src/server/lib.rs
config_path: Some(config_path.to_str().unwrap().to_string()),
plugins: vec![],
header: "".to_string(),
chaos_monkey: Some(Arc::new(move || {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nice

@mszabo-wikia mszabo-wikia merged commit dcfe2b4 into main Apr 28, 2026
2 checks passed
@mszabo-wikia mszabo-wikia deleted the debug-watch-issues branch April 28, 2026 00:24
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