Skip to content

refactor(observe): make Arc internal to proc and cgroup caches#593

Merged
dmah42 merged 1 commit intoaurae-runtime:mainfrom
mccormickt:push-wswoxxxkzkot
Jan 18, 2026
Merged

refactor(observe): make Arc internal to proc and cgroup caches#593
dmah42 merged 1 commit intoaurae-runtime:mainfrom
mccormickt:push-wswoxxxkzkot

Conversation

@mccormickt
Copy link
Copy Markdown
Contributor

@mccormickt mccormickt commented Jan 18, 2026

This PR moves Arc's and/or Mutex's to be internal to LogChannel, ProcCache and CgroupCache. This cleans up a lot of instances where we must instantiate wrap the instantiation of the structs in an Arc<T> or Arc<Mutex<T>> and where we must handle the mutex and locking when accessing the struct's data.

@mccormickt mccormickt force-pushed the push-wswoxxxkzkot branch 2 times, most recently from 0e3bf2f to 1ffff8a Compare January 18, 2026 19:50
dmah42
dmah42 previously approved these changes Jan 18, 2026
@dmah42
Copy link
Copy Markdown
Contributor

dmah42 commented Jan 18, 2026

looks great. one test failed though.

@mccormickt
Copy link
Copy Markdown
Contributor Author

looks great. one test failed though.

Thanks! Yeah accidentally flipped the order of operations in stop(). Looks good now.

@dmah42 dmah42 merged commit 8836ef6 into aurae-runtime:main Jan 18, 2026
5 checks passed
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.

2 participants